@dedot/chaintypes 0.233.0 → 0.234.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/hydration/tx.d.ts
CHANGED
|
@@ -63,31 +63,23 @@ import type {
|
|
|
63
63
|
PalletSignetErrorResponse,
|
|
64
64
|
PalletDispenserEvmTransactionParams,
|
|
65
65
|
OrmlVestingVestingSchedule,
|
|
66
|
-
|
|
66
|
+
EthereumTransactionEip7702AuthorizationListItem,
|
|
67
|
+
EthereumTransactionTransactionV3,
|
|
67
68
|
PalletXykAssetPair,
|
|
68
69
|
PalletDcaSchedule,
|
|
69
70
|
CumulusPrimitivesParachainInherentParachainInherentData,
|
|
70
71
|
XcmVersionedLocation,
|
|
71
72
|
XcmVersionedXcm,
|
|
72
73
|
XcmVersionedAssets,
|
|
73
|
-
|
|
74
|
+
StagingXcmV5Location,
|
|
74
75
|
XcmV3WeightLimit,
|
|
75
76
|
StagingXcmExecutorAssetTransferTransferType,
|
|
76
77
|
XcmVersionedAssetId,
|
|
77
78
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
79
|
+
PalletMigrationsMigrationCursor,
|
|
80
|
+
PalletMigrationsHistoricCleanupSelector,
|
|
78
81
|
XcmVersionedAsset,
|
|
79
82
|
HydradxRuntimeOpaqueSessionKeys,
|
|
80
|
-
IsmpMessagingMessage,
|
|
81
|
-
IsmpMessagingCreateConsensusState,
|
|
82
|
-
PalletIsmpUtilsUpdateConsensusState,
|
|
83
|
-
PalletIsmpUtilsFundMessageParams,
|
|
84
|
-
IsmpMessagingConsensusMessage,
|
|
85
|
-
IsmpParachainParachainData,
|
|
86
|
-
PalletTokenGatewayTeleportParams,
|
|
87
|
-
IsmpHostStateMachine,
|
|
88
|
-
PalletTokenGatewayAssetRegistration,
|
|
89
|
-
TokenGatewayPrimitivesGatewayAssetUpdate,
|
|
90
|
-
PalletTokenGatewayPrecisionUpdate,
|
|
91
83
|
} from './types.js';
|
|
92
84
|
|
|
93
85
|
export type ChainSubmittableExtrinsic<
|
|
@@ -1226,6 +1218,76 @@ export interface ChainTx<
|
|
|
1226
1218
|
>
|
|
1227
1219
|
>;
|
|
1228
1220
|
|
|
1221
|
+
/**
|
|
1222
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
1223
|
+
* May be called from any origin except `None`.
|
|
1224
|
+
*
|
|
1225
|
+
* This function first attempts to dispatch the `main` call.
|
|
1226
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
1227
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
1228
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
1229
|
+
*
|
|
1230
|
+
* In the event of a fallback failure the whole call fails
|
|
1231
|
+
* with the weights returned.
|
|
1232
|
+
*
|
|
1233
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
1234
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
1235
|
+
*
|
|
1236
|
+
* ## Dispatch Logic
|
|
1237
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
1238
|
+
* applying any origin filters.
|
|
1239
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
1240
|
+
* `fallback` calls.
|
|
1241
|
+
*
|
|
1242
|
+
* ## Use Case
|
|
1243
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
1244
|
+
* or both.
|
|
1245
|
+
*
|
|
1246
|
+
* @param {HydradxRuntimeRuntimeCallLike} main
|
|
1247
|
+
* @param {HydradxRuntimeRuntimeCallLike} fallback
|
|
1248
|
+
**/
|
|
1249
|
+
ifElse: GenericTxCall<
|
|
1250
|
+
(
|
|
1251
|
+
main: HydradxRuntimeRuntimeCallLike,
|
|
1252
|
+
fallback: HydradxRuntimeRuntimeCallLike,
|
|
1253
|
+
) => ChainSubmittableExtrinsic<
|
|
1254
|
+
{
|
|
1255
|
+
pallet: 'Utility';
|
|
1256
|
+
palletCall: {
|
|
1257
|
+
name: 'IfElse';
|
|
1258
|
+
params: { main: HydradxRuntimeRuntimeCallLike; fallback: HydradxRuntimeRuntimeCallLike };
|
|
1259
|
+
};
|
|
1260
|
+
},
|
|
1261
|
+
ChainKnownTypes
|
|
1262
|
+
>
|
|
1263
|
+
>;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Dispatches a function call with a provided origin.
|
|
1267
|
+
*
|
|
1268
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
1269
|
+
*
|
|
1270
|
+
* The dispatch origin for this call must be _Root_.
|
|
1271
|
+
*
|
|
1272
|
+
* @param {HydradxRuntimeOriginCaller} asOrigin
|
|
1273
|
+
* @param {HydradxRuntimeRuntimeCallLike} call
|
|
1274
|
+
**/
|
|
1275
|
+
dispatchAsFallible: GenericTxCall<
|
|
1276
|
+
(
|
|
1277
|
+
asOrigin: HydradxRuntimeOriginCaller,
|
|
1278
|
+
call: HydradxRuntimeRuntimeCallLike,
|
|
1279
|
+
) => ChainSubmittableExtrinsic<
|
|
1280
|
+
{
|
|
1281
|
+
pallet: 'Utility';
|
|
1282
|
+
palletCall: {
|
|
1283
|
+
name: 'DispatchAsFallible';
|
|
1284
|
+
params: { asOrigin: HydradxRuntimeOriginCaller; call: HydradxRuntimeRuntimeCallLike };
|
|
1285
|
+
};
|
|
1286
|
+
},
|
|
1287
|
+
ChainKnownTypes
|
|
1288
|
+
>
|
|
1289
|
+
>;
|
|
1290
|
+
|
|
1229
1291
|
/**
|
|
1230
1292
|
* Generic pallet tx call
|
|
1231
1293
|
**/
|
|
@@ -1321,7 +1383,7 @@ export interface ChainTx<
|
|
|
1321
1383
|
>;
|
|
1322
1384
|
|
|
1323
1385
|
/**
|
|
1324
|
-
* Ensure that the
|
|
1386
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
1325
1387
|
*
|
|
1326
1388
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
1327
1389
|
*
|
|
@@ -1771,8 +1833,9 @@ export interface ChainTx<
|
|
|
1771
1833
|
/**
|
|
1772
1834
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
1773
1835
|
*
|
|
1774
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
1775
|
-
*
|
|
1836
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
1837
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
1838
|
+
* parameters to overwrite the existing configuration.
|
|
1776
1839
|
*
|
|
1777
1840
|
* @param {AccountId32Like} authority
|
|
1778
1841
|
* @param {BytesLike} suffix
|
|
@@ -1798,15 +1861,19 @@ export interface ChainTx<
|
|
|
1798
1861
|
/**
|
|
1799
1862
|
* Remove `authority` from the username authorities.
|
|
1800
1863
|
*
|
|
1864
|
+
* @param {BytesLike} suffix
|
|
1801
1865
|
* @param {AccountId32Like} authority
|
|
1802
1866
|
**/
|
|
1803
1867
|
removeUsernameAuthority: GenericTxCall<
|
|
1804
|
-
(
|
|
1868
|
+
(
|
|
1869
|
+
suffix: BytesLike,
|
|
1870
|
+
authority: AccountId32Like,
|
|
1871
|
+
) => ChainSubmittableExtrinsic<
|
|
1805
1872
|
{
|
|
1806
1873
|
pallet: 'Identity';
|
|
1807
1874
|
palletCall: {
|
|
1808
1875
|
name: 'RemoveUsernameAuthority';
|
|
1809
|
-
params: { authority: AccountId32Like };
|
|
1876
|
+
params: { suffix: BytesLike; authority: AccountId32Like };
|
|
1810
1877
|
};
|
|
1811
1878
|
},
|
|
1812
1879
|
ChainKnownTypes
|
|
@@ -1816,7 +1883,11 @@ export interface ChainTx<
|
|
|
1816
1883
|
/**
|
|
1817
1884
|
* Set the username for `who`. Must be called by a username authority.
|
|
1818
1885
|
*
|
|
1819
|
-
*
|
|
1886
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
1887
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
1888
|
+
* username.
|
|
1889
|
+
*
|
|
1890
|
+
* Users can either pre-sign their usernames or
|
|
1820
1891
|
* accept them later.
|
|
1821
1892
|
*
|
|
1822
1893
|
* Usernames must:
|
|
@@ -1827,18 +1898,25 @@ export interface ChainTx<
|
|
|
1827
1898
|
* @param {AccountId32Like} who
|
|
1828
1899
|
* @param {BytesLike} username
|
|
1829
1900
|
* @param {SpRuntimeMultiSignature | undefined} signature
|
|
1901
|
+
* @param {boolean} useAllocation
|
|
1830
1902
|
**/
|
|
1831
1903
|
setUsernameFor: GenericTxCall<
|
|
1832
1904
|
(
|
|
1833
1905
|
who: AccountId32Like,
|
|
1834
1906
|
username: BytesLike,
|
|
1835
1907
|
signature: SpRuntimeMultiSignature | undefined,
|
|
1908
|
+
useAllocation: boolean,
|
|
1836
1909
|
) => ChainSubmittableExtrinsic<
|
|
1837
1910
|
{
|
|
1838
1911
|
pallet: 'Identity';
|
|
1839
1912
|
palletCall: {
|
|
1840
1913
|
name: 'SetUsernameFor';
|
|
1841
|
-
params: {
|
|
1914
|
+
params: {
|
|
1915
|
+
who: AccountId32Like;
|
|
1916
|
+
username: BytesLike;
|
|
1917
|
+
signature: SpRuntimeMultiSignature | undefined;
|
|
1918
|
+
useAllocation: boolean;
|
|
1919
|
+
};
|
|
1842
1920
|
};
|
|
1843
1921
|
},
|
|
1844
1922
|
ChainKnownTypes
|
|
@@ -1903,17 +1981,56 @@ export interface ChainTx<
|
|
|
1903
1981
|
>;
|
|
1904
1982
|
|
|
1905
1983
|
/**
|
|
1906
|
-
*
|
|
1907
|
-
*
|
|
1984
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
1985
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
1986
|
+
* [remove_username](crate::Call::remove_username).
|
|
1908
1987
|
*
|
|
1909
1988
|
* @param {BytesLike} username
|
|
1910
1989
|
**/
|
|
1911
|
-
|
|
1990
|
+
unbindUsername: GenericTxCall<
|
|
1912
1991
|
(username: BytesLike) => ChainSubmittableExtrinsic<
|
|
1913
1992
|
{
|
|
1914
1993
|
pallet: 'Identity';
|
|
1915
1994
|
palletCall: {
|
|
1916
|
-
name: '
|
|
1995
|
+
name: 'UnbindUsername';
|
|
1996
|
+
params: { username: BytesLike };
|
|
1997
|
+
};
|
|
1998
|
+
},
|
|
1999
|
+
ChainKnownTypes
|
|
2000
|
+
>
|
|
2001
|
+
>;
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
2005
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
2006
|
+
*
|
|
2007
|
+
* @param {BytesLike} username
|
|
2008
|
+
**/
|
|
2009
|
+
removeUsername: GenericTxCall<
|
|
2010
|
+
(username: BytesLike) => ChainSubmittableExtrinsic<
|
|
2011
|
+
{
|
|
2012
|
+
pallet: 'Identity';
|
|
2013
|
+
palletCall: {
|
|
2014
|
+
name: 'RemoveUsername';
|
|
2015
|
+
params: { username: BytesLike };
|
|
2016
|
+
};
|
|
2017
|
+
},
|
|
2018
|
+
ChainKnownTypes
|
|
2019
|
+
>
|
|
2020
|
+
>;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
2024
|
+
* and slashes any deposit associated with it.
|
|
2025
|
+
*
|
|
2026
|
+
* @param {BytesLike} username
|
|
2027
|
+
**/
|
|
2028
|
+
killUsername: GenericTxCall<
|
|
2029
|
+
(username: BytesLike) => ChainSubmittableExtrinsic<
|
|
2030
|
+
{
|
|
2031
|
+
pallet: 'Identity';
|
|
2032
|
+
palletCall: {
|
|
2033
|
+
name: 'KillUsername';
|
|
1917
2034
|
params: { username: BytesLike };
|
|
1918
2035
|
};
|
|
1919
2036
|
},
|
|
@@ -2766,6 +2883,56 @@ export interface ChainTx<
|
|
|
2766
2883
|
>
|
|
2767
2884
|
>;
|
|
2768
2885
|
|
|
2886
|
+
/**
|
|
2887
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
2888
|
+
*
|
|
2889
|
+
* Parameters:
|
|
2890
|
+
* - `origin`: must be the `KillOrigin`.
|
|
2891
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
2892
|
+
*
|
|
2893
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
2894
|
+
*
|
|
2895
|
+
* @param {H256} proposalHash
|
|
2896
|
+
**/
|
|
2897
|
+
kill: GenericTxCall<
|
|
2898
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
2899
|
+
{
|
|
2900
|
+
pallet: 'TechnicalCommittee';
|
|
2901
|
+
palletCall: {
|
|
2902
|
+
name: 'Kill';
|
|
2903
|
+
params: { proposalHash: H256 };
|
|
2904
|
+
};
|
|
2905
|
+
},
|
|
2906
|
+
ChainKnownTypes
|
|
2907
|
+
>
|
|
2908
|
+
>;
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
2912
|
+
*
|
|
2913
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
2914
|
+
*
|
|
2915
|
+
* Parameters:
|
|
2916
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
2917
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
2918
|
+
*
|
|
2919
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
2920
|
+
*
|
|
2921
|
+
* @param {H256} proposalHash
|
|
2922
|
+
**/
|
|
2923
|
+
releaseProposalCost: GenericTxCall<
|
|
2924
|
+
(proposalHash: H256) => ChainSubmittableExtrinsic<
|
|
2925
|
+
{
|
|
2926
|
+
pallet: 'TechnicalCommittee';
|
|
2927
|
+
palletCall: {
|
|
2928
|
+
name: 'ReleaseProposalCost';
|
|
2929
|
+
params: { proposalHash: H256 };
|
|
2930
|
+
};
|
|
2931
|
+
},
|
|
2932
|
+
ChainKnownTypes
|
|
2933
|
+
>
|
|
2934
|
+
>;
|
|
2935
|
+
|
|
2769
2936
|
/**
|
|
2770
2937
|
* Generic pallet tx call
|
|
2771
2938
|
**/
|
|
@@ -3123,6 +3290,29 @@ export interface ChainTx<
|
|
|
3123
3290
|
>
|
|
3124
3291
|
>;
|
|
3125
3292
|
|
|
3293
|
+
/**
|
|
3294
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
3295
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
3296
|
+
*
|
|
3297
|
+
* The dispatch origin for this call must be _Signed_.
|
|
3298
|
+
*
|
|
3299
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
3300
|
+
*
|
|
3301
|
+
* Emits `DepositPoked` if successful.
|
|
3302
|
+
*
|
|
3303
|
+
**/
|
|
3304
|
+
pokeDeposit: GenericTxCall<
|
|
3305
|
+
() => ChainSubmittableExtrinsic<
|
|
3306
|
+
{
|
|
3307
|
+
pallet: 'Proxy';
|
|
3308
|
+
palletCall: {
|
|
3309
|
+
name: 'PokeDeposit';
|
|
3310
|
+
};
|
|
3311
|
+
},
|
|
3312
|
+
ChainKnownTypes
|
|
3313
|
+
>
|
|
3314
|
+
>;
|
|
3315
|
+
|
|
3126
3316
|
/**
|
|
3127
3317
|
* Generic pallet tx call
|
|
3128
3318
|
**/
|
|
@@ -3351,6 +3541,42 @@ export interface ChainTx<
|
|
|
3351
3541
|
>
|
|
3352
3542
|
>;
|
|
3353
3543
|
|
|
3544
|
+
/**
|
|
3545
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
3546
|
+
*
|
|
3547
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
3548
|
+
* the multisig operation.
|
|
3549
|
+
*
|
|
3550
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
3551
|
+
*
|
|
3552
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
3553
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
3554
|
+
* multisig.
|
|
3555
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
3556
|
+
*
|
|
3557
|
+
* Emits `DepositPoked` if successful.
|
|
3558
|
+
*
|
|
3559
|
+
* @param {number} threshold
|
|
3560
|
+
* @param {Array<AccountId32Like>} otherSignatories
|
|
3561
|
+
* @param {FixedBytes<32>} callHash
|
|
3562
|
+
**/
|
|
3563
|
+
pokeDeposit: GenericTxCall<
|
|
3564
|
+
(
|
|
3565
|
+
threshold: number,
|
|
3566
|
+
otherSignatories: Array<AccountId32Like>,
|
|
3567
|
+
callHash: FixedBytes<32>,
|
|
3568
|
+
) => ChainSubmittableExtrinsic<
|
|
3569
|
+
{
|
|
3570
|
+
pallet: 'Multisig';
|
|
3571
|
+
palletCall: {
|
|
3572
|
+
name: 'PokeDeposit';
|
|
3573
|
+
params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
|
|
3574
|
+
};
|
|
3575
|
+
},
|
|
3576
|
+
ChainKnownTypes
|
|
3577
|
+
>
|
|
3578
|
+
>;
|
|
3579
|
+
|
|
3354
3580
|
/**
|
|
3355
3581
|
* Generic pallet tx call
|
|
3356
3582
|
**/
|
|
@@ -5991,7 +6217,8 @@ export interface ChainTx<
|
|
|
5991
6217
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
5992
6218
|
* be dusted, the remaining balance is transferred to treasury account.
|
|
5993
6219
|
*
|
|
5994
|
-
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all
|
|
6220
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all to the treasury account
|
|
6221
|
+
* Note that in this case, the treasury will just receive the underlying token, not the atoken variant.
|
|
5995
6222
|
*
|
|
5996
6223
|
* The transaction fee is returned back in case of successful dusting.
|
|
5997
6224
|
*
|
|
@@ -6699,6 +6926,8 @@ export interface ChainTx<
|
|
|
6699
6926
|
* - `stable_pool_id`: id of the stableswap pool to add liquidity to.
|
|
6700
6927
|
* - `stable_asset_amounts`: amount of each asset to be deposited into the stableswap pool.
|
|
6701
6928
|
* - `farm_entries`: list of farms to join.
|
|
6929
|
+
* - `min_shares_limit`: optional minimum Omnipool shares to receive (slippage protection).
|
|
6930
|
+
* Applies to Omnipool step only. None defaults to no protection.
|
|
6702
6931
|
*
|
|
6703
6932
|
* Emits `LiquidityAdded` events from both pool
|
|
6704
6933
|
* Emits `SharesDeposited` event for the first farm entry
|
|
@@ -6708,12 +6937,14 @@ export interface ChainTx<
|
|
|
6708
6937
|
* @param {number} stablePoolId
|
|
6709
6938
|
* @param {Array<HydradxTraitsStableswapAssetAmount>} stableAssetAmounts
|
|
6710
6939
|
* @param {Array<[number, number]> | undefined} farmEntries
|
|
6940
|
+
* @param {bigint | undefined} minSharesLimit
|
|
6711
6941
|
**/
|
|
6712
6942
|
addLiquidityStableswapOmnipoolAndJoinFarms: GenericTxCall<
|
|
6713
6943
|
(
|
|
6714
6944
|
stablePoolId: number,
|
|
6715
6945
|
stableAssetAmounts: Array<HydradxTraitsStableswapAssetAmount>,
|
|
6716
6946
|
farmEntries: Array<[number, number]> | undefined,
|
|
6947
|
+
minSharesLimit: bigint | undefined,
|
|
6717
6948
|
) => ChainSubmittableExtrinsic<
|
|
6718
6949
|
{
|
|
6719
6950
|
pallet: 'OmnipoolLiquidityMining';
|
|
@@ -6723,6 +6954,62 @@ export interface ChainTx<
|
|
|
6723
6954
|
stablePoolId: number;
|
|
6724
6955
|
stableAssetAmounts: Array<HydradxTraitsStableswapAssetAmount>;
|
|
6725
6956
|
farmEntries: Array<[number, number]> | undefined;
|
|
6957
|
+
minSharesLimit: bigint | undefined;
|
|
6958
|
+
};
|
|
6959
|
+
};
|
|
6960
|
+
},
|
|
6961
|
+
ChainKnownTypes
|
|
6962
|
+
>
|
|
6963
|
+
>;
|
|
6964
|
+
|
|
6965
|
+
/**
|
|
6966
|
+
* Remove liquidity from stableswap and omnipool, optionally exiting associated yield farms.
|
|
6967
|
+
*
|
|
6968
|
+
* This extrinsic reverses the operation performed by `add_liquidity_stableswap_omnipool_and_join_farms`,
|
|
6969
|
+
* with optional farm exit to match the optional farm join in the add function.
|
|
6970
|
+
*
|
|
6971
|
+
* It performs the following steps in order:
|
|
6972
|
+
* 1. [OPTIONAL] If deposit_id is provided: Exits from ALL yield farms associated with the deposit (claiming rewards)
|
|
6973
|
+
* 2. Removes liquidity from the omnipool to retrieve stableswap shares (protected by omnipool_min_limit)
|
|
6974
|
+
* 3. Removes liquidity from the stableswap pool to retrieve underlying assets (protected by stableswap_min_amounts_out)
|
|
6975
|
+
*
|
|
6976
|
+
* The stabelswap liquidity asset removal strategy is determined by the `min_amounts_out` parameter length:
|
|
6977
|
+
* - If 1 asset is specified: Uses `remove_liquidity_one_asset` (trading fee applies)
|
|
6978
|
+
* - If multiple assets: Uses `remove_liquidity` (proportional, no trading fee)
|
|
6979
|
+
*
|
|
6980
|
+
* Parameters:
|
|
6981
|
+
* - `origin`: Owner of the omnipool position
|
|
6982
|
+
* - `position_id`: The omnipool position NFT ID to remove liquidity from
|
|
6983
|
+
* - `omnipool_min_limit`: The min amount of asset to be removed from omnipool (slippage protection)
|
|
6984
|
+
* - `stableswap_min_amounts_out`: Asset IDs and minimum amounts minimum amounts of each asset to receive from omnipool.
|
|
6985
|
+
* - `deposit_id`: Optional liquidity mining deposit NFT ID. If provided, exits all farms first.
|
|
6986
|
+
*
|
|
6987
|
+
* Emits events:
|
|
6988
|
+
* - If deposit_id provided: `RewardClaimed`, `SharesWithdrawn`, `DepositDestroyed`
|
|
6989
|
+
* - Always: Omnipool's `LiquidityRemoved`, Stableswap's `LiquidityRemoved`
|
|
6990
|
+
*
|
|
6991
|
+
*
|
|
6992
|
+
* @param {bigint} positionId
|
|
6993
|
+
* @param {bigint} omnipoolMinLimit
|
|
6994
|
+
* @param {Array<HydradxTraitsStableswapAssetAmount>} stableswapMinAmountsOut
|
|
6995
|
+
* @param {bigint | undefined} depositId
|
|
6996
|
+
**/
|
|
6997
|
+
removeLiquidityStableswapOmnipoolAndExitFarms: GenericTxCall<
|
|
6998
|
+
(
|
|
6999
|
+
positionId: bigint,
|
|
7000
|
+
omnipoolMinLimit: bigint,
|
|
7001
|
+
stableswapMinAmountsOut: Array<HydradxTraitsStableswapAssetAmount>,
|
|
7002
|
+
depositId: bigint | undefined,
|
|
7003
|
+
) => ChainSubmittableExtrinsic<
|
|
7004
|
+
{
|
|
7005
|
+
pallet: 'OmnipoolLiquidityMining';
|
|
7006
|
+
palletCall: {
|
|
7007
|
+
name: 'RemoveLiquidityStableswapOmnipoolAndExitFarms';
|
|
7008
|
+
params: {
|
|
7009
|
+
positionId: bigint;
|
|
7010
|
+
omnipoolMinLimit: bigint;
|
|
7011
|
+
stableswapMinAmountsOut: Array<HydradxTraitsStableswapAssetAmount>;
|
|
7012
|
+
depositId: bigint | undefined;
|
|
6726
7013
|
};
|
|
6727
7014
|
};
|
|
6728
7015
|
},
|
|
@@ -9575,14 +9862,14 @@ export interface ChainTx<
|
|
|
9575
9862
|
* - `request_id`: Client-supplied request ID; must match derived ID.
|
|
9576
9863
|
* - `tx`: Parameters for the EVM transaction submitted to the faucet.
|
|
9577
9864
|
*
|
|
9578
|
-
* @param {
|
|
9865
|
+
* @param {H160} to
|
|
9579
9866
|
* @param {bigint} amount
|
|
9580
9867
|
* @param {FixedBytes<32>} requestId
|
|
9581
9868
|
* @param {PalletDispenserEvmTransactionParams} tx
|
|
9582
9869
|
**/
|
|
9583
9870
|
requestFund: GenericTxCall<
|
|
9584
9871
|
(
|
|
9585
|
-
to:
|
|
9872
|
+
to: H160,
|
|
9586
9873
|
amount: bigint,
|
|
9587
9874
|
requestId: FixedBytes<32>,
|
|
9588
9875
|
tx: PalletDispenserEvmTransactionParams,
|
|
@@ -9591,12 +9878,7 @@ export interface ChainTx<
|
|
|
9591
9878
|
pallet: 'EthDispenser';
|
|
9592
9879
|
palletCall: {
|
|
9593
9880
|
name: 'RequestFund';
|
|
9594
|
-
params: {
|
|
9595
|
-
to: FixedBytes<20>;
|
|
9596
|
-
amount: bigint;
|
|
9597
|
-
requestId: FixedBytes<32>;
|
|
9598
|
-
tx: PalletDispenserEvmTransactionParams;
|
|
9599
|
-
};
|
|
9881
|
+
params: { to: H160; amount: bigint; requestId: FixedBytes<32>; tx: PalletDispenserEvmTransactionParams };
|
|
9600
9882
|
};
|
|
9601
9883
|
},
|
|
9602
9884
|
ChainKnownTypes
|
|
@@ -9688,7 +9970,7 @@ export interface ChainTx<
|
|
|
9688
9970
|
*
|
|
9689
9971
|
* - `dest`: The recipient of the transfer.
|
|
9690
9972
|
* - `currency_id`: currency type.
|
|
9691
|
-
* - `amount`: free balance amount to
|
|
9973
|
+
* - `amount`: free balance amount to transfer.
|
|
9692
9974
|
*
|
|
9693
9975
|
* @param {AccountId32Like} dest
|
|
9694
9976
|
* @param {number} currencyId
|
|
@@ -9764,7 +10046,7 @@ export interface ChainTx<
|
|
|
9764
10046
|
*
|
|
9765
10047
|
* - `dest`: The recipient of the transfer.
|
|
9766
10048
|
* - `currency_id`: currency type.
|
|
9767
|
-
* - `amount`: free balance amount to
|
|
10049
|
+
* - `amount`: free balance amount to transfer.
|
|
9768
10050
|
*
|
|
9769
10051
|
* @param {AccountId32Like} dest
|
|
9770
10052
|
* @param {number} currencyId
|
|
@@ -9796,7 +10078,7 @@ export interface ChainTx<
|
|
|
9796
10078
|
* - `source`: The sender of the transfer.
|
|
9797
10079
|
* - `dest`: The recipient of the transfer.
|
|
9798
10080
|
* - `currency_id`: currency type.
|
|
9799
|
-
* - `amount`: free balance amount to
|
|
10081
|
+
* - `amount`: free balance amount to transfer.
|
|
9800
10082
|
*
|
|
9801
10083
|
* @param {AccountId32Like} source
|
|
9802
10084
|
* @param {AccountId32Like} dest
|
|
@@ -10067,6 +10349,7 @@ export interface ChainTx<
|
|
|
10067
10349
|
* @param {U256 | undefined} maxPriorityFeePerGas
|
|
10068
10350
|
* @param {U256 | undefined} nonce
|
|
10069
10351
|
* @param {Array<[H160, Array<H256>]>} accessList
|
|
10352
|
+
* @param {Array<EthereumTransactionEip7702AuthorizationListItem>} authorizationList
|
|
10070
10353
|
**/
|
|
10071
10354
|
call: GenericTxCall<
|
|
10072
10355
|
(
|
|
@@ -10079,6 +10362,7 @@ export interface ChainTx<
|
|
|
10079
10362
|
maxPriorityFeePerGas: U256 | undefined,
|
|
10080
10363
|
nonce: U256 | undefined,
|
|
10081
10364
|
accessList: Array<[H160, Array<H256>]>,
|
|
10365
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>,
|
|
10082
10366
|
) => ChainSubmittableExtrinsic<
|
|
10083
10367
|
{
|
|
10084
10368
|
pallet: 'Evm';
|
|
@@ -10094,6 +10378,7 @@ export interface ChainTx<
|
|
|
10094
10378
|
maxPriorityFeePerGas: U256 | undefined;
|
|
10095
10379
|
nonce: U256 | undefined;
|
|
10096
10380
|
accessList: Array<[H160, Array<H256>]>;
|
|
10381
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10097
10382
|
};
|
|
10098
10383
|
};
|
|
10099
10384
|
},
|
|
@@ -10113,6 +10398,7 @@ export interface ChainTx<
|
|
|
10113
10398
|
* @param {U256 | undefined} maxPriorityFeePerGas
|
|
10114
10399
|
* @param {U256 | undefined} nonce
|
|
10115
10400
|
* @param {Array<[H160, Array<H256>]>} accessList
|
|
10401
|
+
* @param {Array<EthereumTransactionEip7702AuthorizationListItem>} authorizationList
|
|
10116
10402
|
**/
|
|
10117
10403
|
create: GenericTxCall<
|
|
10118
10404
|
(
|
|
@@ -10124,6 +10410,7 @@ export interface ChainTx<
|
|
|
10124
10410
|
maxPriorityFeePerGas: U256 | undefined,
|
|
10125
10411
|
nonce: U256 | undefined,
|
|
10126
10412
|
accessList: Array<[H160, Array<H256>]>,
|
|
10413
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>,
|
|
10127
10414
|
) => ChainSubmittableExtrinsic<
|
|
10128
10415
|
{
|
|
10129
10416
|
pallet: 'Evm';
|
|
@@ -10138,6 +10425,7 @@ export interface ChainTx<
|
|
|
10138
10425
|
maxPriorityFeePerGas: U256 | undefined;
|
|
10139
10426
|
nonce: U256 | undefined;
|
|
10140
10427
|
accessList: Array<[H160, Array<H256>]>;
|
|
10428
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10141
10429
|
};
|
|
10142
10430
|
};
|
|
10143
10431
|
},
|
|
@@ -10157,6 +10445,7 @@ export interface ChainTx<
|
|
|
10157
10445
|
* @param {U256 | undefined} maxPriorityFeePerGas
|
|
10158
10446
|
* @param {U256 | undefined} nonce
|
|
10159
10447
|
* @param {Array<[H160, Array<H256>]>} accessList
|
|
10448
|
+
* @param {Array<EthereumTransactionEip7702AuthorizationListItem>} authorizationList
|
|
10160
10449
|
**/
|
|
10161
10450
|
create2: GenericTxCall<
|
|
10162
10451
|
(
|
|
@@ -10169,6 +10458,7 @@ export interface ChainTx<
|
|
|
10169
10458
|
maxPriorityFeePerGas: U256 | undefined,
|
|
10170
10459
|
nonce: U256 | undefined,
|
|
10171
10460
|
accessList: Array<[H160, Array<H256>]>,
|
|
10461
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>,
|
|
10172
10462
|
) => ChainSubmittableExtrinsic<
|
|
10173
10463
|
{
|
|
10174
10464
|
pallet: 'Evm';
|
|
@@ -10184,6 +10474,7 @@ export interface ChainTx<
|
|
|
10184
10474
|
maxPriorityFeePerGas: U256 | undefined;
|
|
10185
10475
|
nonce: U256 | undefined;
|
|
10186
10476
|
accessList: Array<[H160, Array<H256>]>;
|
|
10477
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10187
10478
|
};
|
|
10188
10479
|
};
|
|
10189
10480
|
},
|
|
@@ -10203,15 +10494,15 @@ export interface ChainTx<
|
|
|
10203
10494
|
/**
|
|
10204
10495
|
* Transact an Ethereum transaction.
|
|
10205
10496
|
*
|
|
10206
|
-
* @param {
|
|
10497
|
+
* @param {EthereumTransactionTransactionV3} transaction
|
|
10207
10498
|
**/
|
|
10208
10499
|
transact: GenericTxCall<
|
|
10209
|
-
(transaction:
|
|
10500
|
+
(transaction: EthereumTransactionTransactionV3) => ChainSubmittableExtrinsic<
|
|
10210
10501
|
{
|
|
10211
10502
|
pallet: 'Ethereum';
|
|
10212
10503
|
palletCall: {
|
|
10213
10504
|
name: 'Transact';
|
|
10214
|
-
params: { transaction:
|
|
10505
|
+
params: { transaction: EthereumTransactionTransactionV3 };
|
|
10215
10506
|
};
|
|
10216
10507
|
},
|
|
10217
10508
|
ChainKnownTypes
|
|
@@ -11691,19 +11982,19 @@ export interface ChainTx<
|
|
|
11691
11982
|
* - `location`: The destination that is being described.
|
|
11692
11983
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
11693
11984
|
*
|
|
11694
|
-
* @param {
|
|
11985
|
+
* @param {StagingXcmV5Location} location
|
|
11695
11986
|
* @param {number} version
|
|
11696
11987
|
**/
|
|
11697
11988
|
forceXcmVersion: GenericTxCall<
|
|
11698
11989
|
(
|
|
11699
|
-
location:
|
|
11990
|
+
location: StagingXcmV5Location,
|
|
11700
11991
|
version: number,
|
|
11701
11992
|
) => ChainSubmittableExtrinsic<
|
|
11702
11993
|
{
|
|
11703
11994
|
pallet: 'PolkadotXcm';
|
|
11704
11995
|
palletCall: {
|
|
11705
11996
|
name: 'ForceXcmVersion';
|
|
11706
|
-
params: { location:
|
|
11997
|
+
params: { location: StagingXcmV5Location; version: number };
|
|
11707
11998
|
};
|
|
11708
11999
|
},
|
|
11709
12000
|
ChainKnownTypes
|
|
@@ -12091,6 +12382,74 @@ export interface ChainTx<
|
|
|
12091
12382
|
>
|
|
12092
12383
|
>;
|
|
12093
12384
|
|
|
12385
|
+
/**
|
|
12386
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
12387
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
12388
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
12389
|
+
* `expiry` block number.
|
|
12390
|
+
*
|
|
12391
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
12392
|
+
* also under your control (like your account on another chain).
|
|
12393
|
+
*
|
|
12394
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
12395
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
12396
|
+
* `origin` in XCM programs executed on the local chain.
|
|
12397
|
+
*
|
|
12398
|
+
* @param {XcmVersionedLocation} aliaser
|
|
12399
|
+
* @param {bigint | undefined} expires
|
|
12400
|
+
**/
|
|
12401
|
+
addAuthorizedAlias: GenericTxCall<
|
|
12402
|
+
(
|
|
12403
|
+
aliaser: XcmVersionedLocation,
|
|
12404
|
+
expires: bigint | undefined,
|
|
12405
|
+
) => ChainSubmittableExtrinsic<
|
|
12406
|
+
{
|
|
12407
|
+
pallet: 'PolkadotXcm';
|
|
12408
|
+
palletCall: {
|
|
12409
|
+
name: 'AddAuthorizedAlias';
|
|
12410
|
+
params: { aliaser: XcmVersionedLocation; expires: bigint | undefined };
|
|
12411
|
+
};
|
|
12412
|
+
},
|
|
12413
|
+
ChainKnownTypes
|
|
12414
|
+
>
|
|
12415
|
+
>;
|
|
12416
|
+
|
|
12417
|
+
/**
|
|
12418
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
12419
|
+
* the local `origin` making this call.
|
|
12420
|
+
*
|
|
12421
|
+
* @param {XcmVersionedLocation} aliaser
|
|
12422
|
+
**/
|
|
12423
|
+
removeAuthorizedAlias: GenericTxCall<
|
|
12424
|
+
(aliaser: XcmVersionedLocation) => ChainSubmittableExtrinsic<
|
|
12425
|
+
{
|
|
12426
|
+
pallet: 'PolkadotXcm';
|
|
12427
|
+
palletCall: {
|
|
12428
|
+
name: 'RemoveAuthorizedAlias';
|
|
12429
|
+
params: { aliaser: XcmVersionedLocation };
|
|
12430
|
+
};
|
|
12431
|
+
},
|
|
12432
|
+
ChainKnownTypes
|
|
12433
|
+
>
|
|
12434
|
+
>;
|
|
12435
|
+
|
|
12436
|
+
/**
|
|
12437
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
12438
|
+
* making this call.
|
|
12439
|
+
*
|
|
12440
|
+
**/
|
|
12441
|
+
removeAllAuthorizedAliases: GenericTxCall<
|
|
12442
|
+
() => ChainSubmittableExtrinsic<
|
|
12443
|
+
{
|
|
12444
|
+
pallet: 'PolkadotXcm';
|
|
12445
|
+
palletCall: {
|
|
12446
|
+
name: 'RemoveAllAuthorizedAliases';
|
|
12447
|
+
};
|
|
12448
|
+
},
|
|
12449
|
+
ChainKnownTypes
|
|
12450
|
+
>
|
|
12451
|
+
>;
|
|
12452
|
+
|
|
12094
12453
|
/**
|
|
12095
12454
|
* Generic pallet tx call
|
|
12096
12455
|
**/
|
|
@@ -12179,6 +12538,107 @@ export interface ChainTx<
|
|
|
12179
12538
|
**/
|
|
12180
12539
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12181
12540
|
};
|
|
12541
|
+
/**
|
|
12542
|
+
* Pallet `MultiBlockMigrations`'s transaction calls
|
|
12543
|
+
**/
|
|
12544
|
+
multiBlockMigrations: {
|
|
12545
|
+
/**
|
|
12546
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
12547
|
+
*
|
|
12548
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
12549
|
+
* restarting the migration process in this manner will not call the
|
|
12550
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
12551
|
+
*
|
|
12552
|
+
* @param {PalletMigrationsMigrationCursor | undefined} cursor
|
|
12553
|
+
**/
|
|
12554
|
+
forceSetCursor: GenericTxCall<
|
|
12555
|
+
(cursor: PalletMigrationsMigrationCursor | undefined) => ChainSubmittableExtrinsic<
|
|
12556
|
+
{
|
|
12557
|
+
pallet: 'MultiBlockMigrations';
|
|
12558
|
+
palletCall: {
|
|
12559
|
+
name: 'ForceSetCursor';
|
|
12560
|
+
params: { cursor: PalletMigrationsMigrationCursor | undefined };
|
|
12561
|
+
};
|
|
12562
|
+
},
|
|
12563
|
+
ChainKnownTypes
|
|
12564
|
+
>
|
|
12565
|
+
>;
|
|
12566
|
+
|
|
12567
|
+
/**
|
|
12568
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
12569
|
+
*
|
|
12570
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
12571
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
12572
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
12573
|
+
* indicates that the current block number plus one should be used.
|
|
12574
|
+
*
|
|
12575
|
+
* @param {number} index
|
|
12576
|
+
* @param {BytesLike | undefined} innerCursor
|
|
12577
|
+
* @param {number | undefined} startedAt
|
|
12578
|
+
**/
|
|
12579
|
+
forceSetActiveCursor: GenericTxCall<
|
|
12580
|
+
(
|
|
12581
|
+
index: number,
|
|
12582
|
+
innerCursor: BytesLike | undefined,
|
|
12583
|
+
startedAt: number | undefined,
|
|
12584
|
+
) => ChainSubmittableExtrinsic<
|
|
12585
|
+
{
|
|
12586
|
+
pallet: 'MultiBlockMigrations';
|
|
12587
|
+
palletCall: {
|
|
12588
|
+
name: 'ForceSetActiveCursor';
|
|
12589
|
+
params: { index: number; innerCursor: BytesLike | undefined; startedAt: number | undefined };
|
|
12590
|
+
};
|
|
12591
|
+
},
|
|
12592
|
+
ChainKnownTypes
|
|
12593
|
+
>
|
|
12594
|
+
>;
|
|
12595
|
+
|
|
12596
|
+
/**
|
|
12597
|
+
* Forces the onboarding of the migrations.
|
|
12598
|
+
*
|
|
12599
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
12600
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
12601
|
+
*
|
|
12602
|
+
**/
|
|
12603
|
+
forceOnboardMbms: GenericTxCall<
|
|
12604
|
+
() => ChainSubmittableExtrinsic<
|
|
12605
|
+
{
|
|
12606
|
+
pallet: 'MultiBlockMigrations';
|
|
12607
|
+
palletCall: {
|
|
12608
|
+
name: 'ForceOnboardMbms';
|
|
12609
|
+
};
|
|
12610
|
+
},
|
|
12611
|
+
ChainKnownTypes
|
|
12612
|
+
>
|
|
12613
|
+
>;
|
|
12614
|
+
|
|
12615
|
+
/**
|
|
12616
|
+
* Clears the `Historic` set.
|
|
12617
|
+
*
|
|
12618
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
12619
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
12620
|
+
* way that will result in a sensible weight.
|
|
12621
|
+
*
|
|
12622
|
+
* @param {PalletMigrationsHistoricCleanupSelector} selector
|
|
12623
|
+
**/
|
|
12624
|
+
clearHistoric: GenericTxCall<
|
|
12625
|
+
(selector: PalletMigrationsHistoricCleanupSelector) => ChainSubmittableExtrinsic<
|
|
12626
|
+
{
|
|
12627
|
+
pallet: 'MultiBlockMigrations';
|
|
12628
|
+
palletCall: {
|
|
12629
|
+
name: 'ClearHistoric';
|
|
12630
|
+
params: { selector: PalletMigrationsHistoricCleanupSelector };
|
|
12631
|
+
};
|
|
12632
|
+
},
|
|
12633
|
+
ChainKnownTypes
|
|
12634
|
+
>
|
|
12635
|
+
>;
|
|
12636
|
+
|
|
12637
|
+
/**
|
|
12638
|
+
* Generic pallet tx call
|
|
12639
|
+
**/
|
|
12640
|
+
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12641
|
+
};
|
|
12182
12642
|
/**
|
|
12183
12643
|
* Pallet `OrmlXcm`'s transaction calls
|
|
12184
12644
|
**/
|
|
@@ -12775,279 +13235,6 @@ export interface ChainTx<
|
|
|
12775
13235
|
**/
|
|
12776
13236
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12777
13237
|
};
|
|
12778
|
-
/**
|
|
12779
|
-
* Pallet `Ismp`'s transaction calls
|
|
12780
|
-
**/
|
|
12781
|
-
ismp: {
|
|
12782
|
-
/**
|
|
12783
|
-
* Execute the provided batch of ISMP messages, this will short-circuit and revert if any
|
|
12784
|
-
* of the provided messages are invalid. This is an unsigned extrinsic that permits anyone
|
|
12785
|
-
* execute ISMP messages for free, provided they have valid proofs and the messages have
|
|
12786
|
-
* not been previously processed.
|
|
12787
|
-
*
|
|
12788
|
-
* The dispatch origin for this call must be an unsigned one.
|
|
12789
|
-
*
|
|
12790
|
-
* - `messages`: the messages to handle or process.
|
|
12791
|
-
*
|
|
12792
|
-
* Emits different message events based on the Message received if successful.
|
|
12793
|
-
*
|
|
12794
|
-
* @param {Array<IsmpMessagingMessage>} messages
|
|
12795
|
-
**/
|
|
12796
|
-
handleUnsigned: GenericTxCall<
|
|
12797
|
-
(messages: Array<IsmpMessagingMessage>) => ChainSubmittableExtrinsic<
|
|
12798
|
-
{
|
|
12799
|
-
pallet: 'Ismp';
|
|
12800
|
-
palletCall: {
|
|
12801
|
-
name: 'HandleUnsigned';
|
|
12802
|
-
params: { messages: Array<IsmpMessagingMessage> };
|
|
12803
|
-
};
|
|
12804
|
-
},
|
|
12805
|
-
ChainKnownTypes
|
|
12806
|
-
>
|
|
12807
|
-
>;
|
|
12808
|
-
|
|
12809
|
-
/**
|
|
12810
|
-
* Create a consensus client, using a subjectively chosen consensus state. This can also
|
|
12811
|
-
* be used to overwrite an existing consensus state. The dispatch origin for this
|
|
12812
|
-
* call must be `T::AdminOrigin`.
|
|
12813
|
-
*
|
|
12814
|
-
* - `message`: [`CreateConsensusState`] struct.
|
|
12815
|
-
*
|
|
12816
|
-
* Emits [`Event::ConsensusClientCreated`] if successful.
|
|
12817
|
-
*
|
|
12818
|
-
* @param {IsmpMessagingCreateConsensusState} message
|
|
12819
|
-
**/
|
|
12820
|
-
createConsensusClient: GenericTxCall<
|
|
12821
|
-
(message: IsmpMessagingCreateConsensusState) => ChainSubmittableExtrinsic<
|
|
12822
|
-
{
|
|
12823
|
-
pallet: 'Ismp';
|
|
12824
|
-
palletCall: {
|
|
12825
|
-
name: 'CreateConsensusClient';
|
|
12826
|
-
params: { message: IsmpMessagingCreateConsensusState };
|
|
12827
|
-
};
|
|
12828
|
-
},
|
|
12829
|
-
ChainKnownTypes
|
|
12830
|
-
>
|
|
12831
|
-
>;
|
|
12832
|
-
|
|
12833
|
-
/**
|
|
12834
|
-
* Modify the unbonding period and challenge period for a consensus state.
|
|
12835
|
-
* The dispatch origin for this call must be `T::AdminOrigin`.
|
|
12836
|
-
*
|
|
12837
|
-
* - `message`: `UpdateConsensusState` struct.
|
|
12838
|
-
*
|
|
12839
|
-
* @param {PalletIsmpUtilsUpdateConsensusState} message
|
|
12840
|
-
**/
|
|
12841
|
-
updateConsensusState: GenericTxCall<
|
|
12842
|
-
(message: PalletIsmpUtilsUpdateConsensusState) => ChainSubmittableExtrinsic<
|
|
12843
|
-
{
|
|
12844
|
-
pallet: 'Ismp';
|
|
12845
|
-
palletCall: {
|
|
12846
|
-
name: 'UpdateConsensusState';
|
|
12847
|
-
params: { message: PalletIsmpUtilsUpdateConsensusState };
|
|
12848
|
-
};
|
|
12849
|
-
},
|
|
12850
|
-
ChainKnownTypes
|
|
12851
|
-
>
|
|
12852
|
-
>;
|
|
12853
|
-
|
|
12854
|
-
/**
|
|
12855
|
-
* Add more funds to a message (request or response) to be used for delivery and execution.
|
|
12856
|
-
*
|
|
12857
|
-
* Should not be called on a message that has been completed (delivered or timed-out) as
|
|
12858
|
-
* those funds will be lost forever.
|
|
12859
|
-
*
|
|
12860
|
-
* @param {PalletIsmpUtilsFundMessageParams} message
|
|
12861
|
-
**/
|
|
12862
|
-
fundMessage: GenericTxCall<
|
|
12863
|
-
(message: PalletIsmpUtilsFundMessageParams) => ChainSubmittableExtrinsic<
|
|
12864
|
-
{
|
|
12865
|
-
pallet: 'Ismp';
|
|
12866
|
-
palletCall: {
|
|
12867
|
-
name: 'FundMessage';
|
|
12868
|
-
params: { message: PalletIsmpUtilsFundMessageParams };
|
|
12869
|
-
};
|
|
12870
|
-
},
|
|
12871
|
-
ChainKnownTypes
|
|
12872
|
-
>
|
|
12873
|
-
>;
|
|
12874
|
-
|
|
12875
|
-
/**
|
|
12876
|
-
* Generic pallet tx call
|
|
12877
|
-
**/
|
|
12878
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12879
|
-
};
|
|
12880
|
-
/**
|
|
12881
|
-
* Pallet `IsmpParachain`'s transaction calls
|
|
12882
|
-
**/
|
|
12883
|
-
ismpParachain: {
|
|
12884
|
-
/**
|
|
12885
|
-
* This allows block builders submit parachain consensus proofs as inherents. If the
|
|
12886
|
-
* provided [`ConsensusMessage`] is not for a parachain, this call will fail.
|
|
12887
|
-
*
|
|
12888
|
-
* @param {IsmpMessagingConsensusMessage} data
|
|
12889
|
-
**/
|
|
12890
|
-
updateParachainConsensus: GenericTxCall<
|
|
12891
|
-
(data: IsmpMessagingConsensusMessage) => ChainSubmittableExtrinsic<
|
|
12892
|
-
{
|
|
12893
|
-
pallet: 'IsmpParachain';
|
|
12894
|
-
palletCall: {
|
|
12895
|
-
name: 'UpdateParachainConsensus';
|
|
12896
|
-
params: { data: IsmpMessagingConsensusMessage };
|
|
12897
|
-
};
|
|
12898
|
-
},
|
|
12899
|
-
ChainKnownTypes
|
|
12900
|
-
>
|
|
12901
|
-
>;
|
|
12902
|
-
|
|
12903
|
-
/**
|
|
12904
|
-
* Add some new parachains to the parachains whitelist
|
|
12905
|
-
*
|
|
12906
|
-
* @param {Array<IsmpParachainParachainData>} paraIds
|
|
12907
|
-
**/
|
|
12908
|
-
addParachain: GenericTxCall<
|
|
12909
|
-
(paraIds: Array<IsmpParachainParachainData>) => ChainSubmittableExtrinsic<
|
|
12910
|
-
{
|
|
12911
|
-
pallet: 'IsmpParachain';
|
|
12912
|
-
palletCall: {
|
|
12913
|
-
name: 'AddParachain';
|
|
12914
|
-
params: { paraIds: Array<IsmpParachainParachainData> };
|
|
12915
|
-
};
|
|
12916
|
-
},
|
|
12917
|
-
ChainKnownTypes
|
|
12918
|
-
>
|
|
12919
|
-
>;
|
|
12920
|
-
|
|
12921
|
-
/**
|
|
12922
|
-
* Removes some parachains from the parachains whitelist
|
|
12923
|
-
*
|
|
12924
|
-
* @param {Array<number>} paraIds
|
|
12925
|
-
**/
|
|
12926
|
-
removeParachain: GenericTxCall<
|
|
12927
|
-
(paraIds: Array<number>) => ChainSubmittableExtrinsic<
|
|
12928
|
-
{
|
|
12929
|
-
pallet: 'IsmpParachain';
|
|
12930
|
-
palletCall: {
|
|
12931
|
-
name: 'RemoveParachain';
|
|
12932
|
-
params: { paraIds: Array<number> };
|
|
12933
|
-
};
|
|
12934
|
-
},
|
|
12935
|
-
ChainKnownTypes
|
|
12936
|
-
>
|
|
12937
|
-
>;
|
|
12938
|
-
|
|
12939
|
-
/**
|
|
12940
|
-
* Generic pallet tx call
|
|
12941
|
-
**/
|
|
12942
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12943
|
-
};
|
|
12944
|
-
/**
|
|
12945
|
-
* Pallet `TokenGateway`'s transaction calls
|
|
12946
|
-
**/
|
|
12947
|
-
tokenGateway: {
|
|
12948
|
-
/**
|
|
12949
|
-
* Teleports a registered asset
|
|
12950
|
-
* locks the asset and dispatches a request to token gateway on the destination
|
|
12951
|
-
*
|
|
12952
|
-
* @param {PalletTokenGatewayTeleportParams} params
|
|
12953
|
-
**/
|
|
12954
|
-
teleport: GenericTxCall<
|
|
12955
|
-
(params: PalletTokenGatewayTeleportParams) => ChainSubmittableExtrinsic<
|
|
12956
|
-
{
|
|
12957
|
-
pallet: 'TokenGateway';
|
|
12958
|
-
palletCall: {
|
|
12959
|
-
name: 'Teleport';
|
|
12960
|
-
params: { params: PalletTokenGatewayTeleportParams };
|
|
12961
|
-
};
|
|
12962
|
-
},
|
|
12963
|
-
ChainKnownTypes
|
|
12964
|
-
>
|
|
12965
|
-
>;
|
|
12966
|
-
|
|
12967
|
-
/**
|
|
12968
|
-
* Set the token gateway address for specified chains
|
|
12969
|
-
*
|
|
12970
|
-
* @param {Array<[IsmpHostStateMachine, BytesLike]>} addresses
|
|
12971
|
-
**/
|
|
12972
|
-
setTokenGatewayAddresses: GenericTxCall<
|
|
12973
|
-
(addresses: Array<[IsmpHostStateMachine, BytesLike]>) => ChainSubmittableExtrinsic<
|
|
12974
|
-
{
|
|
12975
|
-
pallet: 'TokenGateway';
|
|
12976
|
-
palletCall: {
|
|
12977
|
-
name: 'SetTokenGatewayAddresses';
|
|
12978
|
-
params: { addresses: Array<[IsmpHostStateMachine, BytesLike]> };
|
|
12979
|
-
};
|
|
12980
|
-
},
|
|
12981
|
-
ChainKnownTypes
|
|
12982
|
-
>
|
|
12983
|
-
>;
|
|
12984
|
-
|
|
12985
|
-
/**
|
|
12986
|
-
* Registers a multi-chain ERC6160 asset. The asset should not already exist.
|
|
12987
|
-
*
|
|
12988
|
-
* This works by dispatching a request to the TokenGateway module on each requested chain
|
|
12989
|
-
* to create the asset.
|
|
12990
|
-
* `native` should be true if this asset originates from this chain
|
|
12991
|
-
*
|
|
12992
|
-
* @param {PalletTokenGatewayAssetRegistration} asset
|
|
12993
|
-
**/
|
|
12994
|
-
createErc6160Asset: GenericTxCall<
|
|
12995
|
-
(asset: PalletTokenGatewayAssetRegistration) => ChainSubmittableExtrinsic<
|
|
12996
|
-
{
|
|
12997
|
-
pallet: 'TokenGateway';
|
|
12998
|
-
palletCall: {
|
|
12999
|
-
name: 'CreateErc6160Asset';
|
|
13000
|
-
params: { asset: PalletTokenGatewayAssetRegistration };
|
|
13001
|
-
};
|
|
13002
|
-
},
|
|
13003
|
-
ChainKnownTypes
|
|
13004
|
-
>
|
|
13005
|
-
>;
|
|
13006
|
-
|
|
13007
|
-
/**
|
|
13008
|
-
* Registers a multi-chain ERC6160 asset. The asset should not already exist.
|
|
13009
|
-
*
|
|
13010
|
-
* This works by dispatching a request to the TokenGateway module on each requested chain
|
|
13011
|
-
* to create the asset.
|
|
13012
|
-
*
|
|
13013
|
-
* @param {TokenGatewayPrimitivesGatewayAssetUpdate} asset
|
|
13014
|
-
**/
|
|
13015
|
-
updateErc6160Asset: GenericTxCall<
|
|
13016
|
-
(asset: TokenGatewayPrimitivesGatewayAssetUpdate) => ChainSubmittableExtrinsic<
|
|
13017
|
-
{
|
|
13018
|
-
pallet: 'TokenGateway';
|
|
13019
|
-
palletCall: {
|
|
13020
|
-
name: 'UpdateErc6160Asset';
|
|
13021
|
-
params: { asset: TokenGatewayPrimitivesGatewayAssetUpdate };
|
|
13022
|
-
};
|
|
13023
|
-
},
|
|
13024
|
-
ChainKnownTypes
|
|
13025
|
-
>
|
|
13026
|
-
>;
|
|
13027
|
-
|
|
13028
|
-
/**
|
|
13029
|
-
* Update the precision for an existing asset
|
|
13030
|
-
*
|
|
13031
|
-
* @param {PalletTokenGatewayPrecisionUpdate} update
|
|
13032
|
-
**/
|
|
13033
|
-
updateAssetPrecision: GenericTxCall<
|
|
13034
|
-
(update: PalletTokenGatewayPrecisionUpdate) => ChainSubmittableExtrinsic<
|
|
13035
|
-
{
|
|
13036
|
-
pallet: 'TokenGateway';
|
|
13037
|
-
palletCall: {
|
|
13038
|
-
name: 'UpdateAssetPrecision';
|
|
13039
|
-
params: { update: PalletTokenGatewayPrecisionUpdate };
|
|
13040
|
-
};
|
|
13041
|
-
},
|
|
13042
|
-
ChainKnownTypes
|
|
13043
|
-
>
|
|
13044
|
-
>;
|
|
13045
|
-
|
|
13046
|
-
/**
|
|
13047
|
-
* Generic pallet tx call
|
|
13048
|
-
**/
|
|
13049
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
13050
|
-
};
|
|
13051
13238
|
/**
|
|
13052
13239
|
* Pallet `EmaOracle`'s transaction calls
|
|
13053
13240
|
**/
|