@dedot/chaintypes 0.233.0 → 0.235.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
- package/polkadot/index.d.ts +1 -1
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-people/index.d.ts +1 -1
package/paseo-asset-hub/tx.d.ts
CHANGED
|
@@ -23,20 +23,18 @@ import type {
|
|
|
23
23
|
U256,
|
|
24
24
|
} from 'dedot/codecs';
|
|
25
25
|
import type {
|
|
26
|
-
|
|
26
|
+
AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
27
27
|
SpRuntimeMultiSignature,
|
|
28
28
|
FrameSystemEventRecord,
|
|
29
|
-
|
|
29
|
+
AssetHubPolkadotRuntimeRuntimeTask,
|
|
30
30
|
CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
31
31
|
CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
32
|
-
|
|
33
|
-
PalletMigrationsMigrationCursor,
|
|
34
|
-
PalletMigrationsHistoricCleanupSelector,
|
|
32
|
+
AssetHubPolkadotRuntimeRuntimeParameters,
|
|
35
33
|
PalletBalancesAdjustmentDirection,
|
|
36
34
|
PalletVestingVestingInfo,
|
|
37
35
|
PolkadotRuntimeCommonClaimsEcdsaSignature,
|
|
38
36
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
39
|
-
|
|
37
|
+
AssetHubPolkadotRuntimeSessionKeys,
|
|
40
38
|
XcmVersionedLocation,
|
|
41
39
|
XcmVersionedXcm,
|
|
42
40
|
XcmVersionedAssets,
|
|
@@ -50,9 +48,9 @@ import type {
|
|
|
50
48
|
SnowbridgeCoreAssetMetadata,
|
|
51
49
|
StagingXcmV5Asset,
|
|
52
50
|
SnowbridgeCoreRewardMessageId,
|
|
53
|
-
|
|
51
|
+
AssetHubPolkadotRuntimeOriginCaller,
|
|
54
52
|
PalletMultisigTimepoint,
|
|
55
|
-
|
|
53
|
+
AssetHubPolkadotRuntimeProxyType,
|
|
56
54
|
PalletUniquesDestroyWitness,
|
|
57
55
|
PalletNftsCollectionConfig,
|
|
58
56
|
PalletNftsDestroyWitness,
|
|
@@ -86,10 +84,11 @@ import type {
|
|
|
86
84
|
PalletNominationPoolsCommissionClaimPermission,
|
|
87
85
|
PalletStakingAsyncRcClientSessionReport,
|
|
88
86
|
PalletStakingAsyncRcClientOffence,
|
|
87
|
+
PalletElectionProviderMultiBlockManagerOperation,
|
|
89
88
|
PalletElectionProviderMultiBlockAdminOperation,
|
|
90
89
|
PalletElectionProviderMultiBlockPagedRawSolution,
|
|
91
90
|
SpNposElectionsElectionScore,
|
|
92
|
-
|
|
91
|
+
AssetHubPolkadotRuntimeStakingNposCompactSolution16,
|
|
93
92
|
PalletStakingAsyncRewardDestination,
|
|
94
93
|
PalletStakingAsyncValidatorPrefs,
|
|
95
94
|
PalletStakingAsyncPalletConfigOp,
|
|
@@ -127,14 +126,14 @@ import type {
|
|
|
127
126
|
} from './types.js';
|
|
128
127
|
|
|
129
128
|
export type ChainSubmittableExtrinsic<
|
|
130
|
-
T extends IRuntimeTxCall =
|
|
129
|
+
T extends IRuntimeTxCall = AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
131
130
|
ChainKnownTypes extends GenericChainKnownTypes = GenericChainKnownTypes,
|
|
132
131
|
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, ChainKnownTypes['Extra']> &
|
|
133
132
|
ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>, ChainKnownTypes['AssetId']>;
|
|
134
133
|
|
|
135
134
|
export type TxCall<ChainKnownTypes extends GenericChainKnownTypes = GenericChainKnownTypes> = (
|
|
136
135
|
...args: any[]
|
|
137
|
-
) => ChainSubmittableExtrinsic<
|
|
136
|
+
) => ChainSubmittableExtrinsic<AssetHubPolkadotRuntimeRuntimeCallLike, ChainKnownTypes>;
|
|
138
137
|
|
|
139
138
|
export interface ChainTx<
|
|
140
139
|
ChainKnownTypes extends GenericChainKnownTypes = GenericChainKnownTypes,
|
|
@@ -301,15 +300,15 @@ export interface ChainTx<
|
|
|
301
300
|
|
|
302
301
|
/**
|
|
303
302
|
*
|
|
304
|
-
* @param {
|
|
303
|
+
* @param {AssetHubPolkadotRuntimeRuntimeTask} task
|
|
305
304
|
**/
|
|
306
305
|
doTask: GenericTxCall<
|
|
307
|
-
(task:
|
|
306
|
+
(task: AssetHubPolkadotRuntimeRuntimeTask) => ChainSubmittableExtrinsic<
|
|
308
307
|
{
|
|
309
308
|
pallet: 'System';
|
|
310
309
|
palletCall: {
|
|
311
310
|
name: 'DoTask';
|
|
312
|
-
params: { task:
|
|
311
|
+
params: { task: AssetHubPolkadotRuntimeRuntimeTask };
|
|
313
312
|
};
|
|
314
313
|
},
|
|
315
314
|
ChainKnownTypes
|
|
@@ -630,14 +629,14 @@ export interface ChainTx<
|
|
|
630
629
|
* @param {number} when
|
|
631
630
|
* @param {[number, number] | undefined} maybePeriodic
|
|
632
631
|
* @param {number} priority
|
|
633
|
-
* @param {
|
|
632
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
634
633
|
**/
|
|
635
634
|
schedule: GenericTxCall<
|
|
636
635
|
(
|
|
637
636
|
when: number,
|
|
638
637
|
maybePeriodic: [number, number] | undefined,
|
|
639
638
|
priority: number,
|
|
640
|
-
call:
|
|
639
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
641
640
|
) => ChainSubmittableExtrinsic<
|
|
642
641
|
{
|
|
643
642
|
pallet: 'Scheduler';
|
|
@@ -647,7 +646,7 @@ export interface ChainTx<
|
|
|
647
646
|
when: number;
|
|
648
647
|
maybePeriodic: [number, number] | undefined;
|
|
649
648
|
priority: number;
|
|
650
|
-
call:
|
|
649
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
651
650
|
};
|
|
652
651
|
};
|
|
653
652
|
},
|
|
@@ -684,7 +683,7 @@ export interface ChainTx<
|
|
|
684
683
|
* @param {number} when
|
|
685
684
|
* @param {[number, number] | undefined} maybePeriodic
|
|
686
685
|
* @param {number} priority
|
|
687
|
-
* @param {
|
|
686
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
688
687
|
**/
|
|
689
688
|
scheduleNamed: GenericTxCall<
|
|
690
689
|
(
|
|
@@ -692,7 +691,7 @@ export interface ChainTx<
|
|
|
692
691
|
when: number,
|
|
693
692
|
maybePeriodic: [number, number] | undefined,
|
|
694
693
|
priority: number,
|
|
695
|
-
call:
|
|
694
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
696
695
|
) => ChainSubmittableExtrinsic<
|
|
697
696
|
{
|
|
698
697
|
pallet: 'Scheduler';
|
|
@@ -703,7 +702,7 @@ export interface ChainTx<
|
|
|
703
702
|
when: number;
|
|
704
703
|
maybePeriodic: [number, number] | undefined;
|
|
705
704
|
priority: number;
|
|
706
|
-
call:
|
|
705
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
707
706
|
};
|
|
708
707
|
};
|
|
709
708
|
},
|
|
@@ -735,14 +734,14 @@ export interface ChainTx<
|
|
|
735
734
|
* @param {number} after
|
|
736
735
|
* @param {[number, number] | undefined} maybePeriodic
|
|
737
736
|
* @param {number} priority
|
|
738
|
-
* @param {
|
|
737
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
739
738
|
**/
|
|
740
739
|
scheduleAfter: GenericTxCall<
|
|
741
740
|
(
|
|
742
741
|
after: number,
|
|
743
742
|
maybePeriodic: [number, number] | undefined,
|
|
744
743
|
priority: number,
|
|
745
|
-
call:
|
|
744
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
746
745
|
) => ChainSubmittableExtrinsic<
|
|
747
746
|
{
|
|
748
747
|
pallet: 'Scheduler';
|
|
@@ -752,7 +751,7 @@ export interface ChainTx<
|
|
|
752
751
|
after: number;
|
|
753
752
|
maybePeriodic: [number, number] | undefined;
|
|
754
753
|
priority: number;
|
|
755
|
-
call:
|
|
754
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
756
755
|
};
|
|
757
756
|
};
|
|
758
757
|
},
|
|
@@ -767,7 +766,7 @@ export interface ChainTx<
|
|
|
767
766
|
* @param {number} after
|
|
768
767
|
* @param {[number, number] | undefined} maybePeriodic
|
|
769
768
|
* @param {number} priority
|
|
770
|
-
* @param {
|
|
769
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
771
770
|
**/
|
|
772
771
|
scheduleNamedAfter: GenericTxCall<
|
|
773
772
|
(
|
|
@@ -775,7 +774,7 @@ export interface ChainTx<
|
|
|
775
774
|
after: number,
|
|
776
775
|
maybePeriodic: [number, number] | undefined,
|
|
777
776
|
priority: number,
|
|
778
|
-
call:
|
|
777
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
779
778
|
) => ChainSubmittableExtrinsic<
|
|
780
779
|
{
|
|
781
780
|
pallet: 'Scheduler';
|
|
@@ -786,7 +785,7 @@ export interface ChainTx<
|
|
|
786
785
|
after: number;
|
|
787
786
|
maybePeriodic: [number, number] | undefined;
|
|
788
787
|
priority: number;
|
|
789
|
-
call:
|
|
788
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
790
789
|
};
|
|
791
790
|
};
|
|
792
791
|
},
|
|
@@ -915,116 +914,15 @@ export interface ChainTx<
|
|
|
915
914
|
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
916
915
|
* deleted by setting them to `None`.
|
|
917
916
|
*
|
|
918
|
-
* @param {
|
|
917
|
+
* @param {AssetHubPolkadotRuntimeRuntimeParameters} keyValue
|
|
919
918
|
**/
|
|
920
919
|
setParameter: GenericTxCall<
|
|
921
|
-
(keyValue:
|
|
920
|
+
(keyValue: AssetHubPolkadotRuntimeRuntimeParameters) => ChainSubmittableExtrinsic<
|
|
922
921
|
{
|
|
923
922
|
pallet: 'Parameters';
|
|
924
923
|
palletCall: {
|
|
925
924
|
name: 'SetParameter';
|
|
926
|
-
params: { keyValue:
|
|
927
|
-
};
|
|
928
|
-
},
|
|
929
|
-
ChainKnownTypes
|
|
930
|
-
>
|
|
931
|
-
>;
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* Generic pallet tx call
|
|
935
|
-
**/
|
|
936
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
937
|
-
};
|
|
938
|
-
/**
|
|
939
|
-
* Pallet `MultiBlockMigrations`'s transaction calls
|
|
940
|
-
**/
|
|
941
|
-
multiBlockMigrations: {
|
|
942
|
-
/**
|
|
943
|
-
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
944
|
-
*
|
|
945
|
-
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
946
|
-
* restarting the migration process in this manner will not call the
|
|
947
|
-
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
948
|
-
*
|
|
949
|
-
* @param {PalletMigrationsMigrationCursor | undefined} cursor
|
|
950
|
-
**/
|
|
951
|
-
forceSetCursor: GenericTxCall<
|
|
952
|
-
(cursor: PalletMigrationsMigrationCursor | undefined) => ChainSubmittableExtrinsic<
|
|
953
|
-
{
|
|
954
|
-
pallet: 'MultiBlockMigrations';
|
|
955
|
-
palletCall: {
|
|
956
|
-
name: 'ForceSetCursor';
|
|
957
|
-
params: { cursor: PalletMigrationsMigrationCursor | undefined };
|
|
958
|
-
};
|
|
959
|
-
},
|
|
960
|
-
ChainKnownTypes
|
|
961
|
-
>
|
|
962
|
-
>;
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
966
|
-
*
|
|
967
|
-
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
968
|
-
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
969
|
-
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
970
|
-
* indicates that the current block number plus one should be used.
|
|
971
|
-
*
|
|
972
|
-
* @param {number} index
|
|
973
|
-
* @param {BytesLike | undefined} innerCursor
|
|
974
|
-
* @param {number | undefined} startedAt
|
|
975
|
-
**/
|
|
976
|
-
forceSetActiveCursor: GenericTxCall<
|
|
977
|
-
(
|
|
978
|
-
index: number,
|
|
979
|
-
innerCursor: BytesLike | undefined,
|
|
980
|
-
startedAt: number | undefined,
|
|
981
|
-
) => ChainSubmittableExtrinsic<
|
|
982
|
-
{
|
|
983
|
-
pallet: 'MultiBlockMigrations';
|
|
984
|
-
palletCall: {
|
|
985
|
-
name: 'ForceSetActiveCursor';
|
|
986
|
-
params: { index: number; innerCursor: BytesLike | undefined; startedAt: number | undefined };
|
|
987
|
-
};
|
|
988
|
-
},
|
|
989
|
-
ChainKnownTypes
|
|
990
|
-
>
|
|
991
|
-
>;
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* Forces the onboarding of the migrations.
|
|
995
|
-
*
|
|
996
|
-
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
997
|
-
* measurement. The cursor needs to be `None` for this to succeed.
|
|
998
|
-
*
|
|
999
|
-
**/
|
|
1000
|
-
forceOnboardMbms: GenericTxCall<
|
|
1001
|
-
() => ChainSubmittableExtrinsic<
|
|
1002
|
-
{
|
|
1003
|
-
pallet: 'MultiBlockMigrations';
|
|
1004
|
-
palletCall: {
|
|
1005
|
-
name: 'ForceOnboardMbms';
|
|
1006
|
-
};
|
|
1007
|
-
},
|
|
1008
|
-
ChainKnownTypes
|
|
1009
|
-
>
|
|
1010
|
-
>;
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Clears the `Historic` set.
|
|
1014
|
-
*
|
|
1015
|
-
* `map_cursor` must be set to the last value that was returned by the
|
|
1016
|
-
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
1017
|
-
* way that will result in a sensible weight.
|
|
1018
|
-
*
|
|
1019
|
-
* @param {PalletMigrationsHistoricCleanupSelector} selector
|
|
1020
|
-
**/
|
|
1021
|
-
clearHistoric: GenericTxCall<
|
|
1022
|
-
(selector: PalletMigrationsHistoricCleanupSelector) => ChainSubmittableExtrinsic<
|
|
1023
|
-
{
|
|
1024
|
-
pallet: 'MultiBlockMigrations';
|
|
1025
|
-
palletCall: {
|
|
1026
|
-
name: 'ClearHistoric';
|
|
1027
|
-
params: { selector: PalletMigrationsHistoricCleanupSelector };
|
|
925
|
+
params: { keyValue: AssetHubPolkadotRuntimeRuntimeParameters };
|
|
1028
926
|
};
|
|
1029
927
|
},
|
|
1030
928
|
ChainKnownTypes
|
|
@@ -1934,19 +1832,19 @@ export interface ChainTx<
|
|
|
1934
1832
|
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
1935
1833
|
* fixed.
|
|
1936
1834
|
*
|
|
1937
|
-
* @param {
|
|
1835
|
+
* @param {AssetHubPolkadotRuntimeSessionKeys} keys
|
|
1938
1836
|
* @param {BytesLike} proof
|
|
1939
1837
|
**/
|
|
1940
1838
|
setKeys: GenericTxCall<
|
|
1941
1839
|
(
|
|
1942
|
-
keys:
|
|
1840
|
+
keys: AssetHubPolkadotRuntimeSessionKeys,
|
|
1943
1841
|
proof: BytesLike,
|
|
1944
1842
|
) => ChainSubmittableExtrinsic<
|
|
1945
1843
|
{
|
|
1946
1844
|
pallet: 'Session';
|
|
1947
1845
|
palletCall: {
|
|
1948
1846
|
name: 'SetKeys';
|
|
1949
|
-
params: { keys:
|
|
1847
|
+
params: { keys: AssetHubPolkadotRuntimeSessionKeys; proof: BytesLike };
|
|
1950
1848
|
};
|
|
1951
1849
|
},
|
|
1952
1850
|
ChainKnownTypes
|
|
@@ -2967,15 +2865,15 @@ export interface ChainTx<
|
|
|
2967
2865
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
2968
2866
|
* event is deposited.
|
|
2969
2867
|
*
|
|
2970
|
-
* @param {Array<
|
|
2868
|
+
* @param {Array<AssetHubPolkadotRuntimeRuntimeCallLike>} calls
|
|
2971
2869
|
**/
|
|
2972
2870
|
batch: GenericTxCall<
|
|
2973
|
-
(calls: Array<
|
|
2871
|
+
(calls: Array<AssetHubPolkadotRuntimeRuntimeCallLike>) => ChainSubmittableExtrinsic<
|
|
2974
2872
|
{
|
|
2975
2873
|
pallet: 'Utility';
|
|
2976
2874
|
palletCall: {
|
|
2977
2875
|
name: 'Batch';
|
|
2978
|
-
params: { calls: Array<
|
|
2876
|
+
params: { calls: Array<AssetHubPolkadotRuntimeRuntimeCallLike> };
|
|
2979
2877
|
};
|
|
2980
2878
|
},
|
|
2981
2879
|
ChainKnownTypes
|
|
@@ -2998,18 +2896,18 @@ export interface ChainTx<
|
|
|
2998
2896
|
* The dispatch origin for this call must be _Signed_.
|
|
2999
2897
|
*
|
|
3000
2898
|
* @param {number} index
|
|
3001
|
-
* @param {
|
|
2899
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3002
2900
|
**/
|
|
3003
2901
|
asDerivative: GenericTxCall<
|
|
3004
2902
|
(
|
|
3005
2903
|
index: number,
|
|
3006
|
-
call:
|
|
2904
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3007
2905
|
) => ChainSubmittableExtrinsic<
|
|
3008
2906
|
{
|
|
3009
2907
|
pallet: 'Utility';
|
|
3010
2908
|
palletCall: {
|
|
3011
2909
|
name: 'AsDerivative';
|
|
3012
|
-
params: { index: number; call:
|
|
2910
|
+
params: { index: number; call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
3013
2911
|
};
|
|
3014
2912
|
},
|
|
3015
2913
|
ChainKnownTypes
|
|
@@ -3031,15 +2929,15 @@ export interface ChainTx<
|
|
|
3031
2929
|
* ## Complexity
|
|
3032
2930
|
* - O(C) where C is the number of calls to be batched.
|
|
3033
2931
|
*
|
|
3034
|
-
* @param {Array<
|
|
2932
|
+
* @param {Array<AssetHubPolkadotRuntimeRuntimeCallLike>} calls
|
|
3035
2933
|
**/
|
|
3036
2934
|
batchAll: GenericTxCall<
|
|
3037
|
-
(calls: Array<
|
|
2935
|
+
(calls: Array<AssetHubPolkadotRuntimeRuntimeCallLike>) => ChainSubmittableExtrinsic<
|
|
3038
2936
|
{
|
|
3039
2937
|
pallet: 'Utility';
|
|
3040
2938
|
palletCall: {
|
|
3041
2939
|
name: 'BatchAll';
|
|
3042
|
-
params: { calls: Array<
|
|
2940
|
+
params: { calls: Array<AssetHubPolkadotRuntimeRuntimeCallLike> };
|
|
3043
2941
|
};
|
|
3044
2942
|
},
|
|
3045
2943
|
ChainKnownTypes
|
|
@@ -3054,19 +2952,19 @@ export interface ChainTx<
|
|
|
3054
2952
|
* ## Complexity
|
|
3055
2953
|
* - O(1).
|
|
3056
2954
|
*
|
|
3057
|
-
* @param {
|
|
3058
|
-
* @param {
|
|
2955
|
+
* @param {AssetHubPolkadotRuntimeOriginCaller} asOrigin
|
|
2956
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3059
2957
|
**/
|
|
3060
2958
|
dispatchAs: GenericTxCall<
|
|
3061
2959
|
(
|
|
3062
|
-
asOrigin:
|
|
3063
|
-
call:
|
|
2960
|
+
asOrigin: AssetHubPolkadotRuntimeOriginCaller,
|
|
2961
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3064
2962
|
) => ChainSubmittableExtrinsic<
|
|
3065
2963
|
{
|
|
3066
2964
|
pallet: 'Utility';
|
|
3067
2965
|
palletCall: {
|
|
3068
2966
|
name: 'DispatchAs';
|
|
3069
|
-
params: { asOrigin:
|
|
2967
|
+
params: { asOrigin: AssetHubPolkadotRuntimeOriginCaller; call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
3070
2968
|
};
|
|
3071
2969
|
},
|
|
3072
2970
|
ChainKnownTypes
|
|
@@ -3088,15 +2986,15 @@ export interface ChainTx<
|
|
|
3088
2986
|
* ## Complexity
|
|
3089
2987
|
* - O(C) where C is the number of calls to be batched.
|
|
3090
2988
|
*
|
|
3091
|
-
* @param {Array<
|
|
2989
|
+
* @param {Array<AssetHubPolkadotRuntimeRuntimeCallLike>} calls
|
|
3092
2990
|
**/
|
|
3093
2991
|
forceBatch: GenericTxCall<
|
|
3094
|
-
(calls: Array<
|
|
2992
|
+
(calls: Array<AssetHubPolkadotRuntimeRuntimeCallLike>) => ChainSubmittableExtrinsic<
|
|
3095
2993
|
{
|
|
3096
2994
|
pallet: 'Utility';
|
|
3097
2995
|
palletCall: {
|
|
3098
2996
|
name: 'ForceBatch';
|
|
3099
|
-
params: { calls: Array<
|
|
2997
|
+
params: { calls: Array<AssetHubPolkadotRuntimeRuntimeCallLike> };
|
|
3100
2998
|
};
|
|
3101
2999
|
},
|
|
3102
3000
|
ChainKnownTypes
|
|
@@ -3111,19 +3009,19 @@ export interface ChainTx<
|
|
|
3111
3009
|
*
|
|
3112
3010
|
* The dispatch origin for this call must be _Root_.
|
|
3113
3011
|
*
|
|
3114
|
-
* @param {
|
|
3012
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3115
3013
|
* @param {SpWeightsWeightV2Weight} weight
|
|
3116
3014
|
**/
|
|
3117
3015
|
withWeight: GenericTxCall<
|
|
3118
3016
|
(
|
|
3119
|
-
call:
|
|
3017
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3120
3018
|
weight: SpWeightsWeightV2Weight,
|
|
3121
3019
|
) => ChainSubmittableExtrinsic<
|
|
3122
3020
|
{
|
|
3123
3021
|
pallet: 'Utility';
|
|
3124
3022
|
palletCall: {
|
|
3125
3023
|
name: 'WithWeight';
|
|
3126
|
-
params: { call:
|
|
3024
|
+
params: { call: AssetHubPolkadotRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight };
|
|
3127
3025
|
};
|
|
3128
3026
|
},
|
|
3129
3027
|
ChainKnownTypes
|
|
@@ -3155,19 +3053,19 @@ export interface ChainTx<
|
|
|
3155
3053
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
3156
3054
|
* or both.
|
|
3157
3055
|
*
|
|
3158
|
-
* @param {
|
|
3159
|
-
* @param {
|
|
3056
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} main
|
|
3057
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} fallback
|
|
3160
3058
|
**/
|
|
3161
3059
|
ifElse: GenericTxCall<
|
|
3162
3060
|
(
|
|
3163
|
-
main:
|
|
3164
|
-
fallback:
|
|
3061
|
+
main: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3062
|
+
fallback: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3165
3063
|
) => ChainSubmittableExtrinsic<
|
|
3166
3064
|
{
|
|
3167
3065
|
pallet: 'Utility';
|
|
3168
3066
|
palletCall: {
|
|
3169
3067
|
name: 'IfElse';
|
|
3170
|
-
params: { main:
|
|
3068
|
+
params: { main: AssetHubPolkadotRuntimeRuntimeCallLike; fallback: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
3171
3069
|
};
|
|
3172
3070
|
},
|
|
3173
3071
|
ChainKnownTypes
|
|
@@ -3181,19 +3079,19 @@ export interface ChainTx<
|
|
|
3181
3079
|
*
|
|
3182
3080
|
* The dispatch origin for this call must be _Root_.
|
|
3183
3081
|
*
|
|
3184
|
-
* @param {
|
|
3185
|
-
* @param {
|
|
3082
|
+
* @param {AssetHubPolkadotRuntimeOriginCaller} asOrigin
|
|
3083
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3186
3084
|
**/
|
|
3187
3085
|
dispatchAsFallible: GenericTxCall<
|
|
3188
3086
|
(
|
|
3189
|
-
asOrigin:
|
|
3190
|
-
call:
|
|
3087
|
+
asOrigin: AssetHubPolkadotRuntimeOriginCaller,
|
|
3088
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3191
3089
|
) => ChainSubmittableExtrinsic<
|
|
3192
3090
|
{
|
|
3193
3091
|
pallet: 'Utility';
|
|
3194
3092
|
palletCall: {
|
|
3195
3093
|
name: 'DispatchAsFallible';
|
|
3196
|
-
params: { asOrigin:
|
|
3094
|
+
params: { asOrigin: AssetHubPolkadotRuntimeOriginCaller; call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
3197
3095
|
};
|
|
3198
3096
|
},
|
|
3199
3097
|
ChainKnownTypes
|
|
@@ -3224,18 +3122,18 @@ export interface ChainTx<
|
|
|
3224
3122
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
3225
3123
|
*
|
|
3226
3124
|
* @param {Array<AccountId32Like>} otherSignatories
|
|
3227
|
-
* @param {
|
|
3125
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3228
3126
|
**/
|
|
3229
3127
|
asMultiThreshold1: GenericTxCall<
|
|
3230
3128
|
(
|
|
3231
3129
|
otherSignatories: Array<AccountId32Like>,
|
|
3232
|
-
call:
|
|
3130
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3233
3131
|
) => ChainSubmittableExtrinsic<
|
|
3234
3132
|
{
|
|
3235
3133
|
pallet: 'Multisig';
|
|
3236
3134
|
palletCall: {
|
|
3237
3135
|
name: 'AsMultiThreshold1';
|
|
3238
|
-
params: { otherSignatories: Array<AccountId32Like>; call:
|
|
3136
|
+
params: { otherSignatories: Array<AccountId32Like>; call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
3239
3137
|
};
|
|
3240
3138
|
},
|
|
3241
3139
|
ChainKnownTypes
|
|
@@ -3286,7 +3184,7 @@ export interface ChainTx<
|
|
|
3286
3184
|
* @param {number} threshold
|
|
3287
3185
|
* @param {Array<AccountId32Like>} otherSignatories
|
|
3288
3186
|
* @param {PalletMultisigTimepoint | undefined} maybeTimepoint
|
|
3289
|
-
* @param {
|
|
3187
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3290
3188
|
* @param {SpWeightsWeightV2Weight} maxWeight
|
|
3291
3189
|
**/
|
|
3292
3190
|
asMulti: GenericTxCall<
|
|
@@ -3294,7 +3192,7 @@ export interface ChainTx<
|
|
|
3294
3192
|
threshold: number,
|
|
3295
3193
|
otherSignatories: Array<AccountId32Like>,
|
|
3296
3194
|
maybeTimepoint: PalletMultisigTimepoint | undefined,
|
|
3297
|
-
call:
|
|
3195
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3298
3196
|
maxWeight: SpWeightsWeightV2Weight,
|
|
3299
3197
|
) => ChainSubmittableExtrinsic<
|
|
3300
3198
|
{
|
|
@@ -3305,7 +3203,7 @@ export interface ChainTx<
|
|
|
3305
3203
|
threshold: number;
|
|
3306
3204
|
otherSignatories: Array<AccountId32Like>;
|
|
3307
3205
|
maybeTimepoint: PalletMultisigTimepoint | undefined;
|
|
3308
|
-
call:
|
|
3206
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
3309
3207
|
maxWeight: SpWeightsWeightV2Weight;
|
|
3310
3208
|
};
|
|
3311
3209
|
};
|
|
@@ -3485,14 +3383,14 @@ export interface ChainTx<
|
|
|
3485
3383
|
* - `call`: The call to be made by the `real` account.
|
|
3486
3384
|
*
|
|
3487
3385
|
* @param {MultiAddressLike} real
|
|
3488
|
-
* @param {
|
|
3489
|
-
* @param {
|
|
3386
|
+
* @param {AssetHubPolkadotRuntimeProxyType | undefined} forceProxyType
|
|
3387
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3490
3388
|
**/
|
|
3491
3389
|
proxy: GenericTxCall<
|
|
3492
3390
|
(
|
|
3493
3391
|
real: MultiAddressLike,
|
|
3494
|
-
forceProxyType:
|
|
3495
|
-
call:
|
|
3392
|
+
forceProxyType: AssetHubPolkadotRuntimeProxyType | undefined,
|
|
3393
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3496
3394
|
) => ChainSubmittableExtrinsic<
|
|
3497
3395
|
{
|
|
3498
3396
|
pallet: 'Proxy';
|
|
@@ -3500,8 +3398,8 @@ export interface ChainTx<
|
|
|
3500
3398
|
name: 'Proxy';
|
|
3501
3399
|
params: {
|
|
3502
3400
|
real: MultiAddressLike;
|
|
3503
|
-
forceProxyType:
|
|
3504
|
-
call:
|
|
3401
|
+
forceProxyType: AssetHubPolkadotRuntimeProxyType | undefined;
|
|
3402
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
3505
3403
|
};
|
|
3506
3404
|
};
|
|
3507
3405
|
},
|
|
@@ -3521,20 +3419,20 @@ export interface ChainTx<
|
|
|
3521
3419
|
* zero.
|
|
3522
3420
|
*
|
|
3523
3421
|
* @param {MultiAddressLike} delegate
|
|
3524
|
-
* @param {
|
|
3422
|
+
* @param {AssetHubPolkadotRuntimeProxyType} proxyType
|
|
3525
3423
|
* @param {number} delay
|
|
3526
3424
|
**/
|
|
3527
3425
|
addProxy: GenericTxCall<
|
|
3528
3426
|
(
|
|
3529
3427
|
delegate: MultiAddressLike,
|
|
3530
|
-
proxyType:
|
|
3428
|
+
proxyType: AssetHubPolkadotRuntimeProxyType,
|
|
3531
3429
|
delay: number,
|
|
3532
3430
|
) => ChainSubmittableExtrinsic<
|
|
3533
3431
|
{
|
|
3534
3432
|
pallet: 'Proxy';
|
|
3535
3433
|
palletCall: {
|
|
3536
3434
|
name: 'AddProxy';
|
|
3537
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3435
|
+
params: { delegate: MultiAddressLike; proxyType: AssetHubPolkadotRuntimeProxyType; delay: number };
|
|
3538
3436
|
};
|
|
3539
3437
|
},
|
|
3540
3438
|
ChainKnownTypes
|
|
@@ -3551,20 +3449,20 @@ export interface ChainTx<
|
|
|
3551
3449
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
3552
3450
|
*
|
|
3553
3451
|
* @param {MultiAddressLike} delegate
|
|
3554
|
-
* @param {
|
|
3452
|
+
* @param {AssetHubPolkadotRuntimeProxyType} proxyType
|
|
3555
3453
|
* @param {number} delay
|
|
3556
3454
|
**/
|
|
3557
3455
|
removeProxy: GenericTxCall<
|
|
3558
3456
|
(
|
|
3559
3457
|
delegate: MultiAddressLike,
|
|
3560
|
-
proxyType:
|
|
3458
|
+
proxyType: AssetHubPolkadotRuntimeProxyType,
|
|
3561
3459
|
delay: number,
|
|
3562
3460
|
) => ChainSubmittableExtrinsic<
|
|
3563
3461
|
{
|
|
3564
3462
|
pallet: 'Proxy';
|
|
3565
3463
|
palletCall: {
|
|
3566
3464
|
name: 'RemoveProxy';
|
|
3567
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3465
|
+
params: { delegate: MultiAddressLike; proxyType: AssetHubPolkadotRuntimeProxyType; delay: number };
|
|
3568
3466
|
};
|
|
3569
3467
|
},
|
|
3570
3468
|
ChainKnownTypes
|
|
@@ -3612,13 +3510,13 @@ export interface ChainTx<
|
|
|
3612
3510
|
*
|
|
3613
3511
|
* Fails if there are insufficient funds to pay for deposit.
|
|
3614
3512
|
*
|
|
3615
|
-
* @param {
|
|
3513
|
+
* @param {AssetHubPolkadotRuntimeProxyType} proxyType
|
|
3616
3514
|
* @param {number} delay
|
|
3617
3515
|
* @param {number} index
|
|
3618
3516
|
**/
|
|
3619
3517
|
createPure: GenericTxCall<
|
|
3620
3518
|
(
|
|
3621
|
-
proxyType:
|
|
3519
|
+
proxyType: AssetHubPolkadotRuntimeProxyType,
|
|
3622
3520
|
delay: number,
|
|
3623
3521
|
index: number,
|
|
3624
3522
|
) => ChainSubmittableExtrinsic<
|
|
@@ -3626,7 +3524,7 @@ export interface ChainTx<
|
|
|
3626
3524
|
pallet: 'Proxy';
|
|
3627
3525
|
palletCall: {
|
|
3628
3526
|
name: 'CreatePure';
|
|
3629
|
-
params: { proxyType:
|
|
3527
|
+
params: { proxyType: AssetHubPolkadotRuntimeProxyType; delay: number; index: number };
|
|
3630
3528
|
};
|
|
3631
3529
|
},
|
|
3632
3530
|
ChainKnownTypes
|
|
@@ -3652,7 +3550,7 @@ export interface ChainTx<
|
|
|
3652
3550
|
* account whose `create_pure` call has corresponding parameters.
|
|
3653
3551
|
*
|
|
3654
3552
|
* @param {MultiAddressLike} spawner
|
|
3655
|
-
* @param {
|
|
3553
|
+
* @param {AssetHubPolkadotRuntimeProxyType} proxyType
|
|
3656
3554
|
* @param {number} index
|
|
3657
3555
|
* @param {number} height
|
|
3658
3556
|
* @param {number} extIndex
|
|
@@ -3660,7 +3558,7 @@ export interface ChainTx<
|
|
|
3660
3558
|
killPure: GenericTxCall<
|
|
3661
3559
|
(
|
|
3662
3560
|
spawner: MultiAddressLike,
|
|
3663
|
-
proxyType:
|
|
3561
|
+
proxyType: AssetHubPolkadotRuntimeProxyType,
|
|
3664
3562
|
index: number,
|
|
3665
3563
|
height: number,
|
|
3666
3564
|
extIndex: number,
|
|
@@ -3671,7 +3569,7 @@ export interface ChainTx<
|
|
|
3671
3569
|
name: 'KillPure';
|
|
3672
3570
|
params: {
|
|
3673
3571
|
spawner: MultiAddressLike;
|
|
3674
|
-
proxyType:
|
|
3572
|
+
proxyType: AssetHubPolkadotRuntimeProxyType;
|
|
3675
3573
|
index: number;
|
|
3676
3574
|
height: number;
|
|
3677
3575
|
extIndex: number;
|
|
@@ -3795,15 +3693,15 @@ export interface ChainTx<
|
|
|
3795
3693
|
*
|
|
3796
3694
|
* @param {MultiAddressLike} delegate
|
|
3797
3695
|
* @param {MultiAddressLike} real
|
|
3798
|
-
* @param {
|
|
3799
|
-
* @param {
|
|
3696
|
+
* @param {AssetHubPolkadotRuntimeProxyType | undefined} forceProxyType
|
|
3697
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
3800
3698
|
**/
|
|
3801
3699
|
proxyAnnounced: GenericTxCall<
|
|
3802
3700
|
(
|
|
3803
3701
|
delegate: MultiAddressLike,
|
|
3804
3702
|
real: MultiAddressLike,
|
|
3805
|
-
forceProxyType:
|
|
3806
|
-
call:
|
|
3703
|
+
forceProxyType: AssetHubPolkadotRuntimeProxyType | undefined,
|
|
3704
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
3807
3705
|
) => ChainSubmittableExtrinsic<
|
|
3808
3706
|
{
|
|
3809
3707
|
pallet: 'Proxy';
|
|
@@ -3812,8 +3710,8 @@ export interface ChainTx<
|
|
|
3812
3710
|
params: {
|
|
3813
3711
|
delegate: MultiAddressLike;
|
|
3814
3712
|
real: MultiAddressLike;
|
|
3815
|
-
forceProxyType:
|
|
3816
|
-
call:
|
|
3713
|
+
forceProxyType: AssetHubPolkadotRuntimeProxyType | undefined;
|
|
3714
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike;
|
|
3817
3715
|
};
|
|
3818
3716
|
};
|
|
3819
3717
|
},
|
|
@@ -10730,13 +10628,13 @@ export interface ChainTx<
|
|
|
10730
10628
|
*
|
|
10731
10629
|
* Emits `Submitted`.
|
|
10732
10630
|
*
|
|
10733
|
-
* @param {
|
|
10631
|
+
* @param {AssetHubPolkadotRuntimeOriginCaller} proposalOrigin
|
|
10734
10632
|
* @param {FrameSupportPreimagesBounded} proposal
|
|
10735
10633
|
* @param {FrameSupportScheduleDispatchTime} enactmentMoment
|
|
10736
10634
|
**/
|
|
10737
10635
|
submit: GenericTxCall<
|
|
10738
10636
|
(
|
|
10739
|
-
proposalOrigin:
|
|
10637
|
+
proposalOrigin: AssetHubPolkadotRuntimeOriginCaller,
|
|
10740
10638
|
proposal: FrameSupportPreimagesBounded,
|
|
10741
10639
|
enactmentMoment: FrameSupportScheduleDispatchTime,
|
|
10742
10640
|
) => ChainSubmittableExtrinsic<
|
|
@@ -10745,7 +10643,7 @@ export interface ChainTx<
|
|
|
10745
10643
|
palletCall: {
|
|
10746
10644
|
name: 'Submit';
|
|
10747
10645
|
params: {
|
|
10748
|
-
proposalOrigin:
|
|
10646
|
+
proposalOrigin: AssetHubPolkadotRuntimeOriginCaller;
|
|
10749
10647
|
proposal: FrameSupportPreimagesBounded;
|
|
10750
10648
|
enactmentMoment: FrameSupportScheduleDispatchTime;
|
|
10751
10649
|
};
|
|
@@ -11017,15 +10915,15 @@ export interface ChainTx<
|
|
|
11017
10915
|
|
|
11018
10916
|
/**
|
|
11019
10917
|
*
|
|
11020
|
-
* @param {
|
|
10918
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
11021
10919
|
**/
|
|
11022
10920
|
dispatchWhitelistedCallWithPreimage: GenericTxCall<
|
|
11023
|
-
(call:
|
|
10921
|
+
(call: AssetHubPolkadotRuntimeRuntimeCallLike) => ChainSubmittableExtrinsic<
|
|
11024
10922
|
{
|
|
11025
10923
|
pallet: 'Whitelist';
|
|
11026
10924
|
palletCall: {
|
|
11027
10925
|
name: 'DispatchWhitelistedCallWithPreimage';
|
|
11028
|
-
params: { call:
|
|
10926
|
+
params: { call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
11029
10927
|
};
|
|
11030
10928
|
},
|
|
11031
10929
|
ChainKnownTypes
|
|
@@ -12886,18 +12784,35 @@ export interface ChainTx<
|
|
|
12886
12784
|
/**
|
|
12887
12785
|
* Manage this pallet.
|
|
12888
12786
|
*
|
|
12889
|
-
* The origin of this call must be [`Config::
|
|
12787
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
12890
12788
|
*
|
|
12891
|
-
* See [`
|
|
12789
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
12892
12790
|
*
|
|
12893
|
-
* @param {
|
|
12791
|
+
* @param {PalletElectionProviderMultiBlockManagerOperation} op
|
|
12894
12792
|
**/
|
|
12895
12793
|
manage: GenericTxCall<
|
|
12896
|
-
(op:
|
|
12794
|
+
(op: PalletElectionProviderMultiBlockManagerOperation) => ChainSubmittableExtrinsic<
|
|
12897
12795
|
{
|
|
12898
12796
|
pallet: 'MultiBlockElection';
|
|
12899
12797
|
palletCall: {
|
|
12900
12798
|
name: 'Manage';
|
|
12799
|
+
params: { op: PalletElectionProviderMultiBlockManagerOperation };
|
|
12800
|
+
};
|
|
12801
|
+
},
|
|
12802
|
+
ChainKnownTypes
|
|
12803
|
+
>
|
|
12804
|
+
>;
|
|
12805
|
+
|
|
12806
|
+
/**
|
|
12807
|
+
*
|
|
12808
|
+
* @param {PalletElectionProviderMultiBlockAdminOperation} op
|
|
12809
|
+
**/
|
|
12810
|
+
admin: GenericTxCall<
|
|
12811
|
+
(op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
|
|
12812
|
+
{
|
|
12813
|
+
pallet: 'MultiBlockElection';
|
|
12814
|
+
palletCall: {
|
|
12815
|
+
name: 'Admin';
|
|
12901
12816
|
params: { op: PalletElectionProviderMultiBlockAdminOperation };
|
|
12902
12817
|
};
|
|
12903
12818
|
},
|
|
@@ -12993,18 +12908,18 @@ export interface ChainTx<
|
|
|
12993
12908
|
* [`Config::DepositPerPage`].
|
|
12994
12909
|
*
|
|
12995
12910
|
* @param {number} page
|
|
12996
|
-
* @param {
|
|
12911
|
+
* @param {AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined} maybeSolution
|
|
12997
12912
|
**/
|
|
12998
12913
|
submitPage: GenericTxCall<
|
|
12999
12914
|
(
|
|
13000
12915
|
page: number,
|
|
13001
|
-
maybeSolution:
|
|
12916
|
+
maybeSolution: AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined,
|
|
13002
12917
|
) => ChainSubmittableExtrinsic<
|
|
13003
12918
|
{
|
|
13004
12919
|
pallet: 'MultiBlockElectionSigned';
|
|
13005
12920
|
palletCall: {
|
|
13006
12921
|
name: 'SubmitPage';
|
|
13007
|
-
params: { page: number; maybeSolution:
|
|
12922
|
+
params: { page: number; maybeSolution: AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined };
|
|
13008
12923
|
};
|
|
13009
12924
|
},
|
|
13010
12925
|
ChainKnownTypes
|
|
@@ -14368,19 +14283,19 @@ export interface ChainTx<
|
|
|
14368
14283
|
* * `call`: The Substrate runtime call to execute.
|
|
14369
14284
|
* * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
|
|
14370
14285
|
*
|
|
14371
|
-
* @param {
|
|
14286
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
14372
14287
|
* @param {BytesLike} transactionEncoded
|
|
14373
14288
|
**/
|
|
14374
14289
|
ethSubstrateCall: GenericTxCall<
|
|
14375
14290
|
(
|
|
14376
|
-
call:
|
|
14291
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
14377
14292
|
transactionEncoded: BytesLike,
|
|
14378
14293
|
) => ChainSubmittableExtrinsic<
|
|
14379
14294
|
{
|
|
14380
14295
|
pallet: 'Revive';
|
|
14381
14296
|
palletCall: {
|
|
14382
14297
|
name: 'EthSubstrateCall';
|
|
14383
|
-
params: { call:
|
|
14298
|
+
params: { call: AssetHubPolkadotRuntimeRuntimeCallLike; transactionEncoded: BytesLike };
|
|
14384
14299
|
};
|
|
14385
14300
|
},
|
|
14386
14301
|
ChainKnownTypes
|
|
@@ -14519,130 +14434,15 @@ export interface ChainTx<
|
|
|
14519
14434
|
* is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
|
|
14520
14435
|
* recovery function in case an `AccountId20` was used without creating a mapping first.
|
|
14521
14436
|
*
|
|
14522
|
-
* @param {
|
|
14437
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
14523
14438
|
**/
|
|
14524
14439
|
dispatchAsFallbackAccount: GenericTxCall<
|
|
14525
|
-
(call:
|
|
14440
|
+
(call: AssetHubPolkadotRuntimeRuntimeCallLike) => ChainSubmittableExtrinsic<
|
|
14526
14441
|
{
|
|
14527
14442
|
pallet: 'Revive';
|
|
14528
14443
|
palletCall: {
|
|
14529
14444
|
name: 'DispatchAsFallbackAccount';
|
|
14530
|
-
params: { call:
|
|
14531
|
-
};
|
|
14532
|
-
},
|
|
14533
|
-
ChainKnownTypes
|
|
14534
|
-
>
|
|
14535
|
-
>;
|
|
14536
|
-
|
|
14537
|
-
/**
|
|
14538
|
-
* Generic pallet tx call
|
|
14539
|
-
**/
|
|
14540
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
14541
|
-
};
|
|
14542
|
-
/**
|
|
14543
|
-
* Pallet `Sudo`'s transaction calls
|
|
14544
|
-
**/
|
|
14545
|
-
sudo: {
|
|
14546
|
-
/**
|
|
14547
|
-
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
14548
|
-
*
|
|
14549
|
-
* @param {AssetHubPaseoRuntimeRuntimeCallLike} call
|
|
14550
|
-
**/
|
|
14551
|
-
sudo: GenericTxCall<
|
|
14552
|
-
(call: AssetHubPaseoRuntimeRuntimeCallLike) => ChainSubmittableExtrinsic<
|
|
14553
|
-
{
|
|
14554
|
-
pallet: 'Sudo';
|
|
14555
|
-
palletCall: {
|
|
14556
|
-
name: 'Sudo';
|
|
14557
|
-
params: { call: AssetHubPaseoRuntimeRuntimeCallLike };
|
|
14558
|
-
};
|
|
14559
|
-
},
|
|
14560
|
-
ChainKnownTypes
|
|
14561
|
-
>
|
|
14562
|
-
>;
|
|
14563
|
-
|
|
14564
|
-
/**
|
|
14565
|
-
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
14566
|
-
* This function does not check the weight of the call, and instead allows the
|
|
14567
|
-
* Sudo user to specify the weight of the call.
|
|
14568
|
-
*
|
|
14569
|
-
* The dispatch origin for this call must be _Signed_.
|
|
14570
|
-
*
|
|
14571
|
-
* @param {AssetHubPaseoRuntimeRuntimeCallLike} call
|
|
14572
|
-
* @param {SpWeightsWeightV2Weight} weight
|
|
14573
|
-
**/
|
|
14574
|
-
sudoUncheckedWeight: GenericTxCall<
|
|
14575
|
-
(
|
|
14576
|
-
call: AssetHubPaseoRuntimeRuntimeCallLike,
|
|
14577
|
-
weight: SpWeightsWeightV2Weight,
|
|
14578
|
-
) => ChainSubmittableExtrinsic<
|
|
14579
|
-
{
|
|
14580
|
-
pallet: 'Sudo';
|
|
14581
|
-
palletCall: {
|
|
14582
|
-
name: 'SudoUncheckedWeight';
|
|
14583
|
-
params: { call: AssetHubPaseoRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight };
|
|
14584
|
-
};
|
|
14585
|
-
},
|
|
14586
|
-
ChainKnownTypes
|
|
14587
|
-
>
|
|
14588
|
-
>;
|
|
14589
|
-
|
|
14590
|
-
/**
|
|
14591
|
-
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
14592
|
-
* key.
|
|
14593
|
-
*
|
|
14594
|
-
* @param {MultiAddressLike} new_
|
|
14595
|
-
**/
|
|
14596
|
-
setKey: GenericTxCall<
|
|
14597
|
-
(new_: MultiAddressLike) => ChainSubmittableExtrinsic<
|
|
14598
|
-
{
|
|
14599
|
-
pallet: 'Sudo';
|
|
14600
|
-
palletCall: {
|
|
14601
|
-
name: 'SetKey';
|
|
14602
|
-
params: { new: MultiAddressLike };
|
|
14603
|
-
};
|
|
14604
|
-
},
|
|
14605
|
-
ChainKnownTypes
|
|
14606
|
-
>
|
|
14607
|
-
>;
|
|
14608
|
-
|
|
14609
|
-
/**
|
|
14610
|
-
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
|
|
14611
|
-
* a given account.
|
|
14612
|
-
*
|
|
14613
|
-
* The dispatch origin for this call must be _Signed_.
|
|
14614
|
-
*
|
|
14615
|
-
* @param {MultiAddressLike} who
|
|
14616
|
-
* @param {AssetHubPaseoRuntimeRuntimeCallLike} call
|
|
14617
|
-
**/
|
|
14618
|
-
sudoAs: GenericTxCall<
|
|
14619
|
-
(
|
|
14620
|
-
who: MultiAddressLike,
|
|
14621
|
-
call: AssetHubPaseoRuntimeRuntimeCallLike,
|
|
14622
|
-
) => ChainSubmittableExtrinsic<
|
|
14623
|
-
{
|
|
14624
|
-
pallet: 'Sudo';
|
|
14625
|
-
palletCall: {
|
|
14626
|
-
name: 'SudoAs';
|
|
14627
|
-
params: { who: MultiAddressLike; call: AssetHubPaseoRuntimeRuntimeCallLike };
|
|
14628
|
-
};
|
|
14629
|
-
},
|
|
14630
|
-
ChainKnownTypes
|
|
14631
|
-
>
|
|
14632
|
-
>;
|
|
14633
|
-
|
|
14634
|
-
/**
|
|
14635
|
-
* Permanently removes the sudo key.
|
|
14636
|
-
*
|
|
14637
|
-
* **This cannot be un-done.**
|
|
14638
|
-
*
|
|
14639
|
-
**/
|
|
14640
|
-
removeKey: GenericTxCall<
|
|
14641
|
-
() => ChainSubmittableExtrinsic<
|
|
14642
|
-
{
|
|
14643
|
-
pallet: 'Sudo';
|
|
14644
|
-
palletCall: {
|
|
14645
|
-
name: 'RemoveKey';
|
|
14445
|
+
params: { call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
14646
14446
|
};
|
|
14647
14447
|
},
|
|
14648
14448
|
ChainKnownTypes
|