@dedot/chaintypes 0.37.0 → 0.38.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/moonbeam/consts.d.ts +30 -52
- package/moonbeam/errors.d.ts +26 -117
- package/moonbeam/events.d.ts +55 -118
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +89 -36
- package/moonbeam/runtime.d.ts +76 -9
- package/moonbeam/tx.d.ts +93 -412
- package/moonbeam/types.d.ts +241 -672
- package/package.json +2 -2
package/moonbeam/types.d.ts
CHANGED
|
@@ -9,12 +9,12 @@ import type {
|
|
|
9
9
|
FixedBytes,
|
|
10
10
|
Percent,
|
|
11
11
|
Perbill,
|
|
12
|
+
FixedArray,
|
|
12
13
|
Result,
|
|
13
14
|
Bytes,
|
|
14
15
|
H160,
|
|
15
16
|
BytesLike,
|
|
16
17
|
AccountId20Like,
|
|
17
|
-
FixedArray,
|
|
18
18
|
Data,
|
|
19
19
|
U256,
|
|
20
20
|
FixedI64,
|
|
@@ -66,6 +66,7 @@ export type MoonbeamRuntimeRuntimeEvent =
|
|
|
66
66
|
| { pallet: 'Identity'; palletEvent: PalletIdentityEvent }
|
|
67
67
|
| { pallet: 'Migrations'; palletEvent: PalletMigrationsEvent }
|
|
68
68
|
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
69
|
+
| { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
|
|
69
70
|
| { pallet: 'Evm'; palletEvent: PalletEvmEvent }
|
|
70
71
|
| { pallet: 'Ethereum'; palletEvent: PalletEthereumEvent }
|
|
71
72
|
| { pallet: 'Scheduler'; palletEvent: PalletSchedulerEvent }
|
|
@@ -79,11 +80,9 @@ export type MoonbeamRuntimeRuntimeEvent =
|
|
|
79
80
|
| { pallet: 'CrowdloanRewards'; palletEvent: PalletCrowdloanRewardsEvent }
|
|
80
81
|
| { pallet: 'XcmpQueue'; palletEvent: CumulusPalletXcmpQueueEvent }
|
|
81
82
|
| { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
|
|
82
|
-
| { pallet: 'DmpQueue'; palletEvent: CumulusPalletDmpQueueEvent }
|
|
83
83
|
| { pallet: 'PolkadotXcm'; palletEvent: PalletXcmEvent }
|
|
84
84
|
| { pallet: 'Assets'; palletEvent: PalletAssetsEvent }
|
|
85
85
|
| { pallet: 'AssetManager'; palletEvent: PalletAssetManagerEvent }
|
|
86
|
-
| { pallet: 'XTokens'; palletEvent: OrmlXtokensModuleEvent }
|
|
87
86
|
| { pallet: 'XcmTransactor'; palletEvent: PalletXcmTransactorEvent }
|
|
88
87
|
| { pallet: 'EthereumXcm'; palletEvent: PalletEthereumXcmEvent }
|
|
89
88
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
@@ -426,15 +425,14 @@ export type PalletParachainStakingEvent =
|
|
|
426
425
|
/**
|
|
427
426
|
* Transferred to account which holds funds reserved for parachain bond.
|
|
428
427
|
**/
|
|
429
|
-
| { name: '
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
| { name: 'ParachainBondReservePercentSet'; data: { old: Percent; new: Percent } }
|
|
428
|
+
| { name: 'InflationDistributed'; data: { index: number; account: AccountId20; value: bigint } }
|
|
429
|
+
| {
|
|
430
|
+
name: 'InflationDistributionConfigUpdated';
|
|
431
|
+
data: {
|
|
432
|
+
old: PalletParachainStakingInflationDistributionConfig;
|
|
433
|
+
new: PalletParachainStakingInflationDistributionConfig;
|
|
434
|
+
};
|
|
435
|
+
}
|
|
438
436
|
/**
|
|
439
437
|
* Annual inflation input (first 3) was used to derive new per-round inflation (last 3)
|
|
440
438
|
**/
|
|
@@ -498,6 +496,13 @@ export type PalletParachainStakingDelegatorAdded =
|
|
|
498
496
|
| { type: 'AddedToTop'; value: { newTotal: bigint } }
|
|
499
497
|
| { type: 'AddedToBottom' };
|
|
500
498
|
|
|
499
|
+
export type PalletParachainStakingInflationDistributionConfig = FixedArray<
|
|
500
|
+
PalletParachainStakingInflationDistributionAccount,
|
|
501
|
+
2
|
|
502
|
+
>;
|
|
503
|
+
|
|
504
|
+
export type PalletParachainStakingInflationDistributionAccount = { account: AccountId20; percent: Percent };
|
|
505
|
+
|
|
501
506
|
/**
|
|
502
507
|
* The `Event` enum of this pallet
|
|
503
508
|
**/
|
|
@@ -828,6 +833,69 @@ export type PalletMultisigEvent =
|
|
|
828
833
|
|
|
829
834
|
export type PalletMultisigTimepoint = { height: number; index: number };
|
|
830
835
|
|
|
836
|
+
/**
|
|
837
|
+
* The `Event` enum of this pallet
|
|
838
|
+
**/
|
|
839
|
+
export type PalletParametersEvent =
|
|
840
|
+
/**
|
|
841
|
+
* A Parameter was set.
|
|
842
|
+
*
|
|
843
|
+
* Is also emitted when the value was not changed.
|
|
844
|
+
**/
|
|
845
|
+
{
|
|
846
|
+
name: 'Updated';
|
|
847
|
+
data: {
|
|
848
|
+
/**
|
|
849
|
+
* The key that was updated.
|
|
850
|
+
**/
|
|
851
|
+
key: MoonbeamRuntimeRuntimeParamsRuntimeParametersKey;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* The old value before this call.
|
|
855
|
+
**/
|
|
856
|
+
oldValue?: MoonbeamRuntimeRuntimeParamsRuntimeParametersValue | undefined;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* The new value after this call.
|
|
860
|
+
**/
|
|
861
|
+
newValue?: MoonbeamRuntimeRuntimeParamsRuntimeParametersValue | undefined;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
export type MoonbeamRuntimeRuntimeParamsRuntimeParametersKey =
|
|
866
|
+
| { type: 'RuntimeConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey }
|
|
867
|
+
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey };
|
|
868
|
+
|
|
869
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey = {
|
|
870
|
+
type: 'FeesTreasuryProportion';
|
|
871
|
+
value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion = {};
|
|
875
|
+
|
|
876
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey = {
|
|
877
|
+
type: 'Deposit';
|
|
878
|
+
value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit;
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit = {};
|
|
882
|
+
|
|
883
|
+
export type MoonbeamRuntimeRuntimeParamsRuntimeParametersValue =
|
|
884
|
+
| { type: 'RuntimeConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue }
|
|
885
|
+
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue };
|
|
886
|
+
|
|
887
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue = {
|
|
888
|
+
type: 'FeesTreasuryProportion';
|
|
889
|
+
value: Perbill;
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue = {
|
|
893
|
+
type: 'Deposit';
|
|
894
|
+
value: MoonbeamRuntimeCommonBoundedU128;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
export type MoonbeamRuntimeCommonBoundedU128 = bigint;
|
|
898
|
+
|
|
831
899
|
/**
|
|
832
900
|
* The `Event` enum of this pallet
|
|
833
901
|
**/
|
|
@@ -1289,6 +1357,7 @@ export type MoonbeamRuntimeRuntimeCall =
|
|
|
1289
1357
|
| { pallet: 'Identity'; palletCall: PalletIdentityCall }
|
|
1290
1358
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
1291
1359
|
| { pallet: 'MoonbeamLazyMigrations'; palletCall: PalletMoonbeamLazyMigrationsCall }
|
|
1360
|
+
| { pallet: 'Parameters'; palletCall: PalletParametersCall }
|
|
1292
1361
|
| { pallet: 'Evm'; palletCall: PalletEvmCall }
|
|
1293
1362
|
| { pallet: 'Ethereum'; palletCall: PalletEthereumCall }
|
|
1294
1363
|
| { pallet: 'Scheduler'; palletCall: PalletSchedulerCall }
|
|
@@ -1300,11 +1369,9 @@ export type MoonbeamRuntimeRuntimeCall =
|
|
|
1300
1369
|
| { pallet: 'OpenTechCommitteeCollective'; palletCall: PalletCollectiveCall }
|
|
1301
1370
|
| { pallet: 'Treasury'; palletCall: PalletTreasuryCall }
|
|
1302
1371
|
| { pallet: 'CrowdloanRewards'; palletCall: PalletCrowdloanRewardsCall }
|
|
1303
|
-
| { pallet: 'DmpQueue'; palletCall: CumulusPalletDmpQueueCall }
|
|
1304
1372
|
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
1305
1373
|
| { pallet: 'Assets'; palletCall: PalletAssetsCall }
|
|
1306
1374
|
| { pallet: 'AssetManager'; palletCall: PalletAssetManagerCall }
|
|
1307
|
-
| { pallet: 'XTokens'; palletCall: OrmlXtokensModuleCall }
|
|
1308
1375
|
| { pallet: 'XcmTransactor'; palletCall: PalletXcmTransactorCall }
|
|
1309
1376
|
| { pallet: 'EthereumXcm'; palletCall: PalletEthereumXcmCall }
|
|
1310
1377
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
@@ -1330,6 +1397,7 @@ export type MoonbeamRuntimeRuntimeCallLike =
|
|
|
1330
1397
|
| { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
|
|
1331
1398
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
1332
1399
|
| { pallet: 'MoonbeamLazyMigrations'; palletCall: PalletMoonbeamLazyMigrationsCallLike }
|
|
1400
|
+
| { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
|
|
1333
1401
|
| { pallet: 'Evm'; palletCall: PalletEvmCallLike }
|
|
1334
1402
|
| { pallet: 'Ethereum'; palletCall: PalletEthereumCallLike }
|
|
1335
1403
|
| { pallet: 'Scheduler'; palletCall: PalletSchedulerCallLike }
|
|
@@ -1341,11 +1409,9 @@ export type MoonbeamRuntimeRuntimeCallLike =
|
|
|
1341
1409
|
| { pallet: 'OpenTechCommitteeCollective'; palletCall: PalletCollectiveCallLike }
|
|
1342
1410
|
| { pallet: 'Treasury'; palletCall: PalletTreasuryCallLike }
|
|
1343
1411
|
| { pallet: 'CrowdloanRewards'; palletCall: PalletCrowdloanRewardsCallLike }
|
|
1344
|
-
| { pallet: 'DmpQueue'; palletCall: CumulusPalletDmpQueueCallLike }
|
|
1345
1412
|
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
|
|
1346
1413
|
| { pallet: 'Assets'; palletCall: PalletAssetsCallLike }
|
|
1347
1414
|
| { pallet: 'AssetManager'; palletCall: PalletAssetManagerCallLike }
|
|
1348
|
-
| { pallet: 'XTokens'; palletCall: OrmlXtokensModuleCallLike }
|
|
1349
1415
|
| { pallet: 'XcmTransactor'; palletCall: PalletXcmTransactorCallLike }
|
|
1350
1416
|
| { pallet: 'EthereumXcm'; palletCall: PalletEthereumXcmCallLike }
|
|
1351
1417
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
@@ -1746,7 +1812,17 @@ export type PalletBalancesCall =
|
|
|
1746
1812
|
*
|
|
1747
1813
|
* # Example
|
|
1748
1814
|
**/
|
|
1749
|
-
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
1815
|
+
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
1816
|
+
/**
|
|
1817
|
+
* Burn the specified liquid free balance from the origin account.
|
|
1818
|
+
*
|
|
1819
|
+
* If the origin's account ends up below the existential deposit as a result
|
|
1820
|
+
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
1821
|
+
*
|
|
1822
|
+
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
1823
|
+
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
1824
|
+
**/
|
|
1825
|
+
| { name: 'Burn'; params: { value: bigint; keepAlive: boolean } };
|
|
1750
1826
|
|
|
1751
1827
|
export type PalletBalancesCallLike =
|
|
1752
1828
|
/**
|
|
@@ -1821,7 +1897,17 @@ export type PalletBalancesCallLike =
|
|
|
1821
1897
|
*
|
|
1822
1898
|
* # Example
|
|
1823
1899
|
**/
|
|
1824
|
-
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
1900
|
+
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
1901
|
+
/**
|
|
1902
|
+
* Burn the specified liquid free balance from the origin account.
|
|
1903
|
+
*
|
|
1904
|
+
* If the origin's account ends up below the existential deposit as a result
|
|
1905
|
+
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
1906
|
+
*
|
|
1907
|
+
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
1908
|
+
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
1909
|
+
**/
|
|
1910
|
+
| { name: 'Burn'; params: { value: bigint; keepAlive: boolean } };
|
|
1825
1911
|
|
|
1826
1912
|
export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
|
|
1827
1913
|
|
|
@@ -1839,10 +1925,14 @@ export type PalletParachainStakingCall =
|
|
|
1839
1925
|
**/
|
|
1840
1926
|
| { name: 'SetInflation'; params: { schedule: { min: Perbill; ideal: Perbill; max: Perbill } } }
|
|
1841
1927
|
/**
|
|
1928
|
+
* Deprecated: please use `set_inflation_distribution_config` instead.
|
|
1929
|
+
*
|
|
1842
1930
|
* Set the account that will hold funds set aside for parachain bond
|
|
1843
1931
|
**/
|
|
1844
1932
|
| { name: 'SetParachainBondAccount'; params: { new: AccountId20 } }
|
|
1845
1933
|
/**
|
|
1934
|
+
* Deprecated: please use `set_inflation_distribution_config` instead.
|
|
1935
|
+
*
|
|
1846
1936
|
* Set the percent of inflation set aside for parachain bond
|
|
1847
1937
|
**/
|
|
1848
1938
|
| { name: 'SetParachainBondReservePercent'; params: { new: Percent } }
|
|
@@ -1995,7 +2085,11 @@ export type PalletParachainStakingCall =
|
|
|
1995
2085
|
* Force join the set of collator candidates.
|
|
1996
2086
|
* It will skip the minimum required bond check.
|
|
1997
2087
|
**/
|
|
1998
|
-
| { name: 'ForceJoinCandidates'; params: { account: AccountId20; bond: bigint; candidateCount: number } }
|
|
2088
|
+
| { name: 'ForceJoinCandidates'; params: { account: AccountId20; bond: bigint; candidateCount: number } }
|
|
2089
|
+
/**
|
|
2090
|
+
* Set the inflation distribution configuration.
|
|
2091
|
+
**/
|
|
2092
|
+
| { name: 'SetInflationDistributionConfig'; params: { new: PalletParachainStakingInflationDistributionConfig } };
|
|
1999
2093
|
|
|
2000
2094
|
export type PalletParachainStakingCallLike =
|
|
2001
2095
|
/**
|
|
@@ -2008,10 +2102,14 @@ export type PalletParachainStakingCallLike =
|
|
|
2008
2102
|
**/
|
|
2009
2103
|
| { name: 'SetInflation'; params: { schedule: { min: Perbill; ideal: Perbill; max: Perbill } } }
|
|
2010
2104
|
/**
|
|
2105
|
+
* Deprecated: please use `set_inflation_distribution_config` instead.
|
|
2106
|
+
*
|
|
2011
2107
|
* Set the account that will hold funds set aside for parachain bond
|
|
2012
2108
|
**/
|
|
2013
2109
|
| { name: 'SetParachainBondAccount'; params: { new: AccountId20Like } }
|
|
2014
2110
|
/**
|
|
2111
|
+
* Deprecated: please use `set_inflation_distribution_config` instead.
|
|
2112
|
+
*
|
|
2015
2113
|
* Set the percent of inflation set aside for parachain bond
|
|
2016
2114
|
**/
|
|
2017
2115
|
| { name: 'SetParachainBondReservePercent'; params: { new: Percent } }
|
|
@@ -2164,7 +2262,11 @@ export type PalletParachainStakingCallLike =
|
|
|
2164
2262
|
* Force join the set of collator candidates.
|
|
2165
2263
|
* It will skip the minimum required bond check.
|
|
2166
2264
|
**/
|
|
2167
|
-
| { name: 'ForceJoinCandidates'; params: { account: AccountId20Like; bond: bigint; candidateCount: number } }
|
|
2265
|
+
| { name: 'ForceJoinCandidates'; params: { account: AccountId20Like; bond: bigint; candidateCount: number } }
|
|
2266
|
+
/**
|
|
2267
|
+
* Set the inflation distribution configuration.
|
|
2268
|
+
**/
|
|
2269
|
+
| { name: 'SetInflationDistributionConfig'; params: { new: PalletParachainStakingInflationDistributionConfig } };
|
|
2168
2270
|
|
|
2169
2271
|
/**
|
|
2170
2272
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3795,6 +3897,44 @@ export type PalletMoonbeamLazyMigrationsCallLike =
|
|
|
3795
3897
|
| { name: 'ClearSuicidedStorage'; params: { addresses: Array<H160>; limit: number } }
|
|
3796
3898
|
| { name: 'CreateContractMetadata'; params: { address: H160 } };
|
|
3797
3899
|
|
|
3900
|
+
/**
|
|
3901
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3902
|
+
**/
|
|
3903
|
+
export type PalletParametersCall =
|
|
3904
|
+
/**
|
|
3905
|
+
* Set the value of a parameter.
|
|
3906
|
+
*
|
|
3907
|
+
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
3908
|
+
* deleted by setting them to `None`.
|
|
3909
|
+
**/
|
|
3910
|
+
{ name: 'SetParameter'; params: { keyValue: MoonbeamRuntimeRuntimeParamsRuntimeParameters } };
|
|
3911
|
+
|
|
3912
|
+
export type PalletParametersCallLike =
|
|
3913
|
+
/**
|
|
3914
|
+
* Set the value of a parameter.
|
|
3915
|
+
*
|
|
3916
|
+
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
3917
|
+
* deleted by setting them to `None`.
|
|
3918
|
+
**/
|
|
3919
|
+
{ name: 'SetParameter'; params: { keyValue: MoonbeamRuntimeRuntimeParamsRuntimeParameters } };
|
|
3920
|
+
|
|
3921
|
+
export type MoonbeamRuntimeRuntimeParamsRuntimeParameters =
|
|
3922
|
+
| { type: 'RuntimeConfig'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters }
|
|
3923
|
+
| { type: 'PalletRandomness'; value: MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters };
|
|
3924
|
+
|
|
3925
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters = {
|
|
3926
|
+
type: 'FeesTreasuryProportion';
|
|
3927
|
+
value: [MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion, Perbill | undefined];
|
|
3928
|
+
};
|
|
3929
|
+
|
|
3930
|
+
export type MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters = {
|
|
3931
|
+
type: 'Deposit';
|
|
3932
|
+
value: [
|
|
3933
|
+
MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,
|
|
3934
|
+
MoonbeamRuntimeCommonBoundedU128 | undefined,
|
|
3935
|
+
];
|
|
3936
|
+
};
|
|
3937
|
+
|
|
3798
3938
|
/**
|
|
3799
3939
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3800
3940
|
**/
|
|
@@ -4983,63 +5123,6 @@ export type PalletCollectiveCallLike =
|
|
|
4983
5123
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4984
5124
|
**/
|
|
4985
5125
|
export type PalletTreasuryCall =
|
|
4986
|
-
/**
|
|
4987
|
-
* Put forward a suggestion for spending.
|
|
4988
|
-
*
|
|
4989
|
-
* ## Dispatch Origin
|
|
4990
|
-
*
|
|
4991
|
-
* Must be signed.
|
|
4992
|
-
*
|
|
4993
|
-
* ## Details
|
|
4994
|
-
* A deposit proportional to the value is reserved and slashed if the proposal is rejected.
|
|
4995
|
-
* It is returned once the proposal is awarded.
|
|
4996
|
-
*
|
|
4997
|
-
* ### Complexity
|
|
4998
|
-
* - O(1)
|
|
4999
|
-
*
|
|
5000
|
-
* ## Events
|
|
5001
|
-
*
|
|
5002
|
-
* Emits [`Event::Proposed`] if successful.
|
|
5003
|
-
**/
|
|
5004
|
-
| { name: 'ProposeSpend'; params: { value: bigint; beneficiary: AccountId20 } }
|
|
5005
|
-
/**
|
|
5006
|
-
* Reject a proposed spend.
|
|
5007
|
-
*
|
|
5008
|
-
* ## Dispatch Origin
|
|
5009
|
-
*
|
|
5010
|
-
* Must be [`Config::RejectOrigin`].
|
|
5011
|
-
*
|
|
5012
|
-
* ## Details
|
|
5013
|
-
* The original deposit will be slashed.
|
|
5014
|
-
*
|
|
5015
|
-
* ### Complexity
|
|
5016
|
-
* - O(1)
|
|
5017
|
-
*
|
|
5018
|
-
* ## Events
|
|
5019
|
-
*
|
|
5020
|
-
* Emits [`Event::Rejected`] if successful.
|
|
5021
|
-
**/
|
|
5022
|
-
| { name: 'RejectProposal'; params: { proposalId: number } }
|
|
5023
|
-
/**
|
|
5024
|
-
* Approve a proposal.
|
|
5025
|
-
*
|
|
5026
|
-
* ## Dispatch Origin
|
|
5027
|
-
*
|
|
5028
|
-
* Must be [`Config::ApproveOrigin`].
|
|
5029
|
-
*
|
|
5030
|
-
* ## Details
|
|
5031
|
-
*
|
|
5032
|
-
* At a later time, the proposal will be allocated to the beneficiary and the original
|
|
5033
|
-
* deposit will be returned.
|
|
5034
|
-
*
|
|
5035
|
-
* ### Complexity
|
|
5036
|
-
* - O(1).
|
|
5037
|
-
*
|
|
5038
|
-
* ## Events
|
|
5039
|
-
*
|
|
5040
|
-
* No events are emitted from this dispatch.
|
|
5041
|
-
**/
|
|
5042
|
-
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
5043
5126
|
/**
|
|
5044
5127
|
* Propose and approve a spend of treasury funds.
|
|
5045
5128
|
*
|
|
@@ -5121,7 +5204,7 @@ export type PalletTreasuryCall =
|
|
|
5121
5204
|
*
|
|
5122
5205
|
* ## Dispatch Origin
|
|
5123
5206
|
*
|
|
5124
|
-
* Must be signed
|
|
5207
|
+
* Must be signed
|
|
5125
5208
|
*
|
|
5126
5209
|
* ## Details
|
|
5127
5210
|
*
|
|
@@ -5181,63 +5264,6 @@ export type PalletTreasuryCall =
|
|
|
5181
5264
|
| { name: 'VoidSpend'; params: { index: number } };
|
|
5182
5265
|
|
|
5183
5266
|
export type PalletTreasuryCallLike =
|
|
5184
|
-
/**
|
|
5185
|
-
* Put forward a suggestion for spending.
|
|
5186
|
-
*
|
|
5187
|
-
* ## Dispatch Origin
|
|
5188
|
-
*
|
|
5189
|
-
* Must be signed.
|
|
5190
|
-
*
|
|
5191
|
-
* ## Details
|
|
5192
|
-
* A deposit proportional to the value is reserved and slashed if the proposal is rejected.
|
|
5193
|
-
* It is returned once the proposal is awarded.
|
|
5194
|
-
*
|
|
5195
|
-
* ### Complexity
|
|
5196
|
-
* - O(1)
|
|
5197
|
-
*
|
|
5198
|
-
* ## Events
|
|
5199
|
-
*
|
|
5200
|
-
* Emits [`Event::Proposed`] if successful.
|
|
5201
|
-
**/
|
|
5202
|
-
| { name: 'ProposeSpend'; params: { value: bigint; beneficiary: AccountId20Like } }
|
|
5203
|
-
/**
|
|
5204
|
-
* Reject a proposed spend.
|
|
5205
|
-
*
|
|
5206
|
-
* ## Dispatch Origin
|
|
5207
|
-
*
|
|
5208
|
-
* Must be [`Config::RejectOrigin`].
|
|
5209
|
-
*
|
|
5210
|
-
* ## Details
|
|
5211
|
-
* The original deposit will be slashed.
|
|
5212
|
-
*
|
|
5213
|
-
* ### Complexity
|
|
5214
|
-
* - O(1)
|
|
5215
|
-
*
|
|
5216
|
-
* ## Events
|
|
5217
|
-
*
|
|
5218
|
-
* Emits [`Event::Rejected`] if successful.
|
|
5219
|
-
**/
|
|
5220
|
-
| { name: 'RejectProposal'; params: { proposalId: number } }
|
|
5221
|
-
/**
|
|
5222
|
-
* Approve a proposal.
|
|
5223
|
-
*
|
|
5224
|
-
* ## Dispatch Origin
|
|
5225
|
-
*
|
|
5226
|
-
* Must be [`Config::ApproveOrigin`].
|
|
5227
|
-
*
|
|
5228
|
-
* ## Details
|
|
5229
|
-
*
|
|
5230
|
-
* At a later time, the proposal will be allocated to the beneficiary and the original
|
|
5231
|
-
* deposit will be returned.
|
|
5232
|
-
*
|
|
5233
|
-
* ### Complexity
|
|
5234
|
-
* - O(1).
|
|
5235
|
-
*
|
|
5236
|
-
* ## Events
|
|
5237
|
-
*
|
|
5238
|
-
* No events are emitted from this dispatch.
|
|
5239
|
-
**/
|
|
5240
|
-
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
5241
5267
|
/**
|
|
5242
5268
|
* Propose and approve a spend of treasury funds.
|
|
5243
5269
|
*
|
|
@@ -5319,7 +5345,7 @@ export type PalletTreasuryCallLike =
|
|
|
5319
5345
|
*
|
|
5320
5346
|
* ## Dispatch Origin
|
|
5321
5347
|
*
|
|
5322
|
-
* Must be signed
|
|
5348
|
+
* Must be signed
|
|
5323
5349
|
*
|
|
5324
5350
|
* ## Details
|
|
5325
5351
|
*
|
|
@@ -5484,13 +5510,6 @@ export type SpRuntimeMultiSignature =
|
|
|
5484
5510
|
| { type: 'Sr25519'; value: FixedBytes<64> }
|
|
5485
5511
|
| { type: 'Ecdsa'; value: FixedBytes<65> };
|
|
5486
5512
|
|
|
5487
|
-
/**
|
|
5488
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5489
|
-
**/
|
|
5490
|
-
export type CumulusPalletDmpQueueCall = null;
|
|
5491
|
-
|
|
5492
|
-
export type CumulusPalletDmpQueueCallLike = null;
|
|
5493
|
-
|
|
5494
5513
|
/**
|
|
5495
5514
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5496
5515
|
**/
|
|
@@ -5787,7 +5806,7 @@ export type PalletXcmCall =
|
|
|
5787
5806
|
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the
|
|
5788
5807
|
* fee on the `dest` (and possibly reserve) chains.
|
|
5789
5808
|
* - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`.
|
|
5790
|
-
* - `remote_fees_id`: One of the included `assets` to be
|
|
5809
|
+
* - `remote_fees_id`: One of the included `assets` to be used to pay fees.
|
|
5791
5810
|
* - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets.
|
|
5792
5811
|
* - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the
|
|
5793
5812
|
* transfer, which also determines what happens to the assets on the destination chain.
|
|
@@ -6099,7 +6118,7 @@ export type PalletXcmCallLike =
|
|
|
6099
6118
|
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the
|
|
6100
6119
|
* fee on the `dest` (and possibly reserve) chains.
|
|
6101
6120
|
* - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`.
|
|
6102
|
-
* - `remote_fees_id`: One of the included `assets` to be
|
|
6121
|
+
* - `remote_fees_id`: One of the included `assets` to be used to pay fees.
|
|
6103
6122
|
* - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets.
|
|
6104
6123
|
* - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the
|
|
6105
6124
|
* transfer, which also determines what happens to the assets on the destination chain.
|
|
@@ -6411,7 +6430,7 @@ export type XcmV3Instruction =
|
|
|
6411
6430
|
}
|
|
6412
6431
|
| {
|
|
6413
6432
|
type: 'Transact';
|
|
6414
|
-
value: { originKind:
|
|
6433
|
+
value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
|
|
6415
6434
|
}
|
|
6416
6435
|
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
6417
6436
|
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
@@ -6573,6 +6592,8 @@ export type XcmV3MaybeErrorCode =
|
|
|
6573
6592
|
| { type: 'Error'; value: Bytes }
|
|
6574
6593
|
| { type: 'TruncatedError'; value: Bytes };
|
|
6575
6594
|
|
|
6595
|
+
export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
6596
|
+
|
|
6576
6597
|
export type XcmV3QueryResponseInfo = {
|
|
6577
6598
|
destination: StagingXcmV3MultilocationMultiLocation;
|
|
6578
6599
|
queryId: bigint;
|
|
@@ -6615,7 +6636,7 @@ export type StagingXcmV4Instruction =
|
|
|
6615
6636
|
}
|
|
6616
6637
|
| {
|
|
6617
6638
|
type: 'Transact';
|
|
6618
|
-
value: { originKind:
|
|
6639
|
+
value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
|
|
6619
6640
|
}
|
|
6620
6641
|
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
6621
6642
|
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
@@ -6769,7 +6790,7 @@ export type PalletAssetsCall =
|
|
|
6769
6790
|
*
|
|
6770
6791
|
* Parameters:
|
|
6771
6792
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
6772
|
-
* an existing asset.
|
|
6793
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
6773
6794
|
* - `admin`: The admin of this class of assets. The admin is the initial address of each
|
|
6774
6795
|
* member of the asset class's admin team.
|
|
6775
6796
|
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
@@ -6790,7 +6811,7 @@ export type PalletAssetsCall =
|
|
|
6790
6811
|
* Unlike `create`, no funds are reserved.
|
|
6791
6812
|
*
|
|
6792
6813
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
6793
|
-
* an existing asset.
|
|
6814
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
6794
6815
|
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
|
|
6795
6816
|
* over this asset, but may later change and configure the permissions using
|
|
6796
6817
|
* `transfer_ownership` and `set_team`.
|
|
@@ -7308,7 +7329,7 @@ export type PalletAssetsCallLike =
|
|
|
7308
7329
|
*
|
|
7309
7330
|
* Parameters:
|
|
7310
7331
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
7311
|
-
* an existing asset.
|
|
7332
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
7312
7333
|
* - `admin`: The admin of this class of assets. The admin is the initial address of each
|
|
7313
7334
|
* member of the asset class's admin team.
|
|
7314
7335
|
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
@@ -7329,7 +7350,7 @@ export type PalletAssetsCallLike =
|
|
|
7329
7350
|
* Unlike `create`, no funds are reserved.
|
|
7330
7351
|
*
|
|
7331
7352
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
7332
|
-
* an existing asset.
|
|
7353
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
7333
7354
|
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
|
|
7334
7355
|
* over this asset, but may later change and configure the permissions using
|
|
7335
7356
|
* `transfer_ownership` and `set_team`.
|
|
@@ -7921,339 +7942,6 @@ export type MoonbeamRuntimeAssetConfigAssetRegistrarMetadata = {
|
|
|
7921
7942
|
isFrozen: boolean;
|
|
7922
7943
|
};
|
|
7923
7944
|
|
|
7924
|
-
/**
|
|
7925
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
7926
|
-
**/
|
|
7927
|
-
export type OrmlXtokensModuleCall =
|
|
7928
|
-
/**
|
|
7929
|
-
* Transfer native currencies.
|
|
7930
|
-
*
|
|
7931
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
7932
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
7933
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
7934
|
-
* received.
|
|
7935
|
-
*
|
|
7936
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
7937
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
7938
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
7939
|
-
* by the network, and if the receiving chain would handle
|
|
7940
|
-
* messages correctly.
|
|
7941
|
-
**/
|
|
7942
|
-
| {
|
|
7943
|
-
name: 'Transfer';
|
|
7944
|
-
params: {
|
|
7945
|
-
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
7946
|
-
amount: bigint;
|
|
7947
|
-
dest: XcmVersionedLocation;
|
|
7948
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
7949
|
-
};
|
|
7950
|
-
}
|
|
7951
|
-
/**
|
|
7952
|
-
* Transfer `Asset`.
|
|
7953
|
-
*
|
|
7954
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
7955
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
7956
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
7957
|
-
* received.
|
|
7958
|
-
*
|
|
7959
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
7960
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
7961
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
7962
|
-
* by the network, and if the receiving chain would handle
|
|
7963
|
-
* messages correctly.
|
|
7964
|
-
**/
|
|
7965
|
-
| {
|
|
7966
|
-
name: 'TransferMultiasset';
|
|
7967
|
-
params: { asset: XcmVersionedAsset; dest: XcmVersionedLocation; destWeightLimit: XcmV3WeightLimit };
|
|
7968
|
-
}
|
|
7969
|
-
/**
|
|
7970
|
-
* Transfer native currencies specifying the fee and amount as
|
|
7971
|
-
* separate.
|
|
7972
|
-
*
|
|
7973
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
7974
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
7975
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
7976
|
-
* received.
|
|
7977
|
-
*
|
|
7978
|
-
* `fee` is the amount to be spent to pay for execution in destination
|
|
7979
|
-
* chain. Both fee and amount will be subtracted form the callers
|
|
7980
|
-
* balance.
|
|
7981
|
-
*
|
|
7982
|
-
* If `fee` is not high enough to cover for the execution costs in the
|
|
7983
|
-
* destination chain, then the assets will be trapped in the
|
|
7984
|
-
* destination chain
|
|
7985
|
-
*
|
|
7986
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
7987
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
7988
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
7989
|
-
* by the network, and if the receiving chain would handle
|
|
7990
|
-
* messages correctly.
|
|
7991
|
-
**/
|
|
7992
|
-
| {
|
|
7993
|
-
name: 'TransferWithFee';
|
|
7994
|
-
params: {
|
|
7995
|
-
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
7996
|
-
amount: bigint;
|
|
7997
|
-
fee: bigint;
|
|
7998
|
-
dest: XcmVersionedLocation;
|
|
7999
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8000
|
-
};
|
|
8001
|
-
}
|
|
8002
|
-
/**
|
|
8003
|
-
* Transfer `Asset` specifying the fee and amount as separate.
|
|
8004
|
-
*
|
|
8005
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8006
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8007
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8008
|
-
* received.
|
|
8009
|
-
*
|
|
8010
|
-
* `fee` is the Asset to be spent to pay for execution in
|
|
8011
|
-
* destination chain. Both fee and amount will be subtracted form the
|
|
8012
|
-
* callers balance For now we only accept fee and asset having the same
|
|
8013
|
-
* `Location` id.
|
|
8014
|
-
*
|
|
8015
|
-
* If `fee` is not high enough to cover for the execution costs in the
|
|
8016
|
-
* destination chain, then the assets will be trapped in the
|
|
8017
|
-
* destination chain
|
|
8018
|
-
*
|
|
8019
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8020
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8021
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8022
|
-
* by the network, and if the receiving chain would handle
|
|
8023
|
-
* messages correctly.
|
|
8024
|
-
**/
|
|
8025
|
-
| {
|
|
8026
|
-
name: 'TransferMultiassetWithFee';
|
|
8027
|
-
params: {
|
|
8028
|
-
asset: XcmVersionedAsset;
|
|
8029
|
-
fee: XcmVersionedAsset;
|
|
8030
|
-
dest: XcmVersionedLocation;
|
|
8031
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8032
|
-
};
|
|
8033
|
-
}
|
|
8034
|
-
/**
|
|
8035
|
-
* Transfer several currencies specifying the item to be used as fee
|
|
8036
|
-
*
|
|
8037
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8038
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8039
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8040
|
-
* received.
|
|
8041
|
-
*
|
|
8042
|
-
* `fee_item` is index of the currencies tuple that we want to use for
|
|
8043
|
-
* payment
|
|
8044
|
-
*
|
|
8045
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8046
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8047
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8048
|
-
* by the network, and if the receiving chain would handle
|
|
8049
|
-
* messages correctly.
|
|
8050
|
-
**/
|
|
8051
|
-
| {
|
|
8052
|
-
name: 'TransferMulticurrencies';
|
|
8053
|
-
params: {
|
|
8054
|
-
currencies: Array<[MoonbeamRuntimeXcmConfigCurrencyId, bigint]>;
|
|
8055
|
-
feeItem: number;
|
|
8056
|
-
dest: XcmVersionedLocation;
|
|
8057
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8058
|
-
};
|
|
8059
|
-
}
|
|
8060
|
-
/**
|
|
8061
|
-
* Transfer several `Asset` specifying the item to be used as fee
|
|
8062
|
-
*
|
|
8063
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8064
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8065
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8066
|
-
* received.
|
|
8067
|
-
*
|
|
8068
|
-
* `fee_item` is index of the Assets that we want to use for
|
|
8069
|
-
* payment
|
|
8070
|
-
*
|
|
8071
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8072
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8073
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8074
|
-
* by the network, and if the receiving chain would handle
|
|
8075
|
-
* messages correctly.
|
|
8076
|
-
**/
|
|
8077
|
-
| {
|
|
8078
|
-
name: 'TransferMultiassets';
|
|
8079
|
-
params: {
|
|
8080
|
-
assets: XcmVersionedAssets;
|
|
8081
|
-
feeItem: number;
|
|
8082
|
-
dest: XcmVersionedLocation;
|
|
8083
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8084
|
-
};
|
|
8085
|
-
};
|
|
8086
|
-
|
|
8087
|
-
export type OrmlXtokensModuleCallLike =
|
|
8088
|
-
/**
|
|
8089
|
-
* Transfer native currencies.
|
|
8090
|
-
*
|
|
8091
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8092
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8093
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8094
|
-
* received.
|
|
8095
|
-
*
|
|
8096
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8097
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8098
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8099
|
-
* by the network, and if the receiving chain would handle
|
|
8100
|
-
* messages correctly.
|
|
8101
|
-
**/
|
|
8102
|
-
| {
|
|
8103
|
-
name: 'Transfer';
|
|
8104
|
-
params: {
|
|
8105
|
-
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
8106
|
-
amount: bigint;
|
|
8107
|
-
dest: XcmVersionedLocation;
|
|
8108
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8109
|
-
};
|
|
8110
|
-
}
|
|
8111
|
-
/**
|
|
8112
|
-
* Transfer `Asset`.
|
|
8113
|
-
*
|
|
8114
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8115
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8116
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8117
|
-
* received.
|
|
8118
|
-
*
|
|
8119
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8120
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8121
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8122
|
-
* by the network, and if the receiving chain would handle
|
|
8123
|
-
* messages correctly.
|
|
8124
|
-
**/
|
|
8125
|
-
| {
|
|
8126
|
-
name: 'TransferMultiasset';
|
|
8127
|
-
params: { asset: XcmVersionedAsset; dest: XcmVersionedLocation; destWeightLimit: XcmV3WeightLimit };
|
|
8128
|
-
}
|
|
8129
|
-
/**
|
|
8130
|
-
* Transfer native currencies specifying the fee and amount as
|
|
8131
|
-
* separate.
|
|
8132
|
-
*
|
|
8133
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8134
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8135
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8136
|
-
* received.
|
|
8137
|
-
*
|
|
8138
|
-
* `fee` is the amount to be spent to pay for execution in destination
|
|
8139
|
-
* chain. Both fee and amount will be subtracted form the callers
|
|
8140
|
-
* balance.
|
|
8141
|
-
*
|
|
8142
|
-
* If `fee` is not high enough to cover for the execution costs in the
|
|
8143
|
-
* destination chain, then the assets will be trapped in the
|
|
8144
|
-
* destination chain
|
|
8145
|
-
*
|
|
8146
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8147
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8148
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8149
|
-
* by the network, and if the receiving chain would handle
|
|
8150
|
-
* messages correctly.
|
|
8151
|
-
**/
|
|
8152
|
-
| {
|
|
8153
|
-
name: 'TransferWithFee';
|
|
8154
|
-
params: {
|
|
8155
|
-
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
8156
|
-
amount: bigint;
|
|
8157
|
-
fee: bigint;
|
|
8158
|
-
dest: XcmVersionedLocation;
|
|
8159
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8160
|
-
};
|
|
8161
|
-
}
|
|
8162
|
-
/**
|
|
8163
|
-
* Transfer `Asset` specifying the fee and amount as separate.
|
|
8164
|
-
*
|
|
8165
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8166
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8167
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8168
|
-
* received.
|
|
8169
|
-
*
|
|
8170
|
-
* `fee` is the Asset to be spent to pay for execution in
|
|
8171
|
-
* destination chain. Both fee and amount will be subtracted form the
|
|
8172
|
-
* callers balance For now we only accept fee and asset having the same
|
|
8173
|
-
* `Location` id.
|
|
8174
|
-
*
|
|
8175
|
-
* If `fee` is not high enough to cover for the execution costs in the
|
|
8176
|
-
* destination chain, then the assets will be trapped in the
|
|
8177
|
-
* destination chain
|
|
8178
|
-
*
|
|
8179
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8180
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8181
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8182
|
-
* by the network, and if the receiving chain would handle
|
|
8183
|
-
* messages correctly.
|
|
8184
|
-
**/
|
|
8185
|
-
| {
|
|
8186
|
-
name: 'TransferMultiassetWithFee';
|
|
8187
|
-
params: {
|
|
8188
|
-
asset: XcmVersionedAsset;
|
|
8189
|
-
fee: XcmVersionedAsset;
|
|
8190
|
-
dest: XcmVersionedLocation;
|
|
8191
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8192
|
-
};
|
|
8193
|
-
}
|
|
8194
|
-
/**
|
|
8195
|
-
* Transfer several currencies specifying the item to be used as fee
|
|
8196
|
-
*
|
|
8197
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8198
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8199
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8200
|
-
* received.
|
|
8201
|
-
*
|
|
8202
|
-
* `fee_item` is index of the currencies tuple that we want to use for
|
|
8203
|
-
* payment
|
|
8204
|
-
*
|
|
8205
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8206
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8207
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8208
|
-
* by the network, and if the receiving chain would handle
|
|
8209
|
-
* messages correctly.
|
|
8210
|
-
**/
|
|
8211
|
-
| {
|
|
8212
|
-
name: 'TransferMulticurrencies';
|
|
8213
|
-
params: {
|
|
8214
|
-
currencies: Array<[MoonbeamRuntimeXcmConfigCurrencyId, bigint]>;
|
|
8215
|
-
feeItem: number;
|
|
8216
|
-
dest: XcmVersionedLocation;
|
|
8217
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8218
|
-
};
|
|
8219
|
-
}
|
|
8220
|
-
/**
|
|
8221
|
-
* Transfer several `Asset` specifying the item to be used as fee
|
|
8222
|
-
*
|
|
8223
|
-
* `dest_weight_limit` is the weight for XCM execution on the dest
|
|
8224
|
-
* chain, and it would be charged from the transferred assets. If set
|
|
8225
|
-
* below requirements, the execution may fail and assets wouldn't be
|
|
8226
|
-
* received.
|
|
8227
|
-
*
|
|
8228
|
-
* `fee_item` is index of the Assets that we want to use for
|
|
8229
|
-
* payment
|
|
8230
|
-
*
|
|
8231
|
-
* It's a no-op if any error on local XCM execution or message sending.
|
|
8232
|
-
* Note sending assets out per se doesn't guarantee they would be
|
|
8233
|
-
* received. Receiving depends on if the XCM message could be delivered
|
|
8234
|
-
* by the network, and if the receiving chain would handle
|
|
8235
|
-
* messages correctly.
|
|
8236
|
-
**/
|
|
8237
|
-
| {
|
|
8238
|
-
name: 'TransferMultiassets';
|
|
8239
|
-
params: {
|
|
8240
|
-
assets: XcmVersionedAssets;
|
|
8241
|
-
feeItem: number;
|
|
8242
|
-
dest: XcmVersionedLocation;
|
|
8243
|
-
destWeightLimit: XcmV3WeightLimit;
|
|
8244
|
-
};
|
|
8245
|
-
};
|
|
8246
|
-
|
|
8247
|
-
export type MoonbeamRuntimeXcmConfigCurrencyId =
|
|
8248
|
-
| { type: 'SelfReserve' }
|
|
8249
|
-
| { type: 'ForeignAsset'; value: bigint }
|
|
8250
|
-
| { type: 'Erc20'; value: { contractAddress: H160 } };
|
|
8251
|
-
|
|
8252
|
-
export type XcmVersionedAsset =
|
|
8253
|
-
| { type: 'V2'; value: XcmV2MultiassetMultiAsset }
|
|
8254
|
-
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
8255
|
-
| { type: 'V4'; value: StagingXcmV4Asset };
|
|
8256
|
-
|
|
8257
7945
|
/**
|
|
8258
7946
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
8259
7947
|
**/
|
|
@@ -8305,7 +7993,7 @@ export type PalletXcmTransactorCall =
|
|
|
8305
7993
|
feePayer?: AccountId20 | undefined;
|
|
8306
7994
|
fee: PalletXcmTransactorCurrencyPayment;
|
|
8307
7995
|
call: Bytes;
|
|
8308
|
-
originKind:
|
|
7996
|
+
originKind: XcmV3OriginKind;
|
|
8309
7997
|
weightInfo: PalletXcmTransactorTransactWeights;
|
|
8310
7998
|
refund: boolean;
|
|
8311
7999
|
};
|
|
@@ -8411,7 +8099,7 @@ export type PalletXcmTransactorCallLike =
|
|
|
8411
8099
|
feePayer?: AccountId20Like | undefined;
|
|
8412
8100
|
fee: PalletXcmTransactorCurrencyPayment;
|
|
8413
8101
|
call: BytesLike;
|
|
8414
|
-
originKind:
|
|
8102
|
+
originKind: XcmV3OriginKind;
|
|
8415
8103
|
weightInfo: PalletXcmTransactorTransactWeights;
|
|
8416
8104
|
refund: boolean;
|
|
8417
8105
|
};
|
|
@@ -8476,6 +8164,11 @@ export type PalletXcmTransactorCurrencyPayment = {
|
|
|
8476
8164
|
feeAmount?: bigint | undefined;
|
|
8477
8165
|
};
|
|
8478
8166
|
|
|
8167
|
+
export type MoonbeamRuntimeXcmConfigCurrencyId =
|
|
8168
|
+
| { type: 'SelfReserve' }
|
|
8169
|
+
| { type: 'ForeignAsset'; value: bigint }
|
|
8170
|
+
| { type: 'Erc20'; value: { contractAddress: H160 } };
|
|
8171
|
+
|
|
8479
8172
|
export type PalletXcmTransactorCurrency =
|
|
8480
8173
|
| { type: 'AsCurrencyId'; value: MoonbeamRuntimeXcmConfigCurrencyId }
|
|
8481
8174
|
| { type: 'AsMultiLocation'; value: XcmVersionedLocation };
|
|
@@ -8860,10 +8553,6 @@ export type PalletCollectiveEvent =
|
|
|
8860
8553
|
* The `Event` enum of this pallet
|
|
8861
8554
|
**/
|
|
8862
8555
|
export type PalletTreasuryEvent =
|
|
8863
|
-
/**
|
|
8864
|
-
* New proposal.
|
|
8865
|
-
**/
|
|
8866
|
-
| { name: 'Proposed'; data: { proposalIndex: number } }
|
|
8867
8556
|
/**
|
|
8868
8557
|
* We have ended a spend period and will now allocate funds.
|
|
8869
8558
|
**/
|
|
@@ -8872,10 +8561,6 @@ export type PalletTreasuryEvent =
|
|
|
8872
8561
|
* Some funds have been allocated.
|
|
8873
8562
|
**/
|
|
8874
8563
|
| { name: 'Awarded'; data: { proposalIndex: number; award: bigint; account: AccountId20 } }
|
|
8875
|
-
/**
|
|
8876
|
-
* A proposal was rejected; funds were slashed.
|
|
8877
|
-
**/
|
|
8878
|
-
| { name: 'Rejected'; data: { proposalIndex: number; slashed: bigint } }
|
|
8879
8564
|
/**
|
|
8880
8565
|
* Some of our funds have been burnt.
|
|
8881
8566
|
**/
|
|
@@ -8993,59 +8678,6 @@ export type StagingXcmV4TraitsOutcome =
|
|
|
8993
8678
|
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
|
|
8994
8679
|
| { type: 'Error'; value: { error: XcmV3TraitsError } };
|
|
8995
8680
|
|
|
8996
|
-
/**
|
|
8997
|
-
* The `Event` enum of this pallet
|
|
8998
|
-
**/
|
|
8999
|
-
export type CumulusPalletDmpQueueEvent =
|
|
9000
|
-
/**
|
|
9001
|
-
* The export of pages started.
|
|
9002
|
-
**/
|
|
9003
|
-
| { name: 'StartedExport' }
|
|
9004
|
-
/**
|
|
9005
|
-
* The export of a page completed.
|
|
9006
|
-
**/
|
|
9007
|
-
| { name: 'Exported'; data: { page: number } }
|
|
9008
|
-
/**
|
|
9009
|
-
* The export of a page failed.
|
|
9010
|
-
*
|
|
9011
|
-
* This should never be emitted.
|
|
9012
|
-
**/
|
|
9013
|
-
| { name: 'ExportFailed'; data: { page: number } }
|
|
9014
|
-
/**
|
|
9015
|
-
* The export of pages completed.
|
|
9016
|
-
**/
|
|
9017
|
-
| { name: 'CompletedExport' }
|
|
9018
|
-
/**
|
|
9019
|
-
* The export of overweight messages started.
|
|
9020
|
-
**/
|
|
9021
|
-
| { name: 'StartedOverweightExport' }
|
|
9022
|
-
/**
|
|
9023
|
-
* The export of an overweight message completed.
|
|
9024
|
-
**/
|
|
9025
|
-
| { name: 'ExportedOverweight'; data: { index: bigint } }
|
|
9026
|
-
/**
|
|
9027
|
-
* The export of an overweight message failed.
|
|
9028
|
-
*
|
|
9029
|
-
* This should never be emitted.
|
|
9030
|
-
**/
|
|
9031
|
-
| { name: 'ExportOverweightFailed'; data: { index: bigint } }
|
|
9032
|
-
/**
|
|
9033
|
-
* The export of overweight messages completed.
|
|
9034
|
-
**/
|
|
9035
|
-
| { name: 'CompletedOverweightExport' }
|
|
9036
|
-
/**
|
|
9037
|
-
* The cleanup of remaining pallet storage started.
|
|
9038
|
-
**/
|
|
9039
|
-
| { name: 'StartedCleanup' }
|
|
9040
|
-
/**
|
|
9041
|
-
* Some debris was cleaned up.
|
|
9042
|
-
**/
|
|
9043
|
-
| { name: 'CleanedSome'; data: { keysRemoved: number } }
|
|
9044
|
-
/**
|
|
9045
|
-
* The cleanup of remaining pallet storage completed.
|
|
9046
|
-
**/
|
|
9047
|
-
| { name: 'Completed'; data: { error: boolean } };
|
|
9048
|
-
|
|
9049
8681
|
/**
|
|
9050
8682
|
* The `Event` enum of this pallet
|
|
9051
8683
|
**/
|
|
@@ -9327,7 +8959,15 @@ export type PalletAssetsEvent =
|
|
|
9327
8959
|
/**
|
|
9328
8960
|
* Some account `who` was blocked.
|
|
9329
8961
|
**/
|
|
9330
|
-
| { name: 'Blocked'; data: { assetId: bigint; who: AccountId20 } }
|
|
8962
|
+
| { name: 'Blocked'; data: { assetId: bigint; who: AccountId20 } }
|
|
8963
|
+
/**
|
|
8964
|
+
* Some assets were deposited (e.g. for transaction fees).
|
|
8965
|
+
**/
|
|
8966
|
+
| { name: 'Deposited'; data: { assetId: bigint; who: AccountId20; amount: bigint } }
|
|
8967
|
+
/**
|
|
8968
|
+
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
8969
|
+
**/
|
|
8970
|
+
| { name: 'Withdrawn'; data: { assetId: bigint; who: AccountId20; amount: bigint } };
|
|
9331
8971
|
|
|
9332
8972
|
/**
|
|
9333
8973
|
* The `Event` enum of this pallet
|
|
@@ -9372,18 +9012,6 @@ export type PalletAssetManagerEvent =
|
|
|
9372
9012
|
**/
|
|
9373
9013
|
| { name: 'LocalAssetDestroyed'; data: { assetId: bigint } };
|
|
9374
9014
|
|
|
9375
|
-
/**
|
|
9376
|
-
* The `Event` enum of this pallet
|
|
9377
|
-
**/
|
|
9378
|
-
export type OrmlXtokensModuleEvent =
|
|
9379
|
-
/**
|
|
9380
|
-
* Transferred `Asset` with fee.
|
|
9381
|
-
**/
|
|
9382
|
-
{
|
|
9383
|
-
name: 'TransferredAssets';
|
|
9384
|
-
data: { sender: AccountId20; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location };
|
|
9385
|
-
};
|
|
9386
|
-
|
|
9387
9015
|
/**
|
|
9388
9016
|
* The `Event` enum of this pallet
|
|
9389
9017
|
**/
|
|
@@ -9565,7 +9193,8 @@ export type FrameSupportMessagesProcessMessageError =
|
|
|
9565
9193
|
| { type: 'Corrupt' }
|
|
9566
9194
|
| { type: 'Unsupported' }
|
|
9567
9195
|
| { type: 'Overweight'; value: SpWeightsWeightV2Weight }
|
|
9568
|
-
| { type: 'Yield' }
|
|
9196
|
+
| { type: 'Yield' }
|
|
9197
|
+
| { type: 'StackLimitReached' };
|
|
9569
9198
|
|
|
9570
9199
|
/**
|
|
9571
9200
|
* The `Event` enum of this pallet
|
|
@@ -9844,13 +9473,13 @@ export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
|
|
|
9844
9473
|
|
|
9845
9474
|
export type PalletBalancesReserveData = { id: FixedBytes<4>; amount: bigint };
|
|
9846
9475
|
|
|
9847
|
-
export type
|
|
9476
|
+
export type FrameSupportTokensMiscIdAmount = { id: MoonbeamRuntimeRuntimeHoldReason; amount: bigint };
|
|
9848
9477
|
|
|
9849
9478
|
export type MoonbeamRuntimeRuntimeHoldReason = { type: 'Preimage'; value: PalletPreimageHoldReason };
|
|
9850
9479
|
|
|
9851
9480
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
9852
9481
|
|
|
9853
|
-
export type
|
|
9482
|
+
export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
|
|
9854
9483
|
|
|
9855
9484
|
/**
|
|
9856
9485
|
* The `Error` enum of this pallet.
|
|
@@ -9907,8 +9536,6 @@ export type PalletBalancesError =
|
|
|
9907
9536
|
|
|
9908
9537
|
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
9909
9538
|
|
|
9910
|
-
export type PalletParachainStakingParachainBondConfig = { account: AccountId20; percent: Percent };
|
|
9911
|
-
|
|
9912
9539
|
export type PalletParachainStakingRoundInfo = { current: number; first: number; length: number; firstSlot: bigint };
|
|
9913
9540
|
|
|
9914
9541
|
export type PalletParachainStakingDelegator = {
|
|
@@ -10010,6 +9637,7 @@ export type PalletParachainStakingError =
|
|
|
10010
9637
|
| 'CannotSetBelowMin'
|
|
10011
9638
|
| 'RoundLengthMustBeGreaterThanTotalSelectedCollators'
|
|
10012
9639
|
| 'NoWritingSameValue'
|
|
9640
|
+
| 'TotalInflationDistributionPercentExceeds100'
|
|
10013
9641
|
| 'TooLowCandidateCountWeightHintJoinCandidates'
|
|
10014
9642
|
| 'TooLowCandidateCountWeightHintCancelLeaveCandidates'
|
|
10015
9643
|
| 'TooLowCandidateCountToLeaveCandidates'
|
|
@@ -10422,6 +10050,12 @@ export type PalletMultisigError =
|
|
|
10422
10050
|
**/
|
|
10423
10051
|
| 'AlreadyStored';
|
|
10424
10052
|
|
|
10053
|
+
export type PalletMoonbeamLazyMigrationsStateMigrationStatus =
|
|
10054
|
+
| { type: 'NotStarted' }
|
|
10055
|
+
| { type: 'Started'; value: Bytes }
|
|
10056
|
+
| { type: 'Error'; value: Bytes }
|
|
10057
|
+
| { type: 'Complete' };
|
|
10058
|
+
|
|
10425
10059
|
/**
|
|
10426
10060
|
* The `Error` enum of this pallet.
|
|
10427
10061
|
**/
|
|
@@ -10445,7 +10079,11 @@ export type PalletMoonbeamLazyMigrationsError =
|
|
|
10445
10079
|
/**
|
|
10446
10080
|
* Contract not exist
|
|
10447
10081
|
**/
|
|
10448
|
-
| 'ContractNotExist'
|
|
10082
|
+
| 'ContractNotExist'
|
|
10083
|
+
/**
|
|
10084
|
+
* The key lengths exceeds the maximum allowed
|
|
10085
|
+
**/
|
|
10086
|
+
| 'KeyTooLong';
|
|
10449
10087
|
|
|
10450
10088
|
export type PalletEvmCodeMetadata = { size: bigint; hash: H256 };
|
|
10451
10089
|
|
|
@@ -10659,7 +10297,11 @@ export type PalletPreimageError =
|
|
|
10659
10297
|
/**
|
|
10660
10298
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
10661
10299
|
**/
|
|
10662
|
-
| 'TooFew'
|
|
10300
|
+
| 'TooFew'
|
|
10301
|
+
/**
|
|
10302
|
+
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
|
|
10303
|
+
**/
|
|
10304
|
+
| 'NoCost';
|
|
10663
10305
|
|
|
10664
10306
|
export type PalletConvictionVotingVoteVoting =
|
|
10665
10307
|
| { type: 'Casting'; value: PalletConvictionVotingVoteCasting }
|
|
@@ -10945,10 +10587,6 @@ export type FrameSupportPalletId = FixedBytes<8>;
|
|
|
10945
10587
|
* Error for the treasury pallet.
|
|
10946
10588
|
**/
|
|
10947
10589
|
export type PalletTreasuryError =
|
|
10948
|
-
/**
|
|
10949
|
-
* Proposer's balance is too low.
|
|
10950
|
-
**/
|
|
10951
|
-
| 'InsufficientProposersBalance'
|
|
10952
10590
|
/**
|
|
10953
10591
|
* No proposal, bounty or spend at that index.
|
|
10954
10592
|
**/
|
|
@@ -11102,16 +10740,15 @@ export type CumulusPalletXcmpQueueError =
|
|
|
11102
10740
|
/**
|
|
11103
10741
|
* The execution is already resumed.
|
|
11104
10742
|
**/
|
|
11105
|
-
| 'AlreadyResumed'
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
|
11114
|
-
| { type: 'Completed' };
|
|
10743
|
+
| 'AlreadyResumed'
|
|
10744
|
+
/**
|
|
10745
|
+
* There are too many active outbound channels.
|
|
10746
|
+
**/
|
|
10747
|
+
| 'TooManyActiveOutboundChannels'
|
|
10748
|
+
/**
|
|
10749
|
+
* The message is too big.
|
|
10750
|
+
**/
|
|
10751
|
+
| 'TooBig';
|
|
11115
10752
|
|
|
11116
10753
|
export type PalletXcmQueryStatus =
|
|
11117
10754
|
| {
|
|
@@ -11377,7 +11014,11 @@ export type PalletAssetsError =
|
|
|
11377
11014
|
/**
|
|
11378
11015
|
* Callback action resulted in error
|
|
11379
11016
|
**/
|
|
11380
|
-
| 'CallbackFailed'
|
|
11017
|
+
| 'CallbackFailed'
|
|
11018
|
+
/**
|
|
11019
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
11020
|
+
**/
|
|
11021
|
+
| 'BadAssetId';
|
|
11381
11022
|
|
|
11382
11023
|
/**
|
|
11383
11024
|
* An error that can occur while executing the mapping pallet's logic.
|
|
@@ -11392,94 +11033,6 @@ export type PalletAssetManagerError =
|
|
|
11392
11033
|
| 'NotSufficientDeposit'
|
|
11393
11034
|
| 'NonExistentLocalAsset';
|
|
11394
11035
|
|
|
11395
|
-
/**
|
|
11396
|
-
* The `Error` enum of this pallet.
|
|
11397
|
-
**/
|
|
11398
|
-
export type OrmlXtokensModuleError =
|
|
11399
|
-
/**
|
|
11400
|
-
* Asset has no reserve location.
|
|
11401
|
-
**/
|
|
11402
|
-
| 'AssetHasNoReserve'
|
|
11403
|
-
/**
|
|
11404
|
-
* Not cross-chain transfer.
|
|
11405
|
-
**/
|
|
11406
|
-
| 'NotCrossChainTransfer'
|
|
11407
|
-
/**
|
|
11408
|
-
* Invalid transfer destination.
|
|
11409
|
-
**/
|
|
11410
|
-
| 'InvalidDest'
|
|
11411
|
-
/**
|
|
11412
|
-
* Currency is not cross-chain transferable.
|
|
11413
|
-
**/
|
|
11414
|
-
| 'NotCrossChainTransferableCurrency'
|
|
11415
|
-
/**
|
|
11416
|
-
* The message's weight could not be determined.
|
|
11417
|
-
**/
|
|
11418
|
-
| 'UnweighableMessage'
|
|
11419
|
-
/**
|
|
11420
|
-
* XCM execution failed.
|
|
11421
|
-
**/
|
|
11422
|
-
| 'XcmExecutionFailed'
|
|
11423
|
-
/**
|
|
11424
|
-
* Could not re-anchor the assets to declare the fees for the
|
|
11425
|
-
* destination chain.
|
|
11426
|
-
**/
|
|
11427
|
-
| 'CannotReanchor'
|
|
11428
|
-
/**
|
|
11429
|
-
* Could not get ancestry of asset reserve location.
|
|
11430
|
-
**/
|
|
11431
|
-
| 'InvalidAncestry'
|
|
11432
|
-
/**
|
|
11433
|
-
* The Asset is invalid.
|
|
11434
|
-
**/
|
|
11435
|
-
| 'InvalidAsset'
|
|
11436
|
-
/**
|
|
11437
|
-
* The destination `Location` provided cannot be inverted.
|
|
11438
|
-
**/
|
|
11439
|
-
| 'DestinationNotInvertible'
|
|
11440
|
-
/**
|
|
11441
|
-
* The version of the `Versioned` value used is not able to be
|
|
11442
|
-
* interpreted.
|
|
11443
|
-
**/
|
|
11444
|
-
| 'BadVersion'
|
|
11445
|
-
/**
|
|
11446
|
-
* We tried sending distinct asset and fee but they have different
|
|
11447
|
-
* reserve chains.
|
|
11448
|
-
**/
|
|
11449
|
-
| 'DistinctReserveForAssetAndFee'
|
|
11450
|
-
/**
|
|
11451
|
-
* The fee is zero.
|
|
11452
|
-
**/
|
|
11453
|
-
| 'ZeroFee'
|
|
11454
|
-
/**
|
|
11455
|
-
* The transfering asset amount is zero.
|
|
11456
|
-
**/
|
|
11457
|
-
| 'ZeroAmount'
|
|
11458
|
-
/**
|
|
11459
|
-
* The number of assets to be sent is over the maximum.
|
|
11460
|
-
**/
|
|
11461
|
-
| 'TooManyAssetsBeingSent'
|
|
11462
|
-
/**
|
|
11463
|
-
* The specified index does not exist in a Assets struct.
|
|
11464
|
-
**/
|
|
11465
|
-
| 'AssetIndexNonExistent'
|
|
11466
|
-
/**
|
|
11467
|
-
* Fee is not enough.
|
|
11468
|
-
**/
|
|
11469
|
-
| 'FeeNotEnough'
|
|
11470
|
-
/**
|
|
11471
|
-
* Not supported Location
|
|
11472
|
-
**/
|
|
11473
|
-
| 'NotSupportedLocation'
|
|
11474
|
-
/**
|
|
11475
|
-
* MinXcmFee not registered for certain reserve location
|
|
11476
|
-
**/
|
|
11477
|
-
| 'MinXcmFeeNotDefined'
|
|
11478
|
-
/**
|
|
11479
|
-
* Asset transfer is limited by RateLimiter.
|
|
11480
|
-
**/
|
|
11481
|
-
| 'RateLimited';
|
|
11482
|
-
|
|
11483
11036
|
export type PalletXcmTransactorRelayIndicesRelayChainIndices = {
|
|
11484
11037
|
staking: number;
|
|
11485
11038
|
utility: number;
|
|
@@ -11841,7 +11394,7 @@ export type CumulusPrimitivesCoreCollationInfo = {
|
|
|
11841
11394
|
|
|
11842
11395
|
export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
|
|
11843
11396
|
|
|
11844
|
-
export type
|
|
11397
|
+
export type XcmRuntimeApisFeesError =
|
|
11845
11398
|
| 'Unimplemented'
|
|
11846
11399
|
| 'VersionedConversionFailed'
|
|
11847
11400
|
| 'WeightNotComputable'
|
|
@@ -11849,6 +11402,23 @@ export type XcmFeePaymentRuntimeApiError =
|
|
|
11849
11402
|
| 'AssetNotFound'
|
|
11850
11403
|
| 'Unroutable';
|
|
11851
11404
|
|
|
11405
|
+
export type XcmRuntimeApisDryRunCallDryRunEffects = {
|
|
11406
|
+
executionResult: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
11407
|
+
emittedEvents: Array<MoonbeamRuntimeRuntimeEvent>;
|
|
11408
|
+
localXcm?: XcmVersionedXcm | undefined;
|
|
11409
|
+
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
11410
|
+
};
|
|
11411
|
+
|
|
11412
|
+
export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
|
|
11413
|
+
|
|
11414
|
+
export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
11415
|
+
executionResult: StagingXcmV4TraitsOutcome;
|
|
11416
|
+
emittedEvents: Array<MoonbeamRuntimeRuntimeEvent>;
|
|
11417
|
+
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
11418
|
+
};
|
|
11419
|
+
|
|
11420
|
+
export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
|
|
11421
|
+
|
|
11852
11422
|
export type MoonbeamRuntimeRuntimeError =
|
|
11853
11423
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
11854
11424
|
| { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
|
|
@@ -11879,7 +11449,6 @@ export type MoonbeamRuntimeRuntimeError =
|
|
|
11879
11449
|
| { pallet: 'PolkadotXcm'; palletError: PalletXcmError }
|
|
11880
11450
|
| { pallet: 'Assets'; palletError: PalletAssetsError }
|
|
11881
11451
|
| { pallet: 'AssetManager'; palletError: PalletAssetManagerError }
|
|
11882
|
-
| { pallet: 'XTokens'; palletError: OrmlXtokensModuleError }
|
|
11883
11452
|
| { pallet: 'XcmTransactor'; palletError: PalletXcmTransactorError }
|
|
11884
11453
|
| { pallet: 'EthereumXcm'; palletError: PalletEthereumXcmError }
|
|
11885
11454
|
| { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
|