@paraspell/descriptors 14.2.2 → 14.3.3
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/dist/ahp.d.ts +42 -18
- package/dist/ahp_metadata-zM1M2eiK.js +3 -0
- package/dist/bridgeHub.d.ts +29 -5
- package/dist/{bridgeHub_metadata-Li64-Pg1.js → bridgeHub_metadata-DyoXb_6R.js} +1 -1
- package/dist/common-types.d.ts +684 -2841
- package/dist/{descriptors-C7Rb0-iv.js → descriptors-BMv8Bnq1.js} +2 -3
- package/dist/descriptors.d.ts +0 -1
- package/dist/hydration.d.ts +40 -16
- package/dist/hydration_metadata-rFt-tc1Z.js +3 -0
- package/dist/index.d.ts +2 -6
- package/dist/index.js +23 -35
- package/dist/metadataTypes-BmVg3p7_.js +3 -0
- package/dist/metadataTypes.d.ts +1 -1
- package/package.json +3 -3
- package/dist/ahp_metadata-CN_MTTeF.js +0 -3
- package/dist/hydration_metadata-0UTkhPaM.js +0 -3
- package/dist/metadataTypes-uOlhw_Gc.js +0 -3
- package/dist/moonbeam.d.ts +0 -305
- package/dist/moonbeam_metadata-BYLNx4wH.js +0 -3
- package/dist/moonbeam_metadata.d.ts +0 -2
package/dist/common-types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Enum, GetEnum, SizedHex, FixedSizeArray, TxCallData, SS58String, ResultPayload
|
|
1
|
+
import { Enum, GetEnum, SizedHex, FixedSizeArray, TxCallData, SS58String, ResultPayload } from "polkadot-api";
|
|
2
2
|
type AnonymousEnum<T extends {}> = T & {
|
|
3
3
|
__anonymous: true;
|
|
4
4
|
};
|
|
@@ -1186,7 +1186,7 @@ export type I35p85j063s0il = (bigint) | undefined;
|
|
|
1186
1186
|
export type Ie1uso9m8rt5cf = {
|
|
1187
1187
|
"aliaser": XcmVersionedLocation;
|
|
1188
1188
|
};
|
|
1189
|
-
export type
|
|
1189
|
+
export type Icavsc9euq31jd = AnonymousEnum<{
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Send a batch of dispatch calls.
|
|
1192
1192
|
*
|
|
@@ -1207,7 +1207,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1207
1207
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
1208
1208
|
* event is deposited.
|
|
1209
1209
|
*/
|
|
1210
|
-
"batch": Anonymize<
|
|
1210
|
+
"batch": Anonymize<Idrv9sn94spntn>;
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Send a call through an indexed pseudonym of the sender.
|
|
1213
1213
|
*
|
|
@@ -1223,7 +1223,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1223
1223
|
*
|
|
1224
1224
|
* The dispatch origin for this call must be _Signed_.
|
|
1225
1225
|
*/
|
|
1226
|
-
"as_derivative": Anonymize<
|
|
1226
|
+
"as_derivative": Anonymize<I66celthih5oio>;
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Send a batch of dispatch calls and atomically execute them.
|
|
1229
1229
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -1239,7 +1239,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1239
1239
|
* ## Complexity
|
|
1240
1240
|
* - O(C) where C is the number of calls to be batched.
|
|
1241
1241
|
*/
|
|
1242
|
-
"batch_all": Anonymize<
|
|
1242
|
+
"batch_all": Anonymize<Idrv9sn94spntn>;
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Dispatches a function call with a provided origin.
|
|
1245
1245
|
*
|
|
@@ -1248,7 +1248,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1248
1248
|
* ## Complexity
|
|
1249
1249
|
* - O(1).
|
|
1250
1250
|
*/
|
|
1251
|
-
"dispatch_as": Anonymize<
|
|
1251
|
+
"dispatch_as": Anonymize<I6h467t3h9mu0r>;
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Send a batch of dispatch calls.
|
|
1254
1254
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -1264,7 +1264,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1264
1264
|
* ## Complexity
|
|
1265
1265
|
* - O(C) where C is the number of calls to be batched.
|
|
1266
1266
|
*/
|
|
1267
|
-
"force_batch": Anonymize<
|
|
1267
|
+
"force_batch": Anonymize<Idrv9sn94spntn>;
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Dispatch a function call with a specified weight.
|
|
1270
1270
|
*
|
|
@@ -1273,7 +1273,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1273
1273
|
*
|
|
1274
1274
|
* The dispatch origin for this call must be _Root_.
|
|
1275
1275
|
*/
|
|
1276
|
-
"with_weight": Anonymize<
|
|
1276
|
+
"with_weight": Anonymize<Iaoqe81db6mqng>;
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
1279
1279
|
* May be called from any origin except `None`.
|
|
@@ -1299,7 +1299,7 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1299
1299
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
1300
1300
|
* or both.
|
|
1301
1301
|
*/
|
|
1302
|
-
"if_else": Anonymize<
|
|
1302
|
+
"if_else": Anonymize<Ie9o86shcq0ome>;
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Dispatches a function call with a provided origin.
|
|
1305
1305
|
*
|
|
@@ -1307,16 +1307,16 @@ export type Ifditmtvua4i5n = AnonymousEnum<{
|
|
|
1307
1307
|
*
|
|
1308
1308
|
* The dispatch origin for this call must be _Root_.
|
|
1309
1309
|
*/
|
|
1310
|
-
"dispatch_as_fallible": Anonymize<
|
|
1310
|
+
"dispatch_as_fallible": Anonymize<I6h467t3h9mu0r>;
|
|
1311
1311
|
}>;
|
|
1312
|
-
export type
|
|
1312
|
+
export type Idrv9sn94spntn = {
|
|
1313
1313
|
"calls": Array<TxCallData>;
|
|
1314
1314
|
};
|
|
1315
|
-
export type
|
|
1315
|
+
export type I66celthih5oio = {
|
|
1316
1316
|
"index": number;
|
|
1317
1317
|
"call": TxCallData;
|
|
1318
1318
|
};
|
|
1319
|
-
export type
|
|
1319
|
+
export type I6h467t3h9mu0r = {
|
|
1320
1320
|
"as_origin": Anonymize<I7qpv90droestd>;
|
|
1321
1321
|
"call": TxCallData;
|
|
1322
1322
|
};
|
|
@@ -1361,11 +1361,11 @@ export type GovernanceOrigin = Enum<{
|
|
|
1361
1361
|
"WishForChange": undefined;
|
|
1362
1362
|
}>;
|
|
1363
1363
|
export declare const GovernanceOrigin: GetEnum<GovernanceOrigin>;
|
|
1364
|
-
export type
|
|
1364
|
+
export type Iaoqe81db6mqng = {
|
|
1365
1365
|
"call": TxCallData;
|
|
1366
1366
|
"weight": Anonymize<I4q39t5hn830vp>;
|
|
1367
1367
|
};
|
|
1368
|
-
export type
|
|
1368
|
+
export type Ie9o86shcq0ome = {
|
|
1369
1369
|
"main": TxCallData;
|
|
1370
1370
|
"fallback": TxCallData;
|
|
1371
1371
|
};
|
|
@@ -3807,7 +3807,7 @@ export type Iavct6f844hfju = AnonymousEnum<{
|
|
|
3807
3807
|
export type Ic0c3req3mlc1l = ResultPayload<Anonymize<I4q39t5hn830vp>, Anonymize<Iavct6f844hfju>>;
|
|
3808
3808
|
export type I7ocn4njqde3v5 = ResultPayload<bigint, Anonymize<Iavct6f844hfju>>;
|
|
3809
3809
|
export type Iek7ha36da9mf5 = ResultPayload<XcmVersionedAssets, Anonymize<Iavct6f844hfju>>;
|
|
3810
|
-
export type
|
|
3810
|
+
export type I2nhpa757v7jk9 = AnonymousEnum<{
|
|
3811
3811
|
"System": Enum<{
|
|
3812
3812
|
/**
|
|
3813
3813
|
* Make some on-chain remark.
|
|
@@ -3994,7 +3994,7 @@ export type I785ek4pgn6k35 = AnonymousEnum<{
|
|
|
3994
3994
|
"MinerPages": Anonymize<Idqsmalvqe2q98>;
|
|
3995
3995
|
"MaxElectingVoters": Anonymize<Idqsmalvqe2q98>;
|
|
3996
3996
|
"TargetSnapshotPerBlock": Anonymize<Idqsmalvqe2q98>;
|
|
3997
|
-
"MaxEraDuration": Anonymize<
|
|
3997
|
+
"MaxEraDuration": FixedSizeArray<1, Anonymize<I35p85j063s0il>>;
|
|
3998
3998
|
}>;
|
|
3999
3999
|
"Scheduler": Enum<{
|
|
4000
4000
|
"MaxScheduledPerBlock": Anonymize<Idqsmalvqe2q98>;
|
|
@@ -4290,7 +4290,7 @@ export type I785ek4pgn6k35 = AnonymousEnum<{
|
|
|
4290
4290
|
"asset": Anonymize<Iffh1nc5e1mod6>;
|
|
4291
4291
|
};
|
|
4292
4292
|
}>;
|
|
4293
|
-
"Utility": Anonymize<
|
|
4293
|
+
"Utility": Anonymize<Icavsc9euq31jd>;
|
|
4294
4294
|
"Multisig": Enum<{
|
|
4295
4295
|
/**
|
|
4296
4296
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
@@ -8432,7 +8432,7 @@ export type I785ek4pgn6k35 = AnonymousEnum<{
|
|
|
8432
8432
|
"whitelist_call": Anonymize<I1adbcfi5uc62r>;
|
|
8433
8433
|
"remove_whitelisted_call": Anonymize<I1adbcfi5uc62r>;
|
|
8434
8434
|
"dispatch_whitelisted_call": Anonymize<Ibf6ucefn8fh49>;
|
|
8435
|
-
"dispatch_whitelisted_call_with_preimage": Anonymize<
|
|
8435
|
+
"dispatch_whitelisted_call_with_preimage": Anonymize<I2ntlmm4bbil8d>;
|
|
8436
8436
|
}>;
|
|
8437
8437
|
"Bounties": Enum<{
|
|
8438
8438
|
/**
|
|
@@ -9080,6 +9080,42 @@ export type I785ek4pgn6k35 = AnonymousEnum<{
|
|
|
9080
9080
|
"parent_bounty_id": number;
|
|
9081
9081
|
"child_bounty_id"?: Anonymize<I4arjljr6dpflb>;
|
|
9082
9082
|
};
|
|
9083
|
+
/**
|
|
9084
|
+
* Increase the value of an active bounty by `amount`.
|
|
9085
|
+
*
|
|
9086
|
+
* ## Dispatch Origin
|
|
9087
|
+
*
|
|
9088
|
+
* Must be signed by the bounty curator.
|
|
9089
|
+
*
|
|
9090
|
+
* ## Details
|
|
9091
|
+
*
|
|
9092
|
+
* - The bounty must be in the `Active` state.
|
|
9093
|
+
* - Raises the recorded `value` by `amount`. This is used to register funds that were
|
|
9094
|
+
* transferred into the bounty account out-of-band (e.g. recurring external top-ups), so
|
|
9095
|
+
* they become available to award or to allocate to child bounties. It must be greater
|
|
9096
|
+
* than 0.
|
|
9097
|
+
* - The curator deposit is re-evaluated for the new value and any additional deposit is
|
|
9098
|
+
* collected from the curator.
|
|
9099
|
+
* - The value can only be increased, never decreased, so the invariant that the sum of
|
|
9100
|
+
* child-bounty values never exceeds the parent value is preserved.
|
|
9101
|
+
* - This call does **not** check that the bounty account holds `new_value`; it only
|
|
9102
|
+
* updates the recorded value. Payouts stay bounded by the account's real balance at
|
|
9103
|
+
* settlement, so increasing the value beyond the available funds simply makes a later
|
|
9104
|
+
* payout fail — no funds are moved by this call.
|
|
9105
|
+
* - Only a parent bounty's value can be increased via this call.
|
|
9106
|
+
*
|
|
9107
|
+
* ### Parameters
|
|
9108
|
+
* - `parent_bounty_id`: Index of the bounty whose value is increased.
|
|
9109
|
+
* - `amount`: The amount to add to the bounty value.
|
|
9110
|
+
*
|
|
9111
|
+
* ## Events
|
|
9112
|
+
*
|
|
9113
|
+
* Emits [`Event::BountyValueIncreased`] if successful.
|
|
9114
|
+
*/
|
|
9115
|
+
"increase_value": {
|
|
9116
|
+
"parent_bounty_id": number;
|
|
9117
|
+
"amount": bigint;
|
|
9118
|
+
};
|
|
9083
9119
|
}>;
|
|
9084
9120
|
"StateTrieMigration": Anonymize<I39l72gdmkk30t>;
|
|
9085
9121
|
"NominationPools": Enum<{
|
|
@@ -10484,7 +10520,7 @@ export type I785ek4pgn6k35 = AnonymousEnum<{
|
|
|
10484
10520
|
* is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
|
|
10485
10521
|
* recovery function in case an `AccountId20` was used without creating a mapping first.
|
|
10486
10522
|
*/
|
|
10487
|
-
"dispatch_as_fallback_account": Anonymize<
|
|
10523
|
+
"dispatch_as_fallback_account": Anonymize<I2ntlmm4bbil8d>;
|
|
10488
10524
|
}>;
|
|
10489
10525
|
"AhOps": Enum<{
|
|
10490
10526
|
/**
|
|
@@ -10748,7 +10784,6 @@ export type I467333262q1l9 = {
|
|
|
10748
10784
|
"task": Anonymize<I9jd27rnpm8ttv>;
|
|
10749
10785
|
};
|
|
10750
10786
|
export type Idqsmalvqe2q98 = FixedSizeArray<1, Anonymize<I4arjljr6dpflb>>;
|
|
10751
|
-
export type Ia023ofm66k1pj = FixedSizeArray<1, Anonymize<I35p85j063s0il>>;
|
|
10752
10787
|
export type I4oqb168b2d4er = AnonymousEnum<{
|
|
10753
10788
|
/**
|
|
10754
10789
|
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
@@ -11455,7 +11490,7 @@ export type Ibf6ucefn8fh49 = {
|
|
|
11455
11490
|
"call_encoded_len": number;
|
|
11456
11491
|
"call_weight_witness": Anonymize<I4q39t5hn830vp>;
|
|
11457
11492
|
};
|
|
11458
|
-
export type
|
|
11493
|
+
export type I2ntlmm4bbil8d = {
|
|
11459
11494
|
"call": TxCallData;
|
|
11460
11495
|
};
|
|
11461
11496
|
export type Ia9p5bg6p18r0i = {
|
|
@@ -11696,9 +11731,9 @@ export type I9gel4bv68gacj = {
|
|
|
11696
11731
|
export type I22bm4d7re21j9 = {
|
|
11697
11732
|
"asset_id": Anonymize<If9iqq7i64mur8>;
|
|
11698
11733
|
};
|
|
11699
|
-
export type
|
|
11734
|
+
export type I7d04odr0ekssi = ResultPayload<{
|
|
11700
11735
|
"execution_result": Anonymize<I8vl1iaqsoibq5>;
|
|
11701
|
-
"emitted_events": Anonymize<
|
|
11736
|
+
"emitted_events": Anonymize<I4irg6h39si3pi>;
|
|
11702
11737
|
"local_xcm"?: (XcmVersionedXcm) | undefined;
|
|
11703
11738
|
"forwarded_xcms": Anonymize<Ialhmrpub9sefe>;
|
|
11704
11739
|
}, Anonymize<I55ku9c5gk50hb>>;
|
|
@@ -11815,7 +11850,7 @@ export type TransactionalError = Enum<{
|
|
|
11815
11850
|
"NoLayer": undefined;
|
|
11816
11851
|
}>;
|
|
11817
11852
|
export declare const TransactionalError: GetEnum<TransactionalError>;
|
|
11818
|
-
export type
|
|
11853
|
+
export type I4irg6h39si3pi = Array<Enum<{
|
|
11819
11854
|
"System": Enum<{
|
|
11820
11855
|
/**
|
|
11821
11856
|
* An extrinsic completed successfully.
|
|
@@ -14661,6 +14696,14 @@ export type I97tc8s1n90sb9 = Array<Enum<{
|
|
|
14661
14696
|
"child_index"?: Anonymize<I4arjljr6dpflb>;
|
|
14662
14697
|
"payment_id": bigint;
|
|
14663
14698
|
};
|
|
14699
|
+
/**
|
|
14700
|
+
* A bounty's value was increased by its curator.
|
|
14701
|
+
*/
|
|
14702
|
+
"BountyValueIncreased": {
|
|
14703
|
+
"index": number;
|
|
14704
|
+
"old_value": bigint;
|
|
14705
|
+
"new_value": bigint;
|
|
14706
|
+
};
|
|
14664
14707
|
}>;
|
|
14665
14708
|
"StateTrieMigration": Enum<{
|
|
14666
14709
|
/**
|
|
@@ -15624,13 +15667,280 @@ export type I55ku9c5gk50hb = AnonymousEnum<{
|
|
|
15624
15667
|
"Unimplemented": undefined;
|
|
15625
15668
|
"VersionedConversionFailed": undefined;
|
|
15626
15669
|
}>;
|
|
15627
|
-
export type
|
|
15670
|
+
export type I2timq2cfgd8gf = ResultPayload<{
|
|
15628
15671
|
"execution_result": Anonymize<Ieqhmksji3pmv5>;
|
|
15629
|
-
"emitted_events": Anonymize<
|
|
15672
|
+
"emitted_events": Anonymize<I4irg6h39si3pi>;
|
|
15630
15673
|
"forwarded_xcms": Anonymize<Ialhmrpub9sefe>;
|
|
15631
15674
|
}, Anonymize<I55ku9c5gk50hb>>;
|
|
15632
15675
|
export type I5vv5n03oo8gas = (Anonymize<I200n1ov5tbcvr>) | undefined;
|
|
15633
15676
|
export type I200n1ov5tbcvr = FixedSizeArray<2, bigint>;
|
|
15677
|
+
export type ExtensionsCheckMortality = Enum<{
|
|
15678
|
+
"Immortal": undefined;
|
|
15679
|
+
"Mortal1": number;
|
|
15680
|
+
"Mortal2": number;
|
|
15681
|
+
"Mortal3": number;
|
|
15682
|
+
"Mortal4": number;
|
|
15683
|
+
"Mortal5": number;
|
|
15684
|
+
"Mortal6": number;
|
|
15685
|
+
"Mortal7": number;
|
|
15686
|
+
"Mortal8": number;
|
|
15687
|
+
"Mortal9": number;
|
|
15688
|
+
"Mortal10": number;
|
|
15689
|
+
"Mortal11": number;
|
|
15690
|
+
"Mortal12": number;
|
|
15691
|
+
"Mortal13": number;
|
|
15692
|
+
"Mortal14": number;
|
|
15693
|
+
"Mortal15": number;
|
|
15694
|
+
"Mortal16": number;
|
|
15695
|
+
"Mortal17": number;
|
|
15696
|
+
"Mortal18": number;
|
|
15697
|
+
"Mortal19": number;
|
|
15698
|
+
"Mortal20": number;
|
|
15699
|
+
"Mortal21": number;
|
|
15700
|
+
"Mortal22": number;
|
|
15701
|
+
"Mortal23": number;
|
|
15702
|
+
"Mortal24": number;
|
|
15703
|
+
"Mortal25": number;
|
|
15704
|
+
"Mortal26": number;
|
|
15705
|
+
"Mortal27": number;
|
|
15706
|
+
"Mortal28": number;
|
|
15707
|
+
"Mortal29": number;
|
|
15708
|
+
"Mortal30": number;
|
|
15709
|
+
"Mortal31": number;
|
|
15710
|
+
"Mortal32": number;
|
|
15711
|
+
"Mortal33": number;
|
|
15712
|
+
"Mortal34": number;
|
|
15713
|
+
"Mortal35": number;
|
|
15714
|
+
"Mortal36": number;
|
|
15715
|
+
"Mortal37": number;
|
|
15716
|
+
"Mortal38": number;
|
|
15717
|
+
"Mortal39": number;
|
|
15718
|
+
"Mortal40": number;
|
|
15719
|
+
"Mortal41": number;
|
|
15720
|
+
"Mortal42": number;
|
|
15721
|
+
"Mortal43": number;
|
|
15722
|
+
"Mortal44": number;
|
|
15723
|
+
"Mortal45": number;
|
|
15724
|
+
"Mortal46": number;
|
|
15725
|
+
"Mortal47": number;
|
|
15726
|
+
"Mortal48": number;
|
|
15727
|
+
"Mortal49": number;
|
|
15728
|
+
"Mortal50": number;
|
|
15729
|
+
"Mortal51": number;
|
|
15730
|
+
"Mortal52": number;
|
|
15731
|
+
"Mortal53": number;
|
|
15732
|
+
"Mortal54": number;
|
|
15733
|
+
"Mortal55": number;
|
|
15734
|
+
"Mortal56": number;
|
|
15735
|
+
"Mortal57": number;
|
|
15736
|
+
"Mortal58": number;
|
|
15737
|
+
"Mortal59": number;
|
|
15738
|
+
"Mortal60": number;
|
|
15739
|
+
"Mortal61": number;
|
|
15740
|
+
"Mortal62": number;
|
|
15741
|
+
"Mortal63": number;
|
|
15742
|
+
"Mortal64": number;
|
|
15743
|
+
"Mortal65": number;
|
|
15744
|
+
"Mortal66": number;
|
|
15745
|
+
"Mortal67": number;
|
|
15746
|
+
"Mortal68": number;
|
|
15747
|
+
"Mortal69": number;
|
|
15748
|
+
"Mortal70": number;
|
|
15749
|
+
"Mortal71": number;
|
|
15750
|
+
"Mortal72": number;
|
|
15751
|
+
"Mortal73": number;
|
|
15752
|
+
"Mortal74": number;
|
|
15753
|
+
"Mortal75": number;
|
|
15754
|
+
"Mortal76": number;
|
|
15755
|
+
"Mortal77": number;
|
|
15756
|
+
"Mortal78": number;
|
|
15757
|
+
"Mortal79": number;
|
|
15758
|
+
"Mortal80": number;
|
|
15759
|
+
"Mortal81": number;
|
|
15760
|
+
"Mortal82": number;
|
|
15761
|
+
"Mortal83": number;
|
|
15762
|
+
"Mortal84": number;
|
|
15763
|
+
"Mortal85": number;
|
|
15764
|
+
"Mortal86": number;
|
|
15765
|
+
"Mortal87": number;
|
|
15766
|
+
"Mortal88": number;
|
|
15767
|
+
"Mortal89": number;
|
|
15768
|
+
"Mortal90": number;
|
|
15769
|
+
"Mortal91": number;
|
|
15770
|
+
"Mortal92": number;
|
|
15771
|
+
"Mortal93": number;
|
|
15772
|
+
"Mortal94": number;
|
|
15773
|
+
"Mortal95": number;
|
|
15774
|
+
"Mortal96": number;
|
|
15775
|
+
"Mortal97": number;
|
|
15776
|
+
"Mortal98": number;
|
|
15777
|
+
"Mortal99": number;
|
|
15778
|
+
"Mortal100": number;
|
|
15779
|
+
"Mortal101": number;
|
|
15780
|
+
"Mortal102": number;
|
|
15781
|
+
"Mortal103": number;
|
|
15782
|
+
"Mortal104": number;
|
|
15783
|
+
"Mortal105": number;
|
|
15784
|
+
"Mortal106": number;
|
|
15785
|
+
"Mortal107": number;
|
|
15786
|
+
"Mortal108": number;
|
|
15787
|
+
"Mortal109": number;
|
|
15788
|
+
"Mortal110": number;
|
|
15789
|
+
"Mortal111": number;
|
|
15790
|
+
"Mortal112": number;
|
|
15791
|
+
"Mortal113": number;
|
|
15792
|
+
"Mortal114": number;
|
|
15793
|
+
"Mortal115": number;
|
|
15794
|
+
"Mortal116": number;
|
|
15795
|
+
"Mortal117": number;
|
|
15796
|
+
"Mortal118": number;
|
|
15797
|
+
"Mortal119": number;
|
|
15798
|
+
"Mortal120": number;
|
|
15799
|
+
"Mortal121": number;
|
|
15800
|
+
"Mortal122": number;
|
|
15801
|
+
"Mortal123": number;
|
|
15802
|
+
"Mortal124": number;
|
|
15803
|
+
"Mortal125": number;
|
|
15804
|
+
"Mortal126": number;
|
|
15805
|
+
"Mortal127": number;
|
|
15806
|
+
"Mortal128": number;
|
|
15807
|
+
"Mortal129": number;
|
|
15808
|
+
"Mortal130": number;
|
|
15809
|
+
"Mortal131": number;
|
|
15810
|
+
"Mortal132": number;
|
|
15811
|
+
"Mortal133": number;
|
|
15812
|
+
"Mortal134": number;
|
|
15813
|
+
"Mortal135": number;
|
|
15814
|
+
"Mortal136": number;
|
|
15815
|
+
"Mortal137": number;
|
|
15816
|
+
"Mortal138": number;
|
|
15817
|
+
"Mortal139": number;
|
|
15818
|
+
"Mortal140": number;
|
|
15819
|
+
"Mortal141": number;
|
|
15820
|
+
"Mortal142": number;
|
|
15821
|
+
"Mortal143": number;
|
|
15822
|
+
"Mortal144": number;
|
|
15823
|
+
"Mortal145": number;
|
|
15824
|
+
"Mortal146": number;
|
|
15825
|
+
"Mortal147": number;
|
|
15826
|
+
"Mortal148": number;
|
|
15827
|
+
"Mortal149": number;
|
|
15828
|
+
"Mortal150": number;
|
|
15829
|
+
"Mortal151": number;
|
|
15830
|
+
"Mortal152": number;
|
|
15831
|
+
"Mortal153": number;
|
|
15832
|
+
"Mortal154": number;
|
|
15833
|
+
"Mortal155": number;
|
|
15834
|
+
"Mortal156": number;
|
|
15835
|
+
"Mortal157": number;
|
|
15836
|
+
"Mortal158": number;
|
|
15837
|
+
"Mortal159": number;
|
|
15838
|
+
"Mortal160": number;
|
|
15839
|
+
"Mortal161": number;
|
|
15840
|
+
"Mortal162": number;
|
|
15841
|
+
"Mortal163": number;
|
|
15842
|
+
"Mortal164": number;
|
|
15843
|
+
"Mortal165": number;
|
|
15844
|
+
"Mortal166": number;
|
|
15845
|
+
"Mortal167": number;
|
|
15846
|
+
"Mortal168": number;
|
|
15847
|
+
"Mortal169": number;
|
|
15848
|
+
"Mortal170": number;
|
|
15849
|
+
"Mortal171": number;
|
|
15850
|
+
"Mortal172": number;
|
|
15851
|
+
"Mortal173": number;
|
|
15852
|
+
"Mortal174": number;
|
|
15853
|
+
"Mortal175": number;
|
|
15854
|
+
"Mortal176": number;
|
|
15855
|
+
"Mortal177": number;
|
|
15856
|
+
"Mortal178": number;
|
|
15857
|
+
"Mortal179": number;
|
|
15858
|
+
"Mortal180": number;
|
|
15859
|
+
"Mortal181": number;
|
|
15860
|
+
"Mortal182": number;
|
|
15861
|
+
"Mortal183": number;
|
|
15862
|
+
"Mortal184": number;
|
|
15863
|
+
"Mortal185": number;
|
|
15864
|
+
"Mortal186": number;
|
|
15865
|
+
"Mortal187": number;
|
|
15866
|
+
"Mortal188": number;
|
|
15867
|
+
"Mortal189": number;
|
|
15868
|
+
"Mortal190": number;
|
|
15869
|
+
"Mortal191": number;
|
|
15870
|
+
"Mortal192": number;
|
|
15871
|
+
"Mortal193": number;
|
|
15872
|
+
"Mortal194": number;
|
|
15873
|
+
"Mortal195": number;
|
|
15874
|
+
"Mortal196": number;
|
|
15875
|
+
"Mortal197": number;
|
|
15876
|
+
"Mortal198": number;
|
|
15877
|
+
"Mortal199": number;
|
|
15878
|
+
"Mortal200": number;
|
|
15879
|
+
"Mortal201": number;
|
|
15880
|
+
"Mortal202": number;
|
|
15881
|
+
"Mortal203": number;
|
|
15882
|
+
"Mortal204": number;
|
|
15883
|
+
"Mortal205": number;
|
|
15884
|
+
"Mortal206": number;
|
|
15885
|
+
"Mortal207": number;
|
|
15886
|
+
"Mortal208": number;
|
|
15887
|
+
"Mortal209": number;
|
|
15888
|
+
"Mortal210": number;
|
|
15889
|
+
"Mortal211": number;
|
|
15890
|
+
"Mortal212": number;
|
|
15891
|
+
"Mortal213": number;
|
|
15892
|
+
"Mortal214": number;
|
|
15893
|
+
"Mortal215": number;
|
|
15894
|
+
"Mortal216": number;
|
|
15895
|
+
"Mortal217": number;
|
|
15896
|
+
"Mortal218": number;
|
|
15897
|
+
"Mortal219": number;
|
|
15898
|
+
"Mortal220": number;
|
|
15899
|
+
"Mortal221": number;
|
|
15900
|
+
"Mortal222": number;
|
|
15901
|
+
"Mortal223": number;
|
|
15902
|
+
"Mortal224": number;
|
|
15903
|
+
"Mortal225": number;
|
|
15904
|
+
"Mortal226": number;
|
|
15905
|
+
"Mortal227": number;
|
|
15906
|
+
"Mortal228": number;
|
|
15907
|
+
"Mortal229": number;
|
|
15908
|
+
"Mortal230": number;
|
|
15909
|
+
"Mortal231": number;
|
|
15910
|
+
"Mortal232": number;
|
|
15911
|
+
"Mortal233": number;
|
|
15912
|
+
"Mortal234": number;
|
|
15913
|
+
"Mortal235": number;
|
|
15914
|
+
"Mortal236": number;
|
|
15915
|
+
"Mortal237": number;
|
|
15916
|
+
"Mortal238": number;
|
|
15917
|
+
"Mortal239": number;
|
|
15918
|
+
"Mortal240": number;
|
|
15919
|
+
"Mortal241": number;
|
|
15920
|
+
"Mortal242": number;
|
|
15921
|
+
"Mortal243": number;
|
|
15922
|
+
"Mortal244": number;
|
|
15923
|
+
"Mortal245": number;
|
|
15924
|
+
"Mortal246": number;
|
|
15925
|
+
"Mortal247": number;
|
|
15926
|
+
"Mortal248": number;
|
|
15927
|
+
"Mortal249": number;
|
|
15928
|
+
"Mortal250": number;
|
|
15929
|
+
"Mortal251": number;
|
|
15930
|
+
"Mortal252": number;
|
|
15931
|
+
"Mortal253": number;
|
|
15932
|
+
"Mortal254": number;
|
|
15933
|
+
"Mortal255": number;
|
|
15934
|
+
}>;
|
|
15935
|
+
export declare const ExtensionsCheckMortality: GetEnum<ExtensionsCheckMortality>;
|
|
15936
|
+
export type I182pt4kr56mhn = {
|
|
15937
|
+
"tip": bigint;
|
|
15938
|
+
"asset_id"?: Anonymize<I4pai6qnfk426l>;
|
|
15939
|
+
};
|
|
15940
|
+
export type I87rnrnks7g0hm = AnonymousEnum<{
|
|
15941
|
+
"Disabled": undefined;
|
|
15942
|
+
"Enabled": undefined;
|
|
15943
|
+
}>;
|
|
15634
15944
|
export type I88k319klqj4fv = AnonymousEnum<{
|
|
15635
15945
|
"System": Anonymize<Iekve0i6djpd9f>;
|
|
15636
15946
|
"ParachainSystem": Anonymize<I3u72uvpuo4qrt>;
|
|
@@ -16166,7 +16476,10 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16166
16476
|
* `submit_finality_proof_ex` instead. Semantically, this call is an equivalent of the
|
|
16167
16477
|
* `submit_finality_proof_ex` call without current authority set id check.
|
|
16168
16478
|
*/
|
|
16169
|
-
"submit_finality_proof":
|
|
16479
|
+
"submit_finality_proof": {
|
|
16480
|
+
"finality_target": Anonymize<Ic952bubvq4k7d>;
|
|
16481
|
+
"justification": Anonymize<I1thtncjg26ghr>;
|
|
16482
|
+
};
|
|
16170
16483
|
/**
|
|
16171
16484
|
* Bootstrap the bridge pallet with an initial header and authority set from which to sync.
|
|
16172
16485
|
*
|
|
@@ -16178,7 +16491,14 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16178
16491
|
* with practically no checks in terms of the validity of the data. It is important that
|
|
16179
16492
|
* you ensure that valid data is being passed in.
|
|
16180
16493
|
*/
|
|
16181
|
-
"initialize":
|
|
16494
|
+
"initialize": {
|
|
16495
|
+
"init_data": {
|
|
16496
|
+
"header": Anonymize<Ic952bubvq4k7d>;
|
|
16497
|
+
"authority_list": Anonymize<I3geksg000c171>;
|
|
16498
|
+
"set_id": bigint;
|
|
16499
|
+
"operating_mode": Anonymize<Ibqjcgmcid3dll>;
|
|
16500
|
+
};
|
|
16501
|
+
};
|
|
16182
16502
|
/**
|
|
16183
16503
|
* Change `PalletOwner`.
|
|
16184
16504
|
*
|
|
@@ -16220,7 +16540,12 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16220
16540
|
* be executed for free. If transaction extension is not used by the runtime, this
|
|
16221
16541
|
* parameter is not used at all.
|
|
16222
16542
|
*/
|
|
16223
|
-
"submit_finality_proof_ex":
|
|
16543
|
+
"submit_finality_proof_ex": {
|
|
16544
|
+
"finality_target": Anonymize<Ic952bubvq4k7d>;
|
|
16545
|
+
"justification": Anonymize<I1thtncjg26ghr>;
|
|
16546
|
+
"current_set_id": bigint;
|
|
16547
|
+
"is_free_execution_expected": boolean;
|
|
16548
|
+
};
|
|
16224
16549
|
/**
|
|
16225
16550
|
* Set current authorities set and best finalized bridged header to given values
|
|
16226
16551
|
* (almost) without any checks. This call can fail only if:
|
|
@@ -16232,7 +16557,11 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16232
16557
|
* No other checks are made. Previously imported headers stay in the storage and
|
|
16233
16558
|
* are still accessible after the call.
|
|
16234
16559
|
*/
|
|
16235
|
-
"force_set_pallet_state":
|
|
16560
|
+
"force_set_pallet_state": {
|
|
16561
|
+
"new_current_set_id": bigint;
|
|
16562
|
+
"new_authorities": Anonymize<I3geksg000c171>;
|
|
16563
|
+
"new_best_header": Anonymize<Ic952bubvq4k7d>;
|
|
16564
|
+
};
|
|
16236
16565
|
}>;
|
|
16237
16566
|
"BridgeKusamaParachains": Enum<{
|
|
16238
16567
|
/**
|
|
@@ -16253,7 +16582,11 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16253
16582
|
* The call may succeed, but some heads may not be updated e.g. because pallet knows
|
|
16254
16583
|
* better head or it isn't tracked by the pallet.
|
|
16255
16584
|
*/
|
|
16256
|
-
"submit_parachain_heads":
|
|
16585
|
+
"submit_parachain_heads": {
|
|
16586
|
+
"at_relay_block": Anonymize<I4p5t2krb1gmvp>;
|
|
16587
|
+
"parachains": Anonymize<Iqnbvitf7a7l3>;
|
|
16588
|
+
"parachain_heads_proof": Anonymize<Itom7fk49o0c9>;
|
|
16589
|
+
};
|
|
16257
16590
|
/**
|
|
16258
16591
|
* Change `PalletOwner`.
|
|
16259
16592
|
*
|
|
@@ -16290,7 +16623,12 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16290
16623
|
* be executed for free. If transaction extension is not used by the runtime, this
|
|
16291
16624
|
* parameter is not used at all.
|
|
16292
16625
|
*/
|
|
16293
|
-
"submit_parachain_heads_ex":
|
|
16626
|
+
"submit_parachain_heads_ex": {
|
|
16627
|
+
"at_relay_block": Anonymize<I4p5t2krb1gmvp>;
|
|
16628
|
+
"parachains": Anonymize<Iqnbvitf7a7l3>;
|
|
16629
|
+
"parachain_heads_proof": Anonymize<Itom7fk49o0c9>;
|
|
16630
|
+
"is_free_execution_expected": boolean;
|
|
16631
|
+
};
|
|
16294
16632
|
}>;
|
|
16295
16633
|
"BridgeKusamaMessages": Enum<{
|
|
16296
16634
|
/**
|
|
@@ -16304,7 +16642,12 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16304
16642
|
*
|
|
16305
16643
|
* May only be called either by root, or by `PalletOwner`.
|
|
16306
16644
|
*/
|
|
16307
|
-
"set_operating_mode":
|
|
16645
|
+
"set_operating_mode": {
|
|
16646
|
+
"operating_mode": Enum<{
|
|
16647
|
+
"Basic": Anonymize<Ibqjcgmcid3dll>;
|
|
16648
|
+
"RejectingOutboundMessages": undefined;
|
|
16649
|
+
}>;
|
|
16650
|
+
};
|
|
16308
16651
|
/**
|
|
16309
16652
|
* Receive messages proof from bridged chain.
|
|
16310
16653
|
*
|
|
@@ -16349,10 +16692,55 @@ export type I88k319klqj4fv = AnonymousEnum<{
|
|
|
16349
16692
|
"storage_proof": Anonymize<Itom7fk49o0c9>;
|
|
16350
16693
|
"lane": SizedHex<4>;
|
|
16351
16694
|
};
|
|
16352
|
-
"relayers_state":
|
|
16695
|
+
"relayers_state": {
|
|
16696
|
+
"unrewarded_relayer_entries": bigint;
|
|
16697
|
+
"messages_in_oldest_entry": bigint;
|
|
16698
|
+
"total_messages": bigint;
|
|
16699
|
+
"last_delivered_nonce": bigint;
|
|
16700
|
+
};
|
|
16701
|
+
};
|
|
16702
|
+
}>;
|
|
16703
|
+
"XcmOverBridgeHubKusama": Enum<{
|
|
16704
|
+
/**
|
|
16705
|
+
* Open a bridge between two locations.
|
|
16706
|
+
*
|
|
16707
|
+
* The caller must be within the `T::OpenBridgeOrigin` filter (presumably: a sibling
|
|
16708
|
+
* parachain or a parent relay chain). The `bridge_destination_universal_location` must be
|
|
16709
|
+
* a destination within the consensus of the `T::BridgedNetwork` network.
|
|
16710
|
+
*
|
|
16711
|
+
* The `BridgeDeposit` amount is reserved on the caller account. This deposit
|
|
16712
|
+
* is unreserved after bridge is closed.
|
|
16713
|
+
*
|
|
16714
|
+
* The states after this call: bridge is `Opened`, outbound lane is `Opened`, inbound lane
|
|
16715
|
+
* is `Opened`.
|
|
16716
|
+
*/
|
|
16717
|
+
"open_bridge": {
|
|
16718
|
+
"bridge_destination_universal_location": Anonymize<Ibldt7l7uie0q>;
|
|
16719
|
+
};
|
|
16720
|
+
/**
|
|
16721
|
+
* Try to close the bridge.
|
|
16722
|
+
*
|
|
16723
|
+
* Can only be called by the "owner" of this side of the bridge, meaning that the
|
|
16724
|
+
* inbound XCM channel with the local origin chain is working.
|
|
16725
|
+
*
|
|
16726
|
+
* Closed bridge is a bridge without any traces in the runtime storage. So this method
|
|
16727
|
+
* first tries to prune all queued messages at the outbound lane. When there are no
|
|
16728
|
+
* outbound messages left, outbound and inbound lanes are purged. After that, funds
|
|
16729
|
+
* are returned back to the owner of this side of the bridge.
|
|
16730
|
+
*
|
|
16731
|
+
* The number of messages that we may prune in a single call is limited by the
|
|
16732
|
+
* `may_prune_messages` argument. If there are more messages in the queue, the method
|
|
16733
|
+
* prunes exactly `may_prune_messages` and exits early. The caller may call it again
|
|
16734
|
+
* until outbound queue is depleted and get his funds back.
|
|
16735
|
+
*
|
|
16736
|
+
* The states after this call: everything is either `Closed`, or purged from the
|
|
16737
|
+
* runtime storage.
|
|
16738
|
+
*/
|
|
16739
|
+
"close_bridge": {
|
|
16740
|
+
"bridge_destination_universal_location": Anonymize<Ibldt7l7uie0q>;
|
|
16741
|
+
"may_prune_messages": bigint;
|
|
16353
16742
|
};
|
|
16354
16743
|
}>;
|
|
16355
|
-
"XcmOverBridgeHubKusama": Anonymize<If9k2qtlkesr5u>;
|
|
16356
16744
|
"EthereumInboundQueue": Enum<{
|
|
16357
16745
|
/**
|
|
16358
16746
|
* Submit an inbound message originating from the Gateway contract on Ethereum
|
|
@@ -16669,10 +17057,6 @@ export type I944pscs1e0r54 = AnonymousEnum<{
|
|
|
16669
17057
|
};
|
|
16670
17058
|
"Snowbridge": undefined;
|
|
16671
17059
|
}>;
|
|
16672
|
-
export type I29mlfpi57nes9 = {
|
|
16673
|
-
"finality_target": Anonymize<Ic952bubvq4k7d>;
|
|
16674
|
-
"justification": Anonymize<I1thtncjg26ghr>;
|
|
16675
|
-
};
|
|
16676
17060
|
export type I1thtncjg26ghr = {
|
|
16677
17061
|
"round": bigint;
|
|
16678
17062
|
"commit": {
|
|
@@ -16689,14 +17073,6 @@ export type I1thtncjg26ghr = {
|
|
|
16689
17073
|
};
|
|
16690
17074
|
"votes_ancestries": Anonymize<I935sp4t02t2v1>;
|
|
16691
17075
|
};
|
|
16692
|
-
export type I9n8t62ile2km9 = {
|
|
16693
|
-
"init_data": {
|
|
16694
|
-
"header": Anonymize<Ic952bubvq4k7d>;
|
|
16695
|
-
"authority_list": Anonymize<I3geksg000c171>;
|
|
16696
|
-
"set_id": bigint;
|
|
16697
|
-
"operating_mode": Anonymize<Ibqjcgmcid3dll>;
|
|
16698
|
-
};
|
|
16699
|
-
};
|
|
16700
17076
|
export type I3geksg000c171 = Array<[SizedHex<32>, bigint]>;
|
|
16701
17077
|
export type Iaqek632j1l53f = {
|
|
16702
17078
|
"new_owner"?: Anonymize<Ihfphjolmsqq1>;
|
|
@@ -16704,83 +17080,8 @@ export type Iaqek632j1l53f = {
|
|
|
16704
17080
|
export type Id3fgg5dtq3ja9 = {
|
|
16705
17081
|
"operating_mode": Anonymize<Ibqjcgmcid3dll>;
|
|
16706
17082
|
};
|
|
16707
|
-
export type I7hl2ljcti73p2 = {
|
|
16708
|
-
"finality_target": Anonymize<Ic952bubvq4k7d>;
|
|
16709
|
-
"justification": Anonymize<I1thtncjg26ghr>;
|
|
16710
|
-
"current_set_id": bigint;
|
|
16711
|
-
"is_free_execution_expected": boolean;
|
|
16712
|
-
};
|
|
16713
|
-
export type I19i0akqkvu7h8 = {
|
|
16714
|
-
"new_current_set_id": bigint;
|
|
16715
|
-
"new_authorities": Anonymize<I3geksg000c171>;
|
|
16716
|
-
"new_best_header": Anonymize<Ic952bubvq4k7d>;
|
|
16717
|
-
};
|
|
16718
|
-
export type I4pbpsirgl3tci = {
|
|
16719
|
-
"at_relay_block": Anonymize<I4p5t2krb1gmvp>;
|
|
16720
|
-
"parachains": Anonymize<Iqnbvitf7a7l3>;
|
|
16721
|
-
"parachain_heads_proof": Anonymize<Itom7fk49o0c9>;
|
|
16722
|
-
};
|
|
16723
17083
|
export type I4p5t2krb1gmvp = [number, SizedHex<32>];
|
|
16724
17084
|
export type Iqnbvitf7a7l3 = Array<Anonymize<I4p5t2krb1gmvp>>;
|
|
16725
|
-
export type I1be5fgduvh91i = {
|
|
16726
|
-
"at_relay_block": Anonymize<I4p5t2krb1gmvp>;
|
|
16727
|
-
"parachains": Anonymize<Iqnbvitf7a7l3>;
|
|
16728
|
-
"parachain_heads_proof": Anonymize<Itom7fk49o0c9>;
|
|
16729
|
-
"is_free_execution_expected": boolean;
|
|
16730
|
-
};
|
|
16731
|
-
export type If7h5asiehgc1m = {
|
|
16732
|
-
"operating_mode": Enum<{
|
|
16733
|
-
"Basic": Anonymize<Ibqjcgmcid3dll>;
|
|
16734
|
-
"RejectingOutboundMessages": undefined;
|
|
16735
|
-
}>;
|
|
16736
|
-
};
|
|
16737
|
-
export type I5ts5vqe4dg50s = {
|
|
16738
|
-
"unrewarded_relayer_entries": bigint;
|
|
16739
|
-
"messages_in_oldest_entry": bigint;
|
|
16740
|
-
"total_messages": bigint;
|
|
16741
|
-
"last_delivered_nonce": bigint;
|
|
16742
|
-
};
|
|
16743
|
-
export type If9k2qtlkesr5u = AnonymousEnum<{
|
|
16744
|
-
/**
|
|
16745
|
-
* Open a bridge between two locations.
|
|
16746
|
-
*
|
|
16747
|
-
* The caller must be within the `T::OpenBridgeOrigin` filter (presumably: a sibling
|
|
16748
|
-
* parachain or a parent relay chain). The `bridge_destination_universal_location` must be
|
|
16749
|
-
* a destination within the consensus of the `T::BridgedNetwork` network.
|
|
16750
|
-
*
|
|
16751
|
-
* The `BridgeDeposit` amount is reserved on the caller account. This deposit
|
|
16752
|
-
* is unreserved after bridge is closed.
|
|
16753
|
-
*
|
|
16754
|
-
* The states after this call: bridge is `Opened`, outbound lane is `Opened`, inbound lane
|
|
16755
|
-
* is `Opened`.
|
|
16756
|
-
*/
|
|
16757
|
-
"open_bridge": {
|
|
16758
|
-
"bridge_destination_universal_location": Anonymize<Ibldt7l7uie0q>;
|
|
16759
|
-
};
|
|
16760
|
-
/**
|
|
16761
|
-
* Try to close the bridge.
|
|
16762
|
-
*
|
|
16763
|
-
* Can only be called by the "owner" of this side of the bridge, meaning that the
|
|
16764
|
-
* inbound XCM channel with the local origin chain is working.
|
|
16765
|
-
*
|
|
16766
|
-
* Closed bridge is a bridge without any traces in the runtime storage. So this method
|
|
16767
|
-
* first tries to prune all queued messages at the outbound lane. When there are no
|
|
16768
|
-
* outbound messages left, outbound and inbound lanes are purged. After that, funds
|
|
16769
|
-
* are returned back to the owner of this side of the bridge.
|
|
16770
|
-
*
|
|
16771
|
-
* The number of messages that we may prune in a single call is limited by the
|
|
16772
|
-
* `may_prune_messages` argument. If there are more messages in the queue, the method
|
|
16773
|
-
* prunes exactly `may_prune_messages` and exits early. The caller may call it again
|
|
16774
|
-
* until outbound queue is depleted and get his funds back.
|
|
16775
|
-
*
|
|
16776
|
-
* The states after this call: everything is either `Closed`, or purged from the
|
|
16777
|
-
* runtime storage.
|
|
16778
|
-
*/
|
|
16779
|
-
"close_bridge": {
|
|
16780
|
-
"bridge_destination_universal_location": Anonymize<Ibldt7l7uie0q>;
|
|
16781
|
-
"may_prune_messages": bigint;
|
|
16782
|
-
};
|
|
16783
|
-
}>;
|
|
16784
17085
|
export type Ibldt7l7uie0q = AnonymousEnum<{
|
|
16785
17086
|
"V3": XcmV3Junctions;
|
|
16786
17087
|
"V4": XcmV3Junctions;
|
|
@@ -16873,7 +17174,7 @@ export type I5jeo5vq8j59p7 = AnonymousEnum<{
|
|
|
16873
17174
|
"Snowbridge": SizedHex<32>;
|
|
16874
17175
|
"SnowbridgeV2": SizedHex<32>;
|
|
16875
17176
|
}>;
|
|
16876
|
-
export type
|
|
17177
|
+
export type Ic034j4hb28uuk = AnonymousEnum<{
|
|
16877
17178
|
"System": Anonymize<Iekve0i6djpd9f>;
|
|
16878
17179
|
"Timestamp": Anonymize<I7d75gqfg6jh9c>;
|
|
16879
17180
|
"Balances": Enum<{
|
|
@@ -17363,7 +17664,19 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
17363
17664
|
*
|
|
17364
17665
|
* Emits `IdentitySet` if successful.
|
|
17365
17666
|
*/
|
|
17366
|
-
"set_identity":
|
|
17667
|
+
"set_identity": {
|
|
17668
|
+
"info": {
|
|
17669
|
+
"additional": Array<FixedSizeArray<2, IdentityData>>;
|
|
17670
|
+
"display": IdentityData;
|
|
17671
|
+
"legal": IdentityData;
|
|
17672
|
+
"web": IdentityData;
|
|
17673
|
+
"riot": IdentityData;
|
|
17674
|
+
"email": IdentityData;
|
|
17675
|
+
"pgp_fingerprint"?: (SizedHex<20>) | undefined;
|
|
17676
|
+
"image": IdentityData;
|
|
17677
|
+
"twitter": IdentityData;
|
|
17678
|
+
};
|
|
17679
|
+
};
|
|
17367
17680
|
/**
|
|
17368
17681
|
* Set the sub-accounts of the sender.
|
|
17369
17682
|
*
|
|
@@ -17407,7 +17720,10 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
17407
17720
|
*
|
|
17408
17721
|
* Emits `JudgementRequested` if successful.
|
|
17409
17722
|
*/
|
|
17410
|
-
"request_judgement":
|
|
17723
|
+
"request_judgement": {
|
|
17724
|
+
"reg_index": number;
|
|
17725
|
+
"max_fee": bigint;
|
|
17726
|
+
};
|
|
17411
17727
|
/**
|
|
17412
17728
|
* Cancel a previous request.
|
|
17413
17729
|
*
|
|
@@ -17420,7 +17736,9 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
17420
17736
|
*
|
|
17421
17737
|
* Emits `JudgementUnrequested` if successful.
|
|
17422
17738
|
*/
|
|
17423
|
-
"cancel_request":
|
|
17739
|
+
"cancel_request": {
|
|
17740
|
+
"reg_index": number;
|
|
17741
|
+
};
|
|
17424
17742
|
/**
|
|
17425
17743
|
* Set the fee required for a judgement to be requested from a registrar.
|
|
17426
17744
|
*
|
|
@@ -17430,7 +17748,10 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
17430
17748
|
* - `index`: the index of the registrar whose fee is to be set.
|
|
17431
17749
|
* - `fee`: the new fee.
|
|
17432
17750
|
*/
|
|
17433
|
-
"set_fee":
|
|
17751
|
+
"set_fee": {
|
|
17752
|
+
"index": number;
|
|
17753
|
+
"fee": bigint;
|
|
17754
|
+
};
|
|
17434
17755
|
/**
|
|
17435
17756
|
* Change the account associated with a registrar.
|
|
17436
17757
|
*
|
|
@@ -17453,7 +17774,10 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
17453
17774
|
* - `index`: the index of the registrar whose fee is to be set.
|
|
17454
17775
|
* - `fields`: the fields that the registrar concerns themselves with.
|
|
17455
17776
|
*/
|
|
17456
|
-
"set_fields":
|
|
17777
|
+
"set_fields": {
|
|
17778
|
+
"index": number;
|
|
17779
|
+
"fields": bigint;
|
|
17780
|
+
};
|
|
17457
17781
|
/**
|
|
17458
17782
|
* Provide a judgement for an account's identity.
|
|
17459
17783
|
*
|
|
@@ -17584,33 +17908,45 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
17584
17908
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
17585
17909
|
* username, as in `username.suffix`.
|
|
17586
17910
|
*/
|
|
17587
|
-
"accept_username":
|
|
17911
|
+
"accept_username": {
|
|
17912
|
+
"username": Uint8Array;
|
|
17913
|
+
};
|
|
17588
17914
|
/**
|
|
17589
17915
|
* Remove an expired username approval. The username was approved by an authority but never
|
|
17590
17916
|
* accepted by the user and must now be beyond its expiration. The call must include the
|
|
17591
17917
|
* full username, as in `username.suffix`.
|
|
17592
17918
|
*/
|
|
17593
|
-
"remove_expired_approval":
|
|
17919
|
+
"remove_expired_approval": {
|
|
17920
|
+
"username": Uint8Array;
|
|
17921
|
+
};
|
|
17594
17922
|
/**
|
|
17595
17923
|
* Set a given username as the primary. The username should include the suffix.
|
|
17596
17924
|
*/
|
|
17597
|
-
"set_primary_username":
|
|
17925
|
+
"set_primary_username": {
|
|
17926
|
+
"username": Uint8Array;
|
|
17927
|
+
};
|
|
17598
17928
|
/**
|
|
17599
17929
|
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
17600
17930
|
* Once the grace period has passed, the username can be deleted by calling
|
|
17601
17931
|
* [remove_username](crate::Call::remove_username).
|
|
17602
17932
|
*/
|
|
17603
|
-
"unbind_username":
|
|
17933
|
+
"unbind_username": {
|
|
17934
|
+
"username": Uint8Array;
|
|
17935
|
+
};
|
|
17604
17936
|
/**
|
|
17605
17937
|
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
17606
17938
|
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
17607
17939
|
*/
|
|
17608
|
-
"remove_username":
|
|
17940
|
+
"remove_username": {
|
|
17941
|
+
"username": Uint8Array;
|
|
17942
|
+
};
|
|
17609
17943
|
/**
|
|
17610
17944
|
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
17611
17945
|
* and slashes any deposit associated with it.
|
|
17612
17946
|
*/
|
|
17613
|
-
"kill_username":
|
|
17947
|
+
"kill_username": {
|
|
17948
|
+
"username": Uint8Array;
|
|
17949
|
+
};
|
|
17614
17950
|
}>;
|
|
17615
17951
|
"Democracy": Enum<{
|
|
17616
17952
|
/**
|
|
@@ -18028,7 +18364,11 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
18028
18364
|
* ## Complexity
|
|
18029
18365
|
* - `O(M)` where `M` is members-count (code- and governance-bounded)
|
|
18030
18366
|
*/
|
|
18031
|
-
"vote":
|
|
18367
|
+
"vote": {
|
|
18368
|
+
"proposal": SizedHex<32>;
|
|
18369
|
+
"index": number;
|
|
18370
|
+
"approve": boolean;
|
|
18371
|
+
};
|
|
18032
18372
|
/**
|
|
18033
18373
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
18034
18374
|
* state.
|
|
@@ -18068,7 +18408,12 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
18068
18408
|
* - `P1` is the complexity of `proposal` preimage.
|
|
18069
18409
|
* - `P2` is proposal-count (code-bounded)
|
|
18070
18410
|
*/
|
|
18071
|
-
"close":
|
|
18411
|
+
"close": {
|
|
18412
|
+
"proposal_hash": SizedHex<32>;
|
|
18413
|
+
"index": number;
|
|
18414
|
+
"proposal_weight_bound": Anonymize<I4q39t5hn830vp>;
|
|
18415
|
+
"length_bound": number;
|
|
18416
|
+
};
|
|
18072
18417
|
/**
|
|
18073
18418
|
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
18074
18419
|
*
|
|
@@ -19198,11 +19543,11 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
19198
19543
|
"whitelist_call": Anonymize<I1adbcfi5uc62r>;
|
|
19199
19544
|
"remove_whitelisted_call": Anonymize<I1adbcfi5uc62r>;
|
|
19200
19545
|
"dispatch_whitelisted_call": Anonymize<Ibf6ucefn8fh49>;
|
|
19201
|
-
"dispatch_whitelisted_call_with_preimage": Anonymize<
|
|
19546
|
+
"dispatch_whitelisted_call_with_preimage": Anonymize<I1a79630ms0oum>;
|
|
19202
19547
|
}>;
|
|
19203
19548
|
"Dispatcher": Enum<{
|
|
19204
|
-
"dispatch_as_treasury": Anonymize<
|
|
19205
|
-
"dispatch_as_aave_manager": Anonymize<
|
|
19549
|
+
"dispatch_as_treasury": Anonymize<I1a79630ms0oum>;
|
|
19550
|
+
"dispatch_as_aave_manager": Anonymize<I1a79630ms0oum>;
|
|
19206
19551
|
/**
|
|
19207
19552
|
* Sets the Aave manager account to be used as origin for dispatching calls.
|
|
19208
19553
|
*
|
|
@@ -19233,7 +19578,7 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
19233
19578
|
*
|
|
19234
19579
|
* Emits `EvmCallFailed` event when failed.
|
|
19235
19580
|
*/
|
|
19236
|
-
"dispatch_evm_call": Anonymize<
|
|
19581
|
+
"dispatch_evm_call": Anonymize<I1a79630ms0oum>;
|
|
19237
19582
|
/**
|
|
19238
19583
|
* Dispatch a call as the emergency admin account.
|
|
19239
19584
|
*
|
|
@@ -19248,8 +19593,8 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
19248
19593
|
*
|
|
19249
19594
|
* Emits `EmergencyAdminCallDispatched` with the call hash and dispatch result.
|
|
19250
19595
|
*/
|
|
19251
|
-
"dispatch_as_emergency_admin": Anonymize<
|
|
19252
|
-
"dispatch_with_fee_payer": Anonymize<
|
|
19596
|
+
"dispatch_as_emergency_admin": Anonymize<I1a79630ms0oum>;
|
|
19597
|
+
"dispatch_with_fee_payer": Anonymize<I1a79630ms0oum>;
|
|
19253
19598
|
}>;
|
|
19254
19599
|
"AssetRegistry": Enum<{
|
|
19255
19600
|
/**
|
|
@@ -21313,6 +21658,44 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
21313
21658
|
* Set the borrowing market contract address.
|
|
21314
21659
|
*/
|
|
21315
21660
|
"set_borrowing_contract": Anonymize<Ics51ctc9oasbt>;
|
|
21661
|
+
/**
|
|
21662
|
+
* Liquidates an existing money market position, addressing the market's pool explicitly.
|
|
21663
|
+
*
|
|
21664
|
+
* Behaves exactly like `liquidate`; the extra `pool` parameter is a consistency
|
|
21665
|
+
* assertion, not a router: it must equal the pool contract the liquidation path
|
|
21666
|
+
* resolves on its own (the gigahdx pool for GIGAHDX-collateral positions, the
|
|
21667
|
+
* borrowing contract otherwise), or the call fails with `PoolAddressMismatch`.
|
|
21668
|
+
* This lets a multi-money-market worker state which market a decision was made
|
|
21669
|
+
* against and guarantees the liquidation can never execute against a different one.
|
|
21670
|
+
*
|
|
21671
|
+
* Unlike `liquidate`, this call is not publicly dispatchable: the origin must be
|
|
21672
|
+
* none, and `ValidateUnsigned` rejects externally received transactions, so only
|
|
21673
|
+
* a collator's own liquidation worker can submit it. The public permissionless
|
|
21674
|
+
* path remains `liquidate`.
|
|
21675
|
+
*
|
|
21676
|
+
* Parameters:
|
|
21677
|
+
* - `origin`: Must be none (unsigned transaction).
|
|
21678
|
+
* - `pool`: EVM address of the money-market pool this liquidation targets.
|
|
21679
|
+
* - `collateral_asset`: Asset ID used as collateral in the MM position.
|
|
21680
|
+
* - `debt_asset`: Asset ID used as debt in the MM position.
|
|
21681
|
+
* - `user`: EVM address of the MM position that we want to liquidate.
|
|
21682
|
+
* - `debt_to_cover`: Amount of debt we want to liquidate.
|
|
21683
|
+
* - `route`: The route we trade against. Required for the fee calculation.
|
|
21684
|
+
* - `unsigned_priority`: Optional priority added on top of `BASE_UNSIGNED_LIQUIDATION_PRIORITY` for
|
|
21685
|
+
* unsigned liquidation extrinsics.
|
|
21686
|
+
*
|
|
21687
|
+
* Emits `Liquidated` event when successful.
|
|
21688
|
+
*
|
|
21689
|
+
*/
|
|
21690
|
+
"liquidate_with_pool": {
|
|
21691
|
+
"pool": SizedHex<20>;
|
|
21692
|
+
"collateral_asset": number;
|
|
21693
|
+
"debt_asset": number;
|
|
21694
|
+
"user": SizedHex<20>;
|
|
21695
|
+
"debt_to_cover": bigint;
|
|
21696
|
+
"route": Anonymize<I14tu3k4kt0e26>;
|
|
21697
|
+
"unsigned_priority"?: Anonymize<I35p85j063s0il>;
|
|
21698
|
+
};
|
|
21316
21699
|
}>;
|
|
21317
21700
|
"HSM": Enum<{
|
|
21318
21701
|
/**
|
|
@@ -21997,8 +22380,118 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
21997
22380
|
"dest": SS58String;
|
|
21998
22381
|
};
|
|
21999
22382
|
}>;
|
|
22000
|
-
"EVM":
|
|
22001
|
-
|
|
22383
|
+
"EVM": Enum<{
|
|
22384
|
+
/**
|
|
22385
|
+
* Withdraw balance from EVM into currency/balances pallet.
|
|
22386
|
+
*/
|
|
22387
|
+
"withdraw": {
|
|
22388
|
+
"address": SizedHex<20>;
|
|
22389
|
+
"value": bigint;
|
|
22390
|
+
};
|
|
22391
|
+
/**
|
|
22392
|
+
* Issue an EVM call operation. This is similar to a message call transaction in Ethereum.
|
|
22393
|
+
*/
|
|
22394
|
+
"call": {
|
|
22395
|
+
"source": SizedHex<20>;
|
|
22396
|
+
"target": SizedHex<20>;
|
|
22397
|
+
"input": Uint8Array;
|
|
22398
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22399
|
+
"gas_limit": bigint;
|
|
22400
|
+
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22401
|
+
"max_priority_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
22402
|
+
"nonce"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
22403
|
+
"access_list": Anonymize<I1bsfec060j604>;
|
|
22404
|
+
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
22405
|
+
};
|
|
22406
|
+
/**
|
|
22407
|
+
* Issue an EVM create operation. This is similar to a contract creation transaction in
|
|
22408
|
+
* Ethereum.
|
|
22409
|
+
*/
|
|
22410
|
+
"create": {
|
|
22411
|
+
"source": SizedHex<20>;
|
|
22412
|
+
"init": Uint8Array;
|
|
22413
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22414
|
+
"gas_limit": bigint;
|
|
22415
|
+
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22416
|
+
"max_priority_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
22417
|
+
"nonce"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
22418
|
+
"access_list": Anonymize<I1bsfec060j604>;
|
|
22419
|
+
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
22420
|
+
};
|
|
22421
|
+
/**
|
|
22422
|
+
* Issue an EVM create2 operation.
|
|
22423
|
+
*/
|
|
22424
|
+
"create2": {
|
|
22425
|
+
"source": SizedHex<20>;
|
|
22426
|
+
"init": Uint8Array;
|
|
22427
|
+
"salt": SizedHex<32>;
|
|
22428
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22429
|
+
"gas_limit": bigint;
|
|
22430
|
+
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22431
|
+
"max_priority_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
22432
|
+
"nonce"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
22433
|
+
"access_list": Anonymize<I1bsfec060j604>;
|
|
22434
|
+
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
22435
|
+
};
|
|
22436
|
+
}>;
|
|
22437
|
+
"Ethereum": Enum<{
|
|
22438
|
+
/**
|
|
22439
|
+
* Transact an Ethereum transaction.
|
|
22440
|
+
*/
|
|
22441
|
+
"transact": {
|
|
22442
|
+
"transaction": Enum<{
|
|
22443
|
+
"Legacy": {
|
|
22444
|
+
"nonce": Anonymize<I4totqt881mlti>;
|
|
22445
|
+
"gas_price": Anonymize<I4totqt881mlti>;
|
|
22446
|
+
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
22447
|
+
"action": Anonymize<I2do93a3gr3ege>;
|
|
22448
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22449
|
+
"input": Uint8Array;
|
|
22450
|
+
"signature": {
|
|
22451
|
+
"v": bigint;
|
|
22452
|
+
"r": SizedHex<32>;
|
|
22453
|
+
"s": SizedHex<32>;
|
|
22454
|
+
};
|
|
22455
|
+
};
|
|
22456
|
+
"EIP2930": {
|
|
22457
|
+
"chain_id": bigint;
|
|
22458
|
+
"nonce": Anonymize<I4totqt881mlti>;
|
|
22459
|
+
"gas_price": Anonymize<I4totqt881mlti>;
|
|
22460
|
+
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
22461
|
+
"action": Anonymize<I2do93a3gr3ege>;
|
|
22462
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22463
|
+
"input": Uint8Array;
|
|
22464
|
+
"access_list": Anonymize<Ieap15h2pjii9u>;
|
|
22465
|
+
"signature": Anonymize<I9veufneid0sta>;
|
|
22466
|
+
};
|
|
22467
|
+
"EIP1559": {
|
|
22468
|
+
"chain_id": bigint;
|
|
22469
|
+
"nonce": Anonymize<I4totqt881mlti>;
|
|
22470
|
+
"max_priority_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22471
|
+
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22472
|
+
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
22473
|
+
"action": Anonymize<I2do93a3gr3ege>;
|
|
22474
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22475
|
+
"input": Uint8Array;
|
|
22476
|
+
"access_list": Anonymize<Ieap15h2pjii9u>;
|
|
22477
|
+
"signature": Anonymize<I9veufneid0sta>;
|
|
22478
|
+
};
|
|
22479
|
+
"EIP7702": {
|
|
22480
|
+
"chain_id": bigint;
|
|
22481
|
+
"nonce": Anonymize<I4totqt881mlti>;
|
|
22482
|
+
"max_priority_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22483
|
+
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
22484
|
+
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
22485
|
+
"destination": Anonymize<I2do93a3gr3ege>;
|
|
22486
|
+
"value": Anonymize<I4totqt881mlti>;
|
|
22487
|
+
"data": Uint8Array;
|
|
22488
|
+
"access_list": Anonymize<Ieap15h2pjii9u>;
|
|
22489
|
+
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
22490
|
+
"signature": Anonymize<I9veufneid0sta>;
|
|
22491
|
+
};
|
|
22492
|
+
}>;
|
|
22493
|
+
};
|
|
22494
|
+
}>;
|
|
22002
22495
|
"EVMAccounts": Enum<{
|
|
22003
22496
|
/**
|
|
22004
22497
|
* Binds a Substrate address to EVM address.
|
|
@@ -22024,7 +22517,9 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
22024
22517
|
*
|
|
22025
22518
|
* Emits `DeployerAdded` event when successful.
|
|
22026
22519
|
*/
|
|
22027
|
-
"add_contract_deployer":
|
|
22520
|
+
"add_contract_deployer": {
|
|
22521
|
+
"address": SizedHex<20>;
|
|
22522
|
+
};
|
|
22028
22523
|
/**
|
|
22029
22524
|
* Removes an EVM address from the list of addresses that are allowed to deploy smart contracts.
|
|
22030
22525
|
*
|
|
@@ -22034,7 +22529,9 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
22034
22529
|
*
|
|
22035
22530
|
* Emits `DeployerRemoved` event when successful.
|
|
22036
22531
|
*/
|
|
22037
|
-
"remove_contract_deployer":
|
|
22532
|
+
"remove_contract_deployer": {
|
|
22533
|
+
"address": SizedHex<20>;
|
|
22534
|
+
};
|
|
22038
22535
|
/**
|
|
22039
22536
|
* Removes the account's EVM address from the list of addresses that are allowed to deploy smart contracts.
|
|
22040
22537
|
* Based on the best practices, this extrinsic can be called by any whitelisted account to renounce their own permission.
|
|
@@ -22056,7 +22553,9 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
22056
22553
|
*
|
|
22057
22554
|
* Emits `ContractApproved` event when successful.
|
|
22058
22555
|
*/
|
|
22059
|
-
"approve_contract":
|
|
22556
|
+
"approve_contract": {
|
|
22557
|
+
"address": SizedHex<20>;
|
|
22558
|
+
};
|
|
22060
22559
|
/**
|
|
22061
22560
|
* Removes address of the contract from the list of approved contracts to manage balances.
|
|
22062
22561
|
*
|
|
@@ -22066,7 +22565,9 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
22066
22565
|
*
|
|
22067
22566
|
* Emits `ContractDisapproved` event when successful.
|
|
22068
22567
|
*/
|
|
22069
|
-
"disapprove_contract":
|
|
22568
|
+
"disapprove_contract": {
|
|
22569
|
+
"address": SizedHex<20>;
|
|
22570
|
+
};
|
|
22070
22571
|
/**
|
|
22071
22572
|
* Proves ownership of an account and binds it to the EVM address.
|
|
22072
22573
|
* This is useful for accounts that want to submit some substrate transaction, but only
|
|
@@ -22085,6 +22586,32 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
22085
22586
|
"asset_id": number;
|
|
22086
22587
|
"signature": MultiSignature;
|
|
22087
22588
|
};
|
|
22589
|
+
/**
|
|
22590
|
+
* Sets the NTT minter for an asset. The minter is the only EVM address allowed to
|
|
22591
|
+
* mint/burn the asset via the MultiCurrency precompile.
|
|
22592
|
+
*
|
|
22593
|
+
* Parameters:
|
|
22594
|
+
* - `origin`: Must be `ControllerOrigin`.
|
|
22595
|
+
* - `asset_id`: Asset whose minter is set.
|
|
22596
|
+
* - `minter`: EVM address of the NTT spoke manager.
|
|
22597
|
+
*
|
|
22598
|
+
* Emits `NttMinterSet` event when successful.
|
|
22599
|
+
*/
|
|
22600
|
+
"set_ntt_minter": {
|
|
22601
|
+
"asset_id": number;
|
|
22602
|
+
"minter": SizedHex<20>;
|
|
22603
|
+
};
|
|
22604
|
+
/**
|
|
22605
|
+
* Clears the NTT minter for an asset, stopping all mint/burn via the precompile.
|
|
22606
|
+
* Acts as an emergency stop, therefore it is gated by the faster `NttEmergencyOrigin`.
|
|
22607
|
+
*
|
|
22608
|
+
* Parameters:
|
|
22609
|
+
* - `origin`: Must be `NttEmergencyOrigin`.
|
|
22610
|
+
* - `asset_id`: Asset whose minter is cleared.
|
|
22611
|
+
*
|
|
22612
|
+
* Emits `NttMinterCleared` event when successful.
|
|
22613
|
+
*/
|
|
22614
|
+
"clear_ntt_minter": Anonymize<Ia5le7udkgbaq9>;
|
|
22088
22615
|
}>;
|
|
22089
22616
|
"XYKLiquidityMining": Enum<{
|
|
22090
22617
|
/**
|
|
@@ -22438,6 +22965,10 @@ export type I6aupevm31ir9a = AnonymousEnum<{
|
|
|
22438
22965
|
* Creates a new DCA (Dollar-Cost Averaging) schedule and plans the next execution
|
|
22439
22966
|
* for the specified block.
|
|
22440
22967
|
*
|
|
22968
|
+
* Only `Order::Sell` schedules can be created. Buy orders are rejected with
|
|
22969
|
+
* `NoLongerSupported`; buy schedules already stored keep executing until they complete
|
|
22970
|
+
* or are terminated.
|
|
22971
|
+
*
|
|
22441
22972
|
* If the block is not specified, the execution is planned for the next block.
|
|
22442
22973
|
* If the given block is full, the execution will be planned in the subsequent block.
|
|
22443
22974
|
*
|
|
@@ -22958,26 +23489,12 @@ export type I4h8nkgupb7obf = AnonymousEnum<{
|
|
|
22958
23489
|
"Tipper": undefined;
|
|
22959
23490
|
"EconomicParameters": undefined;
|
|
22960
23491
|
}>;
|
|
22961
|
-
"Ethereum":
|
|
23492
|
+
"Ethereum": Enum<{
|
|
23493
|
+
"EthereumTransaction": SizedHex<20>;
|
|
23494
|
+
}>;
|
|
22962
23495
|
"PolkadotXcm": Anonymize<Icvilmd7qu30i4>;
|
|
22963
23496
|
"CumulusXcm": Anonymize<I3in0d0lb61qi8>;
|
|
22964
23497
|
}>;
|
|
22965
|
-
export type I9hp9au9bfqil7 = AnonymousEnum<{
|
|
22966
|
-
"EthereumTransaction": SizedHex<20>;
|
|
22967
|
-
}>;
|
|
22968
|
-
export type I2kds5jji7slh8 = {
|
|
22969
|
-
"info": {
|
|
22970
|
-
"additional": Array<FixedSizeArray<2, IdentityData>>;
|
|
22971
|
-
"display": IdentityData;
|
|
22972
|
-
"legal": IdentityData;
|
|
22973
|
-
"web": IdentityData;
|
|
22974
|
-
"riot": IdentityData;
|
|
22975
|
-
"email": IdentityData;
|
|
22976
|
-
"pgp_fingerprint"?: Anonymize<If7b8240vgt2q5>;
|
|
22977
|
-
"image": IdentityData;
|
|
22978
|
-
"twitter": IdentityData;
|
|
22979
|
-
};
|
|
22980
|
-
};
|
|
22981
23498
|
export type IdentityData = Enum<{
|
|
22982
23499
|
"None": undefined;
|
|
22983
23500
|
"Raw0": undefined;
|
|
@@ -23019,22 +23536,6 @@ export type IdentityData = Enum<{
|
|
|
23019
23536
|
"ShaThree256": SizedHex<32>;
|
|
23020
23537
|
}>;
|
|
23021
23538
|
export declare const IdentityData: GetEnum<IdentityData>;
|
|
23022
|
-
export type If7b8240vgt2q5 = (SizedHex<20>) | undefined;
|
|
23023
|
-
export type I9l2s4klu0831o = {
|
|
23024
|
-
"reg_index": number;
|
|
23025
|
-
"max_fee": bigint;
|
|
23026
|
-
};
|
|
23027
|
-
export type I2ctrt5nqb8o7c = {
|
|
23028
|
-
"reg_index": number;
|
|
23029
|
-
};
|
|
23030
|
-
export type I711qahikocb1c = {
|
|
23031
|
-
"index": number;
|
|
23032
|
-
"fee": bigint;
|
|
23033
|
-
};
|
|
23034
|
-
export type Id6gojh30v9ib2 = {
|
|
23035
|
-
"index": number;
|
|
23036
|
-
"fields": bigint;
|
|
23037
|
-
};
|
|
23038
23539
|
export type IdentityJudgement = Enum<{
|
|
23039
23540
|
"Unknown": undefined;
|
|
23040
23541
|
"FeePaid": bigint;
|
|
@@ -23054,23 +23555,9 @@ export type MultiSignature = Enum<{
|
|
|
23054
23555
|
"Ecdsa": SizedHex<65>;
|
|
23055
23556
|
}>;
|
|
23056
23557
|
export declare const MultiSignature: GetEnum<MultiSignature>;
|
|
23057
|
-
export type Ie5l999tf7t2te = {
|
|
23058
|
-
"username": Uint8Array;
|
|
23059
|
-
};
|
|
23060
23558
|
export type I2ev73t79f46tb = {
|
|
23061
23559
|
"proposal_hash": SizedHex<32>;
|
|
23062
23560
|
};
|
|
23063
|
-
export type I2dtrijkm5601t = {
|
|
23064
|
-
"proposal": SizedHex<32>;
|
|
23065
|
-
"index": number;
|
|
23066
|
-
"approve": boolean;
|
|
23067
|
-
};
|
|
23068
|
-
export type Ib2obgji960euh = {
|
|
23069
|
-
"proposal_hash": SizedHex<32>;
|
|
23070
|
-
"index": number;
|
|
23071
|
-
"proposal_weight_bound": Anonymize<I4q39t5hn830vp>;
|
|
23072
|
-
"length_bound": number;
|
|
23073
|
-
};
|
|
23074
23561
|
export type Idnl0r1a4nmeek = (Anonymize<Ie9g2psuhuu510>) | undefined;
|
|
23075
23562
|
export type Ie9g2psuhuu510 = AnonymousEnum<{
|
|
23076
23563
|
"Any": undefined;
|
|
@@ -23080,7 +23567,7 @@ export type Ie9g2psuhuu510 = AnonymousEnum<{
|
|
|
23080
23567
|
"Liquidity": undefined;
|
|
23081
23568
|
"LiquidityMining": undefined;
|
|
23082
23569
|
}>;
|
|
23083
|
-
export type
|
|
23570
|
+
export type I1a79630ms0oum = {
|
|
23084
23571
|
"call": TxCallData;
|
|
23085
23572
|
};
|
|
23086
23573
|
export type I95262dsbtfh4d = AnonymousEnum<{
|
|
@@ -23176,60 +23663,6 @@ export type I6k9mlgqa572np = {
|
|
|
23176
23663
|
"period_count": number;
|
|
23177
23664
|
"per_period": bigint;
|
|
23178
23665
|
};
|
|
23179
|
-
export type I78r7di33lh57i = AnonymousEnum<{
|
|
23180
|
-
/**
|
|
23181
|
-
* Withdraw balance from EVM into currency/balances pallet.
|
|
23182
|
-
*/
|
|
23183
|
-
"withdraw": {
|
|
23184
|
-
"address": SizedHex<20>;
|
|
23185
|
-
"value": bigint;
|
|
23186
|
-
};
|
|
23187
|
-
/**
|
|
23188
|
-
* Issue an EVM call operation. This is similar to a message call transaction in Ethereum.
|
|
23189
|
-
*/
|
|
23190
|
-
"call": {
|
|
23191
|
-
"source": SizedHex<20>;
|
|
23192
|
-
"target": SizedHex<20>;
|
|
23193
|
-
"input": Uint8Array;
|
|
23194
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23195
|
-
"gas_limit": bigint;
|
|
23196
|
-
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23197
|
-
"max_priority_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
23198
|
-
"nonce"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
23199
|
-
"access_list": Anonymize<I1bsfec060j604>;
|
|
23200
|
-
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
23201
|
-
};
|
|
23202
|
-
/**
|
|
23203
|
-
* Issue an EVM create operation. This is similar to a contract creation transaction in
|
|
23204
|
-
* Ethereum.
|
|
23205
|
-
*/
|
|
23206
|
-
"create": {
|
|
23207
|
-
"source": SizedHex<20>;
|
|
23208
|
-
"init": Uint8Array;
|
|
23209
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23210
|
-
"gas_limit": bigint;
|
|
23211
|
-
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23212
|
-
"max_priority_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
23213
|
-
"nonce"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
23214
|
-
"access_list": Anonymize<I1bsfec060j604>;
|
|
23215
|
-
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
23216
|
-
};
|
|
23217
|
-
/**
|
|
23218
|
-
* Issue an EVM create2 operation.
|
|
23219
|
-
*/
|
|
23220
|
-
"create2": {
|
|
23221
|
-
"source": SizedHex<20>;
|
|
23222
|
-
"init": Uint8Array;
|
|
23223
|
-
"salt": SizedHex<32>;
|
|
23224
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23225
|
-
"gas_limit": bigint;
|
|
23226
|
-
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23227
|
-
"max_priority_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
23228
|
-
"nonce"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
23229
|
-
"access_list": Anonymize<I1bsfec060j604>;
|
|
23230
|
-
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
23231
|
-
};
|
|
23232
|
-
}>;
|
|
23233
23666
|
export type Ic4rgfgksgmm3e = (Anonymize<I4totqt881mlti>) | undefined;
|
|
23234
23667
|
export type I1bsfec060j604 = Array<[SizedHex<20>, Anonymize<Ic5m5lp1oioo8r>]>;
|
|
23235
23668
|
export type Idg0qi60379vnh = Array<{
|
|
@@ -23243,64 +23676,6 @@ export type I9veufneid0sta = {
|
|
|
23243
23676
|
"r": SizedHex<32>;
|
|
23244
23677
|
"s": SizedHex<32>;
|
|
23245
23678
|
};
|
|
23246
|
-
export type I3lo8is2egp8k4 = AnonymousEnum<{
|
|
23247
|
-
/**
|
|
23248
|
-
* Transact an Ethereum transaction.
|
|
23249
|
-
*/
|
|
23250
|
-
"transact": {
|
|
23251
|
-
"transaction": Enum<{
|
|
23252
|
-
"Legacy": {
|
|
23253
|
-
"nonce": Anonymize<I4totqt881mlti>;
|
|
23254
|
-
"gas_price": Anonymize<I4totqt881mlti>;
|
|
23255
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
23256
|
-
"action": Anonymize<I2do93a3gr3ege>;
|
|
23257
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23258
|
-
"input": Uint8Array;
|
|
23259
|
-
"signature": {
|
|
23260
|
-
"v": bigint;
|
|
23261
|
-
"r": SizedHex<32>;
|
|
23262
|
-
"s": SizedHex<32>;
|
|
23263
|
-
};
|
|
23264
|
-
};
|
|
23265
|
-
"EIP2930": {
|
|
23266
|
-
"chain_id": bigint;
|
|
23267
|
-
"nonce": Anonymize<I4totqt881mlti>;
|
|
23268
|
-
"gas_price": Anonymize<I4totqt881mlti>;
|
|
23269
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
23270
|
-
"action": Anonymize<I2do93a3gr3ege>;
|
|
23271
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23272
|
-
"input": Uint8Array;
|
|
23273
|
-
"access_list": Anonymize<Ieap15h2pjii9u>;
|
|
23274
|
-
"signature": Anonymize<I9veufneid0sta>;
|
|
23275
|
-
};
|
|
23276
|
-
"EIP1559": {
|
|
23277
|
-
"chain_id": bigint;
|
|
23278
|
-
"nonce": Anonymize<I4totqt881mlti>;
|
|
23279
|
-
"max_priority_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23280
|
-
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23281
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
23282
|
-
"action": Anonymize<I2do93a3gr3ege>;
|
|
23283
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23284
|
-
"input": Uint8Array;
|
|
23285
|
-
"access_list": Anonymize<Ieap15h2pjii9u>;
|
|
23286
|
-
"signature": Anonymize<I9veufneid0sta>;
|
|
23287
|
-
};
|
|
23288
|
-
"EIP7702": {
|
|
23289
|
-
"chain_id": bigint;
|
|
23290
|
-
"nonce": Anonymize<I4totqt881mlti>;
|
|
23291
|
-
"max_priority_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23292
|
-
"max_fee_per_gas": Anonymize<I4totqt881mlti>;
|
|
23293
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
23294
|
-
"destination": Anonymize<I2do93a3gr3ege>;
|
|
23295
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
23296
|
-
"data": Uint8Array;
|
|
23297
|
-
"access_list": Anonymize<Ieap15h2pjii9u>;
|
|
23298
|
-
"authorization_list": Anonymize<Idg0qi60379vnh>;
|
|
23299
|
-
"signature": Anonymize<I9veufneid0sta>;
|
|
23300
|
-
};
|
|
23301
|
-
}>;
|
|
23302
|
-
};
|
|
23303
|
-
}>;
|
|
23304
23679
|
export type I2do93a3gr3ege = AnonymousEnum<{
|
|
23305
23680
|
"Call": SizedHex<20>;
|
|
23306
23681
|
"Create": undefined;
|
|
@@ -23309,2542 +23684,10 @@ export type Ieap15h2pjii9u = Array<{
|
|
|
23309
23684
|
"address": SizedHex<20>;
|
|
23310
23685
|
"storage_keys": Anonymize<Ic5m5lp1oioo8r>;
|
|
23311
23686
|
}>;
|
|
23312
|
-
export type Itmchvgqfl28g = {
|
|
23313
|
-
"address": SizedHex<20>;
|
|
23314
|
-
};
|
|
23315
23687
|
export type XcmVersionedAsset = Enum<{
|
|
23316
23688
|
"V3": Anonymize<Idcm24504c8bkk>;
|
|
23317
23689
|
"V4": Anonymize<Ia5l7mu5a6v49o>;
|
|
23318
23690
|
"V5": Anonymize<Iffh1nc5e1mod6>;
|
|
23319
23691
|
}>;
|
|
23320
23692
|
export declare const XcmVersionedAsset: GetEnum<XcmVersionedAsset>;
|
|
23321
|
-
export type I82cps8ng2jtug = [SizedHex<20>, SizedHex<32>];
|
|
23322
|
-
export type I55irekfhn8876 = AnonymousEnum<{
|
|
23323
|
-
"System": Anonymize<Iekve0i6djpd9f>;
|
|
23324
|
-
"ParachainSystem": Anonymize<I3u72uvpuo4qrt>;
|
|
23325
|
-
"Timestamp": Anonymize<I7d75gqfg6jh9c>;
|
|
23326
|
-
"RootTesting": Enum<{
|
|
23327
|
-
/**
|
|
23328
|
-
* A dispatch that will fill the block weight up to the given ratio.
|
|
23329
|
-
*/
|
|
23330
|
-
"fill_block": {
|
|
23331
|
-
"ratio": number;
|
|
23332
|
-
};
|
|
23333
|
-
"trigger_defensive": undefined;
|
|
23334
|
-
}>;
|
|
23335
|
-
"Balances": Enum<{
|
|
23336
|
-
/**
|
|
23337
|
-
* Transfer some liquid free balance to another account.
|
|
23338
|
-
*
|
|
23339
|
-
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
23340
|
-
* If the sender's account is below the existential deposit as a result
|
|
23341
|
-
* of the transfer, the account will be reaped.
|
|
23342
|
-
*
|
|
23343
|
-
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
23344
|
-
*/
|
|
23345
|
-
"transfer_allow_death": {
|
|
23346
|
-
"dest": HexString;
|
|
23347
|
-
"value": bigint;
|
|
23348
|
-
};
|
|
23349
|
-
/**
|
|
23350
|
-
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
23351
|
-
* may be specified.
|
|
23352
|
-
*/
|
|
23353
|
-
"force_transfer": {
|
|
23354
|
-
"source": HexString;
|
|
23355
|
-
"dest": HexString;
|
|
23356
|
-
"value": bigint;
|
|
23357
|
-
};
|
|
23358
|
-
/**
|
|
23359
|
-
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
23360
|
-
* kill the origin account.
|
|
23361
|
-
*
|
|
23362
|
-
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
23363
|
-
*
|
|
23364
|
-
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
23365
|
-
*/
|
|
23366
|
-
"transfer_keep_alive": {
|
|
23367
|
-
"dest": HexString;
|
|
23368
|
-
"value": bigint;
|
|
23369
|
-
};
|
|
23370
|
-
/**
|
|
23371
|
-
* Transfer the entire transferable balance from the caller account.
|
|
23372
|
-
*
|
|
23373
|
-
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
23374
|
-
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
23375
|
-
* transferred by this function. To ensure that this function results in a killed account,
|
|
23376
|
-
* you might need to prepare the account by removing any reference counters, storage
|
|
23377
|
-
* deposits, etc...
|
|
23378
|
-
*
|
|
23379
|
-
* The dispatch origin of this call must be Signed.
|
|
23380
|
-
*
|
|
23381
|
-
* - `dest`: The recipient of the transfer.
|
|
23382
|
-
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
23383
|
-
* of the funds the account has, causing the sender account to be killed (false), or
|
|
23384
|
-
* transfer everything except at least the existential deposit, which will guarantee to
|
|
23385
|
-
* keep the sender account alive (true).
|
|
23386
|
-
*/
|
|
23387
|
-
"transfer_all": {
|
|
23388
|
-
"dest": HexString;
|
|
23389
|
-
"keep_alive": boolean;
|
|
23390
|
-
};
|
|
23391
|
-
/**
|
|
23392
|
-
* Unreserve some balance from a user by force.
|
|
23393
|
-
*
|
|
23394
|
-
* Can only be called by ROOT.
|
|
23395
|
-
*/
|
|
23396
|
-
"force_unreserve": {
|
|
23397
|
-
"who": HexString;
|
|
23398
|
-
"amount": bigint;
|
|
23399
|
-
};
|
|
23400
|
-
/**
|
|
23401
|
-
* Upgrade a specified account.
|
|
23402
|
-
*
|
|
23403
|
-
* - `origin`: Must be `Signed`.
|
|
23404
|
-
* - `who`: The account to be upgraded.
|
|
23405
|
-
*
|
|
23406
|
-
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
23407
|
-
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
23408
|
-
* possibility of churn).
|
|
23409
|
-
*/
|
|
23410
|
-
"upgrade_accounts": {
|
|
23411
|
-
"who": Anonymize<I55luuvb7oq2a3>;
|
|
23412
|
-
};
|
|
23413
|
-
/**
|
|
23414
|
-
* Set the regular balance of a given account.
|
|
23415
|
-
*
|
|
23416
|
-
* The dispatch origin for this call is `root`.
|
|
23417
|
-
*/
|
|
23418
|
-
"force_set_balance": {
|
|
23419
|
-
"who": HexString;
|
|
23420
|
-
"new_free": bigint;
|
|
23421
|
-
};
|
|
23422
|
-
/**
|
|
23423
|
-
* Adjust the total issuance in a saturating way.
|
|
23424
|
-
*
|
|
23425
|
-
* Can only be called by root and always needs a positive `delta`.
|
|
23426
|
-
*
|
|
23427
|
-
* # Example
|
|
23428
|
-
*/
|
|
23429
|
-
"force_adjust_total_issuance": Anonymize<I5u8olqbbvfnvf>;
|
|
23430
|
-
/**
|
|
23431
|
-
* Burn the specified liquid free balance from the origin account.
|
|
23432
|
-
*
|
|
23433
|
-
* If the origin's account ends up below the existential deposit as a result
|
|
23434
|
-
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
23435
|
-
*
|
|
23436
|
-
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
23437
|
-
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
23438
|
-
*/
|
|
23439
|
-
"burn": Anonymize<I5utcetro501ir>;
|
|
23440
|
-
}>;
|
|
23441
|
-
"ParachainStaking": Enum<{
|
|
23442
|
-
/**
|
|
23443
|
-
* Set the expectations for total staked. These expectations determine the issuance for
|
|
23444
|
-
* the round according to logic in `fn compute_issuance`
|
|
23445
|
-
*/
|
|
23446
|
-
"set_staking_expectations": {
|
|
23447
|
-
"expectations": {
|
|
23448
|
-
"min": bigint;
|
|
23449
|
-
"ideal": bigint;
|
|
23450
|
-
"max": bigint;
|
|
23451
|
-
};
|
|
23452
|
-
};
|
|
23453
|
-
/**
|
|
23454
|
-
* Set the annual inflation rate to derive per-round inflation
|
|
23455
|
-
*/
|
|
23456
|
-
"set_inflation": {
|
|
23457
|
-
"schedule": {
|
|
23458
|
-
"min": number;
|
|
23459
|
-
"ideal": number;
|
|
23460
|
-
"max": number;
|
|
23461
|
-
};
|
|
23462
|
-
};
|
|
23463
|
-
/**
|
|
23464
|
-
* Set the total number of collator candidates selected per round
|
|
23465
|
-
* - changes are not applied until the start of the next round
|
|
23466
|
-
*/
|
|
23467
|
-
"set_total_selected": Anonymize<I3vh014cqgmrfd>;
|
|
23468
|
-
/**
|
|
23469
|
-
* Set the commission for all collators
|
|
23470
|
-
*/
|
|
23471
|
-
"set_collator_commission": Anonymize<I3vh014cqgmrfd>;
|
|
23472
|
-
/**
|
|
23473
|
-
* Set blocks per round
|
|
23474
|
-
* - if called with `new` less than length of current round, will transition immediately
|
|
23475
|
-
* in the next block
|
|
23476
|
-
* - also updates per-round inflation config
|
|
23477
|
-
*/
|
|
23478
|
-
"set_blocks_per_round": Anonymize<I3vh014cqgmrfd>;
|
|
23479
|
-
/**
|
|
23480
|
-
* Join the set of collator candidates
|
|
23481
|
-
*/
|
|
23482
|
-
"join_candidates": {
|
|
23483
|
-
"bond": bigint;
|
|
23484
|
-
"candidate_count": number;
|
|
23485
|
-
};
|
|
23486
|
-
/**
|
|
23487
|
-
* Request to leave the set of candidates. If successful, the account is immediately
|
|
23488
|
-
* removed from the candidate pool to prevent selection as a collator.
|
|
23489
|
-
*/
|
|
23490
|
-
"schedule_leave_candidates": {
|
|
23491
|
-
"candidate_count": number;
|
|
23492
|
-
};
|
|
23493
|
-
/**
|
|
23494
|
-
* Execute leave candidates request
|
|
23495
|
-
*/
|
|
23496
|
-
"execute_leave_candidates": {
|
|
23497
|
-
"candidate": HexString;
|
|
23498
|
-
"candidate_delegation_count": number;
|
|
23499
|
-
};
|
|
23500
|
-
/**
|
|
23501
|
-
* Cancel open request to leave candidates
|
|
23502
|
-
* - only callable by collator account
|
|
23503
|
-
* - result upon successful call is the candidate is active in the candidate pool
|
|
23504
|
-
*/
|
|
23505
|
-
"cancel_leave_candidates": {
|
|
23506
|
-
"candidate_count": number;
|
|
23507
|
-
};
|
|
23508
|
-
/**
|
|
23509
|
-
* Temporarily leave the set of collator candidates without unbonding
|
|
23510
|
-
*/
|
|
23511
|
-
"go_offline": undefined;
|
|
23512
|
-
/**
|
|
23513
|
-
* Rejoin the set of collator candidates if previously had called `go_offline`
|
|
23514
|
-
*/
|
|
23515
|
-
"go_online": undefined;
|
|
23516
|
-
/**
|
|
23517
|
-
* Increase collator candidate self bond by `more`
|
|
23518
|
-
*/
|
|
23519
|
-
"candidate_bond_more": {
|
|
23520
|
-
"more": bigint;
|
|
23521
|
-
};
|
|
23522
|
-
/**
|
|
23523
|
-
* Request by collator candidate to decrease self bond by `less`
|
|
23524
|
-
*/
|
|
23525
|
-
"schedule_candidate_bond_less": {
|
|
23526
|
-
"less": bigint;
|
|
23527
|
-
};
|
|
23528
|
-
/**
|
|
23529
|
-
* Execute pending request to adjust the collator candidate self bond
|
|
23530
|
-
*/
|
|
23531
|
-
"execute_candidate_bond_less": {
|
|
23532
|
-
"candidate": HexString;
|
|
23533
|
-
};
|
|
23534
|
-
/**
|
|
23535
|
-
* Cancel pending request to adjust the collator candidate self bond
|
|
23536
|
-
*/
|
|
23537
|
-
"cancel_candidate_bond_less": undefined;
|
|
23538
|
-
/**
|
|
23539
|
-
* If caller is not a delegator and not a collator, then join the set of delegators
|
|
23540
|
-
* If caller is a delegator, then makes delegation to change their delegation state
|
|
23541
|
-
* Sets the auto-compound config for the delegation
|
|
23542
|
-
*/
|
|
23543
|
-
"delegate_with_auto_compound": {
|
|
23544
|
-
"candidate": HexString;
|
|
23545
|
-
"amount": bigint;
|
|
23546
|
-
"auto_compound": number;
|
|
23547
|
-
"candidate_delegation_count": number;
|
|
23548
|
-
"candidate_auto_compounding_delegation_count": number;
|
|
23549
|
-
"delegation_count": number;
|
|
23550
|
-
};
|
|
23551
|
-
/**
|
|
23552
|
-
* Request to revoke an existing delegation. If successful, the delegation is scheduled
|
|
23553
|
-
* to be allowed to be revoked via the `execute_delegation_request` extrinsic.
|
|
23554
|
-
* The delegation receives no rewards for the rounds while a revoke is pending.
|
|
23555
|
-
* A revoke may not be performed if any other scheduled request is pending.
|
|
23556
|
-
*/
|
|
23557
|
-
"schedule_revoke_delegation": Anonymize<I5ib1pr87frhq4>;
|
|
23558
|
-
/**
|
|
23559
|
-
* Bond more for delegators wrt a specific collator candidate.
|
|
23560
|
-
*/
|
|
23561
|
-
"delegator_bond_more": {
|
|
23562
|
-
"candidate": HexString;
|
|
23563
|
-
"more": bigint;
|
|
23564
|
-
};
|
|
23565
|
-
/**
|
|
23566
|
-
* Request bond less for delegators wrt a specific collator candidate. The delegation's
|
|
23567
|
-
* rewards for rounds while the request is pending use the reduced bonded amount.
|
|
23568
|
-
* A bond less may not be performed if a revoke request is pending for the same delegation.
|
|
23569
|
-
*/
|
|
23570
|
-
"schedule_delegator_bond_less": {
|
|
23571
|
-
"candidate": HexString;
|
|
23572
|
-
"less": bigint;
|
|
23573
|
-
};
|
|
23574
|
-
/**
|
|
23575
|
-
* Execute pending request to change an existing delegation
|
|
23576
|
-
*/
|
|
23577
|
-
"execute_delegation_request": {
|
|
23578
|
-
"delegator": HexString;
|
|
23579
|
-
"candidate": HexString;
|
|
23580
|
-
};
|
|
23581
|
-
/**
|
|
23582
|
-
* Cancel request to change an existing delegation.
|
|
23583
|
-
*/
|
|
23584
|
-
"cancel_delegation_request": {
|
|
23585
|
-
"candidate": HexString;
|
|
23586
|
-
};
|
|
23587
|
-
/**
|
|
23588
|
-
* Sets the auto-compounding reward percentage for a delegation.
|
|
23589
|
-
*/
|
|
23590
|
-
"set_auto_compound": {
|
|
23591
|
-
"candidate": HexString;
|
|
23592
|
-
"value": number;
|
|
23593
|
-
"candidate_auto_compounding_delegation_count_hint": number;
|
|
23594
|
-
"delegation_count_hint": number;
|
|
23595
|
-
};
|
|
23596
|
-
/**
|
|
23597
|
-
* Notify a collator is inactive during MaxOfflineRounds
|
|
23598
|
-
*/
|
|
23599
|
-
"notify_inactive_collator": Anonymize<I5ib1pr87frhq4>;
|
|
23600
|
-
/**
|
|
23601
|
-
* Enable/Disable marking offline feature
|
|
23602
|
-
*/
|
|
23603
|
-
"enable_marking_offline": {
|
|
23604
|
-
"value": boolean;
|
|
23605
|
-
};
|
|
23606
|
-
/**
|
|
23607
|
-
* Force join the set of collator candidates.
|
|
23608
|
-
* It will skip the minimum required bond check.
|
|
23609
|
-
*/
|
|
23610
|
-
"force_join_candidates": {
|
|
23611
|
-
"account": HexString;
|
|
23612
|
-
"bond": bigint;
|
|
23613
|
-
"candidate_count": number;
|
|
23614
|
-
};
|
|
23615
|
-
/**
|
|
23616
|
-
* Set the inflation distribution configuration.
|
|
23617
|
-
*/
|
|
23618
|
-
"set_inflation_distribution_config": {
|
|
23619
|
-
"new": FixedSizeArray<2, {
|
|
23620
|
-
"account": HexString;
|
|
23621
|
-
"percent": number;
|
|
23622
|
-
}>;
|
|
23623
|
-
};
|
|
23624
|
-
}>;
|
|
23625
|
-
"AuthorInherent": Enum<{
|
|
23626
|
-
/**
|
|
23627
|
-
* This inherent is a workaround to run code after the "real" inherents have executed,
|
|
23628
|
-
* but before transactions are executed.
|
|
23629
|
-
*/
|
|
23630
|
-
"kick_off_authorship_validation": undefined;
|
|
23631
|
-
}>;
|
|
23632
|
-
"AuthorFilter": Enum<{
|
|
23633
|
-
/**
|
|
23634
|
-
* Update the eligible count. Intended to be called by governance.
|
|
23635
|
-
*/
|
|
23636
|
-
"set_eligible": Anonymize<I3vh014cqgmrfd>;
|
|
23637
|
-
}>;
|
|
23638
|
-
"AuthorMapping": Enum<{
|
|
23639
|
-
/**
|
|
23640
|
-
* Register your NimbusId onchain so blocks you author are associated with your account.
|
|
23641
|
-
*
|
|
23642
|
-
* Users who have been (or will soon be) elected active collators in staking,
|
|
23643
|
-
* should submit this extrinsic to have their blocks accepted and earn rewards.
|
|
23644
|
-
*/
|
|
23645
|
-
"add_association": {
|
|
23646
|
-
"nimbus_id": SizedHex<32>;
|
|
23647
|
-
};
|
|
23648
|
-
/**
|
|
23649
|
-
* Change your Mapping.
|
|
23650
|
-
*
|
|
23651
|
-
* This is useful for normal key rotation or for when switching from one physical collator
|
|
23652
|
-
* machine to another. No new security deposit is required.
|
|
23653
|
-
* This sets keys to new_nimbus_id.into() by default.
|
|
23654
|
-
*/
|
|
23655
|
-
"update_association": {
|
|
23656
|
-
"old_nimbus_id": SizedHex<32>;
|
|
23657
|
-
"new_nimbus_id": SizedHex<32>;
|
|
23658
|
-
};
|
|
23659
|
-
/**
|
|
23660
|
-
* Clear your Mapping.
|
|
23661
|
-
*
|
|
23662
|
-
* This is useful when you are no longer an author and would like to re-claim your security
|
|
23663
|
-
* deposit.
|
|
23664
|
-
*/
|
|
23665
|
-
"clear_association": {
|
|
23666
|
-
"nimbus_id": SizedHex<32>;
|
|
23667
|
-
};
|
|
23668
|
-
/**
|
|
23669
|
-
* Remove your Mapping.
|
|
23670
|
-
*
|
|
23671
|
-
* This is useful when you are no longer an author and would like to re-claim your security
|
|
23672
|
-
* deposit.
|
|
23673
|
-
*/
|
|
23674
|
-
"remove_keys": undefined;
|
|
23675
|
-
/**
|
|
23676
|
-
* Set association and session keys at once.
|
|
23677
|
-
*
|
|
23678
|
-
* This is useful for key rotation to update Nimbus and VRF keys in one call.
|
|
23679
|
-
* No new security deposit is required. Will replace `update_association` which is kept
|
|
23680
|
-
* now for backwards compatibility reasons.
|
|
23681
|
-
*/
|
|
23682
|
-
"set_keys": {
|
|
23683
|
-
"keys": Uint8Array;
|
|
23684
|
-
};
|
|
23685
|
-
}>;
|
|
23686
|
-
"MoonbeamOrbiters": Enum<{
|
|
23687
|
-
/**
|
|
23688
|
-
* Add an orbiter in a collator pool
|
|
23689
|
-
*/
|
|
23690
|
-
"collator_add_orbiter": {
|
|
23691
|
-
"orbiter": HexString;
|
|
23692
|
-
};
|
|
23693
|
-
/**
|
|
23694
|
-
* Remove an orbiter from the caller collator pool
|
|
23695
|
-
*/
|
|
23696
|
-
"collator_remove_orbiter": {
|
|
23697
|
-
"orbiter": HexString;
|
|
23698
|
-
};
|
|
23699
|
-
/**
|
|
23700
|
-
* Remove the caller from the specified collator pool
|
|
23701
|
-
*/
|
|
23702
|
-
"orbiter_leave_collator_pool": Anonymize<I5ib1pr87frhq4>;
|
|
23703
|
-
/**
|
|
23704
|
-
* Registering as an orbiter
|
|
23705
|
-
*/
|
|
23706
|
-
"orbiter_register": undefined;
|
|
23707
|
-
/**
|
|
23708
|
-
* Deregistering from orbiters
|
|
23709
|
-
*/
|
|
23710
|
-
"orbiter_unregister": {
|
|
23711
|
-
"collators_pool_count": number;
|
|
23712
|
-
};
|
|
23713
|
-
/**
|
|
23714
|
-
* Add a collator to orbiters program.
|
|
23715
|
-
*/
|
|
23716
|
-
"add_collator": Anonymize<I5ib1pr87frhq4>;
|
|
23717
|
-
/**
|
|
23718
|
-
* Remove a collator from orbiters program.
|
|
23719
|
-
*/
|
|
23720
|
-
"remove_collator": Anonymize<I5ib1pr87frhq4>;
|
|
23721
|
-
}>;
|
|
23722
|
-
"Utility": Enum<{
|
|
23723
|
-
/**
|
|
23724
|
-
* Send a batch of dispatch calls.
|
|
23725
|
-
*
|
|
23726
|
-
* May be called from any origin except `None`.
|
|
23727
|
-
*
|
|
23728
|
-
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
23729
|
-
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
23730
|
-
*
|
|
23731
|
-
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
23732
|
-
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
23733
|
-
*
|
|
23734
|
-
* ## Complexity
|
|
23735
|
-
* - O(C) where C is the number of calls to be batched.
|
|
23736
|
-
*
|
|
23737
|
-
* This will return `Ok` in all circumstances. To determine the success of the batch, an
|
|
23738
|
-
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
23739
|
-
* `BatchInterrupted` event is deposited, along with the number of successful calls made
|
|
23740
|
-
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
23741
|
-
* event is deposited.
|
|
23742
|
-
*/
|
|
23743
|
-
"batch": {
|
|
23744
|
-
"calls": Array<TxCallData>;
|
|
23745
|
-
};
|
|
23746
|
-
/**
|
|
23747
|
-
* Send a call through an indexed pseudonym of the sender.
|
|
23748
|
-
*
|
|
23749
|
-
* Filter from origin are passed along. The call will be dispatched with an origin which
|
|
23750
|
-
* use the same filter as the origin of this call.
|
|
23751
|
-
*
|
|
23752
|
-
* NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
|
|
23753
|
-
* because you expect `proxy` to have been used prior in the call stack and you do not want
|
|
23754
|
-
* the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
|
|
23755
|
-
* in the Multisig pallet instead.
|
|
23756
|
-
*
|
|
23757
|
-
* NOTE: Prior to version *12, this was called `as_limited_sub`.
|
|
23758
|
-
*
|
|
23759
|
-
* The dispatch origin for this call must be _Signed_.
|
|
23760
|
-
*/
|
|
23761
|
-
"as_derivative": {
|
|
23762
|
-
"index": number;
|
|
23763
|
-
"call": TxCallData;
|
|
23764
|
-
};
|
|
23765
|
-
/**
|
|
23766
|
-
* Send a batch of dispatch calls and atomically execute them.
|
|
23767
|
-
* The whole transaction will rollback and fail if any of the calls failed.
|
|
23768
|
-
*
|
|
23769
|
-
* May be called from any origin except `None`.
|
|
23770
|
-
*
|
|
23771
|
-
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
23772
|
-
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
23773
|
-
*
|
|
23774
|
-
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
23775
|
-
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
23776
|
-
*
|
|
23777
|
-
* ## Complexity
|
|
23778
|
-
* - O(C) where C is the number of calls to be batched.
|
|
23779
|
-
*/
|
|
23780
|
-
"batch_all": {
|
|
23781
|
-
"calls": Array<TxCallData>;
|
|
23782
|
-
};
|
|
23783
|
-
/**
|
|
23784
|
-
* Dispatches a function call with a provided origin.
|
|
23785
|
-
*
|
|
23786
|
-
* The dispatch origin for this call must be _Root_.
|
|
23787
|
-
*
|
|
23788
|
-
* ## Complexity
|
|
23789
|
-
* - O(1).
|
|
23790
|
-
*/
|
|
23791
|
-
"dispatch_as": {
|
|
23792
|
-
"as_origin": Anonymize<Iaik8o9viabg12>;
|
|
23793
|
-
"call": TxCallData;
|
|
23794
|
-
};
|
|
23795
|
-
/**
|
|
23796
|
-
* Send a batch of dispatch calls.
|
|
23797
|
-
* Unlike `batch`, it allows errors and won't interrupt.
|
|
23798
|
-
*
|
|
23799
|
-
* May be called from any origin except `None`.
|
|
23800
|
-
*
|
|
23801
|
-
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
23802
|
-
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
23803
|
-
*
|
|
23804
|
-
* If origin is root then the calls are dispatch without checking origin filter. (This
|
|
23805
|
-
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
23806
|
-
*
|
|
23807
|
-
* ## Complexity
|
|
23808
|
-
* - O(C) where C is the number of calls to be batched.
|
|
23809
|
-
*/
|
|
23810
|
-
"force_batch": {
|
|
23811
|
-
"calls": Array<TxCallData>;
|
|
23812
|
-
};
|
|
23813
|
-
/**
|
|
23814
|
-
* Dispatch a function call with a specified weight.
|
|
23815
|
-
*
|
|
23816
|
-
* This function does not check the weight of the call, and instead allows the
|
|
23817
|
-
* Root origin to specify the weight of the call.
|
|
23818
|
-
*
|
|
23819
|
-
* The dispatch origin for this call must be _Root_.
|
|
23820
|
-
*/
|
|
23821
|
-
"with_weight": {
|
|
23822
|
-
"call": TxCallData;
|
|
23823
|
-
"weight": Anonymize<I4q39t5hn830vp>;
|
|
23824
|
-
};
|
|
23825
|
-
/**
|
|
23826
|
-
* Dispatch a fallback call in the event the main call fails to execute.
|
|
23827
|
-
* May be called from any origin except `None`.
|
|
23828
|
-
*
|
|
23829
|
-
* This function first attempts to dispatch the `main` call.
|
|
23830
|
-
* If the `main` call fails, the `fallback` is attemted.
|
|
23831
|
-
* if the fallback is successfully dispatched, the weights of both calls
|
|
23832
|
-
* are accumulated and an event containing the main call error is deposited.
|
|
23833
|
-
*
|
|
23834
|
-
* In the event of a fallback failure the whole call fails
|
|
23835
|
-
* with the weights returned.
|
|
23836
|
-
*
|
|
23837
|
-
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
23838
|
-
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
23839
|
-
*
|
|
23840
|
-
* ## Dispatch Logic
|
|
23841
|
-
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
23842
|
-
* applying any origin filters.
|
|
23843
|
-
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
23844
|
-
* `fallback` calls.
|
|
23845
|
-
*
|
|
23846
|
-
* ## Use Case
|
|
23847
|
-
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
23848
|
-
* or both.
|
|
23849
|
-
*/
|
|
23850
|
-
"if_else": {
|
|
23851
|
-
"main": TxCallData;
|
|
23852
|
-
"fallback": TxCallData;
|
|
23853
|
-
};
|
|
23854
|
-
/**
|
|
23855
|
-
* Dispatches a function call with a provided origin.
|
|
23856
|
-
*
|
|
23857
|
-
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
23858
|
-
*
|
|
23859
|
-
* The dispatch origin for this call must be _Root_.
|
|
23860
|
-
*/
|
|
23861
|
-
"dispatch_as_fallible": {
|
|
23862
|
-
"as_origin": Anonymize<Iaik8o9viabg12>;
|
|
23863
|
-
"call": TxCallData;
|
|
23864
|
-
};
|
|
23865
|
-
}>;
|
|
23866
|
-
"Proxy": Enum<{
|
|
23867
|
-
/**
|
|
23868
|
-
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
23869
|
-
* `add_proxy`.
|
|
23870
|
-
*
|
|
23871
|
-
* The dispatch origin for this call must be _Signed_.
|
|
23872
|
-
*
|
|
23873
|
-
* Parameters:
|
|
23874
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
23875
|
-
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
23876
|
-
* - `call`: The call to be made by the `real` account.
|
|
23877
|
-
*/
|
|
23878
|
-
"proxy": {
|
|
23879
|
-
"real": HexString;
|
|
23880
|
-
"force_proxy_type"?: Anonymize<Idm815cukrjhah>;
|
|
23881
|
-
"call": TxCallData;
|
|
23882
|
-
};
|
|
23883
|
-
/**
|
|
23884
|
-
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
23885
|
-
*
|
|
23886
|
-
* The dispatch origin for this call must be _Signed_.
|
|
23887
|
-
*
|
|
23888
|
-
* Parameters:
|
|
23889
|
-
* - `proxy`: The account that the `caller` would like to make a proxy.
|
|
23890
|
-
* - `proxy_type`: The permissions allowed for this proxy account.
|
|
23891
|
-
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
23892
|
-
* zero.
|
|
23893
|
-
*/
|
|
23894
|
-
"add_proxy": {
|
|
23895
|
-
"delegate": HexString;
|
|
23896
|
-
"proxy_type": Anonymize<Ifmiop0mj0oacq>;
|
|
23897
|
-
"delay": number;
|
|
23898
|
-
};
|
|
23899
|
-
/**
|
|
23900
|
-
* Unregister a proxy account for the sender.
|
|
23901
|
-
*
|
|
23902
|
-
* The dispatch origin for this call must be _Signed_.
|
|
23903
|
-
*
|
|
23904
|
-
* Parameters:
|
|
23905
|
-
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
23906
|
-
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
23907
|
-
*/
|
|
23908
|
-
"remove_proxy": {
|
|
23909
|
-
"delegate": HexString;
|
|
23910
|
-
"proxy_type": Anonymize<Ifmiop0mj0oacq>;
|
|
23911
|
-
"delay": number;
|
|
23912
|
-
};
|
|
23913
|
-
/**
|
|
23914
|
-
* Unregister all proxy accounts for the sender.
|
|
23915
|
-
*
|
|
23916
|
-
* The dispatch origin for this call must be _Signed_.
|
|
23917
|
-
*
|
|
23918
|
-
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
23919
|
-
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
23920
|
-
*/
|
|
23921
|
-
"remove_proxies": undefined;
|
|
23922
|
-
/**
|
|
23923
|
-
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
|
23924
|
-
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
23925
|
-
*
|
|
23926
|
-
* Requires a `Signed` origin.
|
|
23927
|
-
*
|
|
23928
|
-
* - `proxy_type`: The type of the proxy that the sender will be registered as over the
|
|
23929
|
-
* new account. This will almost always be the most permissive `ProxyType` possible to
|
|
23930
|
-
* allow for maximum flexibility.
|
|
23931
|
-
* - `index`: A disambiguation index, in case this is called multiple times in the same
|
|
23932
|
-
* transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
|
|
23933
|
-
* want to use `0`.
|
|
23934
|
-
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
23935
|
-
* zero.
|
|
23936
|
-
*
|
|
23937
|
-
* Fails with `Duplicate` if this has already been called in this transaction, from the
|
|
23938
|
-
* same sender, with the same parameters.
|
|
23939
|
-
*
|
|
23940
|
-
* Fails if there are insufficient funds to pay for deposit.
|
|
23941
|
-
*/
|
|
23942
|
-
"create_pure": {
|
|
23943
|
-
"proxy_type": Anonymize<Ifmiop0mj0oacq>;
|
|
23944
|
-
"delay": number;
|
|
23945
|
-
"index": number;
|
|
23946
|
-
};
|
|
23947
|
-
/**
|
|
23948
|
-
* Removes a previously spawned pure proxy.
|
|
23949
|
-
*
|
|
23950
|
-
* WARNING: **All access to this account will be lost.** Any funds held in it will be
|
|
23951
|
-
* inaccessible.
|
|
23952
|
-
*
|
|
23953
|
-
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
23954
|
-
* `create_pure` with corresponding parameters.
|
|
23955
|
-
*
|
|
23956
|
-
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
23957
|
-
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
23958
|
-
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
23959
|
-
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
23960
|
-
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
23961
|
-
*
|
|
23962
|
-
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
23963
|
-
* account whose `create_pure` call has corresponding parameters.
|
|
23964
|
-
*/
|
|
23965
|
-
"kill_pure": {
|
|
23966
|
-
"spawner": HexString;
|
|
23967
|
-
"proxy_type": Anonymize<Ifmiop0mj0oacq>;
|
|
23968
|
-
"index": number;
|
|
23969
|
-
"height": number;
|
|
23970
|
-
"ext_index": number;
|
|
23971
|
-
};
|
|
23972
|
-
/**
|
|
23973
|
-
* Publish the hash of a proxy-call that will be made in the future.
|
|
23974
|
-
*
|
|
23975
|
-
* This must be called some number of blocks before the corresponding `proxy` is attempted
|
|
23976
|
-
* if the delay associated with the proxy relationship is greater than zero.
|
|
23977
|
-
*
|
|
23978
|
-
* No more than `MaxPending` announcements may be made at any one time.
|
|
23979
|
-
*
|
|
23980
|
-
* This will take a deposit of `AnnouncementDepositFactor` as well as
|
|
23981
|
-
* `AnnouncementDepositBase` if there are no other pending announcements.
|
|
23982
|
-
*
|
|
23983
|
-
* The dispatch origin for this call must be _Signed_ and a proxy of `real`.
|
|
23984
|
-
*
|
|
23985
|
-
* Parameters:
|
|
23986
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
23987
|
-
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
23988
|
-
*/
|
|
23989
|
-
"announce": {
|
|
23990
|
-
"real": HexString;
|
|
23991
|
-
"call_hash": SizedHex<32>;
|
|
23992
|
-
};
|
|
23993
|
-
/**
|
|
23994
|
-
* Remove a given announcement.
|
|
23995
|
-
*
|
|
23996
|
-
* May be called by a proxy account to remove a call they previously announced and return
|
|
23997
|
-
* the deposit.
|
|
23998
|
-
*
|
|
23999
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24000
|
-
*
|
|
24001
|
-
* Parameters:
|
|
24002
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
24003
|
-
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
24004
|
-
*/
|
|
24005
|
-
"remove_announcement": {
|
|
24006
|
-
"real": HexString;
|
|
24007
|
-
"call_hash": SizedHex<32>;
|
|
24008
|
-
};
|
|
24009
|
-
/**
|
|
24010
|
-
* Remove the given announcement of a delegate.
|
|
24011
|
-
*
|
|
24012
|
-
* May be called by a target (proxied) account to remove a call that one of their delegates
|
|
24013
|
-
* (`delegate`) has announced they want to execute. The deposit is returned.
|
|
24014
|
-
*
|
|
24015
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24016
|
-
*
|
|
24017
|
-
* Parameters:
|
|
24018
|
-
* - `delegate`: The account that previously announced the call.
|
|
24019
|
-
* - `call_hash`: The hash of the call to be made.
|
|
24020
|
-
*/
|
|
24021
|
-
"reject_announcement": {
|
|
24022
|
-
"delegate": HexString;
|
|
24023
|
-
"call_hash": SizedHex<32>;
|
|
24024
|
-
};
|
|
24025
|
-
/**
|
|
24026
|
-
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
24027
|
-
* `add_proxy`.
|
|
24028
|
-
*
|
|
24029
|
-
* Removes any corresponding announcement(s).
|
|
24030
|
-
*
|
|
24031
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24032
|
-
*
|
|
24033
|
-
* Parameters:
|
|
24034
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
24035
|
-
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
24036
|
-
* - `call`: The call to be made by the `real` account.
|
|
24037
|
-
*/
|
|
24038
|
-
"proxy_announced": {
|
|
24039
|
-
"delegate": HexString;
|
|
24040
|
-
"real": HexString;
|
|
24041
|
-
"force_proxy_type"?: Anonymize<Idm815cukrjhah>;
|
|
24042
|
-
"call": TxCallData;
|
|
24043
|
-
};
|
|
24044
|
-
/**
|
|
24045
|
-
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
24046
|
-
* This can be used by accounts to possibly lower their locked amount.
|
|
24047
|
-
*
|
|
24048
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24049
|
-
*
|
|
24050
|
-
* The transaction fee is waived if the deposit amount has changed.
|
|
24051
|
-
*
|
|
24052
|
-
* Emits `DepositPoked` if successful.
|
|
24053
|
-
*/
|
|
24054
|
-
"poke_deposit": undefined;
|
|
24055
|
-
}>;
|
|
24056
|
-
"MaintenanceMode": Enum<{
|
|
24057
|
-
/**
|
|
24058
|
-
* Place the chain in maintenance mode
|
|
24059
|
-
*
|
|
24060
|
-
* Weight cost is:
|
|
24061
|
-
* * One DB read to ensure we're not already in maintenance mode
|
|
24062
|
-
* * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event
|
|
24063
|
-
*/
|
|
24064
|
-
"enter_maintenance_mode": undefined;
|
|
24065
|
-
/**
|
|
24066
|
-
* Return the chain to normal operating mode
|
|
24067
|
-
*
|
|
24068
|
-
* Weight cost is:
|
|
24069
|
-
* * One DB read to ensure we're in maintenance mode
|
|
24070
|
-
* * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event
|
|
24071
|
-
*/
|
|
24072
|
-
"resume_normal_operation": undefined;
|
|
24073
|
-
}>;
|
|
24074
|
-
"Identity": Enum<{
|
|
24075
|
-
/**
|
|
24076
|
-
* Add a registrar to the system.
|
|
24077
|
-
*
|
|
24078
|
-
* The dispatch origin for this call must be `T::RegistrarOrigin`.
|
|
24079
|
-
*
|
|
24080
|
-
* - `account`: the account of the registrar.
|
|
24081
|
-
*
|
|
24082
|
-
* Emits `RegistrarAdded` if successful.
|
|
24083
|
-
*/
|
|
24084
|
-
"add_registrar": {
|
|
24085
|
-
"account": HexString;
|
|
24086
|
-
};
|
|
24087
|
-
/**
|
|
24088
|
-
* Set an account's identity information and reserve the appropriate deposit.
|
|
24089
|
-
*
|
|
24090
|
-
* If the account already has identity information, the deposit is taken as part payment
|
|
24091
|
-
* for the new deposit.
|
|
24092
|
-
*
|
|
24093
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24094
|
-
*
|
|
24095
|
-
* - `info`: The identity information.
|
|
24096
|
-
*
|
|
24097
|
-
* Emits `IdentitySet` if successful.
|
|
24098
|
-
*/
|
|
24099
|
-
"set_identity": Anonymize<I2kds5jji7slh8>;
|
|
24100
|
-
/**
|
|
24101
|
-
* Set the sub-accounts of the sender.
|
|
24102
|
-
*
|
|
24103
|
-
* Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned
|
|
24104
|
-
* and an amount `SubAccountDeposit` will be reserved for each item in `subs`.
|
|
24105
|
-
*
|
|
24106
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
24107
|
-
* identity.
|
|
24108
|
-
*
|
|
24109
|
-
* - `subs`: The identity's (new) sub-accounts.
|
|
24110
|
-
*/
|
|
24111
|
-
"set_subs": {
|
|
24112
|
-
"subs": Array<[HexString, IdentityData]>;
|
|
24113
|
-
};
|
|
24114
|
-
/**
|
|
24115
|
-
* Clear an account's identity info and all sub-accounts and return all deposits.
|
|
24116
|
-
*
|
|
24117
|
-
* Payment: All reserved balances on the account are returned.
|
|
24118
|
-
*
|
|
24119
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
24120
|
-
* identity.
|
|
24121
|
-
*
|
|
24122
|
-
* Emits `IdentityCleared` if successful.
|
|
24123
|
-
*/
|
|
24124
|
-
"clear_identity": undefined;
|
|
24125
|
-
/**
|
|
24126
|
-
* Request a judgement from a registrar.
|
|
24127
|
-
*
|
|
24128
|
-
* Payment: At most `max_fee` will be reserved for payment to the registrar if judgement
|
|
24129
|
-
* given.
|
|
24130
|
-
*
|
|
24131
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a
|
|
24132
|
-
* registered identity.
|
|
24133
|
-
*
|
|
24134
|
-
* - `reg_index`: The index of the registrar whose judgement is requested.
|
|
24135
|
-
* - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
|
|
24136
|
-
*
|
|
24137
|
-
* ```nocompile
|
|
24138
|
-
* Registrars::<T>::get().get(reg_index).unwrap().fee
|
|
24139
|
-
* ```
|
|
24140
|
-
*
|
|
24141
|
-
* Emits `JudgementRequested` if successful.
|
|
24142
|
-
*/
|
|
24143
|
-
"request_judgement": Anonymize<I9l2s4klu0831o>;
|
|
24144
|
-
/**
|
|
24145
|
-
* Cancel a previous request.
|
|
24146
|
-
*
|
|
24147
|
-
* Payment: A previously reserved deposit is returned on success.
|
|
24148
|
-
*
|
|
24149
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a
|
|
24150
|
-
* registered identity.
|
|
24151
|
-
*
|
|
24152
|
-
* - `reg_index`: The index of the registrar whose judgement is no longer requested.
|
|
24153
|
-
*
|
|
24154
|
-
* Emits `JudgementUnrequested` if successful.
|
|
24155
|
-
*/
|
|
24156
|
-
"cancel_request": Anonymize<I2ctrt5nqb8o7c>;
|
|
24157
|
-
/**
|
|
24158
|
-
* Set the fee required for a judgement to be requested from a registrar.
|
|
24159
|
-
*
|
|
24160
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
24161
|
-
* of the registrar whose index is `index`.
|
|
24162
|
-
*
|
|
24163
|
-
* - `index`: the index of the registrar whose fee is to be set.
|
|
24164
|
-
* - `fee`: the new fee.
|
|
24165
|
-
*/
|
|
24166
|
-
"set_fee": Anonymize<I711qahikocb1c>;
|
|
24167
|
-
/**
|
|
24168
|
-
* Change the account associated with a registrar.
|
|
24169
|
-
*
|
|
24170
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
24171
|
-
* of the registrar whose index is `index`.
|
|
24172
|
-
*
|
|
24173
|
-
* - `index`: the index of the registrar whose fee is to be set.
|
|
24174
|
-
* - `new`: the new account ID.
|
|
24175
|
-
*/
|
|
24176
|
-
"set_account_id": {
|
|
24177
|
-
"index": number;
|
|
24178
|
-
"new": HexString;
|
|
24179
|
-
};
|
|
24180
|
-
/**
|
|
24181
|
-
* Set the field information for a registrar.
|
|
24182
|
-
*
|
|
24183
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
24184
|
-
* of the registrar whose index is `index`.
|
|
24185
|
-
*
|
|
24186
|
-
* - `index`: the index of the registrar whose fee is to be set.
|
|
24187
|
-
* - `fields`: the fields that the registrar concerns themselves with.
|
|
24188
|
-
*/
|
|
24189
|
-
"set_fields": Anonymize<Id6gojh30v9ib2>;
|
|
24190
|
-
/**
|
|
24191
|
-
* Provide a judgement for an account's identity.
|
|
24192
|
-
*
|
|
24193
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
24194
|
-
* of the registrar whose index is `reg_index`.
|
|
24195
|
-
*
|
|
24196
|
-
* - `reg_index`: the index of the registrar whose judgement is being made.
|
|
24197
|
-
* - `target`: the account whose identity the judgement is upon. This must be an account
|
|
24198
|
-
* with a registered identity.
|
|
24199
|
-
* - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
|
|
24200
|
-
* - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is
|
|
24201
|
-
* provided.
|
|
24202
|
-
*
|
|
24203
|
-
* Note: Judgements do not apply to a username.
|
|
24204
|
-
*
|
|
24205
|
-
* Emits `JudgementGiven` if successful.
|
|
24206
|
-
*/
|
|
24207
|
-
"provide_judgement": {
|
|
24208
|
-
"reg_index": number;
|
|
24209
|
-
"target": HexString;
|
|
24210
|
-
"judgement": IdentityJudgement;
|
|
24211
|
-
"identity": SizedHex<32>;
|
|
24212
|
-
};
|
|
24213
|
-
/**
|
|
24214
|
-
* Remove an account's identity and sub-account information and slash the deposits.
|
|
24215
|
-
*
|
|
24216
|
-
* Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
|
|
24217
|
-
* `Slash`. Verification request deposits are not returned; they should be cancelled
|
|
24218
|
-
* manually using `cancel_request`.
|
|
24219
|
-
*
|
|
24220
|
-
* The dispatch origin for this call must match `T::ForceOrigin`.
|
|
24221
|
-
*
|
|
24222
|
-
* - `target`: the account whose identity the judgement is upon. This must be an account
|
|
24223
|
-
* with a registered identity.
|
|
24224
|
-
*
|
|
24225
|
-
* Emits `IdentityKilled` if successful.
|
|
24226
|
-
*/
|
|
24227
|
-
"kill_identity": Anonymize<Ibfkgq22t8bv8o>;
|
|
24228
|
-
/**
|
|
24229
|
-
* Add the given account to the sender's subs.
|
|
24230
|
-
*
|
|
24231
|
-
* Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
|
|
24232
|
-
* to the sender.
|
|
24233
|
-
*
|
|
24234
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
24235
|
-
* sub identity of `sub`.
|
|
24236
|
-
*/
|
|
24237
|
-
"add_sub": {
|
|
24238
|
-
"sub": HexString;
|
|
24239
|
-
"data": IdentityData;
|
|
24240
|
-
};
|
|
24241
|
-
/**
|
|
24242
|
-
* Alter the associated name of the given sub-account.
|
|
24243
|
-
*
|
|
24244
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
24245
|
-
* sub identity of `sub`.
|
|
24246
|
-
*/
|
|
24247
|
-
"rename_sub": {
|
|
24248
|
-
"sub": HexString;
|
|
24249
|
-
"data": IdentityData;
|
|
24250
|
-
};
|
|
24251
|
-
/**
|
|
24252
|
-
* Remove the given account from the sender's subs.
|
|
24253
|
-
*
|
|
24254
|
-
* Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
|
|
24255
|
-
* to the sender.
|
|
24256
|
-
*
|
|
24257
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
24258
|
-
* sub identity of `sub`.
|
|
24259
|
-
*/
|
|
24260
|
-
"remove_sub": {
|
|
24261
|
-
"sub": HexString;
|
|
24262
|
-
};
|
|
24263
|
-
/**
|
|
24264
|
-
* Remove the sender as a sub-account.
|
|
24265
|
-
*
|
|
24266
|
-
* Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
|
|
24267
|
-
* to the sender (*not* the original depositor).
|
|
24268
|
-
*
|
|
24269
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
24270
|
-
* super-identity.
|
|
24271
|
-
*
|
|
24272
|
-
* NOTE: This should not normally be used, but is provided in the case that the non-
|
|
24273
|
-
* controller of an account is maliciously registered as a sub-account.
|
|
24274
|
-
*/
|
|
24275
|
-
"quit_sub": undefined;
|
|
24276
|
-
/**
|
|
24277
|
-
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
24278
|
-
*
|
|
24279
|
-
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
24280
|
-
* change the account used to grant usernames, this call can be used with the updated
|
|
24281
|
-
* parameters to overwrite the existing configuration.
|
|
24282
|
-
*/
|
|
24283
|
-
"add_username_authority": {
|
|
24284
|
-
"authority": HexString;
|
|
24285
|
-
"suffix": Uint8Array;
|
|
24286
|
-
"allocation": number;
|
|
24287
|
-
};
|
|
24288
|
-
/**
|
|
24289
|
-
* Remove `authority` from the username authorities.
|
|
24290
|
-
*/
|
|
24291
|
-
"remove_username_authority": {
|
|
24292
|
-
"suffix": Uint8Array;
|
|
24293
|
-
"authority": HexString;
|
|
24294
|
-
};
|
|
24295
|
-
/**
|
|
24296
|
-
* Set the username for `who`. Must be called by a username authority.
|
|
24297
|
-
*
|
|
24298
|
-
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
24299
|
-
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
24300
|
-
* username.
|
|
24301
|
-
*
|
|
24302
|
-
* Users can either pre-sign their usernames or
|
|
24303
|
-
* accept them later.
|
|
24304
|
-
*
|
|
24305
|
-
* Usernames must:
|
|
24306
|
-
* - Only contain lowercase ASCII characters or digits.
|
|
24307
|
-
* - When combined with the suffix of the issuing authority be _less than_ the
|
|
24308
|
-
* `MaxUsernameLength`.
|
|
24309
|
-
*/
|
|
24310
|
-
"set_username_for": {
|
|
24311
|
-
"who": HexString;
|
|
24312
|
-
"username": Uint8Array;
|
|
24313
|
-
"signature"?: (SizedHex<65>) | undefined;
|
|
24314
|
-
"use_allocation": boolean;
|
|
24315
|
-
};
|
|
24316
|
-
/**
|
|
24317
|
-
* Accept a given username that an `authority` granted. The call must include the full
|
|
24318
|
-
* username, as in `username.suffix`.
|
|
24319
|
-
*/
|
|
24320
|
-
"accept_username": Anonymize<Ie5l999tf7t2te>;
|
|
24321
|
-
/**
|
|
24322
|
-
* Remove an expired username approval. The username was approved by an authority but never
|
|
24323
|
-
* accepted by the user and must now be beyond its expiration. The call must include the
|
|
24324
|
-
* full username, as in `username.suffix`.
|
|
24325
|
-
*/
|
|
24326
|
-
"remove_expired_approval": Anonymize<Ie5l999tf7t2te>;
|
|
24327
|
-
/**
|
|
24328
|
-
* Set a given username as the primary. The username should include the suffix.
|
|
24329
|
-
*/
|
|
24330
|
-
"set_primary_username": Anonymize<Ie5l999tf7t2te>;
|
|
24331
|
-
/**
|
|
24332
|
-
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
24333
|
-
* Once the grace period has passed, the username can be deleted by calling
|
|
24334
|
-
* [remove_username](crate::Call::remove_username).
|
|
24335
|
-
*/
|
|
24336
|
-
"unbind_username": Anonymize<Ie5l999tf7t2te>;
|
|
24337
|
-
/**
|
|
24338
|
-
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
24339
|
-
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
24340
|
-
*/
|
|
24341
|
-
"remove_username": Anonymize<Ie5l999tf7t2te>;
|
|
24342
|
-
/**
|
|
24343
|
-
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
24344
|
-
* and slashes any deposit associated with it.
|
|
24345
|
-
*/
|
|
24346
|
-
"kill_username": Anonymize<Ie5l999tf7t2te>;
|
|
24347
|
-
}>;
|
|
24348
|
-
"Multisig": Enum<{
|
|
24349
|
-
/**
|
|
24350
|
-
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
24351
|
-
*
|
|
24352
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24353
|
-
*
|
|
24354
|
-
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
24355
|
-
* multi-signature, but do not participate in the approval process.
|
|
24356
|
-
* - `call`: The call to be executed.
|
|
24357
|
-
*
|
|
24358
|
-
* Result is equivalent to the dispatched result.
|
|
24359
|
-
*
|
|
24360
|
-
* ## Complexity
|
|
24361
|
-
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
24362
|
-
*/
|
|
24363
|
-
"as_multi_threshold_1": {
|
|
24364
|
-
"other_signatories": Anonymize<I55luuvb7oq2a3>;
|
|
24365
|
-
"call": TxCallData;
|
|
24366
|
-
};
|
|
24367
|
-
/**
|
|
24368
|
-
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
24369
|
-
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
24370
|
-
*
|
|
24371
|
-
* If there are enough, then dispatch the call.
|
|
24372
|
-
*
|
|
24373
|
-
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
24374
|
-
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
24375
|
-
* is cancelled.
|
|
24376
|
-
*
|
|
24377
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24378
|
-
*
|
|
24379
|
-
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
24380
|
-
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
24381
|
-
* dispatch. May not be empty.
|
|
24382
|
-
* - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
|
|
24383
|
-
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
24384
|
-
* transaction index) of the first approval transaction.
|
|
24385
|
-
* - `call`: The call to be executed.
|
|
24386
|
-
*
|
|
24387
|
-
* NOTE: Unless this is the final approval, you will generally want to use
|
|
24388
|
-
* `approve_as_multi` instead, since it only requires a hash of the call.
|
|
24389
|
-
*
|
|
24390
|
-
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
|
|
24391
|
-
* on success, result is `Ok` and the result from the interior call, if it was executed,
|
|
24392
|
-
* may be found in the deposited `MultisigExecuted` event.
|
|
24393
|
-
*
|
|
24394
|
-
* ## Complexity
|
|
24395
|
-
* - `O(S + Z + Call)`.
|
|
24396
|
-
* - Up to one balance-reserve or unreserve operation.
|
|
24397
|
-
* - One passthrough operation, one insert, both `O(S)` where `S` is the number of
|
|
24398
|
-
* signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
|
|
24399
|
-
* - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
|
|
24400
|
-
* - One encode & hash, both of complexity `O(S)`.
|
|
24401
|
-
* - Up to one binary search and insert (`O(logS + S)`).
|
|
24402
|
-
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
|
24403
|
-
* - One event.
|
|
24404
|
-
* - The weight of the `call`.
|
|
24405
|
-
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
24406
|
-
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
24407
|
-
*/
|
|
24408
|
-
"as_multi": {
|
|
24409
|
-
"threshold": number;
|
|
24410
|
-
"other_signatories": Anonymize<I55luuvb7oq2a3>;
|
|
24411
|
-
"maybe_timepoint"?: Anonymize<I95jfd8j5cr5eh>;
|
|
24412
|
-
"call": TxCallData;
|
|
24413
|
-
"max_weight": Anonymize<I4q39t5hn830vp>;
|
|
24414
|
-
};
|
|
24415
|
-
/**
|
|
24416
|
-
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
24417
|
-
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
24418
|
-
*
|
|
24419
|
-
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
24420
|
-
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
24421
|
-
* is cancelled.
|
|
24422
|
-
*
|
|
24423
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24424
|
-
*
|
|
24425
|
-
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
24426
|
-
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
24427
|
-
* dispatch. May not be empty.
|
|
24428
|
-
* - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
|
|
24429
|
-
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
24430
|
-
* transaction index) of the first approval transaction.
|
|
24431
|
-
* - `call_hash`: The hash of the call to be executed.
|
|
24432
|
-
*
|
|
24433
|
-
* NOTE: If this is the final approval, you will want to use `as_multi` instead.
|
|
24434
|
-
*
|
|
24435
|
-
* ## Complexity
|
|
24436
|
-
* - `O(S)`.
|
|
24437
|
-
* - Up to one balance-reserve or unreserve operation.
|
|
24438
|
-
* - One passthrough operation, one insert, both `O(S)` where `S` is the number of
|
|
24439
|
-
* signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
|
|
24440
|
-
* - One encode & hash, both of complexity `O(S)`.
|
|
24441
|
-
* - Up to one binary search and insert (`O(logS + S)`).
|
|
24442
|
-
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
|
24443
|
-
* - One event.
|
|
24444
|
-
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
24445
|
-
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
24446
|
-
*/
|
|
24447
|
-
"approve_as_multi": {
|
|
24448
|
-
"threshold": number;
|
|
24449
|
-
"other_signatories": Anonymize<I55luuvb7oq2a3>;
|
|
24450
|
-
"maybe_timepoint"?: Anonymize<I95jfd8j5cr5eh>;
|
|
24451
|
-
"call_hash": SizedHex<32>;
|
|
24452
|
-
"max_weight": Anonymize<I4q39t5hn830vp>;
|
|
24453
|
-
};
|
|
24454
|
-
/**
|
|
24455
|
-
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
|
24456
|
-
* for this operation will be unreserved on success.
|
|
24457
|
-
*
|
|
24458
|
-
* The dispatch origin for this call must be _Signed_.
|
|
24459
|
-
*
|
|
24460
|
-
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
24461
|
-
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
24462
|
-
* dispatch. May not be empty.
|
|
24463
|
-
* - `timepoint`: The timepoint (block number and transaction index) of the first approval
|
|
24464
|
-
* transaction for this dispatch.
|
|
24465
|
-
* - `call_hash`: The hash of the call to be executed.
|
|
24466
|
-
*
|
|
24467
|
-
* ## Complexity
|
|
24468
|
-
* - `O(S)`.
|
|
24469
|
-
* - Up to one balance-reserve or unreserve operation.
|
|
24470
|
-
* - One passthrough operation, one insert, both `O(S)` where `S` is the number of
|
|
24471
|
-
* signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
|
|
24472
|
-
* - One encode & hash, both of complexity `O(S)`.
|
|
24473
|
-
* - One event.
|
|
24474
|
-
* - I/O: 1 read `O(S)`, one remove.
|
|
24475
|
-
* - Storage: removes one item.
|
|
24476
|
-
*/
|
|
24477
|
-
"cancel_as_multi": {
|
|
24478
|
-
"threshold": number;
|
|
24479
|
-
"other_signatories": Anonymize<I55luuvb7oq2a3>;
|
|
24480
|
-
"timepoint": Anonymize<Itvprrpb0nm3o>;
|
|
24481
|
-
"call_hash": SizedHex<32>;
|
|
24482
|
-
};
|
|
24483
|
-
/**
|
|
24484
|
-
* Poke the deposit reserved for an existing multisig operation.
|
|
24485
|
-
*
|
|
24486
|
-
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
24487
|
-
* the multisig operation.
|
|
24488
|
-
*
|
|
24489
|
-
* The transaction fee is waived if the deposit amount has changed.
|
|
24490
|
-
*
|
|
24491
|
-
* - `threshold`: The total number of approvals needed for this multisig.
|
|
24492
|
-
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
24493
|
-
* multisig.
|
|
24494
|
-
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
24495
|
-
*
|
|
24496
|
-
* Emits `DepositPoked` if successful.
|
|
24497
|
-
*/
|
|
24498
|
-
"poke_deposit": {
|
|
24499
|
-
"threshold": number;
|
|
24500
|
-
"other_signatories": Anonymize<I55luuvb7oq2a3>;
|
|
24501
|
-
"call_hash": SizedHex<32>;
|
|
24502
|
-
};
|
|
24503
|
-
}>;
|
|
24504
|
-
"MoonbeamLazyMigrations": Enum<{
|
|
24505
|
-
"create_contract_metadata": Anonymize<Itmchvgqfl28g>;
|
|
24506
|
-
}>;
|
|
24507
|
-
"Parameters": Enum<{
|
|
24508
|
-
/**
|
|
24509
|
-
* Set the value of a parameter.
|
|
24510
|
-
*
|
|
24511
|
-
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
24512
|
-
* deleted by setting them to `None`.
|
|
24513
|
-
*/
|
|
24514
|
-
"set_parameter": {
|
|
24515
|
-
"key_value": Enum<{
|
|
24516
|
-
"RuntimeConfig": Enum<{
|
|
24517
|
-
"FeesTreasuryProportion": Anonymize<Idqsmalvqe2q98>;
|
|
24518
|
-
"MaxTransactionsPerBlock": Anonymize<Idqsmalvqe2q98>;
|
|
24519
|
-
}>;
|
|
24520
|
-
"PalletRandomness": Enum<{
|
|
24521
|
-
"Deposit": Anonymize<Ia023ofm66k1pj>;
|
|
24522
|
-
}>;
|
|
24523
|
-
"XcmConfig": Enum<{
|
|
24524
|
-
"ForeignAssetCreationDeposit": Anonymize<Ia023ofm66k1pj>;
|
|
24525
|
-
}>;
|
|
24526
|
-
}>;
|
|
24527
|
-
};
|
|
24528
|
-
}>;
|
|
24529
|
-
"EVM": Anonymize<I78r7di33lh57i>;
|
|
24530
|
-
"Ethereum": Anonymize<I3lo8is2egp8k4>;
|
|
24531
|
-
"Scheduler": Enum<{
|
|
24532
|
-
/**
|
|
24533
|
-
* Anonymously schedule a task.
|
|
24534
|
-
*/
|
|
24535
|
-
"schedule": {
|
|
24536
|
-
"when": number;
|
|
24537
|
-
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
24538
|
-
"priority": number;
|
|
24539
|
-
"call": TxCallData;
|
|
24540
|
-
};
|
|
24541
|
-
/**
|
|
24542
|
-
* Cancel an anonymously scheduled task.
|
|
24543
|
-
*/
|
|
24544
|
-
"cancel": Anonymize<I5n4sebgkfr760>;
|
|
24545
|
-
/**
|
|
24546
|
-
* Schedule a named task.
|
|
24547
|
-
*/
|
|
24548
|
-
"schedule_named": {
|
|
24549
|
-
"id": SizedHex<32>;
|
|
24550
|
-
"when": number;
|
|
24551
|
-
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
24552
|
-
"priority": number;
|
|
24553
|
-
"call": TxCallData;
|
|
24554
|
-
};
|
|
24555
|
-
/**
|
|
24556
|
-
* Cancel a named scheduled task.
|
|
24557
|
-
*/
|
|
24558
|
-
"cancel_named": Anonymize<Ifs1i5fk9cqvr6>;
|
|
24559
|
-
/**
|
|
24560
|
-
* Anonymously schedule a task after a delay.
|
|
24561
|
-
*/
|
|
24562
|
-
"schedule_after": {
|
|
24563
|
-
"after": number;
|
|
24564
|
-
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
24565
|
-
"priority": number;
|
|
24566
|
-
"call": TxCallData;
|
|
24567
|
-
};
|
|
24568
|
-
/**
|
|
24569
|
-
* Schedule a named task after a delay.
|
|
24570
|
-
*/
|
|
24571
|
-
"schedule_named_after": {
|
|
24572
|
-
"id": SizedHex<32>;
|
|
24573
|
-
"after": number;
|
|
24574
|
-
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
24575
|
-
"priority": number;
|
|
24576
|
-
"call": TxCallData;
|
|
24577
|
-
};
|
|
24578
|
-
/**
|
|
24579
|
-
* Set a retry configuration for a task so that, in case its scheduled run fails, it will
|
|
24580
|
-
* be retried after `period` blocks, for a total amount of `retries` retries or until it
|
|
24581
|
-
* succeeds.
|
|
24582
|
-
*
|
|
24583
|
-
* Tasks which need to be scheduled for a retry are still subject to weight metering and
|
|
24584
|
-
* agenda space, same as a regular task. If a periodic task fails, it will be scheduled
|
|
24585
|
-
* normally while the task is retrying.
|
|
24586
|
-
*
|
|
24587
|
-
* Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
|
|
24588
|
-
* clones of the original task. Their retry configuration will be derived from the
|
|
24589
|
-
* original task's configuration, but will have a lower value for `remaining` than the
|
|
24590
|
-
* original `total_retries`.
|
|
24591
|
-
*/
|
|
24592
|
-
"set_retry": Anonymize<Ieg3fd8p4pkt10>;
|
|
24593
|
-
/**
|
|
24594
|
-
* Set a retry configuration for a named task so that, in case its scheduled run fails, it
|
|
24595
|
-
* will be retried after `period` blocks, for a total amount of `retries` retries or until
|
|
24596
|
-
* it succeeds.
|
|
24597
|
-
*
|
|
24598
|
-
* Tasks which need to be scheduled for a retry are still subject to weight metering and
|
|
24599
|
-
* agenda space, same as a regular task. If a periodic task fails, it will be scheduled
|
|
24600
|
-
* normally while the task is retrying.
|
|
24601
|
-
*
|
|
24602
|
-
* Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
|
|
24603
|
-
* clones of the original task. Their retry configuration will be derived from the
|
|
24604
|
-
* original task's configuration, but will have a lower value for `remaining` than the
|
|
24605
|
-
* original `total_retries`.
|
|
24606
|
-
*/
|
|
24607
|
-
"set_retry_named": Anonymize<I8kg5ll427kfqq>;
|
|
24608
|
-
/**
|
|
24609
|
-
* Removes the retry configuration of a task.
|
|
24610
|
-
*/
|
|
24611
|
-
"cancel_retry": Anonymize<I467333262q1l9>;
|
|
24612
|
-
/**
|
|
24613
|
-
* Cancel the retry configuration of a named task.
|
|
24614
|
-
*/
|
|
24615
|
-
"cancel_retry_named": Anonymize<Ifs1i5fk9cqvr6>;
|
|
24616
|
-
}>;
|
|
24617
|
-
"Preimage": Anonymize<If81ks88t5mpk5>;
|
|
24618
|
-
"ConvictionVoting": Enum<{
|
|
24619
|
-
/**
|
|
24620
|
-
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
|
24621
|
-
* otherwise it is a vote to keep the status quo.
|
|
24622
|
-
*
|
|
24623
|
-
* The dispatch origin of this call must be _Signed_.
|
|
24624
|
-
*
|
|
24625
|
-
* - `poll_index`: The index of the poll to vote for.
|
|
24626
|
-
* - `vote`: The vote configuration.
|
|
24627
|
-
*
|
|
24628
|
-
* Weight: `O(R)` where R is the number of polls the voter has voted on.
|
|
24629
|
-
*/
|
|
24630
|
-
"vote": Anonymize<Idnsr2pndm36h0>;
|
|
24631
|
-
/**
|
|
24632
|
-
* Delegate the voting power (with some given conviction) of the sending account for a
|
|
24633
|
-
* particular class of polls.
|
|
24634
|
-
*
|
|
24635
|
-
* The balance delegated is locked for as long as it's delegated, and thereafter for the
|
|
24636
|
-
* time appropriate for the conviction's lock period.
|
|
24637
|
-
*
|
|
24638
|
-
* The dispatch origin of this call must be _Signed_, and the signing account must either:
|
|
24639
|
-
* - be delegating already; or
|
|
24640
|
-
* - have no voting activity (if there is, then it will need to be removed through
|
|
24641
|
-
* `remove_vote`).
|
|
24642
|
-
*
|
|
24643
|
-
* - `to`: The account whose voting the `target` account's voting power will follow.
|
|
24644
|
-
* - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls
|
|
24645
|
-
* to this function are required.
|
|
24646
|
-
* - `conviction`: The conviction that will be attached to the delegated votes. When the
|
|
24647
|
-
* account is undelegated, the funds will be locked for the corresponding period.
|
|
24648
|
-
* - `balance`: The amount of the account's balance to be used in delegating. This must not
|
|
24649
|
-
* be more than the account's current balance.
|
|
24650
|
-
*
|
|
24651
|
-
* Emits `Delegated`.
|
|
24652
|
-
*
|
|
24653
|
-
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
|
24654
|
-
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
|
24655
|
-
*/
|
|
24656
|
-
"delegate": {
|
|
24657
|
-
"class": number;
|
|
24658
|
-
"to": HexString;
|
|
24659
|
-
"conviction": VotingConviction;
|
|
24660
|
-
"balance": bigint;
|
|
24661
|
-
};
|
|
24662
|
-
/**
|
|
24663
|
-
* Undelegate the voting power of the sending account for a particular class of polls.
|
|
24664
|
-
*
|
|
24665
|
-
* Tokens may be unlocked following once an amount of time consistent with the lock period
|
|
24666
|
-
* of the conviction with which the delegation was issued has passed.
|
|
24667
|
-
*
|
|
24668
|
-
* The dispatch origin of this call must be _Signed_ and the signing account must be
|
|
24669
|
-
* currently delegating.
|
|
24670
|
-
*
|
|
24671
|
-
* - `class`: The class of polls to remove the delegation from.
|
|
24672
|
-
*
|
|
24673
|
-
* Emits `Undelegated`.
|
|
24674
|
-
*
|
|
24675
|
-
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
|
24676
|
-
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
|
24677
|
-
*/
|
|
24678
|
-
"undelegate": Anonymize<I8steo882k7qns>;
|
|
24679
|
-
/**
|
|
24680
|
-
* Remove the lock caused by prior voting/delegating which has expired within a particular
|
|
24681
|
-
* class.
|
|
24682
|
-
*
|
|
24683
|
-
* The dispatch origin of this call must be _Signed_.
|
|
24684
|
-
*
|
|
24685
|
-
* - `class`: The class of polls to unlock.
|
|
24686
|
-
* - `target`: The account to remove the lock on.
|
|
24687
|
-
*
|
|
24688
|
-
* Weight: `O(R)` with R number of vote of target.
|
|
24689
|
-
*/
|
|
24690
|
-
"unlock": {
|
|
24691
|
-
"class": number;
|
|
24692
|
-
"target": HexString;
|
|
24693
|
-
};
|
|
24694
|
-
/**
|
|
24695
|
-
* Remove a vote for a poll.
|
|
24696
|
-
*
|
|
24697
|
-
* If:
|
|
24698
|
-
* - the poll was cancelled, or
|
|
24699
|
-
* - the poll is ongoing, or
|
|
24700
|
-
* - the poll has ended such that
|
|
24701
|
-
* - the vote of the account was in opposition to the result; or
|
|
24702
|
-
* - there was no conviction to the account's vote; or
|
|
24703
|
-
* - the account made a split vote
|
|
24704
|
-
* ...then the vote is removed cleanly and a following call to `unlock` may result in more
|
|
24705
|
-
* funds being available.
|
|
24706
|
-
*
|
|
24707
|
-
* If, however, the poll has ended and:
|
|
24708
|
-
* - it finished corresponding to the vote of the account, and
|
|
24709
|
-
* - the account made a standard vote with conviction, and
|
|
24710
|
-
* - the lock period of the conviction is not over
|
|
24711
|
-
* ...then the lock will be aggregated into the overall account's lock, which may involve
|
|
24712
|
-
* *overlocking* (where the two locks are combined into a single lock that is the maximum
|
|
24713
|
-
* of both the amount locked and the time is it locked for).
|
|
24714
|
-
*
|
|
24715
|
-
* The dispatch origin of this call must be _Signed_, and the signer must have a vote
|
|
24716
|
-
* registered for poll `index`.
|
|
24717
|
-
*
|
|
24718
|
-
* - `index`: The index of poll of the vote to be removed.
|
|
24719
|
-
* - `class`: Optional parameter, if given it indicates the class of the poll. For polls
|
|
24720
|
-
* which have finished or are cancelled, this must be `Some`.
|
|
24721
|
-
*
|
|
24722
|
-
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
|
24723
|
-
* Weight is calculated for the maximum number of vote.
|
|
24724
|
-
*/
|
|
24725
|
-
"remove_vote": Anonymize<I5f178ab6b89t3>;
|
|
24726
|
-
/**
|
|
24727
|
-
* Remove a vote for a poll.
|
|
24728
|
-
*
|
|
24729
|
-
* If the `target` is equal to the signer, then this function is exactly equivalent to
|
|
24730
|
-
* `remove_vote`. If not equal to the signer, then the vote must have expired,
|
|
24731
|
-
* either because the poll was cancelled, because the voter lost the poll or
|
|
24732
|
-
* because the conviction period is over.
|
|
24733
|
-
*
|
|
24734
|
-
* The dispatch origin of this call must be _Signed_.
|
|
24735
|
-
*
|
|
24736
|
-
* - `target`: The account of the vote to be removed; this account must have voted for poll
|
|
24737
|
-
* `index`.
|
|
24738
|
-
* - `index`: The index of poll of the vote to be removed.
|
|
24739
|
-
* - `class`: The class of the poll.
|
|
24740
|
-
*
|
|
24741
|
-
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
|
24742
|
-
* Weight is calculated for the maximum number of vote.
|
|
24743
|
-
*/
|
|
24744
|
-
"remove_other_vote": {
|
|
24745
|
-
"target": HexString;
|
|
24746
|
-
"class": number;
|
|
24747
|
-
"index": number;
|
|
24748
|
-
};
|
|
24749
|
-
}>;
|
|
24750
|
-
"Referenda": Enum<{
|
|
24751
|
-
/**
|
|
24752
|
-
* Propose a referendum on a privileged action.
|
|
24753
|
-
*
|
|
24754
|
-
* - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
|
|
24755
|
-
* available.
|
|
24756
|
-
* - `proposal_origin`: The origin from which the proposal should be executed.
|
|
24757
|
-
* - `proposal`: The proposal.
|
|
24758
|
-
* - `enactment_moment`: The moment that the proposal should be enacted.
|
|
24759
|
-
*
|
|
24760
|
-
* Emits `Submitted`.
|
|
24761
|
-
*/
|
|
24762
|
-
"submit": {
|
|
24763
|
-
"proposal_origin": Anonymize<Iaik8o9viabg12>;
|
|
24764
|
-
"proposal": PreimagesBounded;
|
|
24765
|
-
"enactment_moment": TraitsScheduleDispatchTime;
|
|
24766
|
-
};
|
|
24767
|
-
/**
|
|
24768
|
-
* Post the Decision Deposit for a referendum.
|
|
24769
|
-
*
|
|
24770
|
-
* - `origin`: must be `Signed` and the account must have funds available for the
|
|
24771
|
-
* referendum's track's Decision Deposit.
|
|
24772
|
-
* - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
|
|
24773
|
-
* posted.
|
|
24774
|
-
*
|
|
24775
|
-
* Emits `DecisionDepositPlaced`.
|
|
24776
|
-
*/
|
|
24777
|
-
"place_decision_deposit": Anonymize<I666bl2fqjkejo>;
|
|
24778
|
-
/**
|
|
24779
|
-
* Refund the Decision Deposit for a closed referendum back to the depositor.
|
|
24780
|
-
*
|
|
24781
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
24782
|
-
* - `index`: The index of a closed referendum whose Decision Deposit has not yet been
|
|
24783
|
-
* refunded.
|
|
24784
|
-
*
|
|
24785
|
-
* Emits `DecisionDepositRefunded`.
|
|
24786
|
-
*/
|
|
24787
|
-
"refund_decision_deposit": Anonymize<I666bl2fqjkejo>;
|
|
24788
|
-
/**
|
|
24789
|
-
* Cancel an ongoing referendum.
|
|
24790
|
-
*
|
|
24791
|
-
* - `origin`: must be the `CancelOrigin`.
|
|
24792
|
-
* - `index`: The index of the referendum to be cancelled.
|
|
24793
|
-
*
|
|
24794
|
-
* Emits `Cancelled`.
|
|
24795
|
-
*/
|
|
24796
|
-
"cancel": Anonymize<I666bl2fqjkejo>;
|
|
24797
|
-
/**
|
|
24798
|
-
* Cancel an ongoing referendum and slash the deposits.
|
|
24799
|
-
*
|
|
24800
|
-
* - `origin`: must be the `KillOrigin`.
|
|
24801
|
-
* - `index`: The index of the referendum to be cancelled.
|
|
24802
|
-
*
|
|
24803
|
-
* Emits `Killed` and `DepositSlashed`.
|
|
24804
|
-
*/
|
|
24805
|
-
"kill": Anonymize<I666bl2fqjkejo>;
|
|
24806
|
-
/**
|
|
24807
|
-
* Advance a referendum onto its next logical state. Only used internally.
|
|
24808
|
-
*
|
|
24809
|
-
* - `origin`: must be `Root`.
|
|
24810
|
-
* - `index`: the referendum to be advanced.
|
|
24811
|
-
*/
|
|
24812
|
-
"nudge_referendum": Anonymize<I666bl2fqjkejo>;
|
|
24813
|
-
/**
|
|
24814
|
-
* Advance a track onto its next logical state. Only used internally.
|
|
24815
|
-
*
|
|
24816
|
-
* - `origin`: must be `Root`.
|
|
24817
|
-
* - `track`: the track to be advanced.
|
|
24818
|
-
*
|
|
24819
|
-
* Action item for when there is now one fewer referendum in the deciding phase and the
|
|
24820
|
-
* `DecidingCount` is not yet updated. This means that we should either:
|
|
24821
|
-
* - begin deciding another referendum (and leave `DecidingCount` alone); or
|
|
24822
|
-
* - decrement `DecidingCount`.
|
|
24823
|
-
*/
|
|
24824
|
-
"one_fewer_deciding": Anonymize<Icbio0e1f0034b>;
|
|
24825
|
-
/**
|
|
24826
|
-
* Refund the Submission Deposit for a closed referendum back to the depositor.
|
|
24827
|
-
*
|
|
24828
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
24829
|
-
* - `index`: The index of a closed referendum whose Submission Deposit has not yet been
|
|
24830
|
-
* refunded.
|
|
24831
|
-
*
|
|
24832
|
-
* Emits `SubmissionDepositRefunded`.
|
|
24833
|
-
*/
|
|
24834
|
-
"refund_submission_deposit": Anonymize<I666bl2fqjkejo>;
|
|
24835
|
-
/**
|
|
24836
|
-
* Set or clear metadata of a referendum.
|
|
24837
|
-
*
|
|
24838
|
-
* Parameters:
|
|
24839
|
-
* - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
|
|
24840
|
-
* metadata of a finished referendum.
|
|
24841
|
-
* - `index`: The index of a referendum to set or clear metadata for.
|
|
24842
|
-
* - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
|
|
24843
|
-
*/
|
|
24844
|
-
"set_metadata": Anonymize<I8c0vkqjjipnuj>;
|
|
24845
|
-
}>;
|
|
24846
|
-
"Whitelist": Enum<{
|
|
24847
|
-
"whitelist_call": Anonymize<I1adbcfi5uc62r>;
|
|
24848
|
-
"remove_whitelisted_call": Anonymize<I1adbcfi5uc62r>;
|
|
24849
|
-
"dispatch_whitelisted_call": Anonymize<Ibf6ucefn8fh49>;
|
|
24850
|
-
"dispatch_whitelisted_call_with_preimage": {
|
|
24851
|
-
"call": TxCallData;
|
|
24852
|
-
};
|
|
24853
|
-
}>;
|
|
24854
|
-
"TreasuryCouncilCollective": Enum<{
|
|
24855
|
-
/**
|
|
24856
|
-
* Set the collective's membership.
|
|
24857
|
-
*
|
|
24858
|
-
* - `new_members`: The new member list. Be nice to the chain and provide it sorted.
|
|
24859
|
-
* - `prime`: The prime member whose vote sets the default.
|
|
24860
|
-
* - `old_count`: The upper bound for the previous number of members in storage. Used for
|
|
24861
|
-
* weight estimation.
|
|
24862
|
-
*
|
|
24863
|
-
* The dispatch of this call must be `SetMembersOrigin`.
|
|
24864
|
-
*
|
|
24865
|
-
* NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
|
|
24866
|
-
* the weight estimations rely on it to estimate dispatchable weight.
|
|
24867
|
-
*
|
|
24868
|
-
* # WARNING:
|
|
24869
|
-
*
|
|
24870
|
-
* The `pallet-collective` can also be managed by logic outside of the pallet through the
|
|
24871
|
-
* implementation of the trait [`ChangeMembers`].
|
|
24872
|
-
* Any call to `set_members` must be careful that the member set doesn't get out of sync
|
|
24873
|
-
* with other logic managing the member set.
|
|
24874
|
-
*
|
|
24875
|
-
* ## Complexity:
|
|
24876
|
-
* - `O(MP + N)` where:
|
|
24877
|
-
* - `M` old-members-count (code- and governance-bounded)
|
|
24878
|
-
* - `N` new-members-count (code- and governance-bounded)
|
|
24879
|
-
* - `P` proposals-count (code-bounded)
|
|
24880
|
-
*/
|
|
24881
|
-
"set_members": {
|
|
24882
|
-
"new_members": Anonymize<I55luuvb7oq2a3>;
|
|
24883
|
-
"prime"?: Anonymize<I36nb9b8a306lm>;
|
|
24884
|
-
"old_count": number;
|
|
24885
|
-
};
|
|
24886
|
-
/**
|
|
24887
|
-
* Dispatch a proposal from a member using the `Member` origin.
|
|
24888
|
-
*
|
|
24889
|
-
* Origin must be a member of the collective.
|
|
24890
|
-
*
|
|
24891
|
-
* ## Complexity:
|
|
24892
|
-
* - `O(B + M + P)` where:
|
|
24893
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
24894
|
-
* - `M` members-count (code-bounded)
|
|
24895
|
-
* - `P` complexity of dispatching `proposal`
|
|
24896
|
-
*/
|
|
24897
|
-
"execute": {
|
|
24898
|
-
"proposal": TxCallData;
|
|
24899
|
-
"length_bound": number;
|
|
24900
|
-
};
|
|
24901
|
-
/**
|
|
24902
|
-
* Add a new proposal to either be voted on or executed directly.
|
|
24903
|
-
*
|
|
24904
|
-
* Requires the sender to be member.
|
|
24905
|
-
*
|
|
24906
|
-
* `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
|
|
24907
|
-
* or put up for voting.
|
|
24908
|
-
*
|
|
24909
|
-
* ## Complexity
|
|
24910
|
-
* - `O(B + M + P1)` or `O(B + M + P2)` where:
|
|
24911
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
24912
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
24913
|
-
* - branching is influenced by `threshold` where:
|
|
24914
|
-
* - `P1` is proposal execution complexity (`threshold < 2`)
|
|
24915
|
-
* - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
|
|
24916
|
-
*/
|
|
24917
|
-
"propose": {
|
|
24918
|
-
"threshold": number;
|
|
24919
|
-
"proposal": TxCallData;
|
|
24920
|
-
"length_bound": number;
|
|
24921
|
-
};
|
|
24922
|
-
/**
|
|
24923
|
-
* Add an aye or nay vote for the sender to the given proposal.
|
|
24924
|
-
*
|
|
24925
|
-
* Requires the sender to be a member.
|
|
24926
|
-
*
|
|
24927
|
-
* Transaction fees will be waived if the member is voting on any particular proposal
|
|
24928
|
-
* for the first time and the call is successful. Subsequent vote changes will charge a
|
|
24929
|
-
* fee.
|
|
24930
|
-
* ## Complexity
|
|
24931
|
-
* - `O(M)` where `M` is members-count (code- and governance-bounded)
|
|
24932
|
-
*/
|
|
24933
|
-
"vote": Anonymize<I2dtrijkm5601t>;
|
|
24934
|
-
/**
|
|
24935
|
-
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
24936
|
-
* state.
|
|
24937
|
-
*
|
|
24938
|
-
* Must be called by the Root origin.
|
|
24939
|
-
*
|
|
24940
|
-
* Parameters:
|
|
24941
|
-
* * `proposal_hash`: The hash of the proposal that should be disapproved.
|
|
24942
|
-
*
|
|
24943
|
-
* ## Complexity
|
|
24944
|
-
* O(P) where P is the number of max proposals
|
|
24945
|
-
*/
|
|
24946
|
-
"disapprove_proposal": Anonymize<I2ev73t79f46tb>;
|
|
24947
|
-
/**
|
|
24948
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
24949
|
-
*
|
|
24950
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
24951
|
-
*
|
|
24952
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
24953
|
-
* has enough votes to be approved or disapproved.
|
|
24954
|
-
*
|
|
24955
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
24956
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
24957
|
-
*
|
|
24958
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
24959
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
24960
|
-
*
|
|
24961
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
24962
|
-
* proposal.
|
|
24963
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
24964
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
24965
|
-
*
|
|
24966
|
-
* ## Complexity
|
|
24967
|
-
* - `O(B + M + P1 + P2)` where:
|
|
24968
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
24969
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
24970
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
24971
|
-
* - `P2` is proposal-count (code-bounded)
|
|
24972
|
-
*/
|
|
24973
|
-
"close": Anonymize<Ib2obgji960euh>;
|
|
24974
|
-
/**
|
|
24975
|
-
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
24976
|
-
*
|
|
24977
|
-
* Parameters:
|
|
24978
|
-
* - `origin`: must be the `KillOrigin`.
|
|
24979
|
-
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
24980
|
-
*
|
|
24981
|
-
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
24982
|
-
*/
|
|
24983
|
-
"kill": Anonymize<I2ev73t79f46tb>;
|
|
24984
|
-
/**
|
|
24985
|
-
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
24986
|
-
*
|
|
24987
|
-
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
24988
|
-
*
|
|
24989
|
-
* Parameters:
|
|
24990
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
24991
|
-
* - `proposal_hash`: The hash of the proposal.
|
|
24992
|
-
*
|
|
24993
|
-
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
24994
|
-
*/
|
|
24995
|
-
"release_proposal_cost": Anonymize<I2ev73t79f46tb>;
|
|
24996
|
-
}>;
|
|
24997
|
-
"OpenTechCommitteeCollective": Enum<{
|
|
24998
|
-
/**
|
|
24999
|
-
* Set the collective's membership.
|
|
25000
|
-
*
|
|
25001
|
-
* - `new_members`: The new member list. Be nice to the chain and provide it sorted.
|
|
25002
|
-
* - `prime`: The prime member whose vote sets the default.
|
|
25003
|
-
* - `old_count`: The upper bound for the previous number of members in storage. Used for
|
|
25004
|
-
* weight estimation.
|
|
25005
|
-
*
|
|
25006
|
-
* The dispatch of this call must be `SetMembersOrigin`.
|
|
25007
|
-
*
|
|
25008
|
-
* NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
|
|
25009
|
-
* the weight estimations rely on it to estimate dispatchable weight.
|
|
25010
|
-
*
|
|
25011
|
-
* # WARNING:
|
|
25012
|
-
*
|
|
25013
|
-
* The `pallet-collective` can also be managed by logic outside of the pallet through the
|
|
25014
|
-
* implementation of the trait [`ChangeMembers`].
|
|
25015
|
-
* Any call to `set_members` must be careful that the member set doesn't get out of sync
|
|
25016
|
-
* with other logic managing the member set.
|
|
25017
|
-
*
|
|
25018
|
-
* ## Complexity:
|
|
25019
|
-
* - `O(MP + N)` where:
|
|
25020
|
-
* - `M` old-members-count (code- and governance-bounded)
|
|
25021
|
-
* - `N` new-members-count (code- and governance-bounded)
|
|
25022
|
-
* - `P` proposals-count (code-bounded)
|
|
25023
|
-
*/
|
|
25024
|
-
"set_members": {
|
|
25025
|
-
"new_members": Anonymize<I55luuvb7oq2a3>;
|
|
25026
|
-
"prime"?: Anonymize<I36nb9b8a306lm>;
|
|
25027
|
-
"old_count": number;
|
|
25028
|
-
};
|
|
25029
|
-
/**
|
|
25030
|
-
* Dispatch a proposal from a member using the `Member` origin.
|
|
25031
|
-
*
|
|
25032
|
-
* Origin must be a member of the collective.
|
|
25033
|
-
*
|
|
25034
|
-
* ## Complexity:
|
|
25035
|
-
* - `O(B + M + P)` where:
|
|
25036
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
25037
|
-
* - `M` members-count (code-bounded)
|
|
25038
|
-
* - `P` complexity of dispatching `proposal`
|
|
25039
|
-
*/
|
|
25040
|
-
"execute": {
|
|
25041
|
-
"proposal": TxCallData;
|
|
25042
|
-
"length_bound": number;
|
|
25043
|
-
};
|
|
25044
|
-
/**
|
|
25045
|
-
* Add a new proposal to either be voted on or executed directly.
|
|
25046
|
-
*
|
|
25047
|
-
* Requires the sender to be member.
|
|
25048
|
-
*
|
|
25049
|
-
* `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
|
|
25050
|
-
* or put up for voting.
|
|
25051
|
-
*
|
|
25052
|
-
* ## Complexity
|
|
25053
|
-
* - `O(B + M + P1)` or `O(B + M + P2)` where:
|
|
25054
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
25055
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
25056
|
-
* - branching is influenced by `threshold` where:
|
|
25057
|
-
* - `P1` is proposal execution complexity (`threshold < 2`)
|
|
25058
|
-
* - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
|
|
25059
|
-
*/
|
|
25060
|
-
"propose": {
|
|
25061
|
-
"threshold": number;
|
|
25062
|
-
"proposal": TxCallData;
|
|
25063
|
-
"length_bound": number;
|
|
25064
|
-
};
|
|
25065
|
-
/**
|
|
25066
|
-
* Add an aye or nay vote for the sender to the given proposal.
|
|
25067
|
-
*
|
|
25068
|
-
* Requires the sender to be a member.
|
|
25069
|
-
*
|
|
25070
|
-
* Transaction fees will be waived if the member is voting on any particular proposal
|
|
25071
|
-
* for the first time and the call is successful. Subsequent vote changes will charge a
|
|
25072
|
-
* fee.
|
|
25073
|
-
* ## Complexity
|
|
25074
|
-
* - `O(M)` where `M` is members-count (code- and governance-bounded)
|
|
25075
|
-
*/
|
|
25076
|
-
"vote": Anonymize<I2dtrijkm5601t>;
|
|
25077
|
-
/**
|
|
25078
|
-
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
25079
|
-
* state.
|
|
25080
|
-
*
|
|
25081
|
-
* Must be called by the Root origin.
|
|
25082
|
-
*
|
|
25083
|
-
* Parameters:
|
|
25084
|
-
* * `proposal_hash`: The hash of the proposal that should be disapproved.
|
|
25085
|
-
*
|
|
25086
|
-
* ## Complexity
|
|
25087
|
-
* O(P) where P is the number of max proposals
|
|
25088
|
-
*/
|
|
25089
|
-
"disapprove_proposal": Anonymize<I2ev73t79f46tb>;
|
|
25090
|
-
/**
|
|
25091
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
25092
|
-
*
|
|
25093
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
25094
|
-
*
|
|
25095
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
25096
|
-
* has enough votes to be approved or disapproved.
|
|
25097
|
-
*
|
|
25098
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
25099
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
25100
|
-
*
|
|
25101
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
25102
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
25103
|
-
*
|
|
25104
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
25105
|
-
* proposal.
|
|
25106
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
25107
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
25108
|
-
*
|
|
25109
|
-
* ## Complexity
|
|
25110
|
-
* - `O(B + M + P1 + P2)` where:
|
|
25111
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
25112
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
25113
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
25114
|
-
* - `P2` is proposal-count (code-bounded)
|
|
25115
|
-
*/
|
|
25116
|
-
"close": Anonymize<Ib2obgji960euh>;
|
|
25117
|
-
/**
|
|
25118
|
-
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
25119
|
-
*
|
|
25120
|
-
* Parameters:
|
|
25121
|
-
* - `origin`: must be the `KillOrigin`.
|
|
25122
|
-
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
25123
|
-
*
|
|
25124
|
-
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
25125
|
-
*/
|
|
25126
|
-
"kill": Anonymize<I2ev73t79f46tb>;
|
|
25127
|
-
/**
|
|
25128
|
-
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
25129
|
-
*
|
|
25130
|
-
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
25131
|
-
*
|
|
25132
|
-
* Parameters:
|
|
25133
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
25134
|
-
* - `proposal_hash`: The hash of the proposal.
|
|
25135
|
-
*
|
|
25136
|
-
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
25137
|
-
*/
|
|
25138
|
-
"release_proposal_cost": Anonymize<I2ev73t79f46tb>;
|
|
25139
|
-
}>;
|
|
25140
|
-
"Treasury": Enum<{
|
|
25141
|
-
/**
|
|
25142
|
-
* Propose and approve a spend of treasury funds.
|
|
25143
|
-
*
|
|
25144
|
-
* ## Dispatch Origin
|
|
25145
|
-
*
|
|
25146
|
-
* Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`.
|
|
25147
|
-
*
|
|
25148
|
-
* ### Details
|
|
25149
|
-
* NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
|
|
25150
|
-
* beneficiary.
|
|
25151
|
-
*
|
|
25152
|
-
* ### Parameters
|
|
25153
|
-
* - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
|
|
25154
|
-
* - `beneficiary`: The destination account for the transfer.
|
|
25155
|
-
*
|
|
25156
|
-
* ## Events
|
|
25157
|
-
*
|
|
25158
|
-
* Emits [`Event::SpendApproved`] if successful.
|
|
25159
|
-
*/
|
|
25160
|
-
"spend_local": {
|
|
25161
|
-
"amount": bigint;
|
|
25162
|
-
"beneficiary": HexString;
|
|
25163
|
-
};
|
|
25164
|
-
/**
|
|
25165
|
-
* Force a previously approved proposal to be removed from the approval queue.
|
|
25166
|
-
*
|
|
25167
|
-
* ## Dispatch Origin
|
|
25168
|
-
*
|
|
25169
|
-
* Must be [`Config::RejectOrigin`].
|
|
25170
|
-
*
|
|
25171
|
-
* ## Details
|
|
25172
|
-
*
|
|
25173
|
-
* The original deposit will no longer be returned.
|
|
25174
|
-
*
|
|
25175
|
-
* ### Parameters
|
|
25176
|
-
* - `proposal_id`: The index of a proposal
|
|
25177
|
-
*
|
|
25178
|
-
* ### Complexity
|
|
25179
|
-
* - O(A) where `A` is the number of approvals
|
|
25180
|
-
*
|
|
25181
|
-
* ### Errors
|
|
25182
|
-
* - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the
|
|
25183
|
-
* approval queue, i.e., the proposal has not been approved. This could also mean the
|
|
25184
|
-
* proposal does not exist altogether, thus there is no way it would have been approved
|
|
25185
|
-
* in the first place.
|
|
25186
|
-
*/
|
|
25187
|
-
"remove_approval": Anonymize<Icm9m0qeemu66d>;
|
|
25188
|
-
/**
|
|
25189
|
-
* Propose and approve a spend of treasury funds.
|
|
25190
|
-
*
|
|
25191
|
-
* ## Dispatch Origin
|
|
25192
|
-
*
|
|
25193
|
-
* Must be [`Config::SpendOrigin`] with the `Success` value being at least
|
|
25194
|
-
* `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted
|
|
25195
|
-
* for assertion using the [`Config::BalanceConverter`].
|
|
25196
|
-
*
|
|
25197
|
-
* ## Details
|
|
25198
|
-
*
|
|
25199
|
-
* Create an approved spend for transferring a specific `amount` of `asset_kind` to a
|
|
25200
|
-
* designated beneficiary. The spend must be claimed using the `payout` dispatchable within
|
|
25201
|
-
* the [`Config::PayoutPeriod`].
|
|
25202
|
-
*
|
|
25203
|
-
* ### Parameters
|
|
25204
|
-
* - `asset_kind`: An indicator of the specific asset class to be spent.
|
|
25205
|
-
* - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
|
|
25206
|
-
* - `beneficiary`: The beneficiary of the spend.
|
|
25207
|
-
* - `valid_from`: The block number from which the spend can be claimed. It can refer to
|
|
25208
|
-
* the past if the resulting spend has not yet expired according to the
|
|
25209
|
-
* [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after
|
|
25210
|
-
* approval.
|
|
25211
|
-
*
|
|
25212
|
-
* ## Events
|
|
25213
|
-
*
|
|
25214
|
-
* Emits [`Event::AssetSpendApproved`] if successful.
|
|
25215
|
-
*/
|
|
25216
|
-
"spend": {
|
|
25217
|
-
"asset_kind": Enum<{
|
|
25218
|
-
"Native": undefined;
|
|
25219
|
-
"WithId": bigint;
|
|
25220
|
-
}>;
|
|
25221
|
-
"amount": bigint;
|
|
25222
|
-
"beneficiary": HexString;
|
|
25223
|
-
"valid_from"?: Anonymize<I4arjljr6dpflb>;
|
|
25224
|
-
};
|
|
25225
|
-
/**
|
|
25226
|
-
* Claim a spend.
|
|
25227
|
-
*
|
|
25228
|
-
* ## Dispatch Origin
|
|
25229
|
-
*
|
|
25230
|
-
* Must be signed
|
|
25231
|
-
*
|
|
25232
|
-
* ## Details
|
|
25233
|
-
*
|
|
25234
|
-
* Spends must be claimed within some temporal bounds. A spend may be claimed within one
|
|
25235
|
-
* [`Config::PayoutPeriod`] from the `valid_from` block.
|
|
25236
|
-
* In case of a payout failure, the spend status must be updated with the `check_status`
|
|
25237
|
-
* dispatchable before retrying with the current function.
|
|
25238
|
-
*
|
|
25239
|
-
* ### Parameters
|
|
25240
|
-
* - `index`: The spend index.
|
|
25241
|
-
*
|
|
25242
|
-
* ## Events
|
|
25243
|
-
*
|
|
25244
|
-
* Emits [`Event::Paid`] if successful.
|
|
25245
|
-
*/
|
|
25246
|
-
"payout": Anonymize<I666bl2fqjkejo>;
|
|
25247
|
-
/**
|
|
25248
|
-
* Check the status of the spend and remove it from the storage if processed.
|
|
25249
|
-
*
|
|
25250
|
-
* ## Dispatch Origin
|
|
25251
|
-
*
|
|
25252
|
-
* Must be signed.
|
|
25253
|
-
*
|
|
25254
|
-
* ## Details
|
|
25255
|
-
*
|
|
25256
|
-
* The status check is a prerequisite for retrying a failed payout.
|
|
25257
|
-
* If a spend has either succeeded or expired, it is removed from the storage by this
|
|
25258
|
-
* function. In such instances, transaction fees are refunded.
|
|
25259
|
-
*
|
|
25260
|
-
* ### Parameters
|
|
25261
|
-
* - `index`: The spend index.
|
|
25262
|
-
*
|
|
25263
|
-
* ## Events
|
|
25264
|
-
*
|
|
25265
|
-
* Emits [`Event::PaymentFailed`] if the spend payout has failed.
|
|
25266
|
-
* Emits [`Event::SpendProcessed`] if the spend payout has succeed.
|
|
25267
|
-
*/
|
|
25268
|
-
"check_status": Anonymize<I666bl2fqjkejo>;
|
|
25269
|
-
/**
|
|
25270
|
-
* Void previously approved spend.
|
|
25271
|
-
*
|
|
25272
|
-
* ## Dispatch Origin
|
|
25273
|
-
*
|
|
25274
|
-
* Must be [`Config::RejectOrigin`].
|
|
25275
|
-
*
|
|
25276
|
-
* ## Details
|
|
25277
|
-
*
|
|
25278
|
-
* A spend void is only possible if the payout has not been attempted yet.
|
|
25279
|
-
*
|
|
25280
|
-
* ### Parameters
|
|
25281
|
-
* - `index`: The spend index.
|
|
25282
|
-
*
|
|
25283
|
-
* ## Events
|
|
25284
|
-
*
|
|
25285
|
-
* Emits [`Event::AssetSpendVoided`] if successful.
|
|
25286
|
-
*/
|
|
25287
|
-
"void_spend": Anonymize<I666bl2fqjkejo>;
|
|
25288
|
-
}>;
|
|
25289
|
-
"CrowdloanRewards": Enum<{
|
|
25290
|
-
/**
|
|
25291
|
-
* Associate a native rewards_destination identity with a crowdloan contribution.
|
|
25292
|
-
*
|
|
25293
|
-
* The caller needs to provide the unassociated relay account and a proof to succeed
|
|
25294
|
-
* with the association
|
|
25295
|
-
* The proof is nothing but a signature over the reward_address using the relay keys
|
|
25296
|
-
*/
|
|
25297
|
-
"associate_native_identity": {
|
|
25298
|
-
"reward_account": HexString;
|
|
25299
|
-
"relay_account": SizedHex<32>;
|
|
25300
|
-
"proof": Anonymize<I3fo6882e5tjh8>;
|
|
25301
|
-
};
|
|
25302
|
-
/**
|
|
25303
|
-
* Change reward account by submitting proofs from relay accounts
|
|
25304
|
-
*
|
|
25305
|
-
* The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold'
|
|
25306
|
-
* The account to be changed needs to be submitted as 'previous_account'
|
|
25307
|
-
* Origin must be RewardAddressChangeOrigin
|
|
25308
|
-
*/
|
|
25309
|
-
"change_association_with_relay_keys": {
|
|
25310
|
-
"reward_account": HexString;
|
|
25311
|
-
"previous_account": HexString;
|
|
25312
|
-
"proofs": Array<[SizedHex<32>, Anonymize<I3fo6882e5tjh8>]>;
|
|
25313
|
-
};
|
|
25314
|
-
/**
|
|
25315
|
-
* Collect whatever portion of your reward are currently vested.
|
|
25316
|
-
*/
|
|
25317
|
-
"claim": undefined;
|
|
25318
|
-
/**
|
|
25319
|
-
* Update reward address, proving that the caller owns the current native key
|
|
25320
|
-
*/
|
|
25321
|
-
"update_reward_address": {
|
|
25322
|
-
"new_reward_account": HexString;
|
|
25323
|
-
};
|
|
25324
|
-
/**
|
|
25325
|
-
* Permissionless settle-and-drain of any remaining unclaimed reward for `target`.
|
|
25326
|
-
*
|
|
25327
|
-
* Pays the full outstanding `total_reward - claimed_reward` regardless of the vesting
|
|
25328
|
-
* schedule, transfers it to `target`, and removes the entry from `AccountsPayable`.
|
|
25329
|
-
* Intended as a one-shot migration step before the pallet is removed.
|
|
25330
|
-
*/
|
|
25331
|
-
"complete_unclaimed_rewards": Anonymize<Ibfkgq22t8bv8o>;
|
|
25332
|
-
}>;
|
|
25333
|
-
"PolkadotXcm": Anonymize<I6k1inef986368>;
|
|
25334
|
-
"XcmTransactor": Enum<{
|
|
25335
|
-
/**
|
|
25336
|
-
* Register a derivative index for an account id. Dispatchable by
|
|
25337
|
-
* DerivativeAddressRegistrationOrigin
|
|
25338
|
-
*
|
|
25339
|
-
* We do not store the derivative address, but only the index. We do not need to store
|
|
25340
|
-
* the derivative address to issue calls, only the index is enough
|
|
25341
|
-
*
|
|
25342
|
-
* For now an index is registered for all possible destinations and not per-destination.
|
|
25343
|
-
* We can change this in the future although it would just make things more complicated
|
|
25344
|
-
*/
|
|
25345
|
-
"register": {
|
|
25346
|
-
"who": HexString;
|
|
25347
|
-
"index": number;
|
|
25348
|
-
};
|
|
25349
|
-
/**
|
|
25350
|
-
* De-Register a derivative index. This prevents an account to use a derivative address
|
|
25351
|
-
* (represented by an index) from our of our sovereign accounts anymore
|
|
25352
|
-
*/
|
|
25353
|
-
"deregister": Anonymize<I666bl2fqjkejo>;
|
|
25354
|
-
/**
|
|
25355
|
-
* Transact the inner call through a derivative account in a destination chain,
|
|
25356
|
-
* using 'fee_location' to pay for the fees. This fee_location is given as a multilocation
|
|
25357
|
-
*
|
|
25358
|
-
* The caller needs to have the index registered in this pallet. The fee multiasset needs
|
|
25359
|
-
* to be a reserve asset for the destination transactor::multilocation.
|
|
25360
|
-
*/
|
|
25361
|
-
"transact_through_derivative": {
|
|
25362
|
-
"dest": Enum<{
|
|
25363
|
-
"Relay": undefined;
|
|
25364
|
-
"AssetHub": undefined;
|
|
25365
|
-
}>;
|
|
25366
|
-
"index": number;
|
|
25367
|
-
"fee": Anonymize<Iastnco49ndprk>;
|
|
25368
|
-
"inner_call": Uint8Array;
|
|
25369
|
-
"weight_info": Anonymize<Idqc0k36dfbejd>;
|
|
25370
|
-
"refund": boolean;
|
|
25371
|
-
};
|
|
25372
|
-
/**
|
|
25373
|
-
* Transact the call through the sovereign account in a destination chain,
|
|
25374
|
-
* 'fee_payer' pays for the fee
|
|
25375
|
-
*
|
|
25376
|
-
* SovereignAccountDispatcherOrigin callable only
|
|
25377
|
-
*/
|
|
25378
|
-
"transact_through_sovereign": {
|
|
25379
|
-
"dest": XcmVersionedLocation;
|
|
25380
|
-
"fee_payer"?: Anonymize<I36nb9b8a306lm>;
|
|
25381
|
-
"fee": Anonymize<Iastnco49ndprk>;
|
|
25382
|
-
"call": Uint8Array;
|
|
25383
|
-
"origin_kind": XcmV2OriginKind;
|
|
25384
|
-
"weight_info": Anonymize<Idqc0k36dfbejd>;
|
|
25385
|
-
"refund": boolean;
|
|
25386
|
-
};
|
|
25387
|
-
/**
|
|
25388
|
-
* Change the transact info of a location
|
|
25389
|
-
*/
|
|
25390
|
-
"set_transact_info": {
|
|
25391
|
-
"location": XcmVersionedLocation;
|
|
25392
|
-
"transact_extra_weight": Anonymize<I4q39t5hn830vp>;
|
|
25393
|
-
"max_weight": Anonymize<I4q39t5hn830vp>;
|
|
25394
|
-
"transact_extra_weight_signed"?: Anonymize<Iasb8k6ash5mjn>;
|
|
25395
|
-
};
|
|
25396
|
-
/**
|
|
25397
|
-
* Remove the transact info of a location
|
|
25398
|
-
*/
|
|
25399
|
-
"remove_transact_info": Anonymize<Icscpmubum33bq>;
|
|
25400
|
-
/**
|
|
25401
|
-
* Transact the call through a signed origin in this chain
|
|
25402
|
-
* that should be converted to a transaction dispatch account in the destination chain
|
|
25403
|
-
* by any method implemented in the destination chains runtime
|
|
25404
|
-
*
|
|
25405
|
-
* This time we are giving the currency as a currencyId instead of multilocation
|
|
25406
|
-
*/
|
|
25407
|
-
"transact_through_signed": {
|
|
25408
|
-
"dest": XcmVersionedLocation;
|
|
25409
|
-
"fee": Anonymize<Iastnco49ndprk>;
|
|
25410
|
-
"call": Uint8Array;
|
|
25411
|
-
"weight_info": Anonymize<Idqc0k36dfbejd>;
|
|
25412
|
-
"refund": boolean;
|
|
25413
|
-
};
|
|
25414
|
-
/**
|
|
25415
|
-
* Manage HRMP operations
|
|
25416
|
-
*/
|
|
25417
|
-
"hrmp_manage": {
|
|
25418
|
-
"action": Enum<{
|
|
25419
|
-
"InitOpen": {
|
|
25420
|
-
"para_id": number;
|
|
25421
|
-
"proposed_max_capacity": number;
|
|
25422
|
-
"proposed_max_message_size": number;
|
|
25423
|
-
};
|
|
25424
|
-
"Accept": {
|
|
25425
|
-
"para_id": number;
|
|
25426
|
-
};
|
|
25427
|
-
"Close": Anonymize<I50mrcbubp554e>;
|
|
25428
|
-
"Cancel": {
|
|
25429
|
-
"channel_id": Anonymize<I50mrcbubp554e>;
|
|
25430
|
-
"open_requests": number;
|
|
25431
|
-
};
|
|
25432
|
-
}>;
|
|
25433
|
-
"fee": Anonymize<Iastnco49ndprk>;
|
|
25434
|
-
"weight_info": Anonymize<Idqc0k36dfbejd>;
|
|
25435
|
-
};
|
|
25436
|
-
}>;
|
|
25437
|
-
"EthereumXcm": Enum<{
|
|
25438
|
-
/**
|
|
25439
|
-
* Xcm Transact an Ethereum transaction.
|
|
25440
|
-
* Weight: Gas limit plus the db read involving the suspension check
|
|
25441
|
-
*/
|
|
25442
|
-
"transact": {
|
|
25443
|
-
"xcm_transaction": Anonymize<I2t3281dc7dd14>;
|
|
25444
|
-
};
|
|
25445
|
-
/**
|
|
25446
|
-
* Xcm Transact an Ethereum transaction through proxy.
|
|
25447
|
-
* Weight: Gas limit plus the db reads involving the suspension and proxy checks
|
|
25448
|
-
*/
|
|
25449
|
-
"transact_through_proxy": {
|
|
25450
|
-
"transact_as": SizedHex<20>;
|
|
25451
|
-
"xcm_transaction": Anonymize<I2t3281dc7dd14>;
|
|
25452
|
-
};
|
|
25453
|
-
/**
|
|
25454
|
-
* Suspends all Ethereum executions from XCM.
|
|
25455
|
-
*
|
|
25456
|
-
* - `origin`: Must pass `ControllerOrigin`.
|
|
25457
|
-
*/
|
|
25458
|
-
"suspend_ethereum_xcm_execution": undefined;
|
|
25459
|
-
/**
|
|
25460
|
-
* Resumes all Ethereum executions from XCM.
|
|
25461
|
-
*
|
|
25462
|
-
* - `origin`: Must pass `ControllerOrigin`.
|
|
25463
|
-
*/
|
|
25464
|
-
"resume_ethereum_xcm_execution": undefined;
|
|
25465
|
-
/**
|
|
25466
|
-
* Xcm Transact an Ethereum transaction, but allow to force the caller and create address.
|
|
25467
|
-
* This call should be restricted (callable only by the runtime or governance).
|
|
25468
|
-
* Weight: Gas limit plus the db reads involving the suspension and proxy checks
|
|
25469
|
-
*/
|
|
25470
|
-
"force_transact_as": {
|
|
25471
|
-
"transact_as": SizedHex<20>;
|
|
25472
|
-
"xcm_transaction": Anonymize<I2t3281dc7dd14>;
|
|
25473
|
-
"force_create_address"?: Anonymize<If7b8240vgt2q5>;
|
|
25474
|
-
};
|
|
25475
|
-
}>;
|
|
25476
|
-
"MessageQueue": Anonymize<Ic2uoe7jdksosp>;
|
|
25477
|
-
"EvmForeignAssets": Enum<{
|
|
25478
|
-
/**
|
|
25479
|
-
* Create new asset with the ForeignAssetCreator
|
|
25480
|
-
*/
|
|
25481
|
-
"create_foreign_asset": {
|
|
25482
|
-
"asset_id": bigint;
|
|
25483
|
-
"asset_xcm_location": Anonymize<If9iqq7i64mur8>;
|
|
25484
|
-
"decimals": number;
|
|
25485
|
-
"symbol": Uint8Array;
|
|
25486
|
-
"name": Uint8Array;
|
|
25487
|
-
};
|
|
25488
|
-
/**
|
|
25489
|
-
* Change the xcm type mapping for a given assetId
|
|
25490
|
-
* We also change this if the previous units per second where pointing at the old
|
|
25491
|
-
* assetType
|
|
25492
|
-
*/
|
|
25493
|
-
"change_xcm_location": {
|
|
25494
|
-
"asset_id": bigint;
|
|
25495
|
-
"new_xcm_location": Anonymize<If9iqq7i64mur8>;
|
|
25496
|
-
};
|
|
25497
|
-
/**
|
|
25498
|
-
* Freeze a given foreign assetId
|
|
25499
|
-
*/
|
|
25500
|
-
"freeze_foreign_asset": {
|
|
25501
|
-
"asset_id": bigint;
|
|
25502
|
-
"allow_xcm_deposit": boolean;
|
|
25503
|
-
};
|
|
25504
|
-
/**
|
|
25505
|
-
* Unfreeze a given foreign assetId
|
|
25506
|
-
*/
|
|
25507
|
-
"unfreeze_foreign_asset": {
|
|
25508
|
-
"asset_id": bigint;
|
|
25509
|
-
};
|
|
25510
|
-
/**
|
|
25511
|
-
* Claim a pending deposit for a given asset and beneficiary.
|
|
25512
|
-
* Callable by any signed origin (permissionless). Tokens are minted to the
|
|
25513
|
-
* beneficiary, not the caller. Requires the asset to be active (unfrozen).
|
|
25514
|
-
*/
|
|
25515
|
-
"claim_pending_deposit": {
|
|
25516
|
-
"asset_id": bigint;
|
|
25517
|
-
"beneficiary": SizedHex<20>;
|
|
25518
|
-
};
|
|
25519
|
-
}>;
|
|
25520
|
-
"XcmWeightTrader": Enum<{
|
|
25521
|
-
"add_asset": {
|
|
25522
|
-
"location": Anonymize<If9iqq7i64mur8>;
|
|
25523
|
-
"relative_price": bigint;
|
|
25524
|
-
};
|
|
25525
|
-
"edit_asset": {
|
|
25526
|
-
"location": Anonymize<If9iqq7i64mur8>;
|
|
25527
|
-
"relative_price": bigint;
|
|
25528
|
-
};
|
|
25529
|
-
"pause_asset_support": Anonymize<I2adkav4nfpltp>;
|
|
25530
|
-
"resume_asset_support": Anonymize<I2adkav4nfpltp>;
|
|
25531
|
-
"remove_asset": Anonymize<I2adkav4nfpltp>;
|
|
25532
|
-
}>;
|
|
25533
|
-
"EmergencyParaXcm": Enum<{
|
|
25534
|
-
/**
|
|
25535
|
-
* Resume `Normal` mode
|
|
25536
|
-
*/
|
|
25537
|
-
"paused_to_normal": undefined;
|
|
25538
|
-
/**
|
|
25539
|
-
* Authorize a runtime upgrade. Only callable in `Paused` mode
|
|
25540
|
-
*/
|
|
25541
|
-
"fast_authorize_upgrade": Anonymize<Ib51vk42m1po4n>;
|
|
25542
|
-
}>;
|
|
25543
|
-
"MultiBlockMigrations": Anonymize<I4oqb168b2d4er>;
|
|
25544
|
-
"Randomness": Enum<{
|
|
25545
|
-
/**
|
|
25546
|
-
* Populates `RandomnessResults` due this epoch with BABE epoch randomness
|
|
25547
|
-
*/
|
|
25548
|
-
"set_babe_randomness_results": undefined;
|
|
25549
|
-
}>;
|
|
25550
|
-
"BridgeKusamaGrandpa": Enum<{
|
|
25551
|
-
/**
|
|
25552
|
-
* This call is deprecated and will be removed around May 2024. Use the
|
|
25553
|
-
* `submit_finality_proof_ex` instead. Semantically, this call is an equivalent of the
|
|
25554
|
-
* `submit_finality_proof_ex` call without current authority set id check.
|
|
25555
|
-
*/
|
|
25556
|
-
"submit_finality_proof": Anonymize<I29mlfpi57nes9>;
|
|
25557
|
-
/**
|
|
25558
|
-
* Bootstrap the bridge pallet with an initial header and authority set from which to sync.
|
|
25559
|
-
*
|
|
25560
|
-
* The initial configuration provided does not need to be the genesis header of the bridged
|
|
25561
|
-
* chain, it can be any arbitrary header. You can also provide the next scheduled set
|
|
25562
|
-
* change if it is already know.
|
|
25563
|
-
*
|
|
25564
|
-
* This function is only allowed to be called from a trusted origin and writes to storage
|
|
25565
|
-
* with practically no checks in terms of the validity of the data. It is important that
|
|
25566
|
-
* you ensure that valid data is being passed in.
|
|
25567
|
-
*/
|
|
25568
|
-
"initialize": Anonymize<I9n8t62ile2km9>;
|
|
25569
|
-
/**
|
|
25570
|
-
* Change `PalletOwner`.
|
|
25571
|
-
*
|
|
25572
|
-
* May only be called either by root, or by `PalletOwner`.
|
|
25573
|
-
*/
|
|
25574
|
-
"set_owner": Anonymize<Iv53je8etqh25>;
|
|
25575
|
-
/**
|
|
25576
|
-
* Halt or resume all pallet operations.
|
|
25577
|
-
*
|
|
25578
|
-
* May only be called either by root, or by `PalletOwner`.
|
|
25579
|
-
*/
|
|
25580
|
-
"set_operating_mode": Anonymize<Id3fgg5dtq3ja9>;
|
|
25581
|
-
/**
|
|
25582
|
-
* Verify a target header is finalized according to the given finality proof. The proof
|
|
25583
|
-
* is assumed to be signed by GRANDPA authorities set with `current_set_id` id.
|
|
25584
|
-
*
|
|
25585
|
-
* It will use the underlying storage pallet to fetch information about the current
|
|
25586
|
-
* authorities and best finalized header in order to verify that the header is finalized.
|
|
25587
|
-
*
|
|
25588
|
-
* If successful in verification, it will write the target header to the underlying storage
|
|
25589
|
-
* pallet.
|
|
25590
|
-
*
|
|
25591
|
-
* The call fails if:
|
|
25592
|
-
*
|
|
25593
|
-
* - the pallet is halted;
|
|
25594
|
-
*
|
|
25595
|
-
* - the pallet knows better header than the `finality_target`;
|
|
25596
|
-
*
|
|
25597
|
-
* - the id of best GRANDPA authority set, known to the pallet is not equal to the
|
|
25598
|
-
* `current_set_id`;
|
|
25599
|
-
*
|
|
25600
|
-
* - verification is not optimized or invalid;
|
|
25601
|
-
*
|
|
25602
|
-
* - header contains forced authorities set change or change with non-zero delay.
|
|
25603
|
-
*
|
|
25604
|
-
* The `is_free_execution_expected` parameter is not really used inside the call. It is
|
|
25605
|
-
* used by the transaction extension, which should be registered at the runtime level. If
|
|
25606
|
-
* this parameter is `true`, the transaction will be treated as invalid, if the call won't
|
|
25607
|
-
* be executed for free. If transaction extension is not used by the runtime, this
|
|
25608
|
-
* parameter is not used at all.
|
|
25609
|
-
*/
|
|
25610
|
-
"submit_finality_proof_ex": Anonymize<I7hl2ljcti73p2>;
|
|
25611
|
-
/**
|
|
25612
|
-
* Set current authorities set and best finalized bridged header to given values
|
|
25613
|
-
* (almost) without any checks. This call can fail only if:
|
|
25614
|
-
*
|
|
25615
|
-
* - the call origin is not a root or a pallet owner;
|
|
25616
|
-
*
|
|
25617
|
-
* - there are too many authorities in the new set.
|
|
25618
|
-
*
|
|
25619
|
-
* No other checks are made. Previously imported headers stay in the storage and
|
|
25620
|
-
* are still accessible after the call.
|
|
25621
|
-
*/
|
|
25622
|
-
"force_set_pallet_state": Anonymize<I19i0akqkvu7h8>;
|
|
25623
|
-
}>;
|
|
25624
|
-
"BridgeKusamaParachains": Enum<{
|
|
25625
|
-
/**
|
|
25626
|
-
* Submit proof of one or several parachain heads.
|
|
25627
|
-
*
|
|
25628
|
-
* The proof is supposed to be proof of some `Heads` entries from the
|
|
25629
|
-
* `polkadot-runtime-parachains::paras` pallet instance, deployed at the bridged chain.
|
|
25630
|
-
* The proof is supposed to be crafted at the `relay_header_hash` that must already be
|
|
25631
|
-
* imported by corresponding GRANDPA pallet at this chain.
|
|
25632
|
-
*
|
|
25633
|
-
* The call fails if:
|
|
25634
|
-
*
|
|
25635
|
-
* - the pallet is halted;
|
|
25636
|
-
*
|
|
25637
|
-
* - the relay chain block `at_relay_block` is not imported by the associated bridge
|
|
25638
|
-
* GRANDPA pallet.
|
|
25639
|
-
*
|
|
25640
|
-
* The call may succeed, but some heads may not be updated e.g. because pallet knows
|
|
25641
|
-
* better head or it isn't tracked by the pallet.
|
|
25642
|
-
*/
|
|
25643
|
-
"submit_parachain_heads": Anonymize<I4pbpsirgl3tci>;
|
|
25644
|
-
/**
|
|
25645
|
-
* Change `PalletOwner`.
|
|
25646
|
-
*
|
|
25647
|
-
* May only be called either by root, or by `PalletOwner`.
|
|
25648
|
-
*/
|
|
25649
|
-
"set_owner": Anonymize<Iv53je8etqh25>;
|
|
25650
|
-
/**
|
|
25651
|
-
* Halt or resume all pallet operations.
|
|
25652
|
-
*
|
|
25653
|
-
* May only be called either by root, or by `PalletOwner`.
|
|
25654
|
-
*/
|
|
25655
|
-
"set_operating_mode": Anonymize<Id3fgg5dtq3ja9>;
|
|
25656
|
-
/**
|
|
25657
|
-
* Submit proof of one or several parachain heads.
|
|
25658
|
-
*
|
|
25659
|
-
* The proof is supposed to be proof of some `Heads` entries from the
|
|
25660
|
-
* `polkadot-runtime-parachains::paras` pallet instance, deployed at the bridged chain.
|
|
25661
|
-
* The proof is supposed to be crafted at the `relay_header_hash` that must already be
|
|
25662
|
-
* imported by corresponding GRANDPA pallet at this chain.
|
|
25663
|
-
*
|
|
25664
|
-
* The call fails if:
|
|
25665
|
-
*
|
|
25666
|
-
* - the pallet is halted;
|
|
25667
|
-
*
|
|
25668
|
-
* - the relay chain block `at_relay_block` is not imported by the associated bridge
|
|
25669
|
-
* GRANDPA pallet.
|
|
25670
|
-
*
|
|
25671
|
-
* The call may succeed, but some heads may not be updated e.g. because pallet knows
|
|
25672
|
-
* better head or it isn't tracked by the pallet.
|
|
25673
|
-
*
|
|
25674
|
-
* The `is_free_execution_expected` parameter is not really used inside the call. It is
|
|
25675
|
-
* used by the transaction extension, which should be registered at the runtime level. If
|
|
25676
|
-
* this parameter is `true`, the transaction will be treated as invalid, if the call won't
|
|
25677
|
-
* be executed for free. If transaction extension is not used by the runtime, this
|
|
25678
|
-
* parameter is not used at all.
|
|
25679
|
-
*/
|
|
25680
|
-
"submit_parachain_heads_ex": Anonymize<I1be5fgduvh91i>;
|
|
25681
|
-
}>;
|
|
25682
|
-
"BridgeKusamaMessages": Enum<{
|
|
25683
|
-
/**
|
|
25684
|
-
* Change `PalletOwner`.
|
|
25685
|
-
*
|
|
25686
|
-
* May only be called either by root, or by `PalletOwner`.
|
|
25687
|
-
*/
|
|
25688
|
-
"set_owner": Anonymize<Iv53je8etqh25>;
|
|
25689
|
-
/**
|
|
25690
|
-
* Halt or resume all/some pallet operations.
|
|
25691
|
-
*
|
|
25692
|
-
* May only be called either by root, or by `PalletOwner`.
|
|
25693
|
-
*/
|
|
25694
|
-
"set_operating_mode": Anonymize<If7h5asiehgc1m>;
|
|
25695
|
-
/**
|
|
25696
|
-
* Receive messages proof from bridged chain.
|
|
25697
|
-
*
|
|
25698
|
-
* The weight of the call assumes that the transaction always brings outbound lane
|
|
25699
|
-
* state update. Because of that, the submitter (relayer) has no benefit of not including
|
|
25700
|
-
* this data in the transaction, so reward confirmations lags should be minimal.
|
|
25701
|
-
*
|
|
25702
|
-
* The call fails if:
|
|
25703
|
-
*
|
|
25704
|
-
* - the pallet is halted;
|
|
25705
|
-
*
|
|
25706
|
-
* - the call origin is not `Signed(_)`;
|
|
25707
|
-
*
|
|
25708
|
-
* - there are too many messages in the proof;
|
|
25709
|
-
*
|
|
25710
|
-
* - the proof verification procedure returns an error - e.g. because header used to craft
|
|
25711
|
-
* proof is not imported by the associated finality pallet;
|
|
25712
|
-
*
|
|
25713
|
-
* - the `dispatch_weight` argument is not sufficient to dispatch all bundled messages.
|
|
25714
|
-
*
|
|
25715
|
-
* The call may succeed, but some messages may not be delivered e.g. if they are not fit
|
|
25716
|
-
* into the unrewarded relayers vector.
|
|
25717
|
-
*/
|
|
25718
|
-
"receive_messages_proof": {
|
|
25719
|
-
"relayer_id_at_bridged_chain": HexString;
|
|
25720
|
-
"proof": {
|
|
25721
|
-
"bridged_header_hash": SizedHex<32>;
|
|
25722
|
-
"storage_proof": Anonymize<Itom7fk49o0c9>;
|
|
25723
|
-
"lane": SizedHex<32>;
|
|
25724
|
-
"nonces_start": bigint;
|
|
25725
|
-
"nonces_end": bigint;
|
|
25726
|
-
};
|
|
25727
|
-
"messages_count": number;
|
|
25728
|
-
"dispatch_weight": Anonymize<I4q39t5hn830vp>;
|
|
25729
|
-
};
|
|
25730
|
-
/**
|
|
25731
|
-
* Receive messages delivery proof from bridged chain.
|
|
25732
|
-
*/
|
|
25733
|
-
"receive_messages_delivery_proof": {
|
|
25734
|
-
"proof": {
|
|
25735
|
-
"bridged_header_hash": SizedHex<32>;
|
|
25736
|
-
"storage_proof": Anonymize<Itom7fk49o0c9>;
|
|
25737
|
-
"lane": SizedHex<32>;
|
|
25738
|
-
};
|
|
25739
|
-
"relayers_state": Anonymize<I5ts5vqe4dg50s>;
|
|
25740
|
-
};
|
|
25741
|
-
}>;
|
|
25742
|
-
"BridgeXcmOverMoonriver": Anonymize<If9k2qtlkesr5u>;
|
|
25743
|
-
}>;
|
|
25744
|
-
export type I55luuvb7oq2a3 = Array<HexString>;
|
|
25745
|
-
export type I5ib1pr87frhq4 = {
|
|
25746
|
-
"collator": HexString;
|
|
25747
|
-
};
|
|
25748
|
-
export type Iaik8o9viabg12 = AnonymousEnum<{
|
|
25749
|
-
"system": Enum<{
|
|
25750
|
-
"Root": undefined;
|
|
25751
|
-
"Signed": HexString;
|
|
25752
|
-
"None": undefined;
|
|
25753
|
-
"Authorized": undefined;
|
|
25754
|
-
}>;
|
|
25755
|
-
"Ethereum": Anonymize<I9hp9au9bfqil7>;
|
|
25756
|
-
"Origins": Enum<{
|
|
25757
|
-
"WhitelistedCaller": undefined;
|
|
25758
|
-
"GeneralAdmin": undefined;
|
|
25759
|
-
"ReferendumCanceller": undefined;
|
|
25760
|
-
"ReferendumKiller": undefined;
|
|
25761
|
-
"FastGeneralAdmin": undefined;
|
|
25762
|
-
}>;
|
|
25763
|
-
"TreasuryCouncilCollective": Enum<{
|
|
25764
|
-
"Members": Anonymize<I9jd27rnpm8ttv>;
|
|
25765
|
-
"Member": HexString;
|
|
25766
|
-
"_Phantom": undefined;
|
|
25767
|
-
}>;
|
|
25768
|
-
"OpenTechCommitteeCollective": Enum<{
|
|
25769
|
-
"Members": Anonymize<I9jd27rnpm8ttv>;
|
|
25770
|
-
"Member": HexString;
|
|
25771
|
-
"_Phantom": undefined;
|
|
25772
|
-
}>;
|
|
25773
|
-
"CumulusXcm": Anonymize<I3in0d0lb61qi8>;
|
|
25774
|
-
"PolkadotXcm": Anonymize<Icvilmd7qu30i4>;
|
|
25775
|
-
"EthereumXcm": Enum<{
|
|
25776
|
-
"XcmEthereumTransaction": SizedHex<20>;
|
|
25777
|
-
}>;
|
|
25778
|
-
}>;
|
|
25779
|
-
export type Idm815cukrjhah = (Anonymize<Ifmiop0mj0oacq>) | undefined;
|
|
25780
|
-
export type Ifmiop0mj0oacq = AnonymousEnum<{
|
|
25781
|
-
"Any": undefined;
|
|
25782
|
-
"NonTransfer": undefined;
|
|
25783
|
-
"Governance": undefined;
|
|
25784
|
-
"Staking": undefined;
|
|
25785
|
-
"CancelProxy": undefined;
|
|
25786
|
-
"Balances": undefined;
|
|
25787
|
-
"AuthorMapping": undefined;
|
|
25788
|
-
"IdentityJudgement": undefined;
|
|
25789
|
-
}>;
|
|
25790
|
-
export type Ibfkgq22t8bv8o = {
|
|
25791
|
-
"target": HexString;
|
|
25792
|
-
};
|
|
25793
|
-
export type I36nb9b8a306lm = (HexString) | undefined;
|
|
25794
|
-
export type Iastnco49ndprk = {
|
|
25795
|
-
"currency": Enum<{
|
|
25796
|
-
"AsCurrencyId": Enum<{
|
|
25797
|
-
"SelfReserve": undefined;
|
|
25798
|
-
"ForeignAsset": bigint;
|
|
25799
|
-
"Erc20": {
|
|
25800
|
-
"contract_address": SizedHex<20>;
|
|
25801
|
-
};
|
|
25802
|
-
}>;
|
|
25803
|
-
"AsMultiLocation": XcmVersionedLocation;
|
|
25804
|
-
}>;
|
|
25805
|
-
"fee_amount"?: Anonymize<I35p85j063s0il>;
|
|
25806
|
-
};
|
|
25807
|
-
export type Idqc0k36dfbejd = {
|
|
25808
|
-
"transact_required_weight_at_most": Anonymize<I4q39t5hn830vp>;
|
|
25809
|
-
"overall_weight"?: (XcmV3WeightLimit) | undefined;
|
|
25810
|
-
};
|
|
25811
|
-
export type I50mrcbubp554e = {
|
|
25812
|
-
"sender": number;
|
|
25813
|
-
"recipient": number;
|
|
25814
|
-
};
|
|
25815
|
-
export type I2t3281dc7dd14 = AnonymousEnum<{
|
|
25816
|
-
"V1": {
|
|
25817
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
25818
|
-
"fee_payment": Enum<{
|
|
25819
|
-
"Manual": {
|
|
25820
|
-
"gas_price"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
25821
|
-
"max_fee_per_gas"?: Anonymize<Ic4rgfgksgmm3e>;
|
|
25822
|
-
};
|
|
25823
|
-
"Auto": undefined;
|
|
25824
|
-
}>;
|
|
25825
|
-
"action": Anonymize<I2do93a3gr3ege>;
|
|
25826
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
25827
|
-
"input": Uint8Array;
|
|
25828
|
-
"access_list"?: Anonymize<I3dj14b7k3rkm5>;
|
|
25829
|
-
};
|
|
25830
|
-
"V2": {
|
|
25831
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
25832
|
-
"action": Anonymize<I2do93a3gr3ege>;
|
|
25833
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
25834
|
-
"input": Uint8Array;
|
|
25835
|
-
"access_list"?: Anonymize<I3dj14b7k3rkm5>;
|
|
25836
|
-
};
|
|
25837
|
-
"V3": {
|
|
25838
|
-
"gas_limit": Anonymize<I4totqt881mlti>;
|
|
25839
|
-
"action": Anonymize<I2do93a3gr3ege>;
|
|
25840
|
-
"value": Anonymize<I4totqt881mlti>;
|
|
25841
|
-
"input": Uint8Array;
|
|
25842
|
-
"access_list"?: Anonymize<I3dj14b7k3rkm5>;
|
|
25843
|
-
"authorization_list"?: (Anonymize<Idg0qi60379vnh>) | undefined;
|
|
25844
|
-
};
|
|
25845
|
-
}>;
|
|
25846
|
-
export type I3dj14b7k3rkm5 = (Anonymize<I1bsfec060j604>) | undefined;
|
|
25847
|
-
export type Iv53je8etqh25 = {
|
|
25848
|
-
"new_owner"?: Anonymize<I36nb9b8a306lm>;
|
|
25849
|
-
};
|
|
25850
23693
|
export {};
|