@dedot/chaintypes 0.232.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.
Files changed (41) hide show
  1. package/hydration/consts.d.ts +119 -47
  2. package/hydration/errors.d.ts +91 -130
  3. package/hydration/events.d.ts +340 -432
  4. package/hydration/index.d.ts +2 -3
  5. package/hydration/json-rpc.d.ts +10 -17
  6. package/hydration/query.d.ts +157 -277
  7. package/hydration/runtime.d.ts +21 -123
  8. package/hydration/tx.d.ts +502 -315
  9. package/hydration/types.d.ts +1366 -1284
  10. package/package.json +2 -2
  11. package/paseo/consts.d.ts +87 -18
  12. package/paseo/errors.d.ts +187 -30
  13. package/paseo/events.d.ts +676 -80
  14. package/paseo/index.d.ts +1 -1
  15. package/paseo/query.d.ts +465 -71
  16. package/paseo/runtime.d.ts +85 -39
  17. package/paseo/tx.d.ts +1012 -165
  18. package/paseo/types.d.ts +8081 -6364
  19. package/paseo/view-functions.d.ts +75 -1
  20. package/paseo-asset-hub/consts.d.ts +0 -34
  21. package/paseo-asset-hub/errors.d.ts +0 -28
  22. package/paseo-asset-hub/events.d.ts +20 -205
  23. package/paseo-asset-hub/index.d.ts +3 -3
  24. package/paseo-asset-hub/query.d.ts +23 -66
  25. package/paseo-asset-hub/runtime.d.ts +15 -12
  26. package/paseo-asset-hub/tx.d.ts +127 -327
  27. package/paseo-asset-hub/types.d.ts +192 -513
  28. package/paseo-asset-hub/view-functions.d.ts +7 -7
  29. package/paseo-hydration/consts.d.ts +5 -0
  30. package/paseo-hydration/errors.d.ts +1 -1
  31. package/paseo-hydration/index.d.ts +1 -1
  32. package/paseo-hydration/json-rpc.d.ts +0 -10
  33. package/paseo-hydration/tx.d.ts +2 -1
  34. package/paseo-hydration/types.d.ts +5 -3
  35. package/paseo-people/consts.d.ts +75 -0
  36. package/paseo-people/errors.d.ts +165 -0
  37. package/paseo-people/events.d.ts +285 -2
  38. package/paseo-people/index.d.ts +5 -4
  39. package/paseo-people/query.d.ts +125 -0
  40. package/paseo-people/tx.d.ts +1286 -2
  41. package/paseo-people/types.d.ts +1776 -183
@@ -8,7 +8,16 @@ import type {
8
8
  ISubmittableResult,
9
9
  IRuntimeTxCall,
10
10
  } from 'dedot/types';
11
- import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes, Data } from 'dedot/codecs';
11
+ import type {
12
+ MultiAddressLike,
13
+ Extrinsic,
14
+ BytesLike,
15
+ H256,
16
+ AccountId32Like,
17
+ FixedU128,
18
+ FixedBytes,
19
+ Data,
20
+ } from 'dedot/codecs';
12
21
  import type {
13
22
  PeoplePaseoRuntimeRuntimeCallLike,
14
23
  SpRuntimeMultiSignature,
@@ -18,12 +27,12 @@ import type {
18
27
  PalletMigrationsMigrationCursor,
19
28
  PalletMigrationsHistoricCleanupSelector,
20
29
  PalletBalancesAdjustmentDirection,
30
+ StagingXcmV5Location,
21
31
  PeoplePaseoRuntimeSessionKeys,
22
32
  XcmVersionedLocation,
23
33
  XcmVersionedXcm,
24
34
  XcmVersionedAssets,
25
35
  SpWeightsWeightV2Weight,
26
- StagingXcmV5Location,
27
36
  XcmV3WeightLimit,
28
37
  StagingXcmExecutorAssetTransferTransferType,
29
38
  XcmVersionedAssetId,
@@ -751,6 +760,1281 @@ export interface ChainTx<
751
760
  **/
752
761
  [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
753
762
  };
763
+ /**
764
+ * Pallet `Assets`'s transaction calls
765
+ **/
766
+ assets: {
767
+ /**
768
+ * Issue a new class of fungible assets from a public origin.
769
+ *
770
+ * This new asset class has no assets initially and its owner is the origin.
771
+ *
772
+ * The origin must conform to the configured `CreateOrigin` and have sufficient funds free.
773
+ *
774
+ * Funds of sender are reserved by `AssetDeposit`.
775
+ *
776
+ * Parameters:
777
+ * - `id`: The identifier of the new asset. This must not be currently in use to identify
778
+ * an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
779
+ * - `admin`: The admin of this class of assets. The admin is the initial address of each
780
+ * member of the asset class's admin team.
781
+ * - `min_balance`: The minimum balance of this new asset that any single account must
782
+ * have. If an account's balance is reduced below this, then it collapses to zero.
783
+ *
784
+ * Emits `Created` event when successful.
785
+ *
786
+ * Weight: `O(1)`
787
+ *
788
+ * @param {StagingXcmV5Location} id
789
+ * @param {MultiAddressLike} admin
790
+ * @param {bigint} minBalance
791
+ **/
792
+ create: GenericTxCall<
793
+ (
794
+ id: StagingXcmV5Location,
795
+ admin: MultiAddressLike,
796
+ minBalance: bigint,
797
+ ) => ChainSubmittableExtrinsic<
798
+ {
799
+ pallet: 'Assets';
800
+ palletCall: {
801
+ name: 'Create';
802
+ params: { id: StagingXcmV5Location; admin: MultiAddressLike; minBalance: bigint };
803
+ };
804
+ },
805
+ ChainKnownTypes
806
+ >
807
+ >;
808
+
809
+ /**
810
+ * Issue a new class of fungible assets from a privileged origin.
811
+ *
812
+ * This new asset class has no assets initially.
813
+ *
814
+ * The origin must conform to `ForceOrigin`.
815
+ *
816
+ * Unlike `create`, no funds are reserved.
817
+ *
818
+ * - `id`: The identifier of the new asset. This must not be currently in use to identify
819
+ * an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
820
+ * - `owner`: The owner of this class of assets. The owner has full superuser permissions
821
+ * over this asset, but may later change and configure the permissions using
822
+ * `transfer_ownership` and `set_team`.
823
+ * - `min_balance`: The minimum balance of this new asset that any single account must
824
+ * have. If an account's balance is reduced below this, then it collapses to zero.
825
+ *
826
+ * Emits `ForceCreated` event when successful.
827
+ *
828
+ * Weight: `O(1)`
829
+ *
830
+ * @param {StagingXcmV5Location} id
831
+ * @param {MultiAddressLike} owner
832
+ * @param {boolean} isSufficient
833
+ * @param {bigint} minBalance
834
+ **/
835
+ forceCreate: GenericTxCall<
836
+ (
837
+ id: StagingXcmV5Location,
838
+ owner: MultiAddressLike,
839
+ isSufficient: boolean,
840
+ minBalance: bigint,
841
+ ) => ChainSubmittableExtrinsic<
842
+ {
843
+ pallet: 'Assets';
844
+ palletCall: {
845
+ name: 'ForceCreate';
846
+ params: { id: StagingXcmV5Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
847
+ };
848
+ },
849
+ ChainKnownTypes
850
+ >
851
+ >;
852
+
853
+ /**
854
+ * Start the process of destroying a fungible asset class.
855
+ *
856
+ * `start_destroy` is the first in a series of extrinsics that should be called, to allow
857
+ * destruction of an asset class.
858
+ *
859
+ * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`.
860
+ *
861
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
862
+ * asset.
863
+ *
864
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
865
+ * an account contains holds or freezes in place.
866
+ *
867
+ * @param {StagingXcmV5Location} id
868
+ **/
869
+ startDestroy: GenericTxCall<
870
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
871
+ {
872
+ pallet: 'Assets';
873
+ palletCall: {
874
+ name: 'StartDestroy';
875
+ params: { id: StagingXcmV5Location };
876
+ };
877
+ },
878
+ ChainKnownTypes
879
+ >
880
+ >;
881
+
882
+ /**
883
+ * Destroy all accounts associated with a given asset.
884
+ *
885
+ * `destroy_accounts` should only be called after `start_destroy` has been called, and the
886
+ * asset is in a `Destroying` state.
887
+ *
888
+ * Due to weight restrictions, this function may need to be called multiple times to fully
889
+ * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time.
890
+ *
891
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
892
+ * asset.
893
+ *
894
+ * Each call emits the `Event::DestroyedAccounts` event.
895
+ *
896
+ * @param {StagingXcmV5Location} id
897
+ **/
898
+ destroyAccounts: GenericTxCall<
899
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
900
+ {
901
+ pallet: 'Assets';
902
+ palletCall: {
903
+ name: 'DestroyAccounts';
904
+ params: { id: StagingXcmV5Location };
905
+ };
906
+ },
907
+ ChainKnownTypes
908
+ >
909
+ >;
910
+
911
+ /**
912
+ * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
913
+ *
914
+ * `destroy_approvals` should only be called after `start_destroy` has been called, and the
915
+ * asset is in a `Destroying` state.
916
+ *
917
+ * Due to weight restrictions, this function may need to be called multiple times to fully
918
+ * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time.
919
+ *
920
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
921
+ * asset.
922
+ *
923
+ * Each call emits the `Event::DestroyedApprovals` event.
924
+ *
925
+ * @param {StagingXcmV5Location} id
926
+ **/
927
+ destroyApprovals: GenericTxCall<
928
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
929
+ {
930
+ pallet: 'Assets';
931
+ palletCall: {
932
+ name: 'DestroyApprovals';
933
+ params: { id: StagingXcmV5Location };
934
+ };
935
+ },
936
+ ChainKnownTypes
937
+ >
938
+ >;
939
+
940
+ /**
941
+ * Complete destroying asset and unreserve currency.
942
+ *
943
+ * `finish_destroy` should only be called after `start_destroy` has been called, and the
944
+ * asset is in a `Destroying` state. All accounts or approvals should be destroyed before
945
+ * hand.
946
+ *
947
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
948
+ * asset.
949
+ *
950
+ * Each successful call emits the `Event::Destroyed` event.
951
+ *
952
+ * @param {StagingXcmV5Location} id
953
+ **/
954
+ finishDestroy: GenericTxCall<
955
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
956
+ {
957
+ pallet: 'Assets';
958
+ palletCall: {
959
+ name: 'FinishDestroy';
960
+ params: { id: StagingXcmV5Location };
961
+ };
962
+ },
963
+ ChainKnownTypes
964
+ >
965
+ >;
966
+
967
+ /**
968
+ * Mint assets of a particular class.
969
+ *
970
+ * The origin must be Signed and the sender must be the Issuer of the asset `id`.
971
+ *
972
+ * - `id`: The identifier of the asset to have some amount minted.
973
+ * - `beneficiary`: The account to be credited with the minted assets.
974
+ * - `amount`: The amount of the asset to be minted.
975
+ *
976
+ * Emits `Issued` event when successful.
977
+ *
978
+ * Weight: `O(1)`
979
+ * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
980
+ *
981
+ * @param {StagingXcmV5Location} id
982
+ * @param {MultiAddressLike} beneficiary
983
+ * @param {bigint} amount
984
+ **/
985
+ mint: GenericTxCall<
986
+ (
987
+ id: StagingXcmV5Location,
988
+ beneficiary: MultiAddressLike,
989
+ amount: bigint,
990
+ ) => ChainSubmittableExtrinsic<
991
+ {
992
+ pallet: 'Assets';
993
+ palletCall: {
994
+ name: 'Mint';
995
+ params: { id: StagingXcmV5Location; beneficiary: MultiAddressLike; amount: bigint };
996
+ };
997
+ },
998
+ ChainKnownTypes
999
+ >
1000
+ >;
1001
+
1002
+ /**
1003
+ * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
1004
+ *
1005
+ * Origin must be Signed and the sender should be the Manager of the asset `id`.
1006
+ *
1007
+ * Bails with `NoAccount` if the `who` is already dead.
1008
+ *
1009
+ * - `id`: The identifier of the asset to have some amount burned.
1010
+ * - `who`: The account to be debited from.
1011
+ * - `amount`: The maximum amount by which `who`'s balance should be reduced.
1012
+ *
1013
+ * Emits `Burned` with the actual amount burned. If this takes the balance to below the
1014
+ * minimum for the asset, then the amount burned is increased to take it to zero.
1015
+ *
1016
+ * Weight: `O(1)`
1017
+ * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
1018
+ *
1019
+ * @param {StagingXcmV5Location} id
1020
+ * @param {MultiAddressLike} who
1021
+ * @param {bigint} amount
1022
+ **/
1023
+ burn: GenericTxCall<
1024
+ (
1025
+ id: StagingXcmV5Location,
1026
+ who: MultiAddressLike,
1027
+ amount: bigint,
1028
+ ) => ChainSubmittableExtrinsic<
1029
+ {
1030
+ pallet: 'Assets';
1031
+ palletCall: {
1032
+ name: 'Burn';
1033
+ params: { id: StagingXcmV5Location; who: MultiAddressLike; amount: bigint };
1034
+ };
1035
+ },
1036
+ ChainKnownTypes
1037
+ >
1038
+ >;
1039
+
1040
+ /**
1041
+ * Move some assets from the sender account to another.
1042
+ *
1043
+ * Origin must be Signed.
1044
+ *
1045
+ * - `id`: The identifier of the asset to have some amount transferred.
1046
+ * - `target`: The account to be credited.
1047
+ * - `amount`: The amount by which the sender's balance of assets should be reduced and
1048
+ * `target`'s balance increased. The amount actually transferred may be slightly greater in
1049
+ * the case that the transfer would otherwise take the sender balance above zero but below
1050
+ * the minimum balance. Must be greater than zero.
1051
+ *
1052
+ * Emits `Transferred` with the actual amount transferred. If this takes the source balance
1053
+ * to below the minimum for the asset, then the amount transferred is increased to take it
1054
+ * to zero.
1055
+ *
1056
+ * Weight: `O(1)`
1057
+ * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
1058
+ * `target`.
1059
+ *
1060
+ * @param {StagingXcmV5Location} id
1061
+ * @param {MultiAddressLike} target
1062
+ * @param {bigint} amount
1063
+ **/
1064
+ transfer: GenericTxCall<
1065
+ (
1066
+ id: StagingXcmV5Location,
1067
+ target: MultiAddressLike,
1068
+ amount: bigint,
1069
+ ) => ChainSubmittableExtrinsic<
1070
+ {
1071
+ pallet: 'Assets';
1072
+ palletCall: {
1073
+ name: 'Transfer';
1074
+ params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint };
1075
+ };
1076
+ },
1077
+ ChainKnownTypes
1078
+ >
1079
+ >;
1080
+
1081
+ /**
1082
+ * Move some assets from the sender account to another, keeping the sender account alive.
1083
+ *
1084
+ * Origin must be Signed.
1085
+ *
1086
+ * - `id`: The identifier of the asset to have some amount transferred.
1087
+ * - `target`: The account to be credited.
1088
+ * - `amount`: The amount by which the sender's balance of assets should be reduced and
1089
+ * `target`'s balance increased. The amount actually transferred may be slightly greater in
1090
+ * the case that the transfer would otherwise take the sender balance above zero but below
1091
+ * the minimum balance. Must be greater than zero.
1092
+ *
1093
+ * Emits `Transferred` with the actual amount transferred. If this takes the source balance
1094
+ * to below the minimum for the asset, then the amount transferred is increased to take it
1095
+ * to zero.
1096
+ *
1097
+ * Weight: `O(1)`
1098
+ * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
1099
+ * `target`.
1100
+ *
1101
+ * @param {StagingXcmV5Location} id
1102
+ * @param {MultiAddressLike} target
1103
+ * @param {bigint} amount
1104
+ **/
1105
+ transferKeepAlive: GenericTxCall<
1106
+ (
1107
+ id: StagingXcmV5Location,
1108
+ target: MultiAddressLike,
1109
+ amount: bigint,
1110
+ ) => ChainSubmittableExtrinsic<
1111
+ {
1112
+ pallet: 'Assets';
1113
+ palletCall: {
1114
+ name: 'TransferKeepAlive';
1115
+ params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint };
1116
+ };
1117
+ },
1118
+ ChainKnownTypes
1119
+ >
1120
+ >;
1121
+
1122
+ /**
1123
+ * Move some assets from one account to another.
1124
+ *
1125
+ * Origin must be Signed and the sender should be the Admin of the asset `id`.
1126
+ *
1127
+ * - `id`: The identifier of the asset to have some amount transferred.
1128
+ * - `source`: The account to be debited.
1129
+ * - `dest`: The account to be credited.
1130
+ * - `amount`: The amount by which the `source`'s balance of assets should be reduced and
1131
+ * `dest`'s balance increased. The amount actually transferred may be slightly greater in
1132
+ * the case that the transfer would otherwise take the `source` balance above zero but
1133
+ * below the minimum balance. Must be greater than zero.
1134
+ *
1135
+ * Emits `Transferred` with the actual amount transferred. If this takes the source balance
1136
+ * to below the minimum for the asset, then the amount transferred is increased to take it
1137
+ * to zero.
1138
+ *
1139
+ * Weight: `O(1)`
1140
+ * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
1141
+ * `dest`.
1142
+ *
1143
+ * @param {StagingXcmV5Location} id
1144
+ * @param {MultiAddressLike} source
1145
+ * @param {MultiAddressLike} dest
1146
+ * @param {bigint} amount
1147
+ **/
1148
+ forceTransfer: GenericTxCall<
1149
+ (
1150
+ id: StagingXcmV5Location,
1151
+ source: MultiAddressLike,
1152
+ dest: MultiAddressLike,
1153
+ amount: bigint,
1154
+ ) => ChainSubmittableExtrinsic<
1155
+ {
1156
+ pallet: 'Assets';
1157
+ palletCall: {
1158
+ name: 'ForceTransfer';
1159
+ params: { id: StagingXcmV5Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
1160
+ };
1161
+ },
1162
+ ChainKnownTypes
1163
+ >
1164
+ >;
1165
+
1166
+ /**
1167
+ * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
1168
+ * must already exist as an entry in `Account`s of the asset. If you want to freeze an
1169
+ * account that does not have an entry, use `touch_other` first.
1170
+ *
1171
+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
1172
+ *
1173
+ * - `id`: The identifier of the asset to be frozen.
1174
+ * - `who`: The account to be frozen.
1175
+ *
1176
+ * Emits `Frozen`.
1177
+ *
1178
+ * Weight: `O(1)`
1179
+ *
1180
+ * @param {StagingXcmV5Location} id
1181
+ * @param {MultiAddressLike} who
1182
+ **/
1183
+ freeze: GenericTxCall<
1184
+ (
1185
+ id: StagingXcmV5Location,
1186
+ who: MultiAddressLike,
1187
+ ) => ChainSubmittableExtrinsic<
1188
+ {
1189
+ pallet: 'Assets';
1190
+ palletCall: {
1191
+ name: 'Freeze';
1192
+ params: { id: StagingXcmV5Location; who: MultiAddressLike };
1193
+ };
1194
+ },
1195
+ ChainKnownTypes
1196
+ >
1197
+ >;
1198
+
1199
+ /**
1200
+ * Allow unprivileged transfers to and from an account again.
1201
+ *
1202
+ * Origin must be Signed and the sender should be the Admin of the asset `id`.
1203
+ *
1204
+ * - `id`: The identifier of the asset to be frozen.
1205
+ * - `who`: The account to be unfrozen.
1206
+ *
1207
+ * Emits `Thawed`.
1208
+ *
1209
+ * Weight: `O(1)`
1210
+ *
1211
+ * @param {StagingXcmV5Location} id
1212
+ * @param {MultiAddressLike} who
1213
+ **/
1214
+ thaw: GenericTxCall<
1215
+ (
1216
+ id: StagingXcmV5Location,
1217
+ who: MultiAddressLike,
1218
+ ) => ChainSubmittableExtrinsic<
1219
+ {
1220
+ pallet: 'Assets';
1221
+ palletCall: {
1222
+ name: 'Thaw';
1223
+ params: { id: StagingXcmV5Location; who: MultiAddressLike };
1224
+ };
1225
+ },
1226
+ ChainKnownTypes
1227
+ >
1228
+ >;
1229
+
1230
+ /**
1231
+ * Disallow further unprivileged transfers for the asset class.
1232
+ *
1233
+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
1234
+ *
1235
+ * - `id`: The identifier of the asset to be frozen.
1236
+ *
1237
+ * Emits `Frozen`.
1238
+ *
1239
+ * Weight: `O(1)`
1240
+ *
1241
+ * @param {StagingXcmV5Location} id
1242
+ **/
1243
+ freezeAsset: GenericTxCall<
1244
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
1245
+ {
1246
+ pallet: 'Assets';
1247
+ palletCall: {
1248
+ name: 'FreezeAsset';
1249
+ params: { id: StagingXcmV5Location };
1250
+ };
1251
+ },
1252
+ ChainKnownTypes
1253
+ >
1254
+ >;
1255
+
1256
+ /**
1257
+ * Allow unprivileged transfers for the asset again.
1258
+ *
1259
+ * Origin must be Signed and the sender should be the Admin of the asset `id`.
1260
+ *
1261
+ * - `id`: The identifier of the asset to be thawed.
1262
+ *
1263
+ * Emits `Thawed`.
1264
+ *
1265
+ * Weight: `O(1)`
1266
+ *
1267
+ * @param {StagingXcmV5Location} id
1268
+ **/
1269
+ thawAsset: GenericTxCall<
1270
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
1271
+ {
1272
+ pallet: 'Assets';
1273
+ palletCall: {
1274
+ name: 'ThawAsset';
1275
+ params: { id: StagingXcmV5Location };
1276
+ };
1277
+ },
1278
+ ChainKnownTypes
1279
+ >
1280
+ >;
1281
+
1282
+ /**
1283
+ * Change the Owner of an asset.
1284
+ *
1285
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1286
+ *
1287
+ * - `id`: The identifier of the asset.
1288
+ * - `owner`: The new Owner of this asset.
1289
+ *
1290
+ * Emits `OwnerChanged`.
1291
+ *
1292
+ * Weight: `O(1)`
1293
+ *
1294
+ * @param {StagingXcmV5Location} id
1295
+ * @param {MultiAddressLike} owner
1296
+ **/
1297
+ transferOwnership: GenericTxCall<
1298
+ (
1299
+ id: StagingXcmV5Location,
1300
+ owner: MultiAddressLike,
1301
+ ) => ChainSubmittableExtrinsic<
1302
+ {
1303
+ pallet: 'Assets';
1304
+ palletCall: {
1305
+ name: 'TransferOwnership';
1306
+ params: { id: StagingXcmV5Location; owner: MultiAddressLike };
1307
+ };
1308
+ },
1309
+ ChainKnownTypes
1310
+ >
1311
+ >;
1312
+
1313
+ /**
1314
+ * Change the Issuer, Admin and Freezer of an asset.
1315
+ *
1316
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1317
+ *
1318
+ * - `id`: The identifier of the asset to be frozen.
1319
+ * - `issuer`: The new Issuer of this asset.
1320
+ * - `admin`: The new Admin of this asset.
1321
+ * - `freezer`: The new Freezer of this asset.
1322
+ *
1323
+ * Emits `TeamChanged`.
1324
+ *
1325
+ * Weight: `O(1)`
1326
+ *
1327
+ * @param {StagingXcmV5Location} id
1328
+ * @param {MultiAddressLike} issuer
1329
+ * @param {MultiAddressLike} admin
1330
+ * @param {MultiAddressLike} freezer
1331
+ **/
1332
+ setTeam: GenericTxCall<
1333
+ (
1334
+ id: StagingXcmV5Location,
1335
+ issuer: MultiAddressLike,
1336
+ admin: MultiAddressLike,
1337
+ freezer: MultiAddressLike,
1338
+ ) => ChainSubmittableExtrinsic<
1339
+ {
1340
+ pallet: 'Assets';
1341
+ palletCall: {
1342
+ name: 'SetTeam';
1343
+ params: {
1344
+ id: StagingXcmV5Location;
1345
+ issuer: MultiAddressLike;
1346
+ admin: MultiAddressLike;
1347
+ freezer: MultiAddressLike;
1348
+ };
1349
+ };
1350
+ },
1351
+ ChainKnownTypes
1352
+ >
1353
+ >;
1354
+
1355
+ /**
1356
+ * Set the metadata for an asset.
1357
+ *
1358
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1359
+ *
1360
+ * Funds of sender are reserved according to the formula:
1361
+ * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into
1362
+ * account any already reserved funds.
1363
+ *
1364
+ * - `id`: The identifier of the asset to update.
1365
+ * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
1366
+ * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
1367
+ * - `decimals`: The number of decimals this asset uses to represent one unit.
1368
+ *
1369
+ * Emits `MetadataSet`.
1370
+ *
1371
+ * Weight: `O(1)`
1372
+ *
1373
+ * @param {StagingXcmV5Location} id
1374
+ * @param {BytesLike} name
1375
+ * @param {BytesLike} symbol
1376
+ * @param {number} decimals
1377
+ **/
1378
+ setMetadata: GenericTxCall<
1379
+ (
1380
+ id: StagingXcmV5Location,
1381
+ name: BytesLike,
1382
+ symbol: BytesLike,
1383
+ decimals: number,
1384
+ ) => ChainSubmittableExtrinsic<
1385
+ {
1386
+ pallet: 'Assets';
1387
+ palletCall: {
1388
+ name: 'SetMetadata';
1389
+ params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number };
1390
+ };
1391
+ },
1392
+ ChainKnownTypes
1393
+ >
1394
+ >;
1395
+
1396
+ /**
1397
+ * Clear the metadata for an asset.
1398
+ *
1399
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1400
+ *
1401
+ * Any deposit is freed for the asset owner.
1402
+ *
1403
+ * - `id`: The identifier of the asset to clear.
1404
+ *
1405
+ * Emits `MetadataCleared`.
1406
+ *
1407
+ * Weight: `O(1)`
1408
+ *
1409
+ * @param {StagingXcmV5Location} id
1410
+ **/
1411
+ clearMetadata: GenericTxCall<
1412
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
1413
+ {
1414
+ pallet: 'Assets';
1415
+ palletCall: {
1416
+ name: 'ClearMetadata';
1417
+ params: { id: StagingXcmV5Location };
1418
+ };
1419
+ },
1420
+ ChainKnownTypes
1421
+ >
1422
+ >;
1423
+
1424
+ /**
1425
+ * Force the metadata for an asset to some value.
1426
+ *
1427
+ * Origin must be ForceOrigin.
1428
+ *
1429
+ * Any deposit is left alone.
1430
+ *
1431
+ * - `id`: The identifier of the asset to update.
1432
+ * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
1433
+ * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
1434
+ * - `decimals`: The number of decimals this asset uses to represent one unit.
1435
+ *
1436
+ * Emits `MetadataSet`.
1437
+ *
1438
+ * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
1439
+ *
1440
+ * @param {StagingXcmV5Location} id
1441
+ * @param {BytesLike} name
1442
+ * @param {BytesLike} symbol
1443
+ * @param {number} decimals
1444
+ * @param {boolean} isFrozen
1445
+ **/
1446
+ forceSetMetadata: GenericTxCall<
1447
+ (
1448
+ id: StagingXcmV5Location,
1449
+ name: BytesLike,
1450
+ symbol: BytesLike,
1451
+ decimals: number,
1452
+ isFrozen: boolean,
1453
+ ) => ChainSubmittableExtrinsic<
1454
+ {
1455
+ pallet: 'Assets';
1456
+ palletCall: {
1457
+ name: 'ForceSetMetadata';
1458
+ params: {
1459
+ id: StagingXcmV5Location;
1460
+ name: BytesLike;
1461
+ symbol: BytesLike;
1462
+ decimals: number;
1463
+ isFrozen: boolean;
1464
+ };
1465
+ };
1466
+ },
1467
+ ChainKnownTypes
1468
+ >
1469
+ >;
1470
+
1471
+ /**
1472
+ * Clear the metadata for an asset.
1473
+ *
1474
+ * Origin must be ForceOrigin.
1475
+ *
1476
+ * Any deposit is returned.
1477
+ *
1478
+ * - `id`: The identifier of the asset to clear.
1479
+ *
1480
+ * Emits `MetadataCleared`.
1481
+ *
1482
+ * Weight: `O(1)`
1483
+ *
1484
+ * @param {StagingXcmV5Location} id
1485
+ **/
1486
+ forceClearMetadata: GenericTxCall<
1487
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
1488
+ {
1489
+ pallet: 'Assets';
1490
+ palletCall: {
1491
+ name: 'ForceClearMetadata';
1492
+ params: { id: StagingXcmV5Location };
1493
+ };
1494
+ },
1495
+ ChainKnownTypes
1496
+ >
1497
+ >;
1498
+
1499
+ /**
1500
+ * Alter the attributes of a given asset.
1501
+ *
1502
+ * Origin must be `ForceOrigin`.
1503
+ *
1504
+ * - `id`: The identifier of the asset.
1505
+ * - `owner`: The new Owner of this asset.
1506
+ * - `issuer`: The new Issuer of this asset.
1507
+ * - `admin`: The new Admin of this asset.
1508
+ * - `freezer`: The new Freezer of this asset.
1509
+ * - `min_balance`: The minimum balance of this new asset that any single account must
1510
+ * have. If an account's balance is reduced below this, then it collapses to zero.
1511
+ * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient
1512
+ * value to account for the state bloat associated with its balance storage. If set to
1513
+ * `true`, then non-zero balances may be stored without a `consumer` reference (and thus
1514
+ * an ED in the Balances pallet or whatever else is used to control user-account state
1515
+ * growth).
1516
+ * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin
1517
+ * instructions.
1518
+ *
1519
+ * Emits `AssetStatusChanged` with the identity of the asset.
1520
+ *
1521
+ * Weight: `O(1)`
1522
+ *
1523
+ * @param {StagingXcmV5Location} id
1524
+ * @param {MultiAddressLike} owner
1525
+ * @param {MultiAddressLike} issuer
1526
+ * @param {MultiAddressLike} admin
1527
+ * @param {MultiAddressLike} freezer
1528
+ * @param {bigint} minBalance
1529
+ * @param {boolean} isSufficient
1530
+ * @param {boolean} isFrozen
1531
+ **/
1532
+ forceAssetStatus: GenericTxCall<
1533
+ (
1534
+ id: StagingXcmV5Location,
1535
+ owner: MultiAddressLike,
1536
+ issuer: MultiAddressLike,
1537
+ admin: MultiAddressLike,
1538
+ freezer: MultiAddressLike,
1539
+ minBalance: bigint,
1540
+ isSufficient: boolean,
1541
+ isFrozen: boolean,
1542
+ ) => ChainSubmittableExtrinsic<
1543
+ {
1544
+ pallet: 'Assets';
1545
+ palletCall: {
1546
+ name: 'ForceAssetStatus';
1547
+ params: {
1548
+ id: StagingXcmV5Location;
1549
+ owner: MultiAddressLike;
1550
+ issuer: MultiAddressLike;
1551
+ admin: MultiAddressLike;
1552
+ freezer: MultiAddressLike;
1553
+ minBalance: bigint;
1554
+ isSufficient: boolean;
1555
+ isFrozen: boolean;
1556
+ };
1557
+ };
1558
+ },
1559
+ ChainKnownTypes
1560
+ >
1561
+ >;
1562
+
1563
+ /**
1564
+ * Approve an amount of asset for transfer by a delegated third-party account.
1565
+ *
1566
+ * Origin must be Signed.
1567
+ *
1568
+ * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account
1569
+ * for the purpose of holding the approval. If some non-zero amount of assets is already
1570
+ * approved from signing account to `delegate`, then it is topped up or unreserved to
1571
+ * meet the right value.
1572
+ *
1573
+ * NOTE: The signing account does not need to own `amount` of assets at the point of
1574
+ * making this call.
1575
+ *
1576
+ * - `id`: The identifier of the asset.
1577
+ * - `delegate`: The account to delegate permission to transfer asset.
1578
+ * - `amount`: The amount of asset that may be transferred by `delegate`. If there is
1579
+ * already an approval in place, then this acts additively.
1580
+ *
1581
+ * Emits `ApprovedTransfer` on success.
1582
+ *
1583
+ * Weight: `O(1)`
1584
+ *
1585
+ * @param {StagingXcmV5Location} id
1586
+ * @param {MultiAddressLike} delegate
1587
+ * @param {bigint} amount
1588
+ **/
1589
+ approveTransfer: GenericTxCall<
1590
+ (
1591
+ id: StagingXcmV5Location,
1592
+ delegate: MultiAddressLike,
1593
+ amount: bigint,
1594
+ ) => ChainSubmittableExtrinsic<
1595
+ {
1596
+ pallet: 'Assets';
1597
+ palletCall: {
1598
+ name: 'ApproveTransfer';
1599
+ params: { id: StagingXcmV5Location; delegate: MultiAddressLike; amount: bigint };
1600
+ };
1601
+ },
1602
+ ChainKnownTypes
1603
+ >
1604
+ >;
1605
+
1606
+ /**
1607
+ * Cancel all of some asset approved for delegated transfer by a third-party account.
1608
+ *
1609
+ * Origin must be Signed and there must be an approval in place between signer and
1610
+ * `delegate`.
1611
+ *
1612
+ * Unreserves any deposit previously reserved by `approve_transfer` for the approval.
1613
+ *
1614
+ * - `id`: The identifier of the asset.
1615
+ * - `delegate`: The account delegated permission to transfer asset.
1616
+ *
1617
+ * Emits `ApprovalCancelled` on success.
1618
+ *
1619
+ * Weight: `O(1)`
1620
+ *
1621
+ * @param {StagingXcmV5Location} id
1622
+ * @param {MultiAddressLike} delegate
1623
+ **/
1624
+ cancelApproval: GenericTxCall<
1625
+ (
1626
+ id: StagingXcmV5Location,
1627
+ delegate: MultiAddressLike,
1628
+ ) => ChainSubmittableExtrinsic<
1629
+ {
1630
+ pallet: 'Assets';
1631
+ palletCall: {
1632
+ name: 'CancelApproval';
1633
+ params: { id: StagingXcmV5Location; delegate: MultiAddressLike };
1634
+ };
1635
+ },
1636
+ ChainKnownTypes
1637
+ >
1638
+ >;
1639
+
1640
+ /**
1641
+ * Cancel all of some asset approved for delegated transfer by a third-party account.
1642
+ *
1643
+ * Origin must be either ForceOrigin or Signed origin with the signer being the Admin
1644
+ * account of the asset `id`.
1645
+ *
1646
+ * Unreserves any deposit previously reserved by `approve_transfer` for the approval.
1647
+ *
1648
+ * - `id`: The identifier of the asset.
1649
+ * - `delegate`: The account delegated permission to transfer asset.
1650
+ *
1651
+ * Emits `ApprovalCancelled` on success.
1652
+ *
1653
+ * Weight: `O(1)`
1654
+ *
1655
+ * @param {StagingXcmV5Location} id
1656
+ * @param {MultiAddressLike} owner
1657
+ * @param {MultiAddressLike} delegate
1658
+ **/
1659
+ forceCancelApproval: GenericTxCall<
1660
+ (
1661
+ id: StagingXcmV5Location,
1662
+ owner: MultiAddressLike,
1663
+ delegate: MultiAddressLike,
1664
+ ) => ChainSubmittableExtrinsic<
1665
+ {
1666
+ pallet: 'Assets';
1667
+ palletCall: {
1668
+ name: 'ForceCancelApproval';
1669
+ params: { id: StagingXcmV5Location; owner: MultiAddressLike; delegate: MultiAddressLike };
1670
+ };
1671
+ },
1672
+ ChainKnownTypes
1673
+ >
1674
+ >;
1675
+
1676
+ /**
1677
+ * Transfer some asset balance from a previously delegated account to some third-party
1678
+ * account.
1679
+ *
1680
+ * Origin must be Signed and there must be an approval in place by the `owner` to the
1681
+ * signer.
1682
+ *
1683
+ * If the entire amount approved for transfer is transferred, then any deposit previously
1684
+ * reserved by `approve_transfer` is unreserved.
1685
+ *
1686
+ * - `id`: The identifier of the asset.
1687
+ * - `owner`: The account which previously approved for a transfer of at least `amount` and
1688
+ * from which the asset balance will be withdrawn.
1689
+ * - `destination`: The account to which the asset balance of `amount` will be transferred.
1690
+ * - `amount`: The amount of assets to transfer.
1691
+ *
1692
+ * Emits `TransferredApproved` on success.
1693
+ *
1694
+ * Weight: `O(1)`
1695
+ *
1696
+ * @param {StagingXcmV5Location} id
1697
+ * @param {MultiAddressLike} owner
1698
+ * @param {MultiAddressLike} destination
1699
+ * @param {bigint} amount
1700
+ **/
1701
+ transferApproved: GenericTxCall<
1702
+ (
1703
+ id: StagingXcmV5Location,
1704
+ owner: MultiAddressLike,
1705
+ destination: MultiAddressLike,
1706
+ amount: bigint,
1707
+ ) => ChainSubmittableExtrinsic<
1708
+ {
1709
+ pallet: 'Assets';
1710
+ palletCall: {
1711
+ name: 'TransferApproved';
1712
+ params: {
1713
+ id: StagingXcmV5Location;
1714
+ owner: MultiAddressLike;
1715
+ destination: MultiAddressLike;
1716
+ amount: bigint;
1717
+ };
1718
+ };
1719
+ },
1720
+ ChainKnownTypes
1721
+ >
1722
+ >;
1723
+
1724
+ /**
1725
+ * Create an asset account for non-provider assets.
1726
+ *
1727
+ * A deposit will be taken from the signer account.
1728
+ *
1729
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
1730
+ * to be taken.
1731
+ * - `id`: The identifier of the asset for the account to be created.
1732
+ *
1733
+ * Emits `Touched` event when successful.
1734
+ *
1735
+ * @param {StagingXcmV5Location} id
1736
+ **/
1737
+ touch: GenericTxCall<
1738
+ (id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
1739
+ {
1740
+ pallet: 'Assets';
1741
+ palletCall: {
1742
+ name: 'Touch';
1743
+ params: { id: StagingXcmV5Location };
1744
+ };
1745
+ },
1746
+ ChainKnownTypes
1747
+ >
1748
+ >;
1749
+
1750
+ /**
1751
+ * Return the deposit (if any) of an asset account or a consumer reference (if any) of an
1752
+ * account.
1753
+ *
1754
+ * The origin must be Signed.
1755
+ *
1756
+ * - `id`: The identifier of the asset for which the caller would like the deposit
1757
+ * refunded.
1758
+ * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
1759
+ *
1760
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
1761
+ * the asset account contains holds or freezes in place.
1762
+ *
1763
+ * Emits `Refunded` event when successful.
1764
+ *
1765
+ * @param {StagingXcmV5Location} id
1766
+ * @param {boolean} allowBurn
1767
+ **/
1768
+ refund: GenericTxCall<
1769
+ (
1770
+ id: StagingXcmV5Location,
1771
+ allowBurn: boolean,
1772
+ ) => ChainSubmittableExtrinsic<
1773
+ {
1774
+ pallet: 'Assets';
1775
+ palletCall: {
1776
+ name: 'Refund';
1777
+ params: { id: StagingXcmV5Location; allowBurn: boolean };
1778
+ };
1779
+ },
1780
+ ChainKnownTypes
1781
+ >
1782
+ >;
1783
+
1784
+ /**
1785
+ * Sets the minimum balance of an asset.
1786
+ *
1787
+ * Only works if there aren't any accounts that are holding the asset or if
1788
+ * the new value of `min_balance` is less than the old one.
1789
+ *
1790
+ * Origin must be Signed and the sender has to be the Owner of the
1791
+ * asset `id`.
1792
+ *
1793
+ * - `id`: The identifier of the asset.
1794
+ * - `min_balance`: The new value of `min_balance`.
1795
+ *
1796
+ * Emits `AssetMinBalanceChanged` event when successful.
1797
+ *
1798
+ * @param {StagingXcmV5Location} id
1799
+ * @param {bigint} minBalance
1800
+ **/
1801
+ setMinBalance: GenericTxCall<
1802
+ (
1803
+ id: StagingXcmV5Location,
1804
+ minBalance: bigint,
1805
+ ) => ChainSubmittableExtrinsic<
1806
+ {
1807
+ pallet: 'Assets';
1808
+ palletCall: {
1809
+ name: 'SetMinBalance';
1810
+ params: { id: StagingXcmV5Location; minBalance: bigint };
1811
+ };
1812
+ },
1813
+ ChainKnownTypes
1814
+ >
1815
+ >;
1816
+
1817
+ /**
1818
+ * Create an asset account for `who`.
1819
+ *
1820
+ * A deposit will be taken from the signer account.
1821
+ *
1822
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
1823
+ * to be taken.
1824
+ * - `id`: The identifier of the asset for the account to be created, the asset status must
1825
+ * be live.
1826
+ * - `who`: The account to be created.
1827
+ *
1828
+ * Emits `Touched` event when successful.
1829
+ *
1830
+ * @param {StagingXcmV5Location} id
1831
+ * @param {MultiAddressLike} who
1832
+ **/
1833
+ touchOther: GenericTxCall<
1834
+ (
1835
+ id: StagingXcmV5Location,
1836
+ who: MultiAddressLike,
1837
+ ) => ChainSubmittableExtrinsic<
1838
+ {
1839
+ pallet: 'Assets';
1840
+ palletCall: {
1841
+ name: 'TouchOther';
1842
+ params: { id: StagingXcmV5Location; who: MultiAddressLike };
1843
+ };
1844
+ },
1845
+ ChainKnownTypes
1846
+ >
1847
+ >;
1848
+
1849
+ /**
1850
+ * Return the deposit (if any) of a target asset account. Useful if you are the depositor.
1851
+ *
1852
+ * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In
1853
+ * order to burn a non-zero balance of the asset, the caller must be the account and should
1854
+ * use `refund`.
1855
+ *
1856
+ * - `id`: The identifier of the asset for the account holding a deposit.
1857
+ * - `who`: The account to refund.
1858
+ *
1859
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
1860
+ * the asset account contains holds or freezes in place.
1861
+ *
1862
+ * Emits `Refunded` event when successful.
1863
+ *
1864
+ * @param {StagingXcmV5Location} id
1865
+ * @param {MultiAddressLike} who
1866
+ **/
1867
+ refundOther: GenericTxCall<
1868
+ (
1869
+ id: StagingXcmV5Location,
1870
+ who: MultiAddressLike,
1871
+ ) => ChainSubmittableExtrinsic<
1872
+ {
1873
+ pallet: 'Assets';
1874
+ palletCall: {
1875
+ name: 'RefundOther';
1876
+ params: { id: StagingXcmV5Location; who: MultiAddressLike };
1877
+ };
1878
+ },
1879
+ ChainKnownTypes
1880
+ >
1881
+ >;
1882
+
1883
+ /**
1884
+ * Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
1885
+ *
1886
+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
1887
+ *
1888
+ * - `id`: The identifier of the account's asset.
1889
+ * - `who`: The account to be unblocked.
1890
+ *
1891
+ * Emits `Blocked`.
1892
+ *
1893
+ * Weight: `O(1)`
1894
+ *
1895
+ * @param {StagingXcmV5Location} id
1896
+ * @param {MultiAddressLike} who
1897
+ **/
1898
+ block: GenericTxCall<
1899
+ (
1900
+ id: StagingXcmV5Location,
1901
+ who: MultiAddressLike,
1902
+ ) => ChainSubmittableExtrinsic<
1903
+ {
1904
+ pallet: 'Assets';
1905
+ palletCall: {
1906
+ name: 'Block';
1907
+ params: { id: StagingXcmV5Location; who: MultiAddressLike };
1908
+ };
1909
+ },
1910
+ ChainKnownTypes
1911
+ >
1912
+ >;
1913
+
1914
+ /**
1915
+ * Transfer the entire transferable balance from the caller asset account.
1916
+ *
1917
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
1918
+ * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
1919
+ * transferred by this function. To ensure that this function results in a killed account,
1920
+ * you might need to prepare the account by removing any reference counters, storage
1921
+ * deposits, etc...
1922
+ *
1923
+ * The dispatch origin of this call must be Signed.
1924
+ *
1925
+ * - `id`: The identifier of the asset for the account holding a deposit.
1926
+ * - `dest`: The recipient of the transfer.
1927
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
1928
+ * of the funds the asset account has, causing the sender asset account to be killed
1929
+ * (false), or transfer everything except at least the minimum balance, which will
1930
+ * guarantee to keep the sender asset account alive (true).
1931
+ *
1932
+ * @param {StagingXcmV5Location} id
1933
+ * @param {MultiAddressLike} dest
1934
+ * @param {boolean} keepAlive
1935
+ **/
1936
+ transferAll: GenericTxCall<
1937
+ (
1938
+ id: StagingXcmV5Location,
1939
+ dest: MultiAddressLike,
1940
+ keepAlive: boolean,
1941
+ ) => ChainSubmittableExtrinsic<
1942
+ {
1943
+ pallet: 'Assets';
1944
+ palletCall: {
1945
+ name: 'TransferAll';
1946
+ params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean };
1947
+ };
1948
+ },
1949
+ ChainKnownTypes
1950
+ >
1951
+ >;
1952
+
1953
+ /**
1954
+ * Generic pallet tx call
1955
+ **/
1956
+ [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
1957
+ };
1958
+ /**
1959
+ * Pallet `AssetRate`'s transaction calls
1960
+ **/
1961
+ assetRate: {
1962
+ /**
1963
+ * Initialize a conversion rate to native balance for the given asset.
1964
+ *
1965
+ * ## Complexity
1966
+ * - O(1)
1967
+ *
1968
+ * @param {StagingXcmV5Location} assetKind
1969
+ * @param {FixedU128} rate
1970
+ **/
1971
+ create: GenericTxCall<
1972
+ (
1973
+ assetKind: StagingXcmV5Location,
1974
+ rate: FixedU128,
1975
+ ) => ChainSubmittableExtrinsic<
1976
+ {
1977
+ pallet: 'AssetRate';
1978
+ palletCall: {
1979
+ name: 'Create';
1980
+ params: { assetKind: StagingXcmV5Location; rate: FixedU128 };
1981
+ };
1982
+ },
1983
+ ChainKnownTypes
1984
+ >
1985
+ >;
1986
+
1987
+ /**
1988
+ * Update the conversion rate to native balance for the given asset.
1989
+ *
1990
+ * ## Complexity
1991
+ * - O(1)
1992
+ *
1993
+ * @param {StagingXcmV5Location} assetKind
1994
+ * @param {FixedU128} rate
1995
+ **/
1996
+ update: GenericTxCall<
1997
+ (
1998
+ assetKind: StagingXcmV5Location,
1999
+ rate: FixedU128,
2000
+ ) => ChainSubmittableExtrinsic<
2001
+ {
2002
+ pallet: 'AssetRate';
2003
+ palletCall: {
2004
+ name: 'Update';
2005
+ params: { assetKind: StagingXcmV5Location; rate: FixedU128 };
2006
+ };
2007
+ },
2008
+ ChainKnownTypes
2009
+ >
2010
+ >;
2011
+
2012
+ /**
2013
+ * Remove an existing conversion rate to native balance for the given asset.
2014
+ *
2015
+ * ## Complexity
2016
+ * - O(1)
2017
+ *
2018
+ * @param {StagingXcmV5Location} assetKind
2019
+ **/
2020
+ remove: GenericTxCall<
2021
+ (assetKind: StagingXcmV5Location) => ChainSubmittableExtrinsic<
2022
+ {
2023
+ pallet: 'AssetRate';
2024
+ palletCall: {
2025
+ name: 'Remove';
2026
+ params: { assetKind: StagingXcmV5Location };
2027
+ };
2028
+ },
2029
+ ChainKnownTypes
2030
+ >
2031
+ >;
2032
+
2033
+ /**
2034
+ * Generic pallet tx call
2035
+ **/
2036
+ [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
2037
+ };
754
2038
  /**
755
2039
  * Pallet `CollatorSelection`'s transaction calls
756
2040
  **/