@dedot/chaintypes 0.171.0 → 0.173.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/astar/errors.d.ts +10 -0
- package/astar/events.d.ts +41 -0
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +16 -1
- package/astar/tx.d.ts +112 -0
- package/astar/types.d.ts +112 -7
- package/hydration/json-rpc.d.ts +10 -0
- package/package.json +2 -2
package/astar/errors.d.ts
CHANGED
|
@@ -990,6 +990,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
990
990
|
**/
|
|
991
991
|
NoCandidacyBond: GenericPalletError<Rv>;
|
|
992
992
|
|
|
993
|
+
/**
|
|
994
|
+
* User has already submitted an application
|
|
995
|
+
**/
|
|
996
|
+
PendingApplicationExists: GenericPalletError<Rv>;
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* No candidacy application found
|
|
1000
|
+
**/
|
|
1001
|
+
NoApplicationFound: GenericPalletError<Rv>;
|
|
1002
|
+
|
|
993
1003
|
/**
|
|
994
1004
|
* Generic pallet error
|
|
995
1005
|
**/
|
package/astar/events.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import type {
|
|
|
22
22
|
StagingXcmV5AssetAssets,
|
|
23
23
|
XcmV5TraitsError,
|
|
24
24
|
XcmVersionedLocation,
|
|
25
|
+
PalletXcAssetConfigMigrationStep,
|
|
25
26
|
StagingXcmV5Asset,
|
|
26
27
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
27
28
|
FrameSupportMessagesProcessMessageError,
|
|
@@ -1231,6 +1232,36 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1231
1232
|
**/
|
|
1232
1233
|
CandidateSlashed: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateSlashed', AccountId32>;
|
|
1233
1234
|
|
|
1235
|
+
/**
|
|
1236
|
+
* A new candidacy application was submitted.
|
|
1237
|
+
**/
|
|
1238
|
+
CandidacyApplicationSubmitted: GenericPalletEvent<
|
|
1239
|
+
Rv,
|
|
1240
|
+
'CollatorSelection',
|
|
1241
|
+
'CandidacyApplicationSubmitted',
|
|
1242
|
+
[AccountId32, bigint]
|
|
1243
|
+
>;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* A candidacy application was approved.
|
|
1247
|
+
**/
|
|
1248
|
+
CandidacyApplicationApproved: GenericPalletEvent<
|
|
1249
|
+
Rv,
|
|
1250
|
+
'CollatorSelection',
|
|
1251
|
+
'CandidacyApplicationApproved',
|
|
1252
|
+
[AccountId32, bigint]
|
|
1253
|
+
>;
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* A candidacy application was closed.
|
|
1257
|
+
**/
|
|
1258
|
+
CandidacyApplicationClosed: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidacyApplicationClosed', AccountId32>;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* A candidate was kicked.
|
|
1262
|
+
**/
|
|
1263
|
+
CandidateKicked: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateKicked', AccountId32>;
|
|
1264
|
+
|
|
1234
1265
|
/**
|
|
1235
1266
|
* Generic pallet event
|
|
1236
1267
|
**/
|
|
@@ -1633,6 +1664,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1633
1664
|
{ assetLocation: XcmVersionedLocation; assetId: bigint }
|
|
1634
1665
|
>;
|
|
1635
1666
|
|
|
1667
|
+
/**
|
|
1668
|
+
* Notify when the migration step is updated.
|
|
1669
|
+
**/
|
|
1670
|
+
MigrationStepUpdated: GenericPalletEvent<
|
|
1671
|
+
Rv,
|
|
1672
|
+
'XcAssetConfig',
|
|
1673
|
+
'MigrationStepUpdated',
|
|
1674
|
+
{ newMigrationStep: PalletXcAssetConfigMigrationStep }
|
|
1675
|
+
>;
|
|
1676
|
+
|
|
1636
1677
|
/**
|
|
1637
1678
|
* Generic pallet event
|
|
1638
1679
|
**/
|
package/astar/index.d.ts
CHANGED
package/astar/query.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ import type {
|
|
|
88
88
|
PalletXcmRemoteLockedFungibleRecord,
|
|
89
89
|
XcmVersionedAssetId,
|
|
90
90
|
StagingXcmV5Xcm,
|
|
91
|
+
PalletXcAssetConfigMigrationStep,
|
|
91
92
|
PalletMessageQueueBookState,
|
|
92
93
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
93
94
|
PalletMessageQueuePage,
|
|
@@ -1277,7 +1278,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1277
1278
|
invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
1278
1279
|
|
|
1279
1280
|
/**
|
|
1280
|
-
* The (community, limited) collation candidates.
|
|
1281
|
+
* The (community approved, limited) collation candidates.
|
|
1281
1282
|
*
|
|
1282
1283
|
* @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
|
|
1283
1284
|
**/
|
|
@@ -1324,6 +1325,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1324
1325
|
**/
|
|
1325
1326
|
slashDestination: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
1326
1327
|
|
|
1328
|
+
/**
|
|
1329
|
+
* Pending applications to become a collator.
|
|
1330
|
+
*
|
|
1331
|
+
* @param {AccountId32Like} arg
|
|
1332
|
+
* @param {Callback<bigint | undefined> =} callback
|
|
1333
|
+
**/
|
|
1334
|
+
pendingApplications: GenericStorageQuery<Rv, (arg: AccountId32Like) => bigint | undefined, AccountId32>;
|
|
1335
|
+
|
|
1327
1336
|
/**
|
|
1328
1337
|
* Generic pallet storage query
|
|
1329
1338
|
**/
|
|
@@ -1729,6 +1738,12 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1729
1738
|
XcmVersionedLocation
|
|
1730
1739
|
>;
|
|
1731
1740
|
|
|
1741
|
+
/**
|
|
1742
|
+
*
|
|
1743
|
+
* @param {Callback<PalletXcAssetConfigMigrationStep> =} callback
|
|
1744
|
+
**/
|
|
1745
|
+
assetHubMigrationStep: GenericStorageQuery<Rv, () => PalletXcAssetConfigMigrationStep>;
|
|
1746
|
+
|
|
1732
1747
|
/**
|
|
1733
1748
|
* Generic pallet storage query
|
|
1734
1749
|
**/
|
package/astar/tx.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import type {
|
|
|
48
48
|
XcmV3WeightLimit,
|
|
49
49
|
StagingXcmExecutorAssetTransferTransferType,
|
|
50
50
|
XcmVersionedAssetId,
|
|
51
|
+
PalletXcAssetConfigMigrationStep,
|
|
51
52
|
XcmVersionedAsset,
|
|
52
53
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
53
54
|
EthereumTransactionTransactionV2,
|
|
@@ -4739,6 +4740,10 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4739
4740
|
* Register this account as a collator candidate. The account must (a) already have
|
|
4740
4741
|
* registered session keys and (b) be able to reserve the `CandidacyBond`.
|
|
4741
4742
|
*
|
|
4743
|
+
* **DEPRECATED**: This extrinsic is deprecated and will be removed in a future version.
|
|
4744
|
+
* Applications are now automatically processed when approved via `accept_application`.
|
|
4745
|
+
* This function now always fails to enforce the new permissioned workflow.
|
|
4746
|
+
*
|
|
4742
4747
|
* This call is not available to `Invulnerable` collators.
|
|
4743
4748
|
*
|
|
4744
4749
|
**/
|
|
@@ -4853,6 +4858,95 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4853
4858
|
>
|
|
4854
4859
|
>;
|
|
4855
4860
|
|
|
4861
|
+
/**
|
|
4862
|
+
* Submit an application to become a collator candidate. The account must already have
|
|
4863
|
+
* registered session keys.
|
|
4864
|
+
*
|
|
4865
|
+
* This call is not available to `Invulnerable` collators or exisiting candidates.
|
|
4866
|
+
*
|
|
4867
|
+
**/
|
|
4868
|
+
applyForCandidacy: GenericTxCall<
|
|
4869
|
+
Rv,
|
|
4870
|
+
() => ChainSubmittableExtrinsic<
|
|
4871
|
+
Rv,
|
|
4872
|
+
{
|
|
4873
|
+
pallet: 'CollatorSelection';
|
|
4874
|
+
palletCall: {
|
|
4875
|
+
name: 'ApplyForCandidacy';
|
|
4876
|
+
};
|
|
4877
|
+
}
|
|
4878
|
+
>
|
|
4879
|
+
>;
|
|
4880
|
+
|
|
4881
|
+
/**
|
|
4882
|
+
* Close a pending candidacy application and unreserve the bond.
|
|
4883
|
+
*
|
|
4884
|
+
* Can only be called by the account that submitted the application or
|
|
4885
|
+
* by governance origin.
|
|
4886
|
+
*
|
|
4887
|
+
* @param {AccountId32Like} who
|
|
4888
|
+
**/
|
|
4889
|
+
closeApplication: GenericTxCall<
|
|
4890
|
+
Rv,
|
|
4891
|
+
(who: AccountId32Like) => ChainSubmittableExtrinsic<
|
|
4892
|
+
Rv,
|
|
4893
|
+
{
|
|
4894
|
+
pallet: 'CollatorSelection';
|
|
4895
|
+
palletCall: {
|
|
4896
|
+
name: 'CloseApplication';
|
|
4897
|
+
params: { who: AccountId32Like };
|
|
4898
|
+
};
|
|
4899
|
+
}
|
|
4900
|
+
>
|
|
4901
|
+
>;
|
|
4902
|
+
|
|
4903
|
+
/**
|
|
4904
|
+
* Approve a pending candidacy application.
|
|
4905
|
+
*
|
|
4906
|
+
* This will remove the application from pending status and immediately add the account
|
|
4907
|
+
* to the candidates list, making them eligible for collator selection.
|
|
4908
|
+
*
|
|
4909
|
+
* @param {AccountId32Like} who
|
|
4910
|
+
**/
|
|
4911
|
+
approveApplication: GenericTxCall<
|
|
4912
|
+
Rv,
|
|
4913
|
+
(who: AccountId32Like) => ChainSubmittableExtrinsic<
|
|
4914
|
+
Rv,
|
|
4915
|
+
{
|
|
4916
|
+
pallet: 'CollatorSelection';
|
|
4917
|
+
palletCall: {
|
|
4918
|
+
name: 'ApproveApplication';
|
|
4919
|
+
params: { who: AccountId32Like };
|
|
4920
|
+
};
|
|
4921
|
+
}
|
|
4922
|
+
>
|
|
4923
|
+
>;
|
|
4924
|
+
|
|
4925
|
+
/**
|
|
4926
|
+
* Forcibly remove a candidate from the active set.
|
|
4927
|
+
*
|
|
4928
|
+
* This will immediately remove the candidate from the candidates list and
|
|
4929
|
+
* unbond their deposit after slashing it accordigly to `SlashRatio`.
|
|
4930
|
+
*
|
|
4931
|
+
* This call will fail if removing the candidate would bring the total
|
|
4932
|
+
* number of candidates below the minimum threshold.
|
|
4933
|
+
*
|
|
4934
|
+
* @param {AccountId32Like} who
|
|
4935
|
+
**/
|
|
4936
|
+
kickCandidate: GenericTxCall<
|
|
4937
|
+
Rv,
|
|
4938
|
+
(who: AccountId32Like) => ChainSubmittableExtrinsic<
|
|
4939
|
+
Rv,
|
|
4940
|
+
{
|
|
4941
|
+
pallet: 'CollatorSelection';
|
|
4942
|
+
palletCall: {
|
|
4943
|
+
name: 'KickCandidate';
|
|
4944
|
+
params: { who: AccountId32Like };
|
|
4945
|
+
};
|
|
4946
|
+
}
|
|
4947
|
+
>
|
|
4948
|
+
>;
|
|
4949
|
+
|
|
4856
4950
|
/**
|
|
4857
4951
|
* Generic pallet tx call
|
|
4858
4952
|
**/
|
|
@@ -5759,6 +5853,24 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5759
5853
|
>
|
|
5760
5854
|
>;
|
|
5761
5855
|
|
|
5856
|
+
/**
|
|
5857
|
+
*
|
|
5858
|
+
* @param {PalletXcAssetConfigMigrationStep} migrationStep
|
|
5859
|
+
**/
|
|
5860
|
+
updateMigrationStep: GenericTxCall<
|
|
5861
|
+
Rv,
|
|
5862
|
+
(migrationStep: PalletXcAssetConfigMigrationStep) => ChainSubmittableExtrinsic<
|
|
5863
|
+
Rv,
|
|
5864
|
+
{
|
|
5865
|
+
pallet: 'XcAssetConfig';
|
|
5866
|
+
palletCall: {
|
|
5867
|
+
name: 'UpdateMigrationStep';
|
|
5868
|
+
params: { migrationStep: PalletXcAssetConfigMigrationStep };
|
|
5869
|
+
};
|
|
5870
|
+
}
|
|
5871
|
+
>
|
|
5872
|
+
>;
|
|
5873
|
+
|
|
5762
5874
|
/**
|
|
5763
5875
|
* Generic pallet tx call
|
|
5764
5876
|
**/
|
package/astar/types.d.ts
CHANGED
|
@@ -608,6 +608,8 @@ export type PalletInflationInflationConfiguration = {
|
|
|
608
608
|
adjustableStakerRewardPoolPerEra: bigint;
|
|
609
609
|
bonusRewardPoolPerPeriod: bigint;
|
|
610
610
|
idealStakingRate: Perquintill;
|
|
611
|
+
decayRate: Perquintill;
|
|
612
|
+
decayFactor: Perquintill;
|
|
611
613
|
};
|
|
612
614
|
|
|
613
615
|
/**
|
|
@@ -954,7 +956,23 @@ export type PalletCollatorSelectionEvent =
|
|
|
954
956
|
/**
|
|
955
957
|
* A candidate was slashed.
|
|
956
958
|
**/
|
|
957
|
-
| { name: 'CandidateSlashed'; data: AccountId32 }
|
|
959
|
+
| { name: 'CandidateSlashed'; data: AccountId32 }
|
|
960
|
+
/**
|
|
961
|
+
* A new candidacy application was submitted.
|
|
962
|
+
**/
|
|
963
|
+
| { name: 'CandidacyApplicationSubmitted'; data: [AccountId32, bigint] }
|
|
964
|
+
/**
|
|
965
|
+
* A candidacy application was approved.
|
|
966
|
+
**/
|
|
967
|
+
| { name: 'CandidacyApplicationApproved'; data: [AccountId32, bigint] }
|
|
968
|
+
/**
|
|
969
|
+
* A candidacy application was closed.
|
|
970
|
+
**/
|
|
971
|
+
| { name: 'CandidacyApplicationClosed'; data: AccountId32 }
|
|
972
|
+
/**
|
|
973
|
+
* A candidate was kicked.
|
|
974
|
+
**/
|
|
975
|
+
| { name: 'CandidateKicked'; data: AccountId32 };
|
|
958
976
|
|
|
959
977
|
/**
|
|
960
978
|
* The `Event` enum of this pallet
|
|
@@ -1621,7 +1639,13 @@ export type PalletXcAssetConfigEvent =
|
|
|
1621
1639
|
/**
|
|
1622
1640
|
* Removed all information related to an asset Id
|
|
1623
1641
|
**/
|
|
1624
|
-
| { name: 'AssetRemoved'; data: { assetLocation: XcmVersionedLocation; assetId: bigint } }
|
|
1642
|
+
| { name: 'AssetRemoved'; data: { assetLocation: XcmVersionedLocation; assetId: bigint } }
|
|
1643
|
+
/**
|
|
1644
|
+
* Notify when the migration step is updated.
|
|
1645
|
+
**/
|
|
1646
|
+
| { name: 'MigrationStepUpdated'; data: { newMigrationStep: PalletXcAssetConfigMigrationStep } };
|
|
1647
|
+
|
|
1648
|
+
export type PalletXcAssetConfigMigrationStep = 'NotStarted' | 'Ongoing' | 'Finished';
|
|
1625
1649
|
|
|
1626
1650
|
/**
|
|
1627
1651
|
* The `Event` enum of this pallet
|
|
@@ -4856,6 +4880,7 @@ export type PalletInflationInflationParameters = {
|
|
|
4856
4880
|
adjustableStakersPart: Perquintill;
|
|
4857
4881
|
bonusPart: Perquintill;
|
|
4858
4882
|
idealStakingRate: Perquintill;
|
|
4883
|
+
decayRate: Perquintill;
|
|
4859
4884
|
};
|
|
4860
4885
|
|
|
4861
4886
|
/**
|
|
@@ -6461,6 +6486,10 @@ export type PalletCollatorSelectionCall =
|
|
|
6461
6486
|
* Register this account as a collator candidate. The account must (a) already have
|
|
6462
6487
|
* registered session keys and (b) be able to reserve the `CandidacyBond`.
|
|
6463
6488
|
*
|
|
6489
|
+
* **DEPRECATED**: This extrinsic is deprecated and will be removed in a future version.
|
|
6490
|
+
* Applications are now automatically processed when approved via `accept_application`.
|
|
6491
|
+
* This function now always fails to enforce the new permissioned workflow.
|
|
6492
|
+
*
|
|
6464
6493
|
* This call is not available to `Invulnerable` collators.
|
|
6465
6494
|
**/
|
|
6466
6495
|
| { name: 'RegisterAsCandidate' }
|
|
@@ -6490,7 +6519,38 @@ export type PalletCollatorSelectionCall =
|
|
|
6490
6519
|
/**
|
|
6491
6520
|
* Remove an invulnerable collator.
|
|
6492
6521
|
**/
|
|
6493
|
-
| { name: 'RemoveInvulnerable'; params: { who: AccountId32 } }
|
|
6522
|
+
| { name: 'RemoveInvulnerable'; params: { who: AccountId32 } }
|
|
6523
|
+
/**
|
|
6524
|
+
* Submit an application to become a collator candidate. The account must already have
|
|
6525
|
+
* registered session keys.
|
|
6526
|
+
*
|
|
6527
|
+
* This call is not available to `Invulnerable` collators or exisiting candidates.
|
|
6528
|
+
**/
|
|
6529
|
+
| { name: 'ApplyForCandidacy' }
|
|
6530
|
+
/**
|
|
6531
|
+
* Close a pending candidacy application and unreserve the bond.
|
|
6532
|
+
*
|
|
6533
|
+
* Can only be called by the account that submitted the application or
|
|
6534
|
+
* by governance origin.
|
|
6535
|
+
**/
|
|
6536
|
+
| { name: 'CloseApplication'; params: { who: AccountId32 } }
|
|
6537
|
+
/**
|
|
6538
|
+
* Approve a pending candidacy application.
|
|
6539
|
+
*
|
|
6540
|
+
* This will remove the application from pending status and immediately add the account
|
|
6541
|
+
* to the candidates list, making them eligible for collator selection.
|
|
6542
|
+
**/
|
|
6543
|
+
| { name: 'ApproveApplication'; params: { who: AccountId32 } }
|
|
6544
|
+
/**
|
|
6545
|
+
* Forcibly remove a candidate from the active set.
|
|
6546
|
+
*
|
|
6547
|
+
* This will immediately remove the candidate from the candidates list and
|
|
6548
|
+
* unbond their deposit after slashing it accordigly to `SlashRatio`.
|
|
6549
|
+
*
|
|
6550
|
+
* This call will fail if removing the candidate would bring the total
|
|
6551
|
+
* number of candidates below the minimum threshold.
|
|
6552
|
+
**/
|
|
6553
|
+
| { name: 'KickCandidate'; params: { who: AccountId32 } };
|
|
6494
6554
|
|
|
6495
6555
|
export type PalletCollatorSelectionCallLike =
|
|
6496
6556
|
/**
|
|
@@ -6511,6 +6571,10 @@ export type PalletCollatorSelectionCallLike =
|
|
|
6511
6571
|
* Register this account as a collator candidate. The account must (a) already have
|
|
6512
6572
|
* registered session keys and (b) be able to reserve the `CandidacyBond`.
|
|
6513
6573
|
*
|
|
6574
|
+
* **DEPRECATED**: This extrinsic is deprecated and will be removed in a future version.
|
|
6575
|
+
* Applications are now automatically processed when approved via `accept_application`.
|
|
6576
|
+
* This function now always fails to enforce the new permissioned workflow.
|
|
6577
|
+
*
|
|
6514
6578
|
* This call is not available to `Invulnerable` collators.
|
|
6515
6579
|
**/
|
|
6516
6580
|
| { name: 'RegisterAsCandidate' }
|
|
@@ -6540,7 +6604,38 @@ export type PalletCollatorSelectionCallLike =
|
|
|
6540
6604
|
/**
|
|
6541
6605
|
* Remove an invulnerable collator.
|
|
6542
6606
|
**/
|
|
6543
|
-
| { name: 'RemoveInvulnerable'; params: { who: AccountId32Like } }
|
|
6607
|
+
| { name: 'RemoveInvulnerable'; params: { who: AccountId32Like } }
|
|
6608
|
+
/**
|
|
6609
|
+
* Submit an application to become a collator candidate. The account must already have
|
|
6610
|
+
* registered session keys.
|
|
6611
|
+
*
|
|
6612
|
+
* This call is not available to `Invulnerable` collators or exisiting candidates.
|
|
6613
|
+
**/
|
|
6614
|
+
| { name: 'ApplyForCandidacy' }
|
|
6615
|
+
/**
|
|
6616
|
+
* Close a pending candidacy application and unreserve the bond.
|
|
6617
|
+
*
|
|
6618
|
+
* Can only be called by the account that submitted the application or
|
|
6619
|
+
* by governance origin.
|
|
6620
|
+
**/
|
|
6621
|
+
| { name: 'CloseApplication'; params: { who: AccountId32Like } }
|
|
6622
|
+
/**
|
|
6623
|
+
* Approve a pending candidacy application.
|
|
6624
|
+
*
|
|
6625
|
+
* This will remove the application from pending status and immediately add the account
|
|
6626
|
+
* to the candidates list, making them eligible for collator selection.
|
|
6627
|
+
**/
|
|
6628
|
+
| { name: 'ApproveApplication'; params: { who: AccountId32Like } }
|
|
6629
|
+
/**
|
|
6630
|
+
* Forcibly remove a candidate from the active set.
|
|
6631
|
+
*
|
|
6632
|
+
* This will immediately remove the candidate from the candidates list and
|
|
6633
|
+
* unbond their deposit after slashing it accordigly to `SlashRatio`.
|
|
6634
|
+
*
|
|
6635
|
+
* This call will fail if removing the candidate would bring the total
|
|
6636
|
+
* number of candidates below the minimum threshold.
|
|
6637
|
+
**/
|
|
6638
|
+
| { name: 'KickCandidate'; params: { who: AccountId32Like } };
|
|
6544
6639
|
|
|
6545
6640
|
/**
|
|
6546
6641
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -7677,7 +7772,8 @@ export type PalletXcAssetConfigCall =
|
|
|
7677
7772
|
/**
|
|
7678
7773
|
* Removes all information related to asset, removing it from XCM support.
|
|
7679
7774
|
**/
|
|
7680
|
-
| { name: 'RemoveAsset'; params: { assetId: bigint } }
|
|
7775
|
+
| { name: 'RemoveAsset'; params: { assetId: bigint } }
|
|
7776
|
+
| { name: 'UpdateMigrationStep'; params: { migrationStep: PalletXcAssetConfigMigrationStep } };
|
|
7681
7777
|
|
|
7682
7778
|
export type PalletXcAssetConfigCallLike =
|
|
7683
7779
|
/**
|
|
@@ -7705,7 +7801,8 @@ export type PalletXcAssetConfigCallLike =
|
|
|
7705
7801
|
/**
|
|
7706
7802
|
* Removes all information related to asset, removing it from XCM support.
|
|
7707
7803
|
**/
|
|
7708
|
-
| { name: 'RemoveAsset'; params: { assetId: bigint } }
|
|
7804
|
+
| { name: 'RemoveAsset'; params: { assetId: bigint } }
|
|
7805
|
+
| { name: 'UpdateMigrationStep'; params: { migrationStep: PalletXcAssetConfigMigrationStep } };
|
|
7709
7806
|
|
|
7710
7807
|
/**
|
|
7711
7808
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -11129,7 +11226,15 @@ export type PalletCollatorSelectionError =
|
|
|
11129
11226
|
/**
|
|
11130
11227
|
* No candidacy bond available for withdrawal.
|
|
11131
11228
|
**/
|
|
11132
|
-
| 'NoCandidacyBond'
|
|
11229
|
+
| 'NoCandidacyBond'
|
|
11230
|
+
/**
|
|
11231
|
+
* User has already submitted an application
|
|
11232
|
+
**/
|
|
11233
|
+
| 'PendingApplicationExists'
|
|
11234
|
+
/**
|
|
11235
|
+
* No candidacy application found
|
|
11236
|
+
**/
|
|
11237
|
+
| 'NoApplicationFound';
|
|
11133
11238
|
|
|
11134
11239
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
11135
11240
|
|
package/hydration/json-rpc.d.ts
CHANGED
|
@@ -89,6 +89,16 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
89
89
|
| 'eth_syncing'
|
|
90
90
|
| 'eth_uninstallFilter'
|
|
91
91
|
| 'eth_unsubscribe'
|
|
92
|
+
| 'ismp_queryChallengePeriod'
|
|
93
|
+
| 'ismp_queryChildTrieProof'
|
|
94
|
+
| 'ismp_queryConsensusState'
|
|
95
|
+
| 'ismp_queryEvents'
|
|
96
|
+
| 'ismp_queryEventsWithMetadata'
|
|
97
|
+
| 'ismp_queryRequests'
|
|
98
|
+
| 'ismp_queryResponses'
|
|
99
|
+
| 'ismp_queryStateMachineLatestHeight'
|
|
100
|
+
| 'ismp_queryStateMachineUpdateTime'
|
|
101
|
+
| 'ismp_queryStateProof'
|
|
92
102
|
| 'net_listening'
|
|
93
103
|
| 'net_peerCount'
|
|
94
104
|
| 'net_version'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.173.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": "fb35d65c4ccd6cf1d2014c74d11fa24617abe85e",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|