@dedot/chaintypes 0.52.0 → 0.53.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/aleph/consts.d.ts +107 -18
- package/aleph/errors.d.ts +184 -10
- package/aleph/events.d.ts +215 -4
- package/aleph/index.d.ts +1 -1
- package/aleph/query.d.ts +220 -25
- package/aleph/runtime.d.ts +42 -0
- package/aleph/tx.d.ts +663 -22
- package/aleph/types.d.ts +683 -86
- package/package.json +2 -2
package/aleph/types.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ export type AlephRuntimeRuntimeEvent =
|
|
|
68
68
|
| { pallet: 'Identity'; palletEvent: PalletIdentityEvent }
|
|
69
69
|
| { pallet: 'CommitteeManagement'; palletEvent: PalletCommitteeManagementEvent }
|
|
70
70
|
| { pallet: 'Proxy'; palletEvent: PalletProxyEvent }
|
|
71
|
+
| { pallet: 'SafeMode'; palletEvent: PalletSafeModeEvent }
|
|
72
|
+
| { pallet: 'TxPause'; palletEvent: PalletTxPauseEvent }
|
|
71
73
|
| { pallet: 'Operations'; palletEvent: PalletOperationsEvent };
|
|
72
74
|
|
|
73
75
|
/**
|
|
@@ -97,7 +99,11 @@ export type FrameSystemEvent =
|
|
|
97
99
|
/**
|
|
98
100
|
* On on-chain remark happened.
|
|
99
101
|
**/
|
|
100
|
-
| { name: 'Remarked'; data: { sender: AccountId32; hash: H256 } }
|
|
102
|
+
| { name: 'Remarked'; data: { sender: AccountId32; hash: H256 } }
|
|
103
|
+
/**
|
|
104
|
+
* An upgrade was authorized.
|
|
105
|
+
**/
|
|
106
|
+
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
|
|
101
107
|
|
|
102
108
|
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
103
109
|
|
|
@@ -416,7 +422,38 @@ export type PalletTreasuryEvent =
|
|
|
416
422
|
/**
|
|
417
423
|
* The inactive funds of the pallet have been updated.
|
|
418
424
|
**/
|
|
419
|
-
| { name: 'UpdatedInactive'; data: { reactivated: bigint; deactivated: bigint } }
|
|
425
|
+
| { name: 'UpdatedInactive'; data: { reactivated: bigint; deactivated: bigint } }
|
|
426
|
+
/**
|
|
427
|
+
* A new asset spend proposal has been approved.
|
|
428
|
+
**/
|
|
429
|
+
| {
|
|
430
|
+
name: 'AssetSpendApproved';
|
|
431
|
+
data: {
|
|
432
|
+
index: number;
|
|
433
|
+
assetKind: [];
|
|
434
|
+
amount: bigint;
|
|
435
|
+
beneficiary: AccountId32;
|
|
436
|
+
validFrom: number;
|
|
437
|
+
expireAt: number;
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* An approved spend was voided.
|
|
442
|
+
**/
|
|
443
|
+
| { name: 'AssetSpendVoided'; data: { index: number } }
|
|
444
|
+
/**
|
|
445
|
+
* A payment happened.
|
|
446
|
+
**/
|
|
447
|
+
| { name: 'Paid'; data: { index: number; paymentId: [] } }
|
|
448
|
+
/**
|
|
449
|
+
* A payment failed and can be retried.
|
|
450
|
+
**/
|
|
451
|
+
| { name: 'PaymentFailed'; data: { index: number; paymentId: [] } }
|
|
452
|
+
/**
|
|
453
|
+
* A spend was processed and removed from the storage. It might have been successfully
|
|
454
|
+
* paid or it may have expired.
|
|
455
|
+
**/
|
|
456
|
+
| { name: 'SpendProcessed'; data: { index: number } };
|
|
420
457
|
|
|
421
458
|
/**
|
|
422
459
|
* The `Event` enum of this pallet
|
|
@@ -533,11 +570,20 @@ export type PalletSudoEvent =
|
|
|
533
570
|
name: 'KeyChanged';
|
|
534
571
|
data: {
|
|
535
572
|
/**
|
|
536
|
-
* The old sudo key if one was previously set.
|
|
573
|
+
* The old sudo key (if one was previously set).
|
|
574
|
+
**/
|
|
575
|
+
old?: AccountId32 | undefined;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* The new sudo key (if one was set).
|
|
537
579
|
**/
|
|
538
|
-
|
|
580
|
+
new: AccountId32;
|
|
539
581
|
};
|
|
540
582
|
}
|
|
583
|
+
/**
|
|
584
|
+
* The key was permanently removed.
|
|
585
|
+
**/
|
|
586
|
+
| { name: 'KeyRemoved' }
|
|
541
587
|
/**
|
|
542
588
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
543
589
|
**/
|
|
@@ -773,15 +819,34 @@ export type PalletNominationPoolsEvent =
|
|
|
773
819
|
name: 'PoolCommissionChangeRateUpdated';
|
|
774
820
|
data: { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate };
|
|
775
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* Pool commission claim permission has been updated.
|
|
824
|
+
**/
|
|
825
|
+
| {
|
|
826
|
+
name: 'PoolCommissionClaimPermissionUpdated';
|
|
827
|
+
data: { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined };
|
|
828
|
+
}
|
|
776
829
|
/**
|
|
777
830
|
* Pool commission has been claimed.
|
|
778
831
|
**/
|
|
779
|
-
| { name: 'PoolCommissionClaimed'; data: { poolId: number; commission: bigint } }
|
|
832
|
+
| { name: 'PoolCommissionClaimed'; data: { poolId: number; commission: bigint } }
|
|
833
|
+
/**
|
|
834
|
+
* Topped up deficit in frozen ED of the reward pool.
|
|
835
|
+
**/
|
|
836
|
+
| { name: 'MinBalanceDeficitAdjusted'; data: { poolId: number; amount: bigint } }
|
|
837
|
+
/**
|
|
838
|
+
* Claimed excess frozen ED of af the reward pool.
|
|
839
|
+
**/
|
|
840
|
+
| { name: 'MinBalanceExcessAdjusted'; data: { poolId: number; amount: bigint } };
|
|
780
841
|
|
|
781
842
|
export type PalletNominationPoolsPoolState = 'Open' | 'Blocked' | 'Destroying';
|
|
782
843
|
|
|
783
844
|
export type PalletNominationPoolsCommissionChangeRate = { maxIncrease: Perbill; minDelay: number };
|
|
784
845
|
|
|
846
|
+
export type PalletNominationPoolsCommissionClaimPermission =
|
|
847
|
+
| { type: 'Permissionless' }
|
|
848
|
+
| { type: 'Account'; value: AccountId32 };
|
|
849
|
+
|
|
785
850
|
/**
|
|
786
851
|
* The `Event` enum of this pallet
|
|
787
852
|
**/
|
|
@@ -826,7 +891,36 @@ export type PalletIdentityEvent =
|
|
|
826
891
|
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
827
892
|
* main identity account to the sub-identity account.
|
|
828
893
|
**/
|
|
829
|
-
| { name: 'SubIdentityRevoked'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
894
|
+
| { name: 'SubIdentityRevoked'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
895
|
+
/**
|
|
896
|
+
* A username authority was added.
|
|
897
|
+
**/
|
|
898
|
+
| { name: 'AuthorityAdded'; data: { authority: AccountId32 } }
|
|
899
|
+
/**
|
|
900
|
+
* A username authority was removed.
|
|
901
|
+
**/
|
|
902
|
+
| { name: 'AuthorityRemoved'; data: { authority: AccountId32 } }
|
|
903
|
+
/**
|
|
904
|
+
* A username was set for `who`.
|
|
905
|
+
**/
|
|
906
|
+
| { name: 'UsernameSet'; data: { who: AccountId32; username: Bytes } }
|
|
907
|
+
/**
|
|
908
|
+
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
909
|
+
**/
|
|
910
|
+
| { name: 'UsernameQueued'; data: { who: AccountId32; username: Bytes; expiration: number } }
|
|
911
|
+
/**
|
|
912
|
+
* A queued username passed its expiration without being claimed and was removed.
|
|
913
|
+
**/
|
|
914
|
+
| { name: 'PreapprovalExpired'; data: { whose: AccountId32 } }
|
|
915
|
+
/**
|
|
916
|
+
* A username was set as a primary and can be looked up from `who`.
|
|
917
|
+
**/
|
|
918
|
+
| { name: 'PrimaryUsernameSet'; data: { who: AccountId32; username: Bytes } }
|
|
919
|
+
/**
|
|
920
|
+
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
921
|
+
* identity) has been removed.
|
|
922
|
+
**/
|
|
923
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } };
|
|
830
924
|
|
|
831
925
|
/**
|
|
832
926
|
* The `Event` enum of this pallet
|
|
@@ -889,17 +983,79 @@ export type PalletProxyEvent =
|
|
|
889
983
|
|
|
890
984
|
export type AlephRuntimeProxyType = 'Any' | 'NonTransfer' | 'Staking' | 'Nomination';
|
|
891
985
|
|
|
986
|
+
/**
|
|
987
|
+
* The `Event` enum of this pallet
|
|
988
|
+
**/
|
|
989
|
+
export type PalletSafeModeEvent =
|
|
990
|
+
/**
|
|
991
|
+
* The safe-mode was entered until inclusively this block.
|
|
992
|
+
**/
|
|
993
|
+
| { name: 'Entered'; data: { until: number } }
|
|
994
|
+
/**
|
|
995
|
+
* The safe-mode was extended until inclusively this block.
|
|
996
|
+
**/
|
|
997
|
+
| { name: 'Extended'; data: { until: number } }
|
|
998
|
+
/**
|
|
999
|
+
* Exited the safe-mode for a specific reason.
|
|
1000
|
+
**/
|
|
1001
|
+
| { name: 'Exited'; data: { reason: PalletSafeModeExitReason } }
|
|
1002
|
+
/**
|
|
1003
|
+
* An account reserved funds for either entering or extending the safe-mode.
|
|
1004
|
+
**/
|
|
1005
|
+
| { name: 'DepositPlaced'; data: { account: AccountId32; amount: bigint } }
|
|
1006
|
+
/**
|
|
1007
|
+
* An account had a reserve released that was reserved.
|
|
1008
|
+
**/
|
|
1009
|
+
| { name: 'DepositReleased'; data: { account: AccountId32; amount: bigint } }
|
|
1010
|
+
/**
|
|
1011
|
+
* An account had reserve slashed that was reserved.
|
|
1012
|
+
**/
|
|
1013
|
+
| { name: 'DepositSlashed'; data: { account: AccountId32; amount: bigint } }
|
|
1014
|
+
/**
|
|
1015
|
+
* Could not hold funds for entering or extending the safe-mode.
|
|
1016
|
+
*
|
|
1017
|
+
* This error comes from the underlying `Currency`.
|
|
1018
|
+
**/
|
|
1019
|
+
| { name: 'CannotDeposit' }
|
|
1020
|
+
/**
|
|
1021
|
+
* Could not release funds for entering or extending the safe-mode.
|
|
1022
|
+
*
|
|
1023
|
+
* This error comes from the underlying `Currency`.
|
|
1024
|
+
**/
|
|
1025
|
+
| { name: 'CannotRelease' };
|
|
1026
|
+
|
|
1027
|
+
export type PalletSafeModeExitReason = 'Timeout' | 'Force';
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* The `Event` enum of this pallet
|
|
1031
|
+
**/
|
|
1032
|
+
export type PalletTxPauseEvent =
|
|
1033
|
+
/**
|
|
1034
|
+
* This pallet, or a specific call is now paused.
|
|
1035
|
+
**/
|
|
1036
|
+
| { name: 'CallPaused'; data: { fullName: [Bytes, Bytes] } }
|
|
1037
|
+
/**
|
|
1038
|
+
* This pallet, or a specific call is now unpaused.
|
|
1039
|
+
**/
|
|
1040
|
+
| { name: 'CallUnpaused'; data: { fullName: [Bytes, Bytes] } };
|
|
1041
|
+
|
|
892
1042
|
/**
|
|
893
1043
|
* The `Event` enum of this pallet
|
|
894
1044
|
**/
|
|
895
1045
|
export type PalletOperationsEvent =
|
|
896
1046
|
/**
|
|
897
|
-
*
|
|
1047
|
+
* A consumers counter was incremented for an account
|
|
1048
|
+
**/
|
|
1049
|
+
| { name: 'ConsumersCounterIncremented'; data: { who: AccountId32 } }
|
|
1050
|
+
/**
|
|
1051
|
+
* A consumers counter was decremented for an account
|
|
898
1052
|
**/
|
|
899
|
-
{ name: '
|
|
1053
|
+
| { name: 'ConsumersCounterDecremented'; data: { who: AccountId32 } };
|
|
900
1054
|
|
|
901
1055
|
export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
|
|
902
1056
|
|
|
1057
|
+
export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
|
|
1058
|
+
|
|
903
1059
|
/**
|
|
904
1060
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
905
1061
|
**/
|
|
@@ -935,7 +1091,19 @@ export type FrameSystemCall =
|
|
|
935
1091
|
/**
|
|
936
1092
|
* See [`Pallet::remark_with_event`].
|
|
937
1093
|
**/
|
|
938
|
-
| { name: 'RemarkWithEvent'; params: { remark: Bytes } }
|
|
1094
|
+
| { name: 'RemarkWithEvent'; params: { remark: Bytes } }
|
|
1095
|
+
/**
|
|
1096
|
+
* See [`Pallet::authorize_upgrade`].
|
|
1097
|
+
**/
|
|
1098
|
+
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256 } }
|
|
1099
|
+
/**
|
|
1100
|
+
* See [`Pallet::authorize_upgrade_without_checks`].
|
|
1101
|
+
**/
|
|
1102
|
+
| { name: 'AuthorizeUpgradeWithoutChecks'; params: { codeHash: H256 } }
|
|
1103
|
+
/**
|
|
1104
|
+
* See [`Pallet::apply_authorized_upgrade`].
|
|
1105
|
+
**/
|
|
1106
|
+
| { name: 'ApplyAuthorizedUpgrade'; params: { code: Bytes } };
|
|
939
1107
|
|
|
940
1108
|
export type FrameSystemCallLike =
|
|
941
1109
|
/**
|
|
@@ -969,7 +1137,19 @@ export type FrameSystemCallLike =
|
|
|
969
1137
|
/**
|
|
970
1138
|
* See [`Pallet::remark_with_event`].
|
|
971
1139
|
**/
|
|
972
|
-
| { name: 'RemarkWithEvent'; params: { remark: BytesLike } }
|
|
1140
|
+
| { name: 'RemarkWithEvent'; params: { remark: BytesLike } }
|
|
1141
|
+
/**
|
|
1142
|
+
* See [`Pallet::authorize_upgrade`].
|
|
1143
|
+
**/
|
|
1144
|
+
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256 } }
|
|
1145
|
+
/**
|
|
1146
|
+
* See [`Pallet::authorize_upgrade_without_checks`].
|
|
1147
|
+
**/
|
|
1148
|
+
| { name: 'AuthorizeUpgradeWithoutChecks'; params: { codeHash: H256 } }
|
|
1149
|
+
/**
|
|
1150
|
+
* See [`Pallet::apply_authorized_upgrade`].
|
|
1151
|
+
**/
|
|
1152
|
+
| { name: 'ApplyAuthorizedUpgrade'; params: { code: BytesLike } };
|
|
973
1153
|
|
|
974
1154
|
export type FrameSystemLimitsBlockWeights = {
|
|
975
1155
|
baseBlock: SpWeightsWeightV2Weight;
|
|
@@ -1027,7 +1207,15 @@ export type FrameSystemError =
|
|
|
1027
1207
|
/**
|
|
1028
1208
|
* The origin filter prevent the call to be dispatched.
|
|
1029
1209
|
**/
|
|
1030
|
-
| 'CallFiltered'
|
|
1210
|
+
| 'CallFiltered'
|
|
1211
|
+
/**
|
|
1212
|
+
* No upgrade authorized.
|
|
1213
|
+
**/
|
|
1214
|
+
| 'NothingAuthorized'
|
|
1215
|
+
/**
|
|
1216
|
+
* The submitted code is not authorized.
|
|
1217
|
+
**/
|
|
1218
|
+
| 'Unauthorized';
|
|
1031
1219
|
|
|
1032
1220
|
export type PalletSchedulerScheduled = {
|
|
1033
1221
|
maybeId?: FixedBytes<32> | undefined;
|
|
@@ -1061,6 +1249,8 @@ export type AlephRuntimeRuntimeCall =
|
|
|
1061
1249
|
| { pallet: 'Identity'; palletCall: PalletIdentityCall }
|
|
1062
1250
|
| { pallet: 'CommitteeManagement'; palletCall: PalletCommitteeManagementCall }
|
|
1063
1251
|
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
1252
|
+
| { pallet: 'SafeMode'; palletCall: PalletSafeModeCall }
|
|
1253
|
+
| { pallet: 'TxPause'; palletCall: PalletTxPauseCall }
|
|
1064
1254
|
| { pallet: 'Operations'; palletCall: PalletOperationsCall };
|
|
1065
1255
|
|
|
1066
1256
|
export type AlephRuntimeRuntimeCallLike =
|
|
@@ -1082,6 +1272,8 @@ export type AlephRuntimeRuntimeCallLike =
|
|
|
1082
1272
|
| { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
|
|
1083
1273
|
| { pallet: 'CommitteeManagement'; palletCall: PalletCommitteeManagementCallLike }
|
|
1084
1274
|
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
1275
|
+
| { pallet: 'SafeMode'; palletCall: PalletSafeModeCallLike }
|
|
1276
|
+
| { pallet: 'TxPause'; palletCall: PalletTxPauseCallLike }
|
|
1085
1277
|
| { pallet: 'Operations'; palletCall: PalletOperationsCallLike };
|
|
1086
1278
|
|
|
1087
1279
|
/**
|
|
@@ -1394,7 +1586,7 @@ export type PalletStakingPalletCall =
|
|
|
1394
1586
|
/**
|
|
1395
1587
|
* See [`Pallet::chill_other`].
|
|
1396
1588
|
**/
|
|
1397
|
-
| { name: 'ChillOther'; params: {
|
|
1589
|
+
| { name: 'ChillOther'; params: { stash: AccountId32 } }
|
|
1398
1590
|
/**
|
|
1399
1591
|
* See [`Pallet::force_apply_min_commission`].
|
|
1400
1592
|
**/
|
|
@@ -1402,7 +1594,19 @@ export type PalletStakingPalletCall =
|
|
|
1402
1594
|
/**
|
|
1403
1595
|
* See [`Pallet::set_min_commission`].
|
|
1404
1596
|
**/
|
|
1405
|
-
| { name: 'SetMinCommission'; params: { new: Perbill } }
|
|
1597
|
+
| { name: 'SetMinCommission'; params: { new: Perbill } }
|
|
1598
|
+
/**
|
|
1599
|
+
* See [`Pallet::payout_stakers_by_page`].
|
|
1600
|
+
**/
|
|
1601
|
+
| { name: 'PayoutStakersByPage'; params: { validatorStash: AccountId32; era: number; page: number } }
|
|
1602
|
+
/**
|
|
1603
|
+
* See [`Pallet::update_payee`].
|
|
1604
|
+
**/
|
|
1605
|
+
| { name: 'UpdatePayee'; params: { controller: AccountId32 } }
|
|
1606
|
+
/**
|
|
1607
|
+
* See [`Pallet::deprecate_controller_batch`].
|
|
1608
|
+
**/
|
|
1609
|
+
| { name: 'DeprecateControllerBatch'; params: { controllers: Array<AccountId32> } };
|
|
1406
1610
|
|
|
1407
1611
|
export type PalletStakingPalletCallLike =
|
|
1408
1612
|
/**
|
|
@@ -1510,7 +1714,7 @@ export type PalletStakingPalletCallLike =
|
|
|
1510
1714
|
/**
|
|
1511
1715
|
* See [`Pallet::chill_other`].
|
|
1512
1716
|
**/
|
|
1513
|
-
| { name: 'ChillOther'; params: {
|
|
1717
|
+
| { name: 'ChillOther'; params: { stash: AccountId32Like } }
|
|
1514
1718
|
/**
|
|
1515
1719
|
* See [`Pallet::force_apply_min_commission`].
|
|
1516
1720
|
**/
|
|
@@ -1518,7 +1722,19 @@ export type PalletStakingPalletCallLike =
|
|
|
1518
1722
|
/**
|
|
1519
1723
|
* See [`Pallet::set_min_commission`].
|
|
1520
1724
|
**/
|
|
1521
|
-
| { name: 'SetMinCommission'; params: { new: Perbill } }
|
|
1725
|
+
| { name: 'SetMinCommission'; params: { new: Perbill } }
|
|
1726
|
+
/**
|
|
1727
|
+
* See [`Pallet::payout_stakers_by_page`].
|
|
1728
|
+
**/
|
|
1729
|
+
| { name: 'PayoutStakersByPage'; params: { validatorStash: AccountId32Like; era: number; page: number } }
|
|
1730
|
+
/**
|
|
1731
|
+
* See [`Pallet::update_payee`].
|
|
1732
|
+
**/
|
|
1733
|
+
| { name: 'UpdatePayee'; params: { controller: AccountId32Like } }
|
|
1734
|
+
/**
|
|
1735
|
+
* See [`Pallet::deprecate_controller_batch`].
|
|
1736
|
+
**/
|
|
1737
|
+
| { name: 'DeprecateControllerBatch'; params: { controllers: Array<AccountId32Like> } };
|
|
1522
1738
|
|
|
1523
1739
|
export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
|
|
1524
1740
|
|
|
@@ -1541,7 +1757,7 @@ export type PalletSessionCall =
|
|
|
1541
1757
|
/**
|
|
1542
1758
|
* See [`Pallet::set_keys`].
|
|
1543
1759
|
**/
|
|
1544
|
-
| { name: 'SetKeys'; params: { keys:
|
|
1760
|
+
| { name: 'SetKeys'; params: { keys: PrimitivesAlephNodeSessionKeys; proof: Bytes } }
|
|
1545
1761
|
/**
|
|
1546
1762
|
* See [`Pallet::purge_keys`].
|
|
1547
1763
|
**/
|
|
@@ -1551,13 +1767,16 @@ export type PalletSessionCallLike =
|
|
|
1551
1767
|
/**
|
|
1552
1768
|
* See [`Pallet::set_keys`].
|
|
1553
1769
|
**/
|
|
1554
|
-
| { name: 'SetKeys'; params: { keys:
|
|
1770
|
+
| { name: 'SetKeys'; params: { keys: PrimitivesAlephNodeSessionKeys; proof: BytesLike } }
|
|
1555
1771
|
/**
|
|
1556
1772
|
* See [`Pallet::purge_keys`].
|
|
1557
1773
|
**/
|
|
1558
1774
|
| { name: 'PurgeKeys' };
|
|
1559
1775
|
|
|
1560
|
-
export type
|
|
1776
|
+
export type PrimitivesAlephNodeSessionKeys = {
|
|
1777
|
+
aura: SpConsensusAuraSr25519AppSr25519Public;
|
|
1778
|
+
aleph: PrimitivesAppPublic;
|
|
1779
|
+
};
|
|
1561
1780
|
|
|
1562
1781
|
export type SpConsensusAuraSr25519AppSr25519Public = SpCoreSr25519Public;
|
|
1563
1782
|
|
|
@@ -1656,13 +1875,32 @@ export type PalletTreasuryCall =
|
|
|
1656
1875
|
**/
|
|
1657
1876
|
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
1658
1877
|
/**
|
|
1659
|
-
* See [`Pallet::
|
|
1878
|
+
* See [`Pallet::spend_local`].
|
|
1660
1879
|
**/
|
|
1661
|
-
| { name: '
|
|
1880
|
+
| { name: 'SpendLocal'; params: { amount: bigint; beneficiary: MultiAddress } }
|
|
1662
1881
|
/**
|
|
1663
1882
|
* See [`Pallet::remove_approval`].
|
|
1664
1883
|
**/
|
|
1665
|
-
| { name: 'RemoveApproval'; params: { proposalId: number } }
|
|
1884
|
+
| { name: 'RemoveApproval'; params: { proposalId: number } }
|
|
1885
|
+
/**
|
|
1886
|
+
* See [`Pallet::spend`].
|
|
1887
|
+
**/
|
|
1888
|
+
| {
|
|
1889
|
+
name: 'Spend';
|
|
1890
|
+
params: { assetKind: []; amount: bigint; beneficiary: AccountId32; validFrom?: number | undefined };
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* See [`Pallet::payout`].
|
|
1894
|
+
**/
|
|
1895
|
+
| { name: 'Payout'; params: { index: number } }
|
|
1896
|
+
/**
|
|
1897
|
+
* See [`Pallet::check_status`].
|
|
1898
|
+
**/
|
|
1899
|
+
| { name: 'CheckStatus'; params: { index: number } }
|
|
1900
|
+
/**
|
|
1901
|
+
* See [`Pallet::void_spend`].
|
|
1902
|
+
**/
|
|
1903
|
+
| { name: 'VoidSpend'; params: { index: number } };
|
|
1666
1904
|
|
|
1667
1905
|
export type PalletTreasuryCallLike =
|
|
1668
1906
|
/**
|
|
@@ -1678,13 +1916,32 @@ export type PalletTreasuryCallLike =
|
|
|
1678
1916
|
**/
|
|
1679
1917
|
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
1680
1918
|
/**
|
|
1681
|
-
* See [`Pallet::
|
|
1919
|
+
* See [`Pallet::spend_local`].
|
|
1682
1920
|
**/
|
|
1683
|
-
| { name: '
|
|
1921
|
+
| { name: 'SpendLocal'; params: { amount: bigint; beneficiary: MultiAddressLike } }
|
|
1684
1922
|
/**
|
|
1685
1923
|
* See [`Pallet::remove_approval`].
|
|
1686
1924
|
**/
|
|
1687
|
-
| { name: 'RemoveApproval'; params: { proposalId: number } }
|
|
1925
|
+
| { name: 'RemoveApproval'; params: { proposalId: number } }
|
|
1926
|
+
/**
|
|
1927
|
+
* See [`Pallet::spend`].
|
|
1928
|
+
**/
|
|
1929
|
+
| {
|
|
1930
|
+
name: 'Spend';
|
|
1931
|
+
params: { assetKind: []; amount: bigint; beneficiary: AccountId32Like; validFrom?: number | undefined };
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* See [`Pallet::payout`].
|
|
1935
|
+
**/
|
|
1936
|
+
| { name: 'Payout'; params: { index: number } }
|
|
1937
|
+
/**
|
|
1938
|
+
* See [`Pallet::check_status`].
|
|
1939
|
+
**/
|
|
1940
|
+
| { name: 'CheckStatus'; params: { index: number } }
|
|
1941
|
+
/**
|
|
1942
|
+
* See [`Pallet::void_spend`].
|
|
1943
|
+
**/
|
|
1944
|
+
| { name: 'VoidSpend'; params: { index: number } };
|
|
1688
1945
|
|
|
1689
1946
|
/**
|
|
1690
1947
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -1712,7 +1969,11 @@ export type PalletVestingCall =
|
|
|
1712
1969
|
/**
|
|
1713
1970
|
* See [`Pallet::merge_schedules`].
|
|
1714
1971
|
**/
|
|
1715
|
-
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } }
|
|
1972
|
+
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } }
|
|
1973
|
+
/**
|
|
1974
|
+
* See [`Pallet::force_remove_vesting_schedule`].
|
|
1975
|
+
**/
|
|
1976
|
+
| { name: 'ForceRemoveVestingSchedule'; params: { target: MultiAddress; scheduleIndex: number } };
|
|
1716
1977
|
|
|
1717
1978
|
export type PalletVestingCallLike =
|
|
1718
1979
|
/**
|
|
@@ -1737,7 +1998,11 @@ export type PalletVestingCallLike =
|
|
|
1737
1998
|
/**
|
|
1738
1999
|
* See [`Pallet::merge_schedules`].
|
|
1739
2000
|
**/
|
|
1740
|
-
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } }
|
|
2001
|
+
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } }
|
|
2002
|
+
/**
|
|
2003
|
+
* See [`Pallet::force_remove_vesting_schedule`].
|
|
2004
|
+
**/
|
|
2005
|
+
| { name: 'ForceRemoveVestingSchedule'; params: { target: MultiAddressLike; scheduleIndex: number } };
|
|
1741
2006
|
|
|
1742
2007
|
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
1743
2008
|
|
|
@@ -1920,7 +2185,11 @@ export type PalletSudoCall =
|
|
|
1920
2185
|
/**
|
|
1921
2186
|
* See [`Pallet::sudo_as`].
|
|
1922
2187
|
**/
|
|
1923
|
-
| { name: 'SudoAs'; params: { who: MultiAddress; call: AlephRuntimeRuntimeCall } }
|
|
2188
|
+
| { name: 'SudoAs'; params: { who: MultiAddress; call: AlephRuntimeRuntimeCall } }
|
|
2189
|
+
/**
|
|
2190
|
+
* See [`Pallet::remove_key`].
|
|
2191
|
+
**/
|
|
2192
|
+
| { name: 'RemoveKey' };
|
|
1924
2193
|
|
|
1925
2194
|
export type PalletSudoCallLike =
|
|
1926
2195
|
/**
|
|
@@ -1938,7 +2207,11 @@ export type PalletSudoCallLike =
|
|
|
1938
2207
|
/**
|
|
1939
2208
|
* See [`Pallet::sudo_as`].
|
|
1940
2209
|
**/
|
|
1941
|
-
| { name: 'SudoAs'; params: { who: MultiAddressLike; call: AlephRuntimeRuntimeCallLike } }
|
|
2210
|
+
| { name: 'SudoAs'; params: { who: MultiAddressLike; call: AlephRuntimeRuntimeCallLike } }
|
|
2211
|
+
/**
|
|
2212
|
+
* See [`Pallet::remove_key`].
|
|
2213
|
+
**/
|
|
2214
|
+
| { name: 'RemoveKey' };
|
|
1942
2215
|
|
|
1943
2216
|
/**
|
|
1944
2217
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2266,7 +2539,18 @@ export type PalletNominationPoolsCall =
|
|
|
2266
2539
|
/**
|
|
2267
2540
|
* See [`Pallet::claim_commission`].
|
|
2268
2541
|
**/
|
|
2269
|
-
| { name: 'ClaimCommission'; params: { poolId: number } }
|
|
2542
|
+
| { name: 'ClaimCommission'; params: { poolId: number } }
|
|
2543
|
+
/**
|
|
2544
|
+
* See [`Pallet::adjust_pool_deposit`].
|
|
2545
|
+
**/
|
|
2546
|
+
| { name: 'AdjustPoolDeposit'; params: { poolId: number } }
|
|
2547
|
+
/**
|
|
2548
|
+
* See [`Pallet::set_commission_claim_permission`].
|
|
2549
|
+
**/
|
|
2550
|
+
| {
|
|
2551
|
+
name: 'SetCommissionClaimPermission';
|
|
2552
|
+
params: { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined };
|
|
2553
|
+
};
|
|
2270
2554
|
|
|
2271
2555
|
export type PalletNominationPoolsCallLike =
|
|
2272
2556
|
/**
|
|
@@ -2385,7 +2669,18 @@ export type PalletNominationPoolsCallLike =
|
|
|
2385
2669
|
/**
|
|
2386
2670
|
* See [`Pallet::claim_commission`].
|
|
2387
2671
|
**/
|
|
2388
|
-
| { name: 'ClaimCommission'; params: { poolId: number } }
|
|
2672
|
+
| { name: 'ClaimCommission'; params: { poolId: number } }
|
|
2673
|
+
/**
|
|
2674
|
+
* See [`Pallet::adjust_pool_deposit`].
|
|
2675
|
+
**/
|
|
2676
|
+
| { name: 'AdjustPoolDeposit'; params: { poolId: number } }
|
|
2677
|
+
/**
|
|
2678
|
+
* See [`Pallet::set_commission_claim_permission`].
|
|
2679
|
+
**/
|
|
2680
|
+
| {
|
|
2681
|
+
name: 'SetCommissionClaimPermission';
|
|
2682
|
+
params: { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined };
|
|
2683
|
+
};
|
|
2389
2684
|
|
|
2390
2685
|
export type PalletNominationPoolsBondExtra = { type: 'FreeBalance'; value: bigint } | { type: 'Rewards' };
|
|
2391
2686
|
|
|
@@ -2420,7 +2715,7 @@ export type PalletIdentityCall =
|
|
|
2420
2715
|
/**
|
|
2421
2716
|
* See [`Pallet::set_identity`].
|
|
2422
2717
|
**/
|
|
2423
|
-
| { name: 'SetIdentity'; params: { info:
|
|
2718
|
+
| { name: 'SetIdentity'; params: { info: PalletIdentityLegacyIdentityInfo } }
|
|
2424
2719
|
/**
|
|
2425
2720
|
* See [`Pallet::set_subs`].
|
|
2426
2721
|
**/
|
|
@@ -2448,7 +2743,7 @@ export type PalletIdentityCall =
|
|
|
2448
2743
|
/**
|
|
2449
2744
|
* See [`Pallet::set_fields`].
|
|
2450
2745
|
**/
|
|
2451
|
-
| { name: 'SetFields'; params: { index: number; fields:
|
|
2746
|
+
| { name: 'SetFields'; params: { index: number; fields: bigint } }
|
|
2452
2747
|
/**
|
|
2453
2748
|
* See [`Pallet::provide_judgement`].
|
|
2454
2749
|
**/
|
|
@@ -2475,7 +2770,38 @@ export type PalletIdentityCall =
|
|
|
2475
2770
|
/**
|
|
2476
2771
|
* See [`Pallet::quit_sub`].
|
|
2477
2772
|
**/
|
|
2478
|
-
| { name: 'QuitSub' }
|
|
2773
|
+
| { name: 'QuitSub' }
|
|
2774
|
+
/**
|
|
2775
|
+
* See [`Pallet::add_username_authority`].
|
|
2776
|
+
**/
|
|
2777
|
+
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddress; suffix: Bytes; allocation: number } }
|
|
2778
|
+
/**
|
|
2779
|
+
* See [`Pallet::remove_username_authority`].
|
|
2780
|
+
**/
|
|
2781
|
+
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddress } }
|
|
2782
|
+
/**
|
|
2783
|
+
* See [`Pallet::set_username_for`].
|
|
2784
|
+
**/
|
|
2785
|
+
| {
|
|
2786
|
+
name: 'SetUsernameFor';
|
|
2787
|
+
params: { who: MultiAddress; username: Bytes; signature?: SpRuntimeMultiSignature | undefined };
|
|
2788
|
+
}
|
|
2789
|
+
/**
|
|
2790
|
+
* See [`Pallet::accept_username`].
|
|
2791
|
+
**/
|
|
2792
|
+
| { name: 'AcceptUsername'; params: { username: Bytes } }
|
|
2793
|
+
/**
|
|
2794
|
+
* See [`Pallet::remove_expired_approval`].
|
|
2795
|
+
**/
|
|
2796
|
+
| { name: 'RemoveExpiredApproval'; params: { username: Bytes } }
|
|
2797
|
+
/**
|
|
2798
|
+
* See [`Pallet::set_primary_username`].
|
|
2799
|
+
**/
|
|
2800
|
+
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
2801
|
+
/**
|
|
2802
|
+
* See [`Pallet::remove_dangling_username`].
|
|
2803
|
+
**/
|
|
2804
|
+
| { name: 'RemoveDanglingUsername'; params: { username: Bytes } };
|
|
2479
2805
|
|
|
2480
2806
|
export type PalletIdentityCallLike =
|
|
2481
2807
|
/**
|
|
@@ -2485,7 +2811,7 @@ export type PalletIdentityCallLike =
|
|
|
2485
2811
|
/**
|
|
2486
2812
|
* See [`Pallet::set_identity`].
|
|
2487
2813
|
**/
|
|
2488
|
-
| { name: 'SetIdentity'; params: { info:
|
|
2814
|
+
| { name: 'SetIdentity'; params: { info: PalletIdentityLegacyIdentityInfo } }
|
|
2489
2815
|
/**
|
|
2490
2816
|
* See [`Pallet::set_subs`].
|
|
2491
2817
|
**/
|
|
@@ -2513,7 +2839,7 @@ export type PalletIdentityCallLike =
|
|
|
2513
2839
|
/**
|
|
2514
2840
|
* See [`Pallet::set_fields`].
|
|
2515
2841
|
**/
|
|
2516
|
-
| { name: 'SetFields'; params: { index: number; fields:
|
|
2842
|
+
| { name: 'SetFields'; params: { index: number; fields: bigint } }
|
|
2517
2843
|
/**
|
|
2518
2844
|
* See [`Pallet::provide_judgement`].
|
|
2519
2845
|
**/
|
|
@@ -2540,9 +2866,40 @@ export type PalletIdentityCallLike =
|
|
|
2540
2866
|
/**
|
|
2541
2867
|
* See [`Pallet::quit_sub`].
|
|
2542
2868
|
**/
|
|
2543
|
-
| { name: 'QuitSub' }
|
|
2869
|
+
| { name: 'QuitSub' }
|
|
2870
|
+
/**
|
|
2871
|
+
* See [`Pallet::add_username_authority`].
|
|
2872
|
+
**/
|
|
2873
|
+
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
|
|
2874
|
+
/**
|
|
2875
|
+
* See [`Pallet::remove_username_authority`].
|
|
2876
|
+
**/
|
|
2877
|
+
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddressLike } }
|
|
2878
|
+
/**
|
|
2879
|
+
* See [`Pallet::set_username_for`].
|
|
2880
|
+
**/
|
|
2881
|
+
| {
|
|
2882
|
+
name: 'SetUsernameFor';
|
|
2883
|
+
params: { who: MultiAddressLike; username: BytesLike; signature?: SpRuntimeMultiSignature | undefined };
|
|
2884
|
+
}
|
|
2885
|
+
/**
|
|
2886
|
+
* See [`Pallet::accept_username`].
|
|
2887
|
+
**/
|
|
2888
|
+
| { name: 'AcceptUsername'; params: { username: BytesLike } }
|
|
2889
|
+
/**
|
|
2890
|
+
* See [`Pallet::remove_expired_approval`].
|
|
2891
|
+
**/
|
|
2892
|
+
| { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
|
|
2893
|
+
/**
|
|
2894
|
+
* See [`Pallet::set_primary_username`].
|
|
2895
|
+
**/
|
|
2896
|
+
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
2897
|
+
/**
|
|
2898
|
+
* See [`Pallet::remove_dangling_username`].
|
|
2899
|
+
**/
|
|
2900
|
+
| { name: 'RemoveDanglingUsername'; params: { username: BytesLike } };
|
|
2544
2901
|
|
|
2545
|
-
export type
|
|
2902
|
+
export type PalletIdentityLegacyIdentityInfo = {
|
|
2546
2903
|
additional: Array<[Data, Data]>;
|
|
2547
2904
|
display: Data;
|
|
2548
2905
|
legal: Data;
|
|
@@ -2554,18 +2911,6 @@ export type PalletIdentityIdentityInfo = {
|
|
|
2554
2911
|
twitter: Data;
|
|
2555
2912
|
};
|
|
2556
2913
|
|
|
2557
|
-
export type PalletIdentityBitFlags = bigint;
|
|
2558
|
-
|
|
2559
|
-
export type PalletIdentityIdentityField =
|
|
2560
|
-
| 'Display'
|
|
2561
|
-
| 'Legal'
|
|
2562
|
-
| 'Web'
|
|
2563
|
-
| 'Riot'
|
|
2564
|
-
| 'Email'
|
|
2565
|
-
| 'PgpFingerprint'
|
|
2566
|
-
| 'Image'
|
|
2567
|
-
| 'Twitter';
|
|
2568
|
-
|
|
2569
2914
|
export type PalletIdentityJudgement =
|
|
2570
2915
|
| { type: 'Unknown' }
|
|
2571
2916
|
| { type: 'FeePaid'; value: bigint }
|
|
@@ -2575,6 +2920,17 @@ export type PalletIdentityJudgement =
|
|
|
2575
2920
|
| { type: 'LowQuality' }
|
|
2576
2921
|
| { type: 'Erroneous' };
|
|
2577
2922
|
|
|
2923
|
+
export type SpRuntimeMultiSignature =
|
|
2924
|
+
| { type: 'Ed25519'; value: SpCoreEd25519Signature }
|
|
2925
|
+
| { type: 'Sr25519'; value: SpCoreSr25519Signature }
|
|
2926
|
+
| { type: 'Ecdsa'; value: SpCoreEcdsaSignature };
|
|
2927
|
+
|
|
2928
|
+
export type SpCoreEd25519Signature = FixedBytes<64>;
|
|
2929
|
+
|
|
2930
|
+
export type SpCoreSr25519Signature = FixedBytes<64>;
|
|
2931
|
+
|
|
2932
|
+
export type SpCoreEcdsaSignature = FixedBytes<65>;
|
|
2933
|
+
|
|
2578
2934
|
/**
|
|
2579
2935
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2580
2936
|
**/
|
|
@@ -2761,20 +3117,114 @@ export type PalletProxyCallLike =
|
|
|
2761
3117
|
};
|
|
2762
3118
|
};
|
|
2763
3119
|
|
|
3120
|
+
/**
|
|
3121
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3122
|
+
**/
|
|
3123
|
+
export type PalletSafeModeCall =
|
|
3124
|
+
/**
|
|
3125
|
+
* See [`Pallet::enter`].
|
|
3126
|
+
**/
|
|
3127
|
+
| { name: 'Enter' }
|
|
3128
|
+
/**
|
|
3129
|
+
* See [`Pallet::force_enter`].
|
|
3130
|
+
**/
|
|
3131
|
+
| { name: 'ForceEnter' }
|
|
3132
|
+
/**
|
|
3133
|
+
* See [`Pallet::extend`].
|
|
3134
|
+
**/
|
|
3135
|
+
| { name: 'Extend' }
|
|
3136
|
+
/**
|
|
3137
|
+
* See [`Pallet::force_extend`].
|
|
3138
|
+
**/
|
|
3139
|
+
| { name: 'ForceExtend' }
|
|
3140
|
+
/**
|
|
3141
|
+
* See [`Pallet::force_exit`].
|
|
3142
|
+
**/
|
|
3143
|
+
| { name: 'ForceExit' }
|
|
3144
|
+
/**
|
|
3145
|
+
* See [`Pallet::force_slash_deposit`].
|
|
3146
|
+
**/
|
|
3147
|
+
| { name: 'ForceSlashDeposit'; params: { account: AccountId32; block: number } }
|
|
3148
|
+
/**
|
|
3149
|
+
* See [`Pallet::release_deposit`].
|
|
3150
|
+
**/
|
|
3151
|
+
| { name: 'ReleaseDeposit'; params: { account: AccountId32; block: number } }
|
|
3152
|
+
/**
|
|
3153
|
+
* See [`Pallet::force_release_deposit`].
|
|
3154
|
+
**/
|
|
3155
|
+
| { name: 'ForceReleaseDeposit'; params: { account: AccountId32; block: number } };
|
|
3156
|
+
|
|
3157
|
+
export type PalletSafeModeCallLike =
|
|
3158
|
+
/**
|
|
3159
|
+
* See [`Pallet::enter`].
|
|
3160
|
+
**/
|
|
3161
|
+
| { name: 'Enter' }
|
|
3162
|
+
/**
|
|
3163
|
+
* See [`Pallet::force_enter`].
|
|
3164
|
+
**/
|
|
3165
|
+
| { name: 'ForceEnter' }
|
|
3166
|
+
/**
|
|
3167
|
+
* See [`Pallet::extend`].
|
|
3168
|
+
**/
|
|
3169
|
+
| { name: 'Extend' }
|
|
3170
|
+
/**
|
|
3171
|
+
* See [`Pallet::force_extend`].
|
|
3172
|
+
**/
|
|
3173
|
+
| { name: 'ForceExtend' }
|
|
3174
|
+
/**
|
|
3175
|
+
* See [`Pallet::force_exit`].
|
|
3176
|
+
**/
|
|
3177
|
+
| { name: 'ForceExit' }
|
|
3178
|
+
/**
|
|
3179
|
+
* See [`Pallet::force_slash_deposit`].
|
|
3180
|
+
**/
|
|
3181
|
+
| { name: 'ForceSlashDeposit'; params: { account: AccountId32Like; block: number } }
|
|
3182
|
+
/**
|
|
3183
|
+
* See [`Pallet::release_deposit`].
|
|
3184
|
+
**/
|
|
3185
|
+
| { name: 'ReleaseDeposit'; params: { account: AccountId32Like; block: number } }
|
|
3186
|
+
/**
|
|
3187
|
+
* See [`Pallet::force_release_deposit`].
|
|
3188
|
+
**/
|
|
3189
|
+
| { name: 'ForceReleaseDeposit'; params: { account: AccountId32Like; block: number } };
|
|
3190
|
+
|
|
3191
|
+
/**
|
|
3192
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3193
|
+
**/
|
|
3194
|
+
export type PalletTxPauseCall =
|
|
3195
|
+
/**
|
|
3196
|
+
* See [`Pallet::pause`].
|
|
3197
|
+
**/
|
|
3198
|
+
| { name: 'Pause'; params: { fullName: [Bytes, Bytes] } }
|
|
3199
|
+
/**
|
|
3200
|
+
* See [`Pallet::unpause`].
|
|
3201
|
+
**/
|
|
3202
|
+
| { name: 'Unpause'; params: { ident: [Bytes, Bytes] } };
|
|
3203
|
+
|
|
3204
|
+
export type PalletTxPauseCallLike =
|
|
3205
|
+
/**
|
|
3206
|
+
* See [`Pallet::pause`].
|
|
3207
|
+
**/
|
|
3208
|
+
| { name: 'Pause'; params: { fullName: [BytesLike, BytesLike] } }
|
|
3209
|
+
/**
|
|
3210
|
+
* See [`Pallet::unpause`].
|
|
3211
|
+
**/
|
|
3212
|
+
| { name: 'Unpause'; params: { ident: [BytesLike, BytesLike] } };
|
|
3213
|
+
|
|
2764
3214
|
/**
|
|
2765
3215
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2766
3216
|
**/
|
|
2767
3217
|
export type PalletOperationsCall =
|
|
2768
3218
|
/**
|
|
2769
|
-
* See [`Pallet::
|
|
3219
|
+
* See [`Pallet::fix_accounts_consumers_counter`].
|
|
2770
3220
|
**/
|
|
2771
|
-
{ name: '
|
|
3221
|
+
{ name: 'FixAccountsConsumersCounter'; params: { who: AccountId32 } };
|
|
2772
3222
|
|
|
2773
3223
|
export type PalletOperationsCallLike =
|
|
2774
3224
|
/**
|
|
2775
|
-
* See [`Pallet::
|
|
3225
|
+
* See [`Pallet::fix_accounts_consumers_counter`].
|
|
2776
3226
|
**/
|
|
2777
|
-
{ name: '
|
|
3227
|
+
{ name: 'FixAccountsConsumersCounter'; params: { who: AccountId32Like } };
|
|
2778
3228
|
|
|
2779
3229
|
export type SpRuntimeBlakeTwo256 = {};
|
|
2780
3230
|
|
|
@@ -2813,11 +3263,19 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
|
2813
3263
|
|
|
2814
3264
|
export type PalletBalancesIdAmount = { id: AlephRuntimeRuntimeHoldReason; amount: bigint };
|
|
2815
3265
|
|
|
2816
|
-
export type AlephRuntimeRuntimeHoldReason =
|
|
3266
|
+
export type AlephRuntimeRuntimeHoldReason =
|
|
3267
|
+
| { type: 'Contracts'; value: PalletContractsHoldReason }
|
|
3268
|
+
| { type: 'SafeMode'; value: PalletSafeModeHoldReason };
|
|
2817
3269
|
|
|
2818
3270
|
export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
|
|
2819
3271
|
|
|
2820
|
-
export type
|
|
3272
|
+
export type PalletSafeModeHoldReason = 'EnterOrExtend';
|
|
3273
|
+
|
|
3274
|
+
export type PalletBalancesIdAmountRuntimeFreezeReason = { id: AlephRuntimeRuntimeFreezeReason; amount: bigint };
|
|
3275
|
+
|
|
3276
|
+
export type AlephRuntimeRuntimeFreezeReason = { type: 'NominationPools'; value: PalletNominationPoolsFreezeReason };
|
|
3277
|
+
|
|
3278
|
+
export type PalletNominationPoolsFreezeReason = 'PoolMinBalance';
|
|
2821
3279
|
|
|
2822
3280
|
/**
|
|
2823
3281
|
* The `Error` enum of this pallet.
|
|
@@ -2871,7 +3329,7 @@ export type PalletStakingStakingLedger = {
|
|
|
2871
3329
|
total: bigint;
|
|
2872
3330
|
active: bigint;
|
|
2873
3331
|
unlocking: Array<PalletStakingUnlockChunk>;
|
|
2874
|
-
|
|
3332
|
+
legacyClaimedRewards: Array<number>;
|
|
2875
3333
|
};
|
|
2876
3334
|
|
|
2877
3335
|
export type PalletStakingUnlockChunk = { value: bigint; era: number };
|
|
@@ -2880,9 +3338,13 @@ export type PalletStakingNominations = { targets: Array<AccountId32>; submittedI
|
|
|
2880
3338
|
|
|
2881
3339
|
export type PalletStakingActiveEraInfo = { index: number; start?: bigint | undefined };
|
|
2882
3340
|
|
|
2883
|
-
export type
|
|
3341
|
+
export type SpStakingExposure = { total: bigint; own: bigint; others: Array<SpStakingIndividualExposure> };
|
|
2884
3342
|
|
|
2885
|
-
export type
|
|
3343
|
+
export type SpStakingIndividualExposure = { who: AccountId32; value: bigint };
|
|
3344
|
+
|
|
3345
|
+
export type SpStakingPagedExposureMetadata = { total: bigint; own: bigint; nominatorCount: number; pageCount: number };
|
|
3346
|
+
|
|
3347
|
+
export type SpStakingExposurePage = { pageTotal: bigint; others: Array<SpStakingIndividualExposure> };
|
|
2886
3348
|
|
|
2887
3349
|
export type PalletStakingEraRewardPoints = { total: number; individual: Array<[AccountId32, number]> };
|
|
2888
3350
|
|
|
@@ -2969,6 +3431,10 @@ export type PalletStakingPalletError =
|
|
|
2969
3431
|
* Rewards for this era have already been claimed for this validator.
|
|
2970
3432
|
**/
|
|
2971
3433
|
| 'AlreadyClaimed'
|
|
3434
|
+
/**
|
|
3435
|
+
* No nominators exist on this page.
|
|
3436
|
+
**/
|
|
3437
|
+
| 'InvalidPage'
|
|
2972
3438
|
/**
|
|
2973
3439
|
* Incorrect previous history depth input provided.
|
|
2974
3440
|
**/
|
|
@@ -3010,7 +3476,11 @@ export type PalletStakingPalletError =
|
|
|
3010
3476
|
/**
|
|
3011
3477
|
* Some bound is not met.
|
|
3012
3478
|
**/
|
|
3013
|
-
| 'BoundNotMet'
|
|
3479
|
+
| 'BoundNotMet'
|
|
3480
|
+
/**
|
|
3481
|
+
* Used when attempting to use deprecated controller account logic.
|
|
3482
|
+
**/
|
|
3483
|
+
| 'ControllerDeprecated';
|
|
3014
3484
|
|
|
3015
3485
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
3016
3486
|
|
|
@@ -3053,6 +3523,20 @@ export type PalletElectionsError =
|
|
|
3053
3523
|
|
|
3054
3524
|
export type PalletTreasuryProposal = { proposer: AccountId32; value: bigint; beneficiary: AccountId32; bond: bigint };
|
|
3055
3525
|
|
|
3526
|
+
export type PalletTreasurySpendStatus = {
|
|
3527
|
+
assetKind: [];
|
|
3528
|
+
amount: bigint;
|
|
3529
|
+
beneficiary: AccountId32;
|
|
3530
|
+
validFrom: number;
|
|
3531
|
+
expireAt: number;
|
|
3532
|
+
status: PalletTreasuryPaymentState;
|
|
3533
|
+
};
|
|
3534
|
+
|
|
3535
|
+
export type PalletTreasuryPaymentState =
|
|
3536
|
+
| { type: 'Pending' }
|
|
3537
|
+
| { type: 'Attempted'; value: { id: [] } }
|
|
3538
|
+
| { type: 'Failed' };
|
|
3539
|
+
|
|
3056
3540
|
export type FrameSupportPalletId = FixedBytes<8>;
|
|
3057
3541
|
|
|
3058
3542
|
/**
|
|
@@ -3064,7 +3548,7 @@ export type PalletTreasuryError =
|
|
|
3064
3548
|
**/
|
|
3065
3549
|
| 'InsufficientProposersBalance'
|
|
3066
3550
|
/**
|
|
3067
|
-
* No proposal or
|
|
3551
|
+
* No proposal, bounty or spend at that index.
|
|
3068
3552
|
**/
|
|
3069
3553
|
| 'InvalidIndex'
|
|
3070
3554
|
/**
|
|
@@ -3079,7 +3563,35 @@ export type PalletTreasuryError =
|
|
|
3079
3563
|
/**
|
|
3080
3564
|
* Proposal has not been approved.
|
|
3081
3565
|
**/
|
|
3082
|
-
| 'ProposalNotApproved'
|
|
3566
|
+
| 'ProposalNotApproved'
|
|
3567
|
+
/**
|
|
3568
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
3569
|
+
**/
|
|
3570
|
+
| 'FailedToConvertBalance'
|
|
3571
|
+
/**
|
|
3572
|
+
* The spend has expired and cannot be claimed.
|
|
3573
|
+
**/
|
|
3574
|
+
| 'SpendExpired'
|
|
3575
|
+
/**
|
|
3576
|
+
* The spend is not yet eligible for payout.
|
|
3577
|
+
**/
|
|
3578
|
+
| 'EarlyPayout'
|
|
3579
|
+
/**
|
|
3580
|
+
* The payment has already been attempted.
|
|
3581
|
+
**/
|
|
3582
|
+
| 'AlreadyAttempted'
|
|
3583
|
+
/**
|
|
3584
|
+
* There was some issue with the mechanism of payment.
|
|
3585
|
+
**/
|
|
3586
|
+
| 'PayoutError'
|
|
3587
|
+
/**
|
|
3588
|
+
* The payout was not yet attempted/claimed.
|
|
3589
|
+
**/
|
|
3590
|
+
| 'NotAttempted'
|
|
3591
|
+
/**
|
|
3592
|
+
* The payment has neither failed nor succeeded yet.
|
|
3593
|
+
**/
|
|
3594
|
+
| 'Inconclusive';
|
|
3083
3595
|
|
|
3084
3596
|
export type PalletVestingReleases = 'V0' | 'V1';
|
|
3085
3597
|
|
|
@@ -3187,11 +3699,11 @@ export type PalletMultisigError =
|
|
|
3187
3699
|
| 'AlreadyStored';
|
|
3188
3700
|
|
|
3189
3701
|
/**
|
|
3190
|
-
* Error for the Sudo pallet
|
|
3702
|
+
* Error for the Sudo pallet.
|
|
3191
3703
|
**/
|
|
3192
3704
|
export type PalletSudoError =
|
|
3193
3705
|
/**
|
|
3194
|
-
* Sender must be the Sudo account
|
|
3706
|
+
* Sender must be the Sudo account.
|
|
3195
3707
|
**/
|
|
3196
3708
|
'RequireSudo';
|
|
3197
3709
|
|
|
@@ -3410,6 +3922,10 @@ export type PalletContractsError =
|
|
|
3410
3922
|
* is rejected.
|
|
3411
3923
|
**/
|
|
3412
3924
|
| 'NoChainExtension'
|
|
3925
|
+
/**
|
|
3926
|
+
* Failed to decode the XCM program.
|
|
3927
|
+
**/
|
|
3928
|
+
| 'XcmDecodeFailed'
|
|
3413
3929
|
/**
|
|
3414
3930
|
* A contract with the same AccountId already exists.
|
|
3415
3931
|
**/
|
|
@@ -3506,6 +4022,7 @@ export type PalletNominationPoolsCommission = {
|
|
|
3506
4022
|
max?: Perbill | undefined;
|
|
3507
4023
|
changeRate?: PalletNominationPoolsCommissionChangeRate | undefined;
|
|
3508
4024
|
throttleFrom?: number | undefined;
|
|
4025
|
+
claimPermission?: PalletNominationPoolsCommissionClaimPermission | undefined;
|
|
3509
4026
|
};
|
|
3510
4027
|
|
|
3511
4028
|
export type PalletNominationPoolsPoolRoles = {
|
|
@@ -3571,9 +4088,9 @@ export type PalletNominationPoolsError =
|
|
|
3571
4088
|
/**
|
|
3572
4089
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
3573
4090
|
*
|
|
3574
|
-
* The depositor can never unbond to a value less than
|
|
3575
|
-
*
|
|
3576
|
-
*
|
|
4091
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
4092
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
4093
|
+
* value below `MinJoinBond`.
|
|
3577
4094
|
**/
|
|
3578
4095
|
| { name: 'MinimumBondNotMet' }
|
|
3579
4096
|
/**
|
|
@@ -3665,7 +4182,11 @@ export type PalletNominationPoolsError =
|
|
|
3665
4182
|
/**
|
|
3666
4183
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
3667
4184
|
**/
|
|
3668
|
-
| { name: 'BondExtraRestricted' }
|
|
4185
|
+
| { name: 'BondExtraRestricted' }
|
|
4186
|
+
/**
|
|
4187
|
+
* No imbalance in the ED deposit for the pool.
|
|
4188
|
+
**/
|
|
4189
|
+
| { name: 'NothingToAdjust' };
|
|
3669
4190
|
|
|
3670
4191
|
export type PalletNominationPoolsDefensiveError =
|
|
3671
4192
|
| 'NotEnoughSpaceInUnbondPool'
|
|
@@ -3677,10 +4198,12 @@ export type PalletNominationPoolsDefensiveError =
|
|
|
3677
4198
|
export type PalletIdentityRegistration = {
|
|
3678
4199
|
judgements: Array<[number, PalletIdentityJudgement]>;
|
|
3679
4200
|
deposit: bigint;
|
|
3680
|
-
info:
|
|
4201
|
+
info: PalletIdentityLegacyIdentityInfo;
|
|
3681
4202
|
};
|
|
3682
4203
|
|
|
3683
|
-
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields:
|
|
4204
|
+
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
|
|
4205
|
+
|
|
4206
|
+
export type PalletIdentityAuthorityProperties = { suffix: Bytes; allocation: number };
|
|
3684
4207
|
|
|
3685
4208
|
/**
|
|
3686
4209
|
* The `Error` enum of this pallet.
|
|
@@ -3730,10 +4253,6 @@ export type PalletIdentityError =
|
|
|
3730
4253
|
* The target is invalid.
|
|
3731
4254
|
**/
|
|
3732
4255
|
| 'InvalidTarget'
|
|
3733
|
-
/**
|
|
3734
|
-
* Too many additional fields.
|
|
3735
|
-
**/
|
|
3736
|
-
| 'TooManyFields'
|
|
3737
4256
|
/**
|
|
3738
4257
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
3739
4258
|
**/
|
|
@@ -3757,7 +4276,43 @@ export type PalletIdentityError =
|
|
|
3757
4276
|
/**
|
|
3758
4277
|
* Error that occurs when there is an issue paying for judgement.
|
|
3759
4278
|
**/
|
|
3760
|
-
| 'JudgementPaymentFailed'
|
|
4279
|
+
| 'JudgementPaymentFailed'
|
|
4280
|
+
/**
|
|
4281
|
+
* The provided suffix is too long.
|
|
4282
|
+
**/
|
|
4283
|
+
| 'InvalidSuffix'
|
|
4284
|
+
/**
|
|
4285
|
+
* The sender does not have permission to issue a username.
|
|
4286
|
+
**/
|
|
4287
|
+
| 'NotUsernameAuthority'
|
|
4288
|
+
/**
|
|
4289
|
+
* The authority cannot allocate any more usernames.
|
|
4290
|
+
**/
|
|
4291
|
+
| 'NoAllocation'
|
|
4292
|
+
/**
|
|
4293
|
+
* The signature on a username was not valid.
|
|
4294
|
+
**/
|
|
4295
|
+
| 'InvalidSignature'
|
|
4296
|
+
/**
|
|
4297
|
+
* Setting this username requires a signature, but none was provided.
|
|
4298
|
+
**/
|
|
4299
|
+
| 'RequiresSignature'
|
|
4300
|
+
/**
|
|
4301
|
+
* The username does not meet the requirements.
|
|
4302
|
+
**/
|
|
4303
|
+
| 'InvalidUsername'
|
|
4304
|
+
/**
|
|
4305
|
+
* The username is already taken.
|
|
4306
|
+
**/
|
|
4307
|
+
| 'UsernameTaken'
|
|
4308
|
+
/**
|
|
4309
|
+
* The requested username does not exist.
|
|
4310
|
+
**/
|
|
4311
|
+
| 'NoUsername'
|
|
4312
|
+
/**
|
|
4313
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
4314
|
+
**/
|
|
4315
|
+
| 'NotExpired';
|
|
3761
4316
|
|
|
3762
4317
|
export type PalletCommitteeManagementValidatorTotalRewards = Array<[AccountId32, number]>;
|
|
3763
4318
|
|
|
@@ -3830,16 +4385,56 @@ export type PalletProxyError =
|
|
|
3830
4385
|
**/
|
|
3831
4386
|
| 'NoSelfProxy';
|
|
3832
4387
|
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
4388
|
+
/**
|
|
4389
|
+
* The `Error` enum of this pallet.
|
|
4390
|
+
**/
|
|
4391
|
+
export type PalletSafeModeError =
|
|
4392
|
+
/**
|
|
4393
|
+
* The safe-mode is (already or still) entered.
|
|
4394
|
+
**/
|
|
4395
|
+
| 'Entered'
|
|
4396
|
+
/**
|
|
4397
|
+
* The safe-mode is (already or still) exited.
|
|
4398
|
+
**/
|
|
4399
|
+
| 'Exited'
|
|
4400
|
+
/**
|
|
4401
|
+
* This functionality of the pallet is disabled by the configuration.
|
|
4402
|
+
**/
|
|
4403
|
+
| 'NotConfigured'
|
|
4404
|
+
/**
|
|
4405
|
+
* There is no balance reserved.
|
|
4406
|
+
**/
|
|
4407
|
+
| 'NoDeposit'
|
|
4408
|
+
/**
|
|
4409
|
+
* The account already has a deposit reserved and can therefore not enter or extend again.
|
|
4410
|
+
**/
|
|
4411
|
+
| 'AlreadyDeposited'
|
|
4412
|
+
/**
|
|
4413
|
+
* This deposit cannot be released yet.
|
|
4414
|
+
**/
|
|
4415
|
+
| 'CannotReleaseYet'
|
|
4416
|
+
/**
|
|
4417
|
+
* An error from the underlying `Currency`.
|
|
4418
|
+
**/
|
|
4419
|
+
| 'CurrencyError';
|
|
3841
4420
|
|
|
3842
|
-
|
|
4421
|
+
/**
|
|
4422
|
+
* The `Error` enum of this pallet.
|
|
4423
|
+
**/
|
|
4424
|
+
export type PalletTxPauseError =
|
|
4425
|
+
/**
|
|
4426
|
+
* The call is paused.
|
|
4427
|
+
**/
|
|
4428
|
+
| 'IsPaused'
|
|
4429
|
+
/**
|
|
4430
|
+
* The call is unpaused.
|
|
4431
|
+
**/
|
|
4432
|
+
| 'IsUnpaused'
|
|
4433
|
+
/**
|
|
4434
|
+
* The call is whitelisted and cannot be paused.
|
|
4435
|
+
**/
|
|
4436
|
+
| 'Unpausable'
|
|
4437
|
+
| 'NotFound';
|
|
3843
4438
|
|
|
3844
4439
|
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
3845
4440
|
|
|
@@ -3934,9 +4529,9 @@ export type PalletContractsPrimitivesContractResult = {
|
|
|
3934
4529
|
events?: Array<FrameSystemEventRecord> | undefined;
|
|
3935
4530
|
};
|
|
3936
4531
|
|
|
3937
|
-
export type PalletContractsPrimitivesExecReturnValue = { flags:
|
|
4532
|
+
export type PalletContractsPrimitivesExecReturnValue = { flags: PalletContractsUapiFlagsReturnFlags; data: Bytes };
|
|
3938
4533
|
|
|
3939
|
-
export type
|
|
4534
|
+
export type PalletContractsUapiFlagsReturnFlags = { bits: number };
|
|
3940
4535
|
|
|
3941
4536
|
export type PalletContractsPrimitivesStorageDeposit =
|
|
3942
4537
|
| { type: 'Refund'; value: bigint }
|
|
@@ -3978,4 +4573,6 @@ export type AlephRuntimeRuntimeError =
|
|
|
3978
4573
|
| { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
|
|
3979
4574
|
| { pallet: 'Identity'; palletError: PalletIdentityError }
|
|
3980
4575
|
| { pallet: 'CommitteeManagement'; palletError: PalletCommitteeManagementError }
|
|
3981
|
-
| { pallet: 'Proxy'; palletError: PalletProxyError }
|
|
4576
|
+
| { pallet: 'Proxy'; palletError: PalletProxyError }
|
|
4577
|
+
| { pallet: 'SafeMode'; palletError: PalletSafeModeError }
|
|
4578
|
+
| { pallet: 'TxPause'; palletError: PalletTxPauseError };
|