@dedot/chaintypes 0.199.0 → 0.201.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.
@@ -61,6 +61,7 @@ import type {
61
61
  PalletNftsPriceWithDirection,
62
62
  PalletNftsPreSignedMint,
63
63
  PalletNftsPreSignedAttributes,
64
+ AssetsCommonLocalAndForeignAssetsForeignAssetReserveData,
64
65
  FrameSupportScheduleDispatchTime,
65
66
  PalletStateTrieMigrationMigrationLimits,
66
67
  PalletStateTrieMigrationMigrationTask,
@@ -83,6 +84,7 @@ import type {
83
84
  PalletNominationPoolsCommissionClaimPermission,
84
85
  PalletStakingAsyncRcClientSessionReport,
85
86
  PalletStakingAsyncRcClientOffence,
87
+ PalletElectionProviderMultiBlockManagerOperation,
86
88
  PalletElectionProviderMultiBlockAdminOperation,
87
89
  PalletElectionProviderMultiBlockPagedRawSolution,
88
90
  SpNposElectionsElectionScore,
@@ -5040,6 +5042,36 @@ export interface ChainTx<
5040
5042
  >
5041
5043
  >;
5042
5044
 
5045
+ /**
5046
+ * Sets the trusted reserve information of an asset.
5047
+ *
5048
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
5049
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
5050
+ *
5051
+ * - `id`: The identifier of the asset.
5052
+ * - `reserves`: The full list of trusted reserves information.
5053
+ *
5054
+ * Emits `AssetMinBalanceChanged` event when successful.
5055
+ *
5056
+ * @param {number} id
5057
+ * @param {Array<[]>} reserves
5058
+ **/
5059
+ setReserves: GenericTxCall<
5060
+ (
5061
+ id: number,
5062
+ reserves: Array<[]>,
5063
+ ) => ChainSubmittableExtrinsic<
5064
+ {
5065
+ pallet: 'Assets';
5066
+ palletCall: {
5067
+ name: 'SetReserves';
5068
+ params: { id: number; reserves: Array<[]> };
5069
+ };
5070
+ },
5071
+ ChainKnownTypes
5072
+ >
5073
+ >;
5074
+
5043
5075
  /**
5044
5076
  * Generic pallet tx call
5045
5077
  **/
@@ -8628,6 +8660,39 @@ export interface ChainTx<
8628
8660
  >
8629
8661
  >;
8630
8662
 
8663
+ /**
8664
+ * Sets the trusted reserve information of an asset.
8665
+ *
8666
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
8667
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
8668
+ *
8669
+ * - `id`: The identifier of the asset.
8670
+ * - `reserves`: The full list of trusted reserves information.
8671
+ *
8672
+ * Emits `AssetMinBalanceChanged` event when successful.
8673
+ *
8674
+ * @param {StagingXcmV5Location} id
8675
+ * @param {Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>} reserves
8676
+ **/
8677
+ setReserves: GenericTxCall<
8678
+ (
8679
+ id: StagingXcmV5Location,
8680
+ reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>,
8681
+ ) => ChainSubmittableExtrinsic<
8682
+ {
8683
+ pallet: 'ForeignAssets';
8684
+ palletCall: {
8685
+ name: 'SetReserves';
8686
+ params: {
8687
+ id: StagingXcmV5Location;
8688
+ reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>;
8689
+ };
8690
+ };
8691
+ },
8692
+ ChainKnownTypes
8693
+ >
8694
+ >;
8695
+
8631
8696
  /**
8632
8697
  * Generic pallet tx call
8633
8698
  **/
@@ -9907,6 +9972,36 @@ export interface ChainTx<
9907
9972
  >
9908
9973
  >;
9909
9974
 
9975
+ /**
9976
+ * Sets the trusted reserve information of an asset.
9977
+ *
9978
+ * Origin must be the Owner of the asset `id`. The origin must conform to the configured
9979
+ * `CreateOrigin` or be the signed `owner` configured during asset creation.
9980
+ *
9981
+ * - `id`: The identifier of the asset.
9982
+ * - `reserves`: The full list of trusted reserves information.
9983
+ *
9984
+ * Emits `AssetMinBalanceChanged` event when successful.
9985
+ *
9986
+ * @param {number} id
9987
+ * @param {Array<[]>} reserves
9988
+ **/
9989
+ setReserves: GenericTxCall<
9990
+ (
9991
+ id: number,
9992
+ reserves: Array<[]>,
9993
+ ) => ChainSubmittableExtrinsic<
9994
+ {
9995
+ pallet: 'PoolAssets';
9996
+ palletCall: {
9997
+ name: 'SetReserves';
9998
+ params: { id: number; reserves: Array<[]> };
9999
+ };
10000
+ },
10001
+ ChainKnownTypes
10002
+ >
10003
+ >;
10004
+
9910
10005
  /**
9911
10006
  * Generic pallet tx call
9912
10007
  **/
@@ -10435,6 +10530,37 @@ export interface ChainTx<
10435
10530
  >
10436
10531
  >;
10437
10532
 
10533
+ /**
10534
+ * Executes a Substrate runtime call from an Ethereum transaction.
10535
+ *
10536
+ * This dispatchable is intended to be called **only** through the EVM compatibility
10537
+ * layer. The provided call will be dispatched using `RawOrigin::Signed`.
10538
+ *
10539
+ * # Parameters
10540
+ *
10541
+ * * `origin`: Must be an [`Origin::EthTransaction`] origin.
10542
+ * * `call`: The Substrate runtime call to execute.
10543
+ * * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
10544
+ *
10545
+ * @param {AssetHubWestendRuntimeRuntimeCallLike} call
10546
+ * @param {BytesLike} transactionEncoded
10547
+ **/
10548
+ ethSubstrateCall: GenericTxCall<
10549
+ (
10550
+ call: AssetHubWestendRuntimeRuntimeCallLike,
10551
+ transactionEncoded: BytesLike,
10552
+ ) => ChainSubmittableExtrinsic<
10553
+ {
10554
+ pallet: 'Revive';
10555
+ palletCall: {
10556
+ name: 'EthSubstrateCall';
10557
+ params: { call: AssetHubWestendRuntimeRuntimeCallLike; transactionEncoded: BytesLike };
10558
+ };
10559
+ },
10560
+ ChainKnownTypes
10561
+ >
10562
+ >;
10563
+
10438
10564
  /**
10439
10565
  * Upload new `code` without instantiating a contract from it.
10440
10566
  *
@@ -12809,119 +12935,6 @@ export interface ChainTx<
12809
12935
  **/
12810
12936
  [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
12811
12937
  };
12812
- /**
12813
- * Pallet `FastUnstake`'s transaction calls
12814
- **/
12815
- fastUnstake: {
12816
- /**
12817
- * Register oneself for fast-unstake.
12818
- *
12819
- * ## Dispatch Origin
12820
- *
12821
- * The dispatch origin of this call must be *signed* by whoever is permitted to call
12822
- * unbond funds by the staking system. See [`Config::Staking`].
12823
- *
12824
- * ## Details
12825
- *
12826
- * The stash associated with the origin must have no ongoing unlocking chunks. If
12827
- * successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
12828
- * to be checked in further blocks.
12829
- *
12830
- * If by the time this is called, the stash is actually eligible for fast-unstake, then
12831
- * they are guaranteed to remain eligible, because the call will chill them as well.
12832
- *
12833
- * If the check works, the entire staking data is removed, i.e. the stash is fully
12834
- * unstaked.
12835
- *
12836
- * If the check fails, the stash remains chilled and waiting for being unbonded as in with
12837
- * the normal staking system, but they lose part of their unbonding chunks due to consuming
12838
- * the chain's resources.
12839
- *
12840
- * ## Events
12841
- *
12842
- * Some events from the staking and currency system might be emitted.
12843
- *
12844
- **/
12845
- registerFastUnstake: GenericTxCall<
12846
- () => ChainSubmittableExtrinsic<
12847
- {
12848
- pallet: 'FastUnstake';
12849
- palletCall: {
12850
- name: 'RegisterFastUnstake';
12851
- };
12852
- },
12853
- ChainKnownTypes
12854
- >
12855
- >;
12856
-
12857
- /**
12858
- * Deregister oneself from the fast-unstake.
12859
- *
12860
- * ## Dispatch Origin
12861
- *
12862
- * The dispatch origin of this call must be *signed* by whoever is permitted to call
12863
- * unbond funds by the staking system. See [`Config::Staking`].
12864
- *
12865
- * ## Details
12866
- *
12867
- * This is useful if one is registered, they are still waiting, and they change their mind.
12868
- *
12869
- * Note that the associated stash is still fully unbonded and chilled as a consequence of
12870
- * calling [`Pallet::register_fast_unstake`]. Therefore, this should probably be followed
12871
- * by a call to `rebond` in the staking system.
12872
- *
12873
- * ## Events
12874
- *
12875
- * Some events from the staking and currency system might be emitted.
12876
- *
12877
- **/
12878
- deregister: GenericTxCall<
12879
- () => ChainSubmittableExtrinsic<
12880
- {
12881
- pallet: 'FastUnstake';
12882
- palletCall: {
12883
- name: 'Deregister';
12884
- };
12885
- },
12886
- ChainKnownTypes
12887
- >
12888
- >;
12889
-
12890
- /**
12891
- * Control the operation of this pallet.
12892
- *
12893
- * ## Dispatch Origin
12894
- *
12895
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
12896
- *
12897
- * ## Details
12898
- *
12899
- * Can set the number of eras to check per block, and potentially other admin work.
12900
- *
12901
- * ## Events
12902
- *
12903
- * No events are emitted from this dispatch.
12904
- *
12905
- * @param {number} erasToCheck
12906
- **/
12907
- control: GenericTxCall<
12908
- (erasToCheck: number) => ChainSubmittableExtrinsic<
12909
- {
12910
- pallet: 'FastUnstake';
12911
- palletCall: {
12912
- name: 'Control';
12913
- params: { erasToCheck: number };
12914
- };
12915
- },
12916
- ChainKnownTypes
12917
- >
12918
- >;
12919
-
12920
- /**
12921
- * Generic pallet tx call
12922
- **/
12923
- [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
12924
- };
12925
12938
  /**
12926
12939
  * Pallet `VoterList`'s transaction calls
12927
12940
  **/
@@ -13060,18 +13073,35 @@ export interface ChainTx<
13060
13073
  /**
13061
13074
  * Manage this pallet.
13062
13075
  *
13063
- * The origin of this call must be [`Config::AdminOrigin`].
13076
+ * The origin of this call must be [`Config::ManagerOrigin`].
13064
13077
  *
13065
- * See [`AdminOperation`] for various operations that are possible.
13078
+ * See [`ManagerOperation`] for various operations that are possible.
13066
13079
  *
13067
- * @param {PalletElectionProviderMultiBlockAdminOperation} op
13080
+ * @param {PalletElectionProviderMultiBlockManagerOperation} op
13068
13081
  **/
13069
13082
  manage: GenericTxCall<
13070
- (op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
13083
+ (op: PalletElectionProviderMultiBlockManagerOperation) => ChainSubmittableExtrinsic<
13071
13084
  {
13072
13085
  pallet: 'MultiBlockElection';
13073
13086
  palletCall: {
13074
13087
  name: 'Manage';
13088
+ params: { op: PalletElectionProviderMultiBlockManagerOperation };
13089
+ };
13090
+ },
13091
+ ChainKnownTypes
13092
+ >
13093
+ >;
13094
+
13095
+ /**
13096
+ *
13097
+ * @param {PalletElectionProviderMultiBlockAdminOperation} op
13098
+ **/
13099
+ admin: GenericTxCall<
13100
+ (op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
13101
+ {
13102
+ pallet: 'MultiBlockElection';
13103
+ palletCall: {
13104
+ name: 'Admin';
13075
13105
  params: { op: PalletElectionProviderMultiBlockAdminOperation };
13076
13106
  };
13077
13107
  },