@galacticcouncil/descriptors 1.4.0-pr193-92a6b4e → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common-types.d.ts +885 -707
- package/build/descriptors-TCMSBHWH.mjs +27 -0
- package/build/hydration.d.ts +773 -889
- package/build/hydration_metadata-QN4QUJWP.mjs +6 -0
- package/build/index.js +4 -4
- package/build/index.mjs +4 -4
- package/build/metadataTypes-GLMI47Y2.mjs +6 -0
- package/build/metadataTypes.d.ts +1 -1
- package/package.json +1 -1
- package/build/descriptors-TQ7UPY4I.mjs +0 -27
- package/build/hydration_metadata-R2ASQUSJ.mjs +0 -6
- package/build/metadataTypes-IZSQ4W7X.mjs +0 -6
package/build/common-types.d.ts
CHANGED
|
@@ -41,9 +41,9 @@ export type DigestItem = Enum<{
|
|
|
41
41
|
}>;
|
|
42
42
|
export declare const DigestItem: GetEnum<DigestItem>;
|
|
43
43
|
export type I82jm9g7pufuel = [FixedSizeBinary<4>, Binary];
|
|
44
|
-
export type
|
|
44
|
+
export type I8b11817odi77a = Array<{
|
|
45
45
|
"phase": Phase;
|
|
46
|
-
"event": Anonymize<
|
|
46
|
+
"event": Anonymize<If4rv2e5dp2mbc>;
|
|
47
47
|
"topics": Anonymize<Ic5m5lp1oioo8r>;
|
|
48
48
|
}>;
|
|
49
49
|
export type Phase = Enum<{
|
|
@@ -52,28 +52,25 @@ export type Phase = Enum<{
|
|
|
52
52
|
"Initialization": undefined;
|
|
53
53
|
}>;
|
|
54
54
|
export declare const Phase: GetEnum<Phase>;
|
|
55
|
-
export type
|
|
56
|
-
"System": Anonymize<
|
|
55
|
+
export type If4rv2e5dp2mbc = AnonymousEnum<{
|
|
56
|
+
"System": Anonymize<I1b3s18rpntpq9>;
|
|
57
57
|
"Balances": Anonymize<Iao8h4hv7atnq3>;
|
|
58
58
|
"TransactionPayment": TransactionPaymentEvent;
|
|
59
59
|
"MultiTransactionPayment": Anonymize<I8rr9o6g84pu5j>;
|
|
60
60
|
"Treasury": Anonymize<I3kfo09eqm1214>;
|
|
61
|
-
"Utility": Anonymize<
|
|
61
|
+
"Utility": Anonymize<I69kofr1nhqleq>;
|
|
62
62
|
"Preimage": PreimageEvent;
|
|
63
63
|
"Identity": Anonymize<Ibju6hjiipokne>;
|
|
64
64
|
"Democracy": Anonymize<Icfq8ap3e5p73t>;
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"Tips": Anonymize<Imaosic05it19>;
|
|
69
|
-
"Proxy": Anonymize<I7kmuu7rj69gip>;
|
|
70
|
-
"Multisig": Anonymize<Ifdba9dq2c1epc>;
|
|
65
|
+
"TechnicalCommittee": Anonymize<Ia21aji36js36v>;
|
|
66
|
+
"Proxy": Anonymize<I9hb5cfrl6oedc>;
|
|
67
|
+
"Multisig": Anonymize<Iqmcgsuqgnpj4>;
|
|
71
68
|
"Uniques": Anonymize<I27c883vr18l6d>;
|
|
72
69
|
"StateTrieMigration": Anonymize<I61dksvl51aujo>;
|
|
73
70
|
"ConvictionVoting": Anonymize<Itdqso6dq8jq1>;
|
|
74
71
|
"Referenda": Anonymize<Idfraa3b4eu018>;
|
|
75
|
-
"Whitelist": Anonymize<
|
|
76
|
-
"Dispatcher": Anonymize<
|
|
72
|
+
"Whitelist": Anonymize<I36nesv7l2afek>;
|
|
73
|
+
"Dispatcher": Anonymize<I2nu84h51d9okg>;
|
|
77
74
|
"AssetRegistry": Anonymize<Ian7ibscsh312g>;
|
|
78
75
|
"Claims": Anonymize<I8cen1qssvc0qs>;
|
|
79
76
|
"CollatorRewards": Anonymize<I3ktde60bb7807>;
|
|
@@ -83,17 +80,18 @@ export type I5tnsgsltm1a4a = AnonymousEnum<{
|
|
|
83
80
|
"OmnipoolWarehouseLM": Anonymize<Ibc0cs73olrilv>;
|
|
84
81
|
"OmnipoolLiquidityMining": Anonymize<Ibd5re511t83ta>;
|
|
85
82
|
"OTC": Anonymize<I4e560fvgcsh15>;
|
|
86
|
-
"CircuitBreaker": Anonymize<
|
|
83
|
+
"CircuitBreaker": Anonymize<I5bqoomi47jo6r>;
|
|
87
84
|
"Router": Anonymize<I29ur4pnf751bn>;
|
|
88
|
-
"DynamicFees":
|
|
85
|
+
"DynamicFees": Anonymize<I1c5pfuotbjcgt>;
|
|
89
86
|
"Staking": Anonymize<I578f2b006bplq>;
|
|
90
|
-
"Stableswap": Anonymize<
|
|
87
|
+
"Stableswap": Anonymize<I6agvc864g6l7a>;
|
|
91
88
|
"Bonds": Anonymize<I3ans31bk1md2j>;
|
|
92
89
|
"OtcSettlements": Anonymize<I7t4kltkut18qv>;
|
|
93
90
|
"LBP": Anonymize<Iafgde8gm8mhvt>;
|
|
94
91
|
"XYK": Anonymize<Ii9d7rb1uqb69>;
|
|
95
92
|
"Referrals": Anonymize<Idpbcufjvb4ib7>;
|
|
96
93
|
"Liquidation": Anonymize<I1kkju8kqp34t>;
|
|
94
|
+
"HSM": Anonymize<I3kjn6g96kgfl2>;
|
|
97
95
|
"Tokens": Anonymize<I6h8581jnodhqc>;
|
|
98
96
|
"Currencies": Anonymize<I6qgq0m7o225jg>;
|
|
99
97
|
"Vesting": Anonymize<I3jgv45gfqgi7c>;
|
|
@@ -103,8 +101,8 @@ export type I5tnsgsltm1a4a = AnonymousEnum<{
|
|
|
103
101
|
"XYKLiquidityMining": Anonymize<I479nm08b6ujjd>;
|
|
104
102
|
"XYKWarehouseLM": Anonymize<Ibc0cs73olrilv>;
|
|
105
103
|
"RelayChainInfo": Anonymize<I3cdbmcrrt95qk>;
|
|
106
|
-
"DCA": Anonymize<
|
|
107
|
-
"Scheduler": Anonymize<
|
|
104
|
+
"DCA": Anonymize<I9v6ee3u32e3vr>;
|
|
105
|
+
"Scheduler": Anonymize<Ibdrb3dahq9k4>;
|
|
108
106
|
"ParachainSystem": Anonymize<Icbsekf57miplo>;
|
|
109
107
|
"PolkadotXcm": Anonymize<I5ce1ru810vv9d>;
|
|
110
108
|
"CumulusXcm": Anonymize<Ibvp9t1gqae5ct>;
|
|
@@ -116,9 +114,9 @@ export type I5tnsgsltm1a4a = AnonymousEnum<{
|
|
|
116
114
|
"CollatorSelection": Anonymize<I4srakrmf0fspo>;
|
|
117
115
|
"Session": SessionEvent;
|
|
118
116
|
"EmaOracle": Anonymize<Iehrcm8i7udvpg>;
|
|
119
|
-
"Broadcast": Anonymize<
|
|
117
|
+
"Broadcast": Anonymize<I6ns8af0gujj3o>;
|
|
120
118
|
}>;
|
|
121
|
-
export type
|
|
119
|
+
export type I1b3s18rpntpq9 = AnonymousEnum<{
|
|
122
120
|
/**
|
|
123
121
|
* An extrinsic completed successfully.
|
|
124
122
|
*/
|
|
@@ -126,7 +124,7 @@ export type Iavsbdhj5fvhio = AnonymousEnum<{
|
|
|
126
124
|
/**
|
|
127
125
|
* An extrinsic failed.
|
|
128
126
|
*/
|
|
129
|
-
"ExtrinsicFailed": Anonymize<
|
|
127
|
+
"ExtrinsicFailed": Anonymize<I8r4aieb1ssb4f>;
|
|
130
128
|
/**
|
|
131
129
|
* `:code` was updated.
|
|
132
130
|
*/
|
|
@@ -166,11 +164,11 @@ export type Iehg04bj71rkd = AnonymousEnum<{
|
|
|
166
164
|
"Yes": undefined;
|
|
167
165
|
"No": undefined;
|
|
168
166
|
}>;
|
|
169
|
-
export type
|
|
170
|
-
"dispatch_error": Anonymize<
|
|
167
|
+
export type I8r4aieb1ssb4f = {
|
|
168
|
+
"dispatch_error": Anonymize<Ics48kf47718nc>;
|
|
171
169
|
"dispatch_info": Anonymize<Ic9s8f85vjtncc>;
|
|
172
170
|
};
|
|
173
|
-
export type
|
|
171
|
+
export type Ics48kf47718nc = AnonymousEnum<{
|
|
174
172
|
"Other": undefined;
|
|
175
173
|
"CannotLookup": undefined;
|
|
176
174
|
"BadOrigin": undefined;
|
|
@@ -185,10 +183,7 @@ export type Ibsd2i1qrri6jt = AnonymousEnum<{
|
|
|
185
183
|
"Preimage": Anonymize<I4cfhml1prt4lu>;
|
|
186
184
|
"Identity": Anonymize<I9mq328955mgb8>;
|
|
187
185
|
"Democracy": Anonymize<I67neb7i10udig>;
|
|
188
|
-
"Elections": Anonymize<I96u72l8br1ego>;
|
|
189
|
-
"Council": Anonymize<Icapevgbpfn5p9>;
|
|
190
186
|
"TechnicalCommittee": Anonymize<Icapevgbpfn5p9>;
|
|
191
|
-
"Tips": Anonymize<I8c24qlovva8mi>;
|
|
192
187
|
"Proxy": Anonymize<Iuvt54ei4cehc>;
|
|
193
188
|
"Multisig": Anonymize<Ia76qmhhg4jvb9>;
|
|
194
189
|
"Uniques": Anonymize<Ienq2ge2rhv4jm>;
|
|
@@ -205,20 +200,22 @@ export type Ibsd2i1qrri6jt = AnonymousEnum<{
|
|
|
205
200
|
"Omnipool": Anonymize<Ibllfng3pqvvev>;
|
|
206
201
|
"TransactionPause": Anonymize<Ia4jj5ajguk6ba>;
|
|
207
202
|
"Duster": Anonymize<Igjgeha0sds9v>;
|
|
208
|
-
"OmnipoolWarehouseLM": Anonymize<
|
|
203
|
+
"OmnipoolWarehouseLM": Anonymize<I17r8t2a8gf9b7>;
|
|
209
204
|
"OmnipoolLiquidityMining": Anonymize<I3pmdtg46in2f0>;
|
|
210
205
|
"OTC": Anonymize<I1kp1c5al384as>;
|
|
211
|
-
"CircuitBreaker": Anonymize<
|
|
206
|
+
"CircuitBreaker": Anonymize<I7ucufd784dl5i>;
|
|
212
207
|
"Router": Anonymize<Ifntb1290uuatm>;
|
|
213
|
-
"DynamicFees":
|
|
208
|
+
"DynamicFees": Anonymize<Ieg2grdsf1uomi>;
|
|
214
209
|
"Staking": Anonymize<Idhbjtd7at0b1k>;
|
|
215
|
-
"Stableswap": Anonymize<
|
|
210
|
+
"Stableswap": Anonymize<I6ba25er238tnq>;
|
|
216
211
|
"Bonds": Anonymize<Ibj08k850p0j34>;
|
|
217
212
|
"OtcSettlements": Anonymize<I1jtj4pc4jltpf>;
|
|
218
213
|
"LBP": Anonymize<Ic99uoklag6hh0>;
|
|
219
214
|
"XYK": Anonymize<I6a3vdng69e2ne>;
|
|
220
215
|
"Referrals": Anonymize<Iaqb0qr3l7g0ub>;
|
|
221
|
-
"Liquidation": Anonymize<
|
|
216
|
+
"Liquidation": Anonymize<I48021h4n524pp>;
|
|
217
|
+
"HSM": Anonymize<Iapfn3dicobqjc>;
|
|
218
|
+
"Parameters": undefined;
|
|
222
219
|
"Tokens": Anonymize<Icc7o7ep6n36h2>;
|
|
223
220
|
"Currencies": Anonymize<Iejalhtid1s0pt>;
|
|
224
221
|
"Vesting": Anonymize<Ifkcmnj410r9fh>;
|
|
@@ -227,10 +224,10 @@ export type Ibsd2i1qrri6jt = AnonymousEnum<{
|
|
|
227
224
|
"Ethereum": Anonymize<I1mp6vnoh32l4q>;
|
|
228
225
|
"EVMAccounts": Anonymize<Ie65vecqacffpm>;
|
|
229
226
|
"DynamicEvmFee": undefined;
|
|
230
|
-
"XYKLiquidityMining": Anonymize<
|
|
231
|
-
"XYKWarehouseLM": Anonymize<
|
|
227
|
+
"XYKLiquidityMining": Anonymize<Ictnue6n7jdr4j>;
|
|
228
|
+
"XYKWarehouseLM": Anonymize<I17r8t2a8gf9b7>;
|
|
232
229
|
"RelayChainInfo": undefined;
|
|
233
|
-
"DCA": Anonymize<
|
|
230
|
+
"DCA": Anonymize<I685hla4ddmacn>;
|
|
234
231
|
"Scheduler": Anonymize<If7oa8fprnilo5>;
|
|
235
232
|
"ParachainSystem": Anonymize<I9p95gln24a0rn>;
|
|
236
233
|
"ParachainInfo": undefined;
|
|
@@ -694,76 +691,6 @@ export type I67neb7i10udig = AnonymousEnum<{
|
|
|
694
691
|
*/
|
|
695
692
|
"PreimageNotExist": undefined;
|
|
696
693
|
}>;
|
|
697
|
-
export type I96u72l8br1ego = AnonymousEnum<{
|
|
698
|
-
/**
|
|
699
|
-
* Cannot vote when no candidates or members exist.
|
|
700
|
-
*/
|
|
701
|
-
"UnableToVote": undefined;
|
|
702
|
-
/**
|
|
703
|
-
* Must vote for at least one candidate.
|
|
704
|
-
*/
|
|
705
|
-
"NoVotes": undefined;
|
|
706
|
-
/**
|
|
707
|
-
* Cannot vote more than candidates.
|
|
708
|
-
*/
|
|
709
|
-
"TooManyVotes": undefined;
|
|
710
|
-
/**
|
|
711
|
-
* Cannot vote more than maximum allowed.
|
|
712
|
-
*/
|
|
713
|
-
"MaximumVotesExceeded": undefined;
|
|
714
|
-
/**
|
|
715
|
-
* Cannot vote with stake less than minimum balance.
|
|
716
|
-
*/
|
|
717
|
-
"LowBalance": undefined;
|
|
718
|
-
/**
|
|
719
|
-
* Voter can not pay voting bond.
|
|
720
|
-
*/
|
|
721
|
-
"UnableToPayBond": undefined;
|
|
722
|
-
/**
|
|
723
|
-
* Must be a voter.
|
|
724
|
-
*/
|
|
725
|
-
"MustBeVoter": undefined;
|
|
726
|
-
/**
|
|
727
|
-
* Duplicated candidate submission.
|
|
728
|
-
*/
|
|
729
|
-
"DuplicatedCandidate": undefined;
|
|
730
|
-
/**
|
|
731
|
-
* Too many candidates have been created.
|
|
732
|
-
*/
|
|
733
|
-
"TooManyCandidates": undefined;
|
|
734
|
-
/**
|
|
735
|
-
* Member cannot re-submit candidacy.
|
|
736
|
-
*/
|
|
737
|
-
"MemberSubmit": undefined;
|
|
738
|
-
/**
|
|
739
|
-
* Runner cannot re-submit candidacy.
|
|
740
|
-
*/
|
|
741
|
-
"RunnerUpSubmit": undefined;
|
|
742
|
-
/**
|
|
743
|
-
* Candidate does not have enough funds.
|
|
744
|
-
*/
|
|
745
|
-
"InsufficientCandidateFunds": undefined;
|
|
746
|
-
/**
|
|
747
|
-
* Not a member.
|
|
748
|
-
*/
|
|
749
|
-
"NotMember": undefined;
|
|
750
|
-
/**
|
|
751
|
-
* The provided count of number of candidates is incorrect.
|
|
752
|
-
*/
|
|
753
|
-
"InvalidWitnessData": undefined;
|
|
754
|
-
/**
|
|
755
|
-
* The provided count of number of votes is incorrect.
|
|
756
|
-
*/
|
|
757
|
-
"InvalidVoteCount": undefined;
|
|
758
|
-
/**
|
|
759
|
-
* The renouncing origin presented a wrong `Renouncing` parameter.
|
|
760
|
-
*/
|
|
761
|
-
"InvalidRenouncing": undefined;
|
|
762
|
-
/**
|
|
763
|
-
* Prediction regarding replacement after member removal is wrong.
|
|
764
|
-
*/
|
|
765
|
-
"InvalidReplacement": undefined;
|
|
766
|
-
}>;
|
|
767
694
|
export type Icapevgbpfn5p9 = AnonymousEnum<{
|
|
768
695
|
/**
|
|
769
696
|
* Account is not a member
|
|
@@ -810,36 +737,6 @@ export type Icapevgbpfn5p9 = AnonymousEnum<{
|
|
|
810
737
|
*/
|
|
811
738
|
"PrimeAccountNotMember": undefined;
|
|
812
739
|
}>;
|
|
813
|
-
export type I8c24qlovva8mi = AnonymousEnum<{
|
|
814
|
-
/**
|
|
815
|
-
* The reason given is just too big.
|
|
816
|
-
*/
|
|
817
|
-
"ReasonTooBig": undefined;
|
|
818
|
-
/**
|
|
819
|
-
* The tip was already found/started.
|
|
820
|
-
*/
|
|
821
|
-
"AlreadyKnown": undefined;
|
|
822
|
-
/**
|
|
823
|
-
* The tip hash is unknown.
|
|
824
|
-
*/
|
|
825
|
-
"UnknownTip": undefined;
|
|
826
|
-
/**
|
|
827
|
-
* The tip given was too generous.
|
|
828
|
-
*/
|
|
829
|
-
"MaxTipAmountExceeded": undefined;
|
|
830
|
-
/**
|
|
831
|
-
* The account attempting to retract the tip is not the finder of the tip.
|
|
832
|
-
*/
|
|
833
|
-
"NotFinder": undefined;
|
|
834
|
-
/**
|
|
835
|
-
* The tip cannot be claimed/closed because there are not enough tippers yet.
|
|
836
|
-
*/
|
|
837
|
-
"StillOpen": undefined;
|
|
838
|
-
/**
|
|
839
|
-
* The tip cannot be claimed/closed because it's still in the countdown period.
|
|
840
|
-
*/
|
|
841
|
-
"Premature": undefined;
|
|
842
|
-
}>;
|
|
843
740
|
export type Iuvt54ei4cehc = AnonymousEnum<{
|
|
844
741
|
/**
|
|
845
742
|
* There are too many proxies registered or too many announcements pending.
|
|
@@ -1415,7 +1312,7 @@ export type Igjgeha0sds9v = AnonymousEnum<{
|
|
|
1415
1312
|
*/
|
|
1416
1313
|
"ReserveAccountNotSet": undefined;
|
|
1417
1314
|
}>;
|
|
1418
|
-
export type
|
|
1315
|
+
export type I17r8t2a8gf9b7 = AnonymousEnum<{
|
|
1419
1316
|
/**
|
|
1420
1317
|
* Global farm does not exist.
|
|
1421
1318
|
*/
|
|
@@ -1440,10 +1337,6 @@ export type Ib26q43rgjm5dv = AnonymousEnum<{
|
|
|
1440
1337
|
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
|
|
1441
1338
|
*/
|
|
1442
1339
|
"LiquidityMiningIsNotStopped": undefined;
|
|
1443
|
-
/**
|
|
1444
|
-
* LP shares amount is not valid.
|
|
1445
|
-
*/
|
|
1446
|
-
"InvalidDepositAmount": undefined;
|
|
1447
1340
|
/**
|
|
1448
1341
|
* Account is not allowed to perform action.
|
|
1449
1342
|
*/
|
|
@@ -1529,6 +1422,10 @@ export type Ib26q43rgjm5dv = AnonymousEnum<{
|
|
|
1529
1422
|
* `incentivized_asset` is not registered in asset registry.
|
|
1530
1423
|
*/
|
|
1531
1424
|
"IncentivizedAssetNotRegistered": undefined;
|
|
1425
|
+
/**
|
|
1426
|
+
* Provided `amm_pool_id` doesn't match deposit's `amm_pool_id`.
|
|
1427
|
+
*/
|
|
1428
|
+
"AmmPoolIdMismatch": undefined;
|
|
1532
1429
|
/**
|
|
1533
1430
|
* Action cannot be completed because unexpected error has occurred. This should be reported
|
|
1534
1431
|
* to protocol maintainers.
|
|
@@ -1625,7 +1522,7 @@ export type I1kp1c5al384as = AnonymousEnum<{
|
|
|
1625
1522
|
*/
|
|
1626
1523
|
"InsufficientReservedAmount": undefined;
|
|
1627
1524
|
}>;
|
|
1628
|
-
export type
|
|
1525
|
+
export type I7ucufd784dl5i = AnonymousEnum<{
|
|
1629
1526
|
/**
|
|
1630
1527
|
* Invalid value for a limit. Limit must be non-zero.
|
|
1631
1528
|
*/
|
|
@@ -1650,6 +1547,20 @@ export type I4vmqfcgsdr1l9 = AnonymousEnum<{
|
|
|
1650
1547
|
* Asset is not allowed to have a limit
|
|
1651
1548
|
*/
|
|
1652
1549
|
"NotAllowed": undefined;
|
|
1550
|
+
/**
|
|
1551
|
+
* Asset still in lockdown as it reached the allowed deposit limit for the period
|
|
1552
|
+
* Query the `asset_lockdown_state` storage to determine until which block the asset is locked,
|
|
1553
|
+
* so that the deposit can be released afterward.
|
|
1554
|
+
*/
|
|
1555
|
+
"AssetInLockdown": undefined;
|
|
1556
|
+
/**
|
|
1557
|
+
* Asset is not in a lockdown
|
|
1558
|
+
*/
|
|
1559
|
+
"AssetNotInLockdown": undefined;
|
|
1560
|
+
/**
|
|
1561
|
+
* Invalid amount to save deposit
|
|
1562
|
+
*/
|
|
1563
|
+
"InvalidAmount": undefined;
|
|
1653
1564
|
}>;
|
|
1654
1565
|
export type Ifntb1290uuatm = AnonymousEnum<{
|
|
1655
1566
|
/**
|
|
@@ -1693,6 +1604,12 @@ export type Ifntb1290uuatm = AnonymousEnum<{
|
|
|
1693
1604
|
*/
|
|
1694
1605
|
"NotAllowed": undefined;
|
|
1695
1606
|
}>;
|
|
1607
|
+
export type Ieg2grdsf1uomi = AnonymousEnum<{
|
|
1608
|
+
/**
|
|
1609
|
+
* Invalid fee parameters provided
|
|
1610
|
+
*/
|
|
1611
|
+
"InvalidFeeParameters": undefined;
|
|
1612
|
+
}>;
|
|
1696
1613
|
export type Idhbjtd7at0b1k = AnonymousEnum<{
|
|
1697
1614
|
/**
|
|
1698
1615
|
* Balance is too low.
|
|
@@ -1755,7 +1672,7 @@ export type Icojqvn3afk41n = AnonymousEnum<{
|
|
|
1755
1672
|
"TooManyPositions": undefined;
|
|
1756
1673
|
"Arithmetic": undefined;
|
|
1757
1674
|
}>;
|
|
1758
|
-
export type
|
|
1675
|
+
export type I6ba25er238tnq = AnonymousEnum<{
|
|
1759
1676
|
/**
|
|
1760
1677
|
* Creating a pool with same assets or less than 2 assets is not allowed.
|
|
1761
1678
|
*/
|
|
@@ -1864,6 +1781,10 @@ export type Icjghjcmnulssm = AnonymousEnum<{
|
|
|
1864
1781
|
* Creating pool with pegs is not allowed for asset with different decimals.
|
|
1865
1782
|
*/
|
|
1866
1783
|
"IncorrectAssetDecimals": undefined;
|
|
1784
|
+
/**
|
|
1785
|
+
* Pool does not have pegs configured.
|
|
1786
|
+
*/
|
|
1787
|
+
"NoPegSource": undefined;
|
|
1867
1788
|
}>;
|
|
1868
1789
|
export type Ibj08k850p0j34 = AnonymousEnum<{
|
|
1869
1790
|
/**
|
|
@@ -2185,7 +2106,7 @@ export type Iaqb0qr3l7g0ub = AnonymousEnum<{
|
|
|
2185
2106
|
*/
|
|
2186
2107
|
"ConversionZeroAmountReceived": undefined;
|
|
2187
2108
|
}>;
|
|
2188
|
-
export type
|
|
2109
|
+
export type I48021h4n524pp = AnonymousEnum<{
|
|
2189
2110
|
/**
|
|
2190
2111
|
* AssetId to EVM address conversion failed
|
|
2191
2112
|
*/
|
|
@@ -2202,6 +2123,142 @@ export type I2isghqcs9gp7d = AnonymousEnum<{
|
|
|
2202
2123
|
* Liquidation was not profitable enough to repay flash loan
|
|
2203
2124
|
*/
|
|
2204
2125
|
"NotProfitable": undefined;
|
|
2126
|
+
/**
|
|
2127
|
+
* Flash minter contract address not set. It is required for Hollar liquidations.
|
|
2128
|
+
*/
|
|
2129
|
+
"FlashMinterNotSet": undefined;
|
|
2130
|
+
/**
|
|
2131
|
+
* Invalid liquidation data provided
|
|
2132
|
+
*/
|
|
2133
|
+
"InvalidLiquidationData": undefined;
|
|
2134
|
+
}>;
|
|
2135
|
+
export type Iapfn3dicobqjc = AnonymousEnum<{
|
|
2136
|
+
/**
|
|
2137
|
+
* Asset is not approved as collateral
|
|
2138
|
+
*
|
|
2139
|
+
* The operation attempted to use an asset that is not registered as an approved collateral.
|
|
2140
|
+
*/
|
|
2141
|
+
"AssetNotApproved": undefined;
|
|
2142
|
+
/**
|
|
2143
|
+
* Asset is already approved as collateral
|
|
2144
|
+
*
|
|
2145
|
+
* Attempted to add an asset that is already registered as a collateral.
|
|
2146
|
+
*/
|
|
2147
|
+
"AssetAlreadyApproved": undefined;
|
|
2148
|
+
/**
|
|
2149
|
+
* Another asset from the same pool is already approved
|
|
2150
|
+
*
|
|
2151
|
+
* Only one asset from each StableSwap pool can be used as collateral.
|
|
2152
|
+
*/
|
|
2153
|
+
"PoolAlreadyHasCollateral": undefined;
|
|
2154
|
+
/**
|
|
2155
|
+
* Invalid asset pair, must be Hollar and approved collateral
|
|
2156
|
+
*
|
|
2157
|
+
* The asset pair for buy/sell operations must include Hollar as one side and an approved collateral as the other.
|
|
2158
|
+
*/
|
|
2159
|
+
"InvalidAssetPair": undefined;
|
|
2160
|
+
/**
|
|
2161
|
+
* Max buy price exceeded
|
|
2162
|
+
*
|
|
2163
|
+
* The calculated buy price exceeds the maximum allowed buy price for the collateral.
|
|
2164
|
+
*/
|
|
2165
|
+
"MaxBuyPriceExceeded": undefined;
|
|
2166
|
+
/**
|
|
2167
|
+
* Max buy back amount in single block exceeded
|
|
2168
|
+
*
|
|
2169
|
+
* The amount of Hollar being sold to HSM exceeds the maximum allowed in a single block for this collateral.
|
|
2170
|
+
*/
|
|
2171
|
+
"MaxBuyBackExceeded": undefined;
|
|
2172
|
+
/**
|
|
2173
|
+
* Max holding amount for collateral exceeded
|
|
2174
|
+
*
|
|
2175
|
+
* The operation would cause the HSM to hold more of the collateral than the configured maximum.
|
|
2176
|
+
*/
|
|
2177
|
+
"MaxHoldingExceeded": undefined;
|
|
2178
|
+
/**
|
|
2179
|
+
* Slippage limit exceeded
|
|
2180
|
+
*
|
|
2181
|
+
* The calculated amount is worse than the provided slippage limit.
|
|
2182
|
+
*/
|
|
2183
|
+
"SlippageLimitExceeded": undefined;
|
|
2184
|
+
/**
|
|
2185
|
+
* Invalid EVM contract interaction
|
|
2186
|
+
*
|
|
2187
|
+
* The call to the EVM contract (GHO Hollar token) failed.
|
|
2188
|
+
*/
|
|
2189
|
+
"InvalidEVMInteraction": undefined;
|
|
2190
|
+
/**
|
|
2191
|
+
* Decimal retrieval failed
|
|
2192
|
+
*
|
|
2193
|
+
* Failed to retrieve the decimal information for an asset.
|
|
2194
|
+
*/
|
|
2195
|
+
"DecimalRetrievalFailed": undefined;
|
|
2196
|
+
/**
|
|
2197
|
+
* No arbitrage opportunity
|
|
2198
|
+
*
|
|
2199
|
+
* There is no profitable arbitrage opportunity for the specified collateral.
|
|
2200
|
+
*/
|
|
2201
|
+
"NoArbitrageOpportunity": undefined;
|
|
2202
|
+
/**
|
|
2203
|
+
* Offchain lock error
|
|
2204
|
+
*
|
|
2205
|
+
* Failed to acquire the lock for offchain workers, likely because another operation is in progress.
|
|
2206
|
+
*/
|
|
2207
|
+
"OffchainLockError": undefined;
|
|
2208
|
+
/**
|
|
2209
|
+
* Asset not in the pool
|
|
2210
|
+
*
|
|
2211
|
+
* The specified asset was not found in the pool.
|
|
2212
|
+
*/
|
|
2213
|
+
"AssetNotFound": undefined;
|
|
2214
|
+
/**
|
|
2215
|
+
* Provided pool state is invalid
|
|
2216
|
+
*
|
|
2217
|
+
* The retrieved pool state has inconsistent or invalid data.
|
|
2218
|
+
*/
|
|
2219
|
+
"InvalidPoolState": undefined;
|
|
2220
|
+
/**
|
|
2221
|
+
* Collateral is not empty
|
|
2222
|
+
*
|
|
2223
|
+
* Cannot remove a collateral asset that still has a non-zero balance in the HSM account.
|
|
2224
|
+
*/
|
|
2225
|
+
"CollateralNotEmpty": undefined;
|
|
2226
|
+
/**
|
|
2227
|
+
* Asset not in the pool
|
|
2228
|
+
*
|
|
2229
|
+
* The collateral asset is not present in the specified pool.
|
|
2230
|
+
*/
|
|
2231
|
+
"AssetNotInPool": undefined;
|
|
2232
|
+
/**
|
|
2233
|
+
* Hollar is not in the pool
|
|
2234
|
+
*
|
|
2235
|
+
* The Hollar asset is not present in the specified pool.
|
|
2236
|
+
*/
|
|
2237
|
+
"HollarNotInPool": undefined;
|
|
2238
|
+
/**
|
|
2239
|
+
* Insufficient collateral balance
|
|
2240
|
+
*
|
|
2241
|
+
* The HSM does not have enough of the collateral asset to complete the operation.
|
|
2242
|
+
*/
|
|
2243
|
+
"InsufficientCollateralBalance": undefined;
|
|
2244
|
+
/**
|
|
2245
|
+
* GHO Contract address not found
|
|
2246
|
+
*
|
|
2247
|
+
* The EVM address for the GHO (Hollar) token contract was not found.
|
|
2248
|
+
*/
|
|
2249
|
+
"HollarContractAddressNotFound": undefined;
|
|
2250
|
+
/**
|
|
2251
|
+
* HSM contains maximum number of allowed collateral assets.
|
|
2252
|
+
*/
|
|
2253
|
+
"MaxNumberOfCollateralsReached": undefined;
|
|
2254
|
+
/**
|
|
2255
|
+
* Flash minter address not set
|
|
2256
|
+
*/
|
|
2257
|
+
"FlashMinterNotSet": undefined;
|
|
2258
|
+
/**
|
|
2259
|
+
* Provided arbitrage data is invalid
|
|
2260
|
+
*/
|
|
2261
|
+
"InvalidArbitrageData": undefined;
|
|
2205
2262
|
}>;
|
|
2206
2263
|
export type Icc7o7ep6n36h2 = AnonymousEnum<{
|
|
2207
2264
|
/**
|
|
@@ -2360,7 +2417,7 @@ export type Ie65vecqacffpm = AnonymousEnum<{
|
|
|
2360
2417
|
*/
|
|
2361
2418
|
"AddressNotWhitelisted": undefined;
|
|
2362
2419
|
}>;
|
|
2363
|
-
export type
|
|
2420
|
+
export type Ictnue6n7jdr4j = AnonymousEnum<{
|
|
2364
2421
|
/**
|
|
2365
2422
|
* Nft pallet didn't return an owner.
|
|
2366
2423
|
*/
|
|
@@ -2409,8 +2466,12 @@ export type I6q09f6hmj7elp = AnonymousEnum<{
|
|
|
2409
2466
|
* No global farm - yield farm pairs specified to join
|
|
2410
2467
|
*/
|
|
2411
2468
|
"NoFarmsSpecified": undefined;
|
|
2469
|
+
/**
|
|
2470
|
+
* Failed to calculate value of xyk shares
|
|
2471
|
+
*/
|
|
2472
|
+
"FailedToValueShares": undefined;
|
|
2412
2473
|
}>;
|
|
2413
|
-
export type
|
|
2474
|
+
export type I685hla4ddmacn = AnonymousEnum<{
|
|
2414
2475
|
/**
|
|
2415
2476
|
* Schedule not exist
|
|
2416
2477
|
*/
|
|
@@ -2483,6 +2544,14 @@ export type Ic4d0pk1ndfilm = AnonymousEnum<{
|
|
|
2483
2544
|
* Stability threshold cannot be higher than `MaxConfigurablePriceDifferenceBetweenBlock`
|
|
2484
2545
|
*/
|
|
2485
2546
|
"StabilityThresholdTooHigh": undefined;
|
|
2547
|
+
/**
|
|
2548
|
+
* User still has active DCA schedules and cannot unlock reserves
|
|
2549
|
+
*/
|
|
2550
|
+
"HasActiveSchedules": undefined;
|
|
2551
|
+
/**
|
|
2552
|
+
* No reserves are locked for the user for the given asset
|
|
2553
|
+
*/
|
|
2554
|
+
"NoReservesLocked": undefined;
|
|
2486
2555
|
}>;
|
|
2487
2556
|
export type If7oa8fprnilo5 = AnonymousEnum<{
|
|
2488
2557
|
/**
|
|
@@ -3244,12 +3313,12 @@ export type I8usdc6tg7829p = {
|
|
|
3244
3313
|
export type I666bl2fqjkejo = {
|
|
3245
3314
|
"index": number;
|
|
3246
3315
|
};
|
|
3247
|
-
export type
|
|
3316
|
+
export type I69kofr1nhqleq = AnonymousEnum<{
|
|
3248
3317
|
/**
|
|
3249
3318
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
3250
3319
|
* well as the error.
|
|
3251
3320
|
*/
|
|
3252
|
-
"BatchInterrupted": Anonymize<
|
|
3321
|
+
"BatchInterrupted": Anonymize<I4uh1fq0qqpf5o>;
|
|
3253
3322
|
/**
|
|
3254
3323
|
* Batch of dispatches completed fully with no error.
|
|
3255
3324
|
*/
|
|
@@ -3265,23 +3334,23 @@ export type I2ud712fbnmrv0 = AnonymousEnum<{
|
|
|
3265
3334
|
/**
|
|
3266
3335
|
* A single item within a Batch of dispatches has completed with error.
|
|
3267
3336
|
*/
|
|
3268
|
-
"ItemFailed": Anonymize<
|
|
3337
|
+
"ItemFailed": Anonymize<I1ofejmsmshuso>;
|
|
3269
3338
|
/**
|
|
3270
3339
|
* A call was dispatched.
|
|
3271
3340
|
*/
|
|
3272
|
-
"DispatchedAs": Anonymize<
|
|
3341
|
+
"DispatchedAs": Anonymize<Ifnqdavuhjiv8r>;
|
|
3273
3342
|
}>;
|
|
3274
|
-
export type
|
|
3343
|
+
export type I4uh1fq0qqpf5o = {
|
|
3275
3344
|
"index": number;
|
|
3276
|
-
"error": Anonymize<
|
|
3345
|
+
"error": Anonymize<Ics48kf47718nc>;
|
|
3277
3346
|
};
|
|
3278
|
-
export type
|
|
3279
|
-
"error": Anonymize<
|
|
3347
|
+
export type I1ofejmsmshuso = {
|
|
3348
|
+
"error": Anonymize<Ics48kf47718nc>;
|
|
3280
3349
|
};
|
|
3281
|
-
export type
|
|
3282
|
-
"result": Anonymize<
|
|
3350
|
+
export type Ifnqdavuhjiv8r = {
|
|
3351
|
+
"result": Anonymize<Ifmtn378c8s4gn>;
|
|
3283
3352
|
};
|
|
3284
|
-
export type
|
|
3353
|
+
export type Ifmtn378c8s4gn = ResultPayload<undefined, Anonymize<Ics48kf47718nc>>;
|
|
3285
3354
|
export type PreimageEvent = Enum<{
|
|
3286
3355
|
/**
|
|
3287
3356
|
* A preimage has been noted.
|
|
@@ -3558,65 +3627,7 @@ export type I4ljshcevmm3p2 = {
|
|
|
3558
3627
|
*/
|
|
3559
3628
|
"hash": FixedSizeBinary<32>;
|
|
3560
3629
|
};
|
|
3561
|
-
export type
|
|
3562
|
-
/**
|
|
3563
|
-
* A new term with new_members. This indicates that enough candidates existed to run
|
|
3564
|
-
* the election, not that enough have has been elected. The inner value must be examined
|
|
3565
|
-
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
3566
|
-
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
3567
|
-
* begin with.
|
|
3568
|
-
*/
|
|
3569
|
-
"NewTerm": Anonymize<Iaofef34v2445a>;
|
|
3570
|
-
/**
|
|
3571
|
-
* No (or not enough) candidates existed for this round. This is different from
|
|
3572
|
-
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
3573
|
-
*/
|
|
3574
|
-
"EmptyTerm": undefined;
|
|
3575
|
-
/**
|
|
3576
|
-
* Internal error happened while trying to perform election.
|
|
3577
|
-
*/
|
|
3578
|
-
"ElectionError": undefined;
|
|
3579
|
-
/**
|
|
3580
|
-
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
3581
|
-
* `EmptyTerm`.
|
|
3582
|
-
*/
|
|
3583
|
-
"MemberKicked": Anonymize<Ie3gphha4ejh40>;
|
|
3584
|
-
/**
|
|
3585
|
-
* Someone has renounced their candidacy.
|
|
3586
|
-
*/
|
|
3587
|
-
"Renounced": Anonymize<I4b66js88p45m8>;
|
|
3588
|
-
/**
|
|
3589
|
-
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
3590
|
-
* runner-up.
|
|
3591
|
-
*
|
|
3592
|
-
* Note that old members and runners-up are also candidates.
|
|
3593
|
-
*/
|
|
3594
|
-
"CandidateSlashed": Anonymize<I50d9r8lrdga93>;
|
|
3595
|
-
/**
|
|
3596
|
-
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
3597
|
-
*/
|
|
3598
|
-
"SeatHolderSlashed": Anonymize<I27avf13g71mla>;
|
|
3599
|
-
}>;
|
|
3600
|
-
export type Iaofef34v2445a = {
|
|
3601
|
-
"new_members": Anonymize<Iba9inugg1atvo>;
|
|
3602
|
-
};
|
|
3603
|
-
export type Iba9inugg1atvo = Array<Anonymize<I95l2k9b1re95f>>;
|
|
3604
|
-
export type I95l2k9b1re95f = [SS58String, bigint];
|
|
3605
|
-
export type Ie3gphha4ejh40 = {
|
|
3606
|
-
"member": SS58String;
|
|
3607
|
-
};
|
|
3608
|
-
export type I4b66js88p45m8 = {
|
|
3609
|
-
"candidate": SS58String;
|
|
3610
|
-
};
|
|
3611
|
-
export type I50d9r8lrdga93 = {
|
|
3612
|
-
"candidate": SS58String;
|
|
3613
|
-
"amount": bigint;
|
|
3614
|
-
};
|
|
3615
|
-
export type I27avf13g71mla = {
|
|
3616
|
-
"seat_holder": SS58String;
|
|
3617
|
-
"amount": bigint;
|
|
3618
|
-
};
|
|
3619
|
-
export type Ia375rv7mvnks8 = AnonymousEnum<{
|
|
3630
|
+
export type Ia21aji36js36v = AnonymousEnum<{
|
|
3620
3631
|
/**
|
|
3621
3632
|
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
3622
3633
|
* `MemberCount`).
|
|
@@ -3638,11 +3649,11 @@ export type Ia375rv7mvnks8 = AnonymousEnum<{
|
|
|
3638
3649
|
/**
|
|
3639
3650
|
* A motion was executed; result will be `Ok` if it returned without error.
|
|
3640
3651
|
*/
|
|
3641
|
-
"Executed": Anonymize<
|
|
3652
|
+
"Executed": Anonymize<I98hgambi0pist>;
|
|
3642
3653
|
/**
|
|
3643
3654
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
3644
3655
|
*/
|
|
3645
|
-
"MemberExecuted": Anonymize<
|
|
3656
|
+
"MemberExecuted": Anonymize<I98hgambi0pist>;
|
|
3646
3657
|
/**
|
|
3647
3658
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
3648
3659
|
*/
|
|
@@ -3661,55 +3672,20 @@ export type I7qc53b1tvqjg2 = {
|
|
|
3661
3672
|
"yes": number;
|
|
3662
3673
|
"no": number;
|
|
3663
3674
|
};
|
|
3664
|
-
export type
|
|
3675
|
+
export type I98hgambi0pist = {
|
|
3665
3676
|
"proposal_hash": FixedSizeBinary<32>;
|
|
3666
|
-
"result": Anonymize<
|
|
3677
|
+
"result": Anonymize<Ifmtn378c8s4gn>;
|
|
3667
3678
|
};
|
|
3668
3679
|
export type Iak7fhrgb9jnnq = {
|
|
3669
3680
|
"proposal_hash": FixedSizeBinary<32>;
|
|
3670
3681
|
"yes": number;
|
|
3671
3682
|
"no": number;
|
|
3672
3683
|
};
|
|
3673
|
-
export type
|
|
3674
|
-
/**
|
|
3675
|
-
* A new tip suggestion has been opened.
|
|
3676
|
-
*/
|
|
3677
|
-
"NewTip": Anonymize<Iep7an7g10jgpc>;
|
|
3678
|
-
/**
|
|
3679
|
-
* A tip suggestion has reached threshold and is closing.
|
|
3680
|
-
*/
|
|
3681
|
-
"TipClosing": Anonymize<Iep7an7g10jgpc>;
|
|
3682
|
-
/**
|
|
3683
|
-
* A tip suggestion has been closed.
|
|
3684
|
-
*/
|
|
3685
|
-
"TipClosed": Anonymize<Ierev02d74bpoa>;
|
|
3686
|
-
/**
|
|
3687
|
-
* A tip suggestion has been retracted.
|
|
3688
|
-
*/
|
|
3689
|
-
"TipRetracted": Anonymize<Iep7an7g10jgpc>;
|
|
3690
|
-
/**
|
|
3691
|
-
* A tip suggestion has been slashed.
|
|
3692
|
-
*/
|
|
3693
|
-
"TipSlashed": Anonymize<Ic836gl3ins837>;
|
|
3694
|
-
}>;
|
|
3695
|
-
export type Iep7an7g10jgpc = {
|
|
3696
|
-
"tip_hash": FixedSizeBinary<32>;
|
|
3697
|
-
};
|
|
3698
|
-
export type Ierev02d74bpoa = {
|
|
3699
|
-
"tip_hash": FixedSizeBinary<32>;
|
|
3700
|
-
"who": SS58String;
|
|
3701
|
-
"payout": bigint;
|
|
3702
|
-
};
|
|
3703
|
-
export type Ic836gl3ins837 = {
|
|
3704
|
-
"tip_hash": FixedSizeBinary<32>;
|
|
3705
|
-
"finder": SS58String;
|
|
3706
|
-
"deposit": bigint;
|
|
3707
|
-
};
|
|
3708
|
-
export type I7kmuu7rj69gip = AnonymousEnum<{
|
|
3684
|
+
export type I9hb5cfrl6oedc = AnonymousEnum<{
|
|
3709
3685
|
/**
|
|
3710
3686
|
* A proxy was executed correctly, with the given.
|
|
3711
3687
|
*/
|
|
3712
|
-
"ProxyExecuted": Anonymize<
|
|
3688
|
+
"ProxyExecuted": Anonymize<Ifnqdavuhjiv8r>;
|
|
3713
3689
|
/**
|
|
3714
3690
|
* A pure account has been created by new proxy with given
|
|
3715
3691
|
* disambiguation index and proxy type.
|
|
@@ -3753,7 +3729,7 @@ export type I3opji3hcv2fmd = {
|
|
|
3753
3729
|
"proxy_type": Anonymize<Ie9g2psuhuu510>;
|
|
3754
3730
|
"delay": number;
|
|
3755
3731
|
};
|
|
3756
|
-
export type
|
|
3732
|
+
export type Iqmcgsuqgnpj4 = AnonymousEnum<{
|
|
3757
3733
|
/**
|
|
3758
3734
|
* A new multisig operation has begun.
|
|
3759
3735
|
*/
|
|
@@ -3765,7 +3741,7 @@ export type Ifdba9dq2c1epc = AnonymousEnum<{
|
|
|
3765
3741
|
/**
|
|
3766
3742
|
* A multisig operation has been executed.
|
|
3767
3743
|
*/
|
|
3768
|
-
"MultisigExecuted": Anonymize<
|
|
3744
|
+
"MultisigExecuted": Anonymize<I529tipghbmk8u>;
|
|
3769
3745
|
/**
|
|
3770
3746
|
* A multisig operation has been cancelled.
|
|
3771
3747
|
*/
|
|
@@ -3786,12 +3762,12 @@ export type Itvprrpb0nm3o = {
|
|
|
3786
3762
|
"height": number;
|
|
3787
3763
|
"index": number;
|
|
3788
3764
|
};
|
|
3789
|
-
export type
|
|
3765
|
+
export type I529tipghbmk8u = {
|
|
3790
3766
|
"approving": SS58String;
|
|
3791
3767
|
"timepoint": Anonymize<Itvprrpb0nm3o>;
|
|
3792
3768
|
"multisig": SS58String;
|
|
3793
3769
|
"call_hash": FixedSizeBinary<32>;
|
|
3794
|
-
"result": Anonymize<
|
|
3770
|
+
"result": Anonymize<Ifmtn378c8s4gn>;
|
|
3795
3771
|
};
|
|
3796
3772
|
export type I5qolde99acmd1 = {
|
|
3797
3773
|
"cancelling": SS58String;
|
|
@@ -4207,30 +4183,30 @@ export type I4f1hv034jf1dt = {
|
|
|
4207
4183
|
*/
|
|
4208
4184
|
"hash": FixedSizeBinary<32>;
|
|
4209
4185
|
};
|
|
4210
|
-
export type
|
|
4186
|
+
export type I36nesv7l2afek = AnonymousEnum<{
|
|
4211
4187
|
"CallWhitelisted": Anonymize<I1adbcfi5uc62r>;
|
|
4212
4188
|
"WhitelistedCallRemoved": Anonymize<I1adbcfi5uc62r>;
|
|
4213
|
-
"WhitelistedCallDispatched": Anonymize<
|
|
4189
|
+
"WhitelistedCallDispatched": Anonymize<I3g8msgr18to3p>;
|
|
4214
4190
|
}>;
|
|
4215
4191
|
export type I1adbcfi5uc62r = {
|
|
4216
4192
|
"call_hash": FixedSizeBinary<32>;
|
|
4217
4193
|
};
|
|
4218
|
-
export type
|
|
4194
|
+
export type I3g8msgr18to3p = {
|
|
4219
4195
|
"call_hash": FixedSizeBinary<32>;
|
|
4220
|
-
"result": Anonymize<
|
|
4196
|
+
"result": Anonymize<Icqni9nnoiqjig>;
|
|
4221
4197
|
};
|
|
4222
|
-
export type
|
|
4198
|
+
export type Icqni9nnoiqjig = ResultPayload<Anonymize<Ia1u1r3n74r13c>, {
|
|
4223
4199
|
"post_info": Anonymize<Ia1u1r3n74r13c>;
|
|
4224
|
-
"error": Anonymize<
|
|
4200
|
+
"error": Anonymize<Ics48kf47718nc>;
|
|
4225
4201
|
}>;
|
|
4226
4202
|
export type Ia1u1r3n74r13c = {
|
|
4227
4203
|
"actual_weight"?: Anonymize<Iasb8k6ash5mjn>;
|
|
4228
4204
|
"pays_fee": Anonymize<Iehg04bj71rkd>;
|
|
4229
4205
|
};
|
|
4230
4206
|
export type Iasb8k6ash5mjn = (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
4231
|
-
export type
|
|
4232
|
-
"TreasuryManagerCallDispatched": Anonymize<
|
|
4233
|
-
"AaveManagerCallDispatched": Anonymize<
|
|
4207
|
+
export type I2nu84h51d9okg = AnonymousEnum<{
|
|
4208
|
+
"TreasuryManagerCallDispatched": Anonymize<I3g8msgr18to3p>;
|
|
4209
|
+
"AaveManagerCallDispatched": Anonymize<I3g8msgr18to3p>;
|
|
4234
4210
|
}>;
|
|
4235
4211
|
export type Ian7ibscsh312g = AnonymousEnum<{
|
|
4236
4212
|
/**
|
|
@@ -4746,7 +4722,7 @@ export type Ibnohbnq46n24i = {
|
|
|
4746
4722
|
"amount_out": bigint;
|
|
4747
4723
|
"partially_fillable": boolean;
|
|
4748
4724
|
};
|
|
4749
|
-
export type
|
|
4725
|
+
export type I5bqoomi47jo6r = AnonymousEnum<{
|
|
4750
4726
|
/**
|
|
4751
4727
|
* Trade volume limit of an asset was changed.
|
|
4752
4728
|
*/
|
|
@@ -4759,6 +4735,18 @@ export type Ichskhtdtbf0vo = AnonymousEnum<{
|
|
|
4759
4735
|
* Remove liquidity limit of an asset was changed.
|
|
4760
4736
|
*/
|
|
4761
4737
|
"RemoveLiquidityLimitChanged": Anonymize<I4l0u1h71fhj81>;
|
|
4738
|
+
/**
|
|
4739
|
+
* Asset went to lockdown
|
|
4740
|
+
*/
|
|
4741
|
+
"AssetLockdown": Anonymize<I5qnn28n6p0qll>;
|
|
4742
|
+
/**
|
|
4743
|
+
* Asset lockdown was removed
|
|
4744
|
+
*/
|
|
4745
|
+
"AssetLockdownRemoved": Anonymize<Ia5le7udkgbaq9>;
|
|
4746
|
+
/**
|
|
4747
|
+
* All reserved amount of deposit was released
|
|
4748
|
+
*/
|
|
4749
|
+
"DepositReleased": Anonymize<If4ebvclj2ugvi>;
|
|
4762
4750
|
}>;
|
|
4763
4751
|
export type I2i1tilmsb1rl1 = {
|
|
4764
4752
|
"asset_id": number;
|
|
@@ -4770,6 +4758,14 @@ export type I4l0u1h71fhj81 = {
|
|
|
4770
4758
|
"liquidity_limit"?: Anonymize<Iep7au1720bm0e>;
|
|
4771
4759
|
};
|
|
4772
4760
|
export type Iep7au1720bm0e = (Anonymize<I9jd27rnpm8ttv>) | undefined;
|
|
4761
|
+
export type I5qnn28n6p0qll = {
|
|
4762
|
+
"asset_id": number;
|
|
4763
|
+
"until": number;
|
|
4764
|
+
};
|
|
4765
|
+
export type If4ebvclj2ugvi = {
|
|
4766
|
+
"who": SS58String;
|
|
4767
|
+
"asset_id": number;
|
|
4768
|
+
};
|
|
4773
4769
|
export type I29ur4pnf751bn = AnonymousEnum<{
|
|
4774
4770
|
/**
|
|
4775
4771
|
* The route with trades has been successfully executed
|
|
@@ -4791,6 +4787,36 @@ export type I11glevchscfbg = {
|
|
|
4791
4787
|
"asset_ids": Anonymize<Icgljjb6j82uhn>;
|
|
4792
4788
|
};
|
|
4793
4789
|
export type Icgljjb6j82uhn = Array<number>;
|
|
4790
|
+
export type I1c5pfuotbjcgt = AnonymousEnum<{
|
|
4791
|
+
/**
|
|
4792
|
+
* Asset fee configuration has been set
|
|
4793
|
+
*/
|
|
4794
|
+
"AssetFeeConfigSet": Anonymize<Iepgfued24hpeb>;
|
|
4795
|
+
/**
|
|
4796
|
+
* Asset fee configuration has been removed
|
|
4797
|
+
*/
|
|
4798
|
+
"AssetFeeConfigRemoved": Anonymize<Ia5le7udkgbaq9>;
|
|
4799
|
+
}>;
|
|
4800
|
+
export type Iepgfued24hpeb = {
|
|
4801
|
+
"asset_id": number;
|
|
4802
|
+
"params": Anonymize<I5aq7tv9lofc3v>;
|
|
4803
|
+
};
|
|
4804
|
+
export type I5aq7tv9lofc3v = AnonymousEnum<{
|
|
4805
|
+
"Fixed": {
|
|
4806
|
+
"asset_fee": number;
|
|
4807
|
+
"protocol_fee": number;
|
|
4808
|
+
};
|
|
4809
|
+
"Dynamic": {
|
|
4810
|
+
"asset_fee_params": Anonymize<Ie5fbn0f5capo3>;
|
|
4811
|
+
"protocol_fee_params": Anonymize<Ie5fbn0f5capo3>;
|
|
4812
|
+
};
|
|
4813
|
+
}>;
|
|
4814
|
+
export type Ie5fbn0f5capo3 = {
|
|
4815
|
+
"min_fee": number;
|
|
4816
|
+
"max_fee": number;
|
|
4817
|
+
"decay": bigint;
|
|
4818
|
+
"amplification": bigint;
|
|
4819
|
+
};
|
|
4794
4820
|
export type I578f2b006bplq = AnonymousEnum<{
|
|
4795
4821
|
/**
|
|
4796
4822
|
* New staking position was created and NFT was minted.
|
|
@@ -4852,11 +4878,11 @@ export type I2gupahud9i8tv = {
|
|
|
4852
4878
|
"accumulated_rps": bigint;
|
|
4853
4879
|
"total_stake": bigint;
|
|
4854
4880
|
};
|
|
4855
|
-
export type
|
|
4881
|
+
export type I6agvc864g6l7a = AnonymousEnum<{
|
|
4856
4882
|
/**
|
|
4857
4883
|
* A pool was created.
|
|
4858
4884
|
*/
|
|
4859
|
-
"PoolCreated": Anonymize<
|
|
4885
|
+
"PoolCreated": Anonymize<I59jkmlks7g3ck>;
|
|
4860
4886
|
/**
|
|
4861
4887
|
* Pool fee has been updated.
|
|
4862
4888
|
*/
|
|
@@ -4891,23 +4917,33 @@ export type Ie3b48utohqnl = AnonymousEnum<{
|
|
|
4891
4917
|
* A pool has been destroyed.
|
|
4892
4918
|
*/
|
|
4893
4919
|
"PoolDestroyed": Anonymize<I931cottvong90>;
|
|
4920
|
+
/**
|
|
4921
|
+
* Pool peg source has been updated.
|
|
4922
|
+
*/
|
|
4923
|
+
"PoolPegSourceUpdated": Anonymize<Ibmmi1tbvqjkf9>;
|
|
4924
|
+
/**
|
|
4925
|
+
* Pool max peg update has been updated.
|
|
4926
|
+
*/
|
|
4927
|
+
"PoolMaxPegUpdateUpdated": Anonymize<I4f24vd3pvt9k>;
|
|
4894
4928
|
}>;
|
|
4895
|
-
export type
|
|
4929
|
+
export type I59jkmlks7g3ck = {
|
|
4896
4930
|
"pool_id": number;
|
|
4897
4931
|
"assets": Anonymize<Icgljjb6j82uhn>;
|
|
4898
4932
|
"amplification": number;
|
|
4899
4933
|
"fee": number;
|
|
4900
|
-
"peg"?: (Anonymize<
|
|
4934
|
+
"peg"?: (Anonymize<Ibvb0fi020hjcf>) | undefined;
|
|
4901
4935
|
};
|
|
4902
|
-
export type
|
|
4903
|
-
"source": Anonymize<
|
|
4936
|
+
export type Ibvb0fi020hjcf = {
|
|
4937
|
+
"source": Anonymize<Ibpk3qqvth3d7>;
|
|
4904
4938
|
"max_peg_update": number;
|
|
4905
|
-
"current":
|
|
4939
|
+
"current": Anonymize<I4m1oibmt8ob40>;
|
|
4906
4940
|
};
|
|
4907
|
-
export type
|
|
4941
|
+
export type Ibpk3qqvth3d7 = Array<Anonymize<Icltggien44f6a>>;
|
|
4942
|
+
export type Icltggien44f6a = AnonymousEnum<{
|
|
4908
4943
|
"Value": Anonymize<I200n1ov5tbcvr>;
|
|
4909
4944
|
"Oracle": [FixedSizeBinary<8>, Anonymize<I9m0752cdvui5o>, number];
|
|
4910
|
-
|
|
4945
|
+
"MMOracle": FixedSizeBinary<20>;
|
|
4946
|
+
}>;
|
|
4911
4947
|
export type I200n1ov5tbcvr = FixedSizeArray<2, bigint>;
|
|
4912
4948
|
export type I9m0752cdvui5o = AnonymousEnum<{
|
|
4913
4949
|
"LastBlock": undefined;
|
|
@@ -4917,6 +4953,7 @@ export type I9m0752cdvui5o = AnonymousEnum<{
|
|
|
4917
4953
|
"Day": undefined;
|
|
4918
4954
|
"Week": undefined;
|
|
4919
4955
|
}>;
|
|
4956
|
+
export type I4m1oibmt8ob40 = Array<Anonymize<I200n1ov5tbcvr>>;
|
|
4920
4957
|
export type Ics8sn0t3vlpat = {
|
|
4921
4958
|
"pool_id": number;
|
|
4922
4959
|
"fee": number;
|
|
@@ -4963,6 +5000,15 @@ export type I9buamva6m987d = {
|
|
|
4963
5000
|
export type I931cottvong90 = {
|
|
4964
5001
|
"pool_id": number;
|
|
4965
5002
|
};
|
|
5003
|
+
export type Ibmmi1tbvqjkf9 = {
|
|
5004
|
+
"pool_id": number;
|
|
5005
|
+
"asset_id": number;
|
|
5006
|
+
"peg_source": Anonymize<Icltggien44f6a>;
|
|
5007
|
+
};
|
|
5008
|
+
export type I4f24vd3pvt9k = {
|
|
5009
|
+
"pool_id": number;
|
|
5010
|
+
"max_peg_update": number;
|
|
5011
|
+
};
|
|
4966
5012
|
export type I3ans31bk1md2j = AnonymousEnum<{
|
|
4967
5013
|
/**
|
|
4968
5014
|
* A bond asset was registered
|
|
@@ -5224,6 +5270,76 @@ export type I32su7o3fj1ksq = {
|
|
|
5224
5270
|
"debt_to_cover": bigint;
|
|
5225
5271
|
"profit": bigint;
|
|
5226
5272
|
};
|
|
5273
|
+
export type I3kjn6g96kgfl2 = AnonymousEnum<{
|
|
5274
|
+
/**
|
|
5275
|
+
* A new collateral asset was added
|
|
5276
|
+
*
|
|
5277
|
+
* Parameters:
|
|
5278
|
+
* - `asset_id`: The ID of the asset added as collateral
|
|
5279
|
+
* - `pool_id`: The StableSwap pool ID where this asset belongs
|
|
5280
|
+
* - `purchase_fee`: Fee applied when buying Hollar with this asset
|
|
5281
|
+
* - `max_buy_price_coefficient`: Maximum buy price coefficient for HSM to buy back Hollar
|
|
5282
|
+
* - `buy_back_fee`: Fee applied when buying back Hollar
|
|
5283
|
+
* - `buyback_rate`: Parameter that controls how quickly HSM can buy Hollar with this asset
|
|
5284
|
+
*/
|
|
5285
|
+
"CollateralAdded": Anonymize<Iac6dfqlo4u73t>;
|
|
5286
|
+
/**
|
|
5287
|
+
* A collateral asset was removed
|
|
5288
|
+
*
|
|
5289
|
+
* Parameters:
|
|
5290
|
+
* - `asset_id`: The ID of the asset removed from collaterals
|
|
5291
|
+
* - `amount`: The amount of the asset that was returned (should be zero)
|
|
5292
|
+
*/
|
|
5293
|
+
"CollateralRemoved": Anonymize<Id2vo4qi5agnp0>;
|
|
5294
|
+
/**
|
|
5295
|
+
* A collateral asset was updated
|
|
5296
|
+
*
|
|
5297
|
+
* Parameters:
|
|
5298
|
+
* - `asset_id`: The ID of the updated collateral asset
|
|
5299
|
+
* - `purchase_fee`: New purchase fee if updated (None if not changed)
|
|
5300
|
+
* - `max_buy_price_coefficient`: New max buy price coefficient if updated (None if not changed)
|
|
5301
|
+
* - `buy_back_fee`: New buy back fee if updated (None if not changed)
|
|
5302
|
+
* - `buyback_rate`: New buyback rate if updated (None if not changed)
|
|
5303
|
+
*/
|
|
5304
|
+
"CollateralUpdated": Anonymize<I6k4kj0v2ro6sb>;
|
|
5305
|
+
/**
|
|
5306
|
+
* Arbitrage executed successfully
|
|
5307
|
+
*
|
|
5308
|
+
* Parameters:
|
|
5309
|
+
* - `asset_id`: The collateral asset used in the arbitrage
|
|
5310
|
+
* - `hollar_amount`: Amount of Hollar that was included in the arbitrage operation
|
|
5311
|
+
*/
|
|
5312
|
+
"ArbitrageExecuted": Anonymize<I4243hifj8lu9n>;
|
|
5313
|
+
/**
|
|
5314
|
+
* Flash minter address set
|
|
5315
|
+
*
|
|
5316
|
+
* Parameters:
|
|
5317
|
+
* - `flash_minter`: The EVM address of the flash minter contract
|
|
5318
|
+
*/
|
|
5319
|
+
"FlashMinterSet": Anonymize<I82m2k02o0m2g2>;
|
|
5320
|
+
}>;
|
|
5321
|
+
export type Iac6dfqlo4u73t = {
|
|
5322
|
+
"asset_id": number;
|
|
5323
|
+
"pool_id": number;
|
|
5324
|
+
"purchase_fee": number;
|
|
5325
|
+
"max_buy_price_coefficient": bigint;
|
|
5326
|
+
"buy_back_fee": number;
|
|
5327
|
+
"buyback_rate": number;
|
|
5328
|
+
};
|
|
5329
|
+
export type I6k4kj0v2ro6sb = {
|
|
5330
|
+
"asset_id": number;
|
|
5331
|
+
"purchase_fee"?: Anonymize<I4arjljr6dpflb>;
|
|
5332
|
+
"max_buy_price_coefficient"?: Anonymize<I35p85j063s0il>;
|
|
5333
|
+
"buy_back_fee"?: Anonymize<I4arjljr6dpflb>;
|
|
5334
|
+
"buyback_rate"?: Anonymize<I4arjljr6dpflb>;
|
|
5335
|
+
};
|
|
5336
|
+
export type I4243hifj8lu9n = {
|
|
5337
|
+
"asset_id": number;
|
|
5338
|
+
"hollar_amount": bigint;
|
|
5339
|
+
};
|
|
5340
|
+
export type I82m2k02o0m2g2 = {
|
|
5341
|
+
"flash_minter": FixedSizeBinary<20>;
|
|
5342
|
+
};
|
|
5227
5343
|
export type I6h8581jnodhqc = AnonymousEnum<{
|
|
5228
5344
|
/**
|
|
5229
5345
|
* An account was created with some free balance.
|
|
@@ -5603,7 +5719,7 @@ export type Iec641q1s1ifm2 = {
|
|
|
5603
5719
|
"parachain_block_number": number;
|
|
5604
5720
|
"relaychain_block_number": number;
|
|
5605
5721
|
};
|
|
5606
|
-
export type
|
|
5722
|
+
export type I9v6ee3u32e3vr = AnonymousEnum<{
|
|
5607
5723
|
/**
|
|
5608
5724
|
* The DCA execution is started
|
|
5609
5725
|
*/
|
|
@@ -5611,7 +5727,7 @@ export type Idt6mavbm4u4m2 = AnonymousEnum<{
|
|
|
5611
5727
|
/**
|
|
5612
5728
|
* The DCA is scheduled for next execution
|
|
5613
5729
|
*/
|
|
5614
|
-
"Scheduled": Anonymize<
|
|
5730
|
+
"Scheduled": Anonymize<I4t1p53ss00k9n>;
|
|
5615
5731
|
/**
|
|
5616
5732
|
* The DCA is planned for blocknumber
|
|
5617
5733
|
*/
|
|
@@ -5623,11 +5739,11 @@ export type Idt6mavbm4u4m2 = AnonymousEnum<{
|
|
|
5623
5739
|
/**
|
|
5624
5740
|
* The DCA trade execution is failed
|
|
5625
5741
|
*/
|
|
5626
|
-
"TradeFailed": Anonymize<
|
|
5742
|
+
"TradeFailed": Anonymize<I816ndt8f0o7bo>;
|
|
5627
5743
|
/**
|
|
5628
5744
|
* The DCA is terminated and completely removed from the chain
|
|
5629
5745
|
*/
|
|
5630
|
-
"Terminated": Anonymize<
|
|
5746
|
+
"Terminated": Anonymize<I816ndt8f0o7bo>;
|
|
5631
5747
|
/**
|
|
5632
5748
|
* The DCA is completed and completely removed from the chain
|
|
5633
5749
|
*/
|
|
@@ -5635,47 +5751,52 @@ export type Idt6mavbm4u4m2 = AnonymousEnum<{
|
|
|
5635
5751
|
/**
|
|
5636
5752
|
* Randomness generation failed possibly coming from missing data about relay chain
|
|
5637
5753
|
*/
|
|
5638
|
-
"RandomnessGenerationFailed": Anonymize<
|
|
5754
|
+
"RandomnessGenerationFailed": Anonymize<I9lvggssnq8q57>;
|
|
5755
|
+
/**
|
|
5756
|
+
* DCA reserve for the given asset have been unlocked for a user
|
|
5757
|
+
*/
|
|
5758
|
+
"ReserveUnlocked": Anonymize<If4ebvclj2ugvi>;
|
|
5639
5759
|
}>;
|
|
5640
5760
|
export type I4rrqp6atse8pe = {
|
|
5641
5761
|
"id": number;
|
|
5642
5762
|
"block": number;
|
|
5643
5763
|
};
|
|
5644
|
-
export type
|
|
5764
|
+
export type I4t1p53ss00k9n = {
|
|
5645
5765
|
"id": number;
|
|
5646
5766
|
"who": SS58String;
|
|
5647
5767
|
"period": number;
|
|
5648
5768
|
"total_amount": bigint;
|
|
5649
|
-
"order": Anonymize<
|
|
5769
|
+
"order": Anonymize<Ie7n3lbf5eunfs>;
|
|
5650
5770
|
};
|
|
5651
|
-
export type
|
|
5652
|
-
"Sell": Anonymize<
|
|
5653
|
-
"Buy": Anonymize<
|
|
5771
|
+
export type Ie7n3lbf5eunfs = AnonymousEnum<{
|
|
5772
|
+
"Sell": Anonymize<Ifc3gfgolmaqf7>;
|
|
5773
|
+
"Buy": Anonymize<I651losl68jmo5>;
|
|
5654
5774
|
}>;
|
|
5655
|
-
export type
|
|
5775
|
+
export type Ifc3gfgolmaqf7 = {
|
|
5656
5776
|
"asset_in": number;
|
|
5657
5777
|
"asset_out": number;
|
|
5658
5778
|
"amount_in": bigint;
|
|
5659
5779
|
"min_amount_out": bigint;
|
|
5660
|
-
"route": Anonymize<
|
|
5780
|
+
"route": Anonymize<I14tu3k4kt0e26>;
|
|
5661
5781
|
};
|
|
5662
|
-
export type
|
|
5782
|
+
export type I14tu3k4kt0e26 = Array<{
|
|
5663
5783
|
"pool": Enum<{
|
|
5664
5784
|
"XYK": undefined;
|
|
5665
5785
|
"LBP": undefined;
|
|
5666
5786
|
"Stableswap": number;
|
|
5667
5787
|
"Omnipool": undefined;
|
|
5668
5788
|
"Aave": undefined;
|
|
5789
|
+
"HSM": undefined;
|
|
5669
5790
|
}>;
|
|
5670
5791
|
"asset_in": number;
|
|
5671
5792
|
"asset_out": number;
|
|
5672
5793
|
}>;
|
|
5673
|
-
export type
|
|
5794
|
+
export type I651losl68jmo5 = {
|
|
5674
5795
|
"asset_in": number;
|
|
5675
5796
|
"asset_out": number;
|
|
5676
5797
|
"amount_out": bigint;
|
|
5677
5798
|
"max_amount_in": bigint;
|
|
5678
|
-
"route": Anonymize<
|
|
5799
|
+
"route": Anonymize<I14tu3k4kt0e26>;
|
|
5679
5800
|
};
|
|
5680
5801
|
export type I140nraqvlukpk = {
|
|
5681
5802
|
"id": number;
|
|
@@ -5688,20 +5809,20 @@ export type Irs8utdvl0ftp = {
|
|
|
5688
5809
|
"amount_in": bigint;
|
|
5689
5810
|
"amount_out": bigint;
|
|
5690
5811
|
};
|
|
5691
|
-
export type
|
|
5812
|
+
export type I816ndt8f0o7bo = {
|
|
5692
5813
|
"id": number;
|
|
5693
5814
|
"who": SS58String;
|
|
5694
|
-
"error": Anonymize<
|
|
5815
|
+
"error": Anonymize<Ics48kf47718nc>;
|
|
5695
5816
|
};
|
|
5696
5817
|
export type Iumh462jqskl8 = {
|
|
5697
5818
|
"id": number;
|
|
5698
5819
|
"who": SS58String;
|
|
5699
5820
|
};
|
|
5700
|
-
export type
|
|
5821
|
+
export type I9lvggssnq8q57 = {
|
|
5701
5822
|
"block": number;
|
|
5702
|
-
"error": Anonymize<
|
|
5823
|
+
"error": Anonymize<Ics48kf47718nc>;
|
|
5703
5824
|
};
|
|
5704
|
-
export type
|
|
5825
|
+
export type Ibdrb3dahq9k4 = AnonymousEnum<{
|
|
5705
5826
|
/**
|
|
5706
5827
|
* Scheduled some task.
|
|
5707
5828
|
*/
|
|
@@ -5713,7 +5834,7 @@ export type I8e4buj2qkq62n = AnonymousEnum<{
|
|
|
5713
5834
|
/**
|
|
5714
5835
|
* Dispatched some task.
|
|
5715
5836
|
*/
|
|
5716
|
-
"Dispatched": Anonymize<
|
|
5837
|
+
"Dispatched": Anonymize<I34p2kpdh169oe>;
|
|
5717
5838
|
/**
|
|
5718
5839
|
* Set a retry configuration for some task.
|
|
5719
5840
|
*/
|
|
@@ -5744,10 +5865,10 @@ export type I5n4sebgkfr760 = {
|
|
|
5744
5865
|
"when": number;
|
|
5745
5866
|
"index": number;
|
|
5746
5867
|
};
|
|
5747
|
-
export type
|
|
5868
|
+
export type I34p2kpdh169oe = {
|
|
5748
5869
|
"task": Anonymize<I9jd27rnpm8ttv>;
|
|
5749
5870
|
"id"?: Anonymize<I4s6vifaf8k998>;
|
|
5750
|
-
"result": Anonymize<
|
|
5871
|
+
"result": Anonymize<Ifmtn378c8s4gn>;
|
|
5751
5872
|
};
|
|
5752
5873
|
export type I4s6vifaf8k998 = (FixedSizeBinary<32>) | undefined;
|
|
5753
5874
|
export type Ia3c82eadg79bj = {
|
|
@@ -6652,7 +6773,7 @@ export type Iabgdocrka40v9 = {
|
|
|
6652
6773
|
"source": FixedSizeBinary<8>;
|
|
6653
6774
|
"assets": Anonymize<I9jd27rnpm8ttv>;
|
|
6654
6775
|
};
|
|
6655
|
-
export type
|
|
6776
|
+
export type I6ns8af0gujj3o = AnonymousEnum<{
|
|
6656
6777
|
/**
|
|
6657
6778
|
* Trade executed.
|
|
6658
6779
|
*
|
|
@@ -6663,9 +6784,9 @@ export type I1b0p7q2k5qe1k = AnonymousEnum<{
|
|
|
6663
6784
|
* as Swapped contained wrong filler account on AAVE trades
|
|
6664
6785
|
*
|
|
6665
6786
|
*/
|
|
6666
|
-
"Swapped3": Anonymize<
|
|
6787
|
+
"Swapped3": Anonymize<Iflbjpb22ffvu4>;
|
|
6667
6788
|
}>;
|
|
6668
|
-
export type
|
|
6789
|
+
export type Iflbjpb22ffvu4 = {
|
|
6669
6790
|
"swapper": SS58String;
|
|
6670
6791
|
"filler": SS58String;
|
|
6671
6792
|
"filler_type": Enum<{
|
|
@@ -6675,6 +6796,7 @@ export type I24lhsedeb3v58 = {
|
|
|
6675
6796
|
"LBP": undefined;
|
|
6676
6797
|
"OTC": number;
|
|
6677
6798
|
"AAVE": undefined;
|
|
6799
|
+
"HSM": undefined;
|
|
6678
6800
|
}>;
|
|
6679
6801
|
"operation": Enum<{
|
|
6680
6802
|
"ExactIn": undefined;
|
|
@@ -6776,6 +6898,7 @@ export type PreimageOldRequestStatus = Enum<{
|
|
|
6776
6898
|
};
|
|
6777
6899
|
}>;
|
|
6778
6900
|
export declare const PreimageOldRequestStatus: GetEnum<PreimageOldRequestStatus>;
|
|
6901
|
+
export type I95l2k9b1re95f = [SS58String, bigint];
|
|
6779
6902
|
export type I92hdo1clkbp4g = (Anonymize<I95l2k9b1re95f>) | undefined;
|
|
6780
6903
|
export type PreimageRequestStatus = Enum<{
|
|
6781
6904
|
"Unrequested": {
|
|
@@ -6920,38 +7043,25 @@ export type VotingConviction = Enum<{
|
|
|
6920
7043
|
export declare const VotingConviction: GetEnum<VotingConviction>;
|
|
6921
7044
|
export type I5rsgtofmn5lli = [PreimagesBounded, Anonymize<Ivbp9821csvot>];
|
|
6922
7045
|
export type Idned7t7knml6b = [number, Anonymize<Ia2lhg7l2hilo3>];
|
|
6923
|
-
export type
|
|
6924
|
-
"who": SS58String;
|
|
6925
|
-
"stake": bigint;
|
|
6926
|
-
"deposit": bigint;
|
|
6927
|
-
}>;
|
|
6928
|
-
export type Ib23vkkc52tqbu = {
|
|
6929
|
-
"votes": Anonymize<Ia2lhg7l2hilo3>;
|
|
6930
|
-
"stake": bigint;
|
|
6931
|
-
"deposit": bigint;
|
|
6932
|
-
};
|
|
6933
|
-
export type Ick2k1hvh0bm22 = AnonymousEnum<{
|
|
7046
|
+
export type I6c43drp887phj = AnonymousEnum<{
|
|
6934
7047
|
"System": Anonymize<Iekve0i6djpd9f>;
|
|
6935
7048
|
"Timestamp": Anonymize<I7d75gqfg6jh9c>;
|
|
6936
7049
|
"Balances": Anonymize<If3jbvd4hqgqh1>;
|
|
6937
7050
|
"MultiTransactionPayment": Anonymize<I76nh75sf57g68>;
|
|
6938
7051
|
"Treasury": Anonymize<I2urac6a8n5v3f>;
|
|
6939
|
-
"Utility": Anonymize<
|
|
7052
|
+
"Utility": Anonymize<Ibff5p9pva667a>;
|
|
6940
7053
|
"Preimage": Anonymize<If81ks88t5mpk5>;
|
|
6941
7054
|
"Identity": Anonymize<I27rv6v6kueehs>;
|
|
6942
7055
|
"Democracy": Anonymize<I6u9fdc1fne8nd>;
|
|
6943
|
-
"
|
|
6944
|
-
"
|
|
6945
|
-
"
|
|
6946
|
-
"Tips": Anonymize<Ibcos58g5647s0>;
|
|
6947
|
-
"Proxy": Anonymize<I6el3l2dlqqs18>;
|
|
6948
|
-
"Multisig": Anonymize<Idars00kgihc7v>;
|
|
7056
|
+
"TechnicalCommittee": Anonymize<I7v5h633s4vq5f>;
|
|
7057
|
+
"Proxy": Anonymize<I88tra6caf4vpa>;
|
|
7058
|
+
"Multisig": Anonymize<I7ckcq02q946jl>;
|
|
6949
7059
|
"Uniques": Anonymize<I1aih3rf2i8nc0>;
|
|
6950
7060
|
"StateTrieMigration": Anonymize<I39l72gdmkk30t>;
|
|
6951
7061
|
"ConvictionVoting": Anonymize<Iakddbsmp6s38i>;
|
|
6952
|
-
"Referenda": Anonymize<
|
|
6953
|
-
"Whitelist": Anonymize<
|
|
6954
|
-
"Dispatcher": Anonymize<
|
|
7062
|
+
"Referenda": Anonymize<Iac4vfm63ump49>;
|
|
7063
|
+
"Whitelist": Anonymize<I5ij5q3nv7bsk>;
|
|
7064
|
+
"Dispatcher": Anonymize<I7h3roucn6emco>;
|
|
6955
7065
|
"AssetRegistry": Anonymize<I8bdjcphmftv62>;
|
|
6956
7066
|
"Claims": Anonymize<I5queflebive1d>;
|
|
6957
7067
|
"GenesisHistory": undefined;
|
|
@@ -6961,17 +7071,18 @@ export type Ick2k1hvh0bm22 = AnonymousEnum<{
|
|
|
6961
7071
|
"OmnipoolWarehouseLM": undefined;
|
|
6962
7072
|
"OmnipoolLiquidityMining": Anonymize<Ibsr3gp7asrav3>;
|
|
6963
7073
|
"OTC": Anonymize<I5ophbk33alrde>;
|
|
6964
|
-
"CircuitBreaker": Anonymize<
|
|
6965
|
-
"Router": Anonymize<
|
|
6966
|
-
"DynamicFees":
|
|
7074
|
+
"CircuitBreaker": Anonymize<I3t04v92agktsg>;
|
|
7075
|
+
"Router": Anonymize<I7gdonojfignc7>;
|
|
7076
|
+
"DynamicFees": Anonymize<I5tbad6u121r7r>;
|
|
6967
7077
|
"Staking": Anonymize<Iaikdgvqtjn8sd>;
|
|
6968
|
-
"Stableswap": Anonymize<
|
|
7078
|
+
"Stableswap": Anonymize<Ii0muogim0p1d>;
|
|
6969
7079
|
"Bonds": Anonymize<It0rq8pffd1r>;
|
|
6970
|
-
"OtcSettlements": Anonymize<
|
|
7080
|
+
"OtcSettlements": Anonymize<Ib00ilgisift11>;
|
|
6971
7081
|
"LBP": Anonymize<I4ogitqakc83nm>;
|
|
6972
7082
|
"XYK": Anonymize<I7q1vqeo4ott28>;
|
|
6973
7083
|
"Referrals": Anonymize<Ibe97e14cmm4e9>;
|
|
6974
|
-
"Liquidation": Anonymize<
|
|
7084
|
+
"Liquidation": Anonymize<I3i7qdud10d7s7>;
|
|
7085
|
+
"HSM": Anonymize<Ib7susjgop5bfi>;
|
|
6975
7086
|
"Tokens": Anonymize<I6a7o6bu2n2amk>;
|
|
6976
7087
|
"Currencies": Anonymize<Id0m4jim3jch3f>;
|
|
6977
7088
|
"Vesting": Anonymize<Ieps3dhtu498hk>;
|
|
@@ -6981,8 +7092,8 @@ export type Ick2k1hvh0bm22 = AnonymousEnum<{
|
|
|
6981
7092
|
"XYKLiquidityMining": Anonymize<I7ecgc6etbbr5p>;
|
|
6982
7093
|
"XYKWarehouseLM": undefined;
|
|
6983
7094
|
"RelayChainInfo": undefined;
|
|
6984
|
-
"DCA": Anonymize<
|
|
6985
|
-
"Scheduler": Anonymize<
|
|
7095
|
+
"DCA": Anonymize<I6rh3volf6pqqn>;
|
|
7096
|
+
"Scheduler": Anonymize<I70becp9irg7lq>;
|
|
6986
7097
|
"ParachainSystem": Anonymize<I5kev21p7u6ajb>;
|
|
6987
7098
|
"ParachainInfo": undefined;
|
|
6988
7099
|
"PolkadotXcm": Anonymize<I9nbjvlrb9bp1g>;
|
|
@@ -7457,7 +7568,7 @@ export type I6qq5nnbjegi8u = {
|
|
|
7457
7568
|
"beneficiary": SS58String;
|
|
7458
7569
|
"valid_from"?: Anonymize<I4arjljr6dpflb>;
|
|
7459
7570
|
};
|
|
7460
|
-
export type
|
|
7571
|
+
export type Ibff5p9pva667a = AnonymousEnum<{
|
|
7461
7572
|
/**
|
|
7462
7573
|
* Send a batch of dispatch calls.
|
|
7463
7574
|
*
|
|
@@ -7478,7 +7589,7 @@ export type If8hc69vguer6k = AnonymousEnum<{
|
|
|
7478
7589
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
7479
7590
|
* event is deposited.
|
|
7480
7591
|
*/
|
|
7481
|
-
"batch": Anonymize<
|
|
7592
|
+
"batch": Anonymize<Iagml1jgp94hrb>;
|
|
7482
7593
|
/**
|
|
7483
7594
|
* Send a call through an indexed pseudonym of the sender.
|
|
7484
7595
|
*
|
|
@@ -7494,7 +7605,7 @@ export type If8hc69vguer6k = AnonymousEnum<{
|
|
|
7494
7605
|
*
|
|
7495
7606
|
* The dispatch origin for this call must be _Signed_.
|
|
7496
7607
|
*/
|
|
7497
|
-
"as_derivative": Anonymize<
|
|
7608
|
+
"as_derivative": Anonymize<Iae77e4qe7jsnl>;
|
|
7498
7609
|
/**
|
|
7499
7610
|
* Send a batch of dispatch calls and atomically execute them.
|
|
7500
7611
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -7510,7 +7621,7 @@ export type If8hc69vguer6k = AnonymousEnum<{
|
|
|
7510
7621
|
* ## Complexity
|
|
7511
7622
|
* - O(C) where C is the number of calls to be batched.
|
|
7512
7623
|
*/
|
|
7513
|
-
"batch_all": Anonymize<
|
|
7624
|
+
"batch_all": Anonymize<Iagml1jgp94hrb>;
|
|
7514
7625
|
/**
|
|
7515
7626
|
* Dispatches a function call with a provided origin.
|
|
7516
7627
|
*
|
|
@@ -7519,7 +7630,7 @@ export type If8hc69vguer6k = AnonymousEnum<{
|
|
|
7519
7630
|
* ## Complexity
|
|
7520
7631
|
* - O(1).
|
|
7521
7632
|
*/
|
|
7522
|
-
"dispatch_as": Anonymize<
|
|
7633
|
+
"dispatch_as": Anonymize<I551ut68qoq89v>;
|
|
7523
7634
|
/**
|
|
7524
7635
|
* Send a batch of dispatch calls.
|
|
7525
7636
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -7535,7 +7646,7 @@ export type If8hc69vguer6k = AnonymousEnum<{
|
|
|
7535
7646
|
* ## Complexity
|
|
7536
7647
|
* - O(C) where C is the number of calls to be batched.
|
|
7537
7648
|
*/
|
|
7538
|
-
"force_batch": Anonymize<
|
|
7649
|
+
"force_batch": Anonymize<Iagml1jgp94hrb>;
|
|
7539
7650
|
/**
|
|
7540
7651
|
* Dispatch a function call with a specified weight.
|
|
7541
7652
|
*
|
|
@@ -7544,26 +7655,21 @@ export type If8hc69vguer6k = AnonymousEnum<{
|
|
|
7544
7655
|
*
|
|
7545
7656
|
* The dispatch origin for this call must be _Root_.
|
|
7546
7657
|
*/
|
|
7547
|
-
"with_weight": Anonymize<
|
|
7658
|
+
"with_weight": Anonymize<Ia8hh29toi1nvl>;
|
|
7548
7659
|
}>;
|
|
7549
|
-
export type
|
|
7660
|
+
export type Iagml1jgp94hrb = {
|
|
7550
7661
|
"calls": Array<TxCallData>;
|
|
7551
7662
|
};
|
|
7552
|
-
export type
|
|
7663
|
+
export type Iae77e4qe7jsnl = {
|
|
7553
7664
|
"index": number;
|
|
7554
7665
|
"call": TxCallData;
|
|
7555
7666
|
};
|
|
7556
|
-
export type
|
|
7557
|
-
"as_origin": Anonymize<
|
|
7667
|
+
export type I551ut68qoq89v = {
|
|
7668
|
+
"as_origin": Anonymize<Iathhdqc4u75dj>;
|
|
7558
7669
|
"call": TxCallData;
|
|
7559
7670
|
};
|
|
7560
|
-
export type
|
|
7561
|
-
"system": DispatchRawOrigin;
|
|
7562
|
-
"Council": Enum<{
|
|
7563
|
-
"Members": Anonymize<I9jd27rnpm8ttv>;
|
|
7564
|
-
"Member": SS58String;
|
|
7565
|
-
"_Phantom": undefined;
|
|
7566
|
-
}>;
|
|
7671
|
+
export type Iathhdqc4u75dj = AnonymousEnum<{
|
|
7672
|
+
"system": DispatchRawOrigin;
|
|
7567
7673
|
"TechnicalCommittee": Enum<{
|
|
7568
7674
|
"Members": Anonymize<I9jd27rnpm8ttv>;
|
|
7569
7675
|
"Member": SS58String;
|
|
@@ -7601,7 +7707,7 @@ export type XcmPalletOrigin = Enum<{
|
|
|
7601
7707
|
"Response": Anonymize<I4c0s5cioidn76>;
|
|
7602
7708
|
}>;
|
|
7603
7709
|
export declare const XcmPalletOrigin: GetEnum<XcmPalletOrigin>;
|
|
7604
|
-
export type
|
|
7710
|
+
export type Ia8hh29toi1nvl = {
|
|
7605
7711
|
"call": TxCallData;
|
|
7606
7712
|
"weight": Anonymize<I4q39t5hn830vp>;
|
|
7607
7713
|
};
|
|
@@ -8260,134 +8366,7 @@ export type I2kt2u1flctk2q = {
|
|
|
8260
8366
|
"owner": Anonymize<I2itl2k1j2q8nf>;
|
|
8261
8367
|
"maybe_hash"?: Anonymize<I4s6vifaf8k998>;
|
|
8262
8368
|
};
|
|
8263
|
-
export type
|
|
8264
|
-
/**
|
|
8265
|
-
* Vote for a set of candidates for the upcoming round of election. This can be called to
|
|
8266
|
-
* set the initial votes, or update already existing votes.
|
|
8267
|
-
*
|
|
8268
|
-
* Upon initial voting, `value` units of `who`'s balance is locked and a deposit amount is
|
|
8269
|
-
* reserved. The deposit is based on the number of votes and can be updated over time.
|
|
8270
|
-
*
|
|
8271
|
-
* The `votes` should:
|
|
8272
|
-
* - not be empty.
|
|
8273
|
-
* - be less than the number of possible candidates. Note that all current members and
|
|
8274
|
-
* runners-up are also automatically candidates for the next round.
|
|
8275
|
-
*
|
|
8276
|
-
* If `value` is more than `who`'s free balance, then the maximum of the two is used.
|
|
8277
|
-
*
|
|
8278
|
-
* The dispatch origin of this call must be signed.
|
|
8279
|
-
*
|
|
8280
|
-
* ### Warning
|
|
8281
|
-
*
|
|
8282
|
-
* It is the responsibility of the caller to **NOT** place all of their balance into the
|
|
8283
|
-
* lock and keep some for further operations.
|
|
8284
|
-
*/
|
|
8285
|
-
"vote": Anonymize<Iaa13icjlsj13d>;
|
|
8286
|
-
/**
|
|
8287
|
-
* Remove `origin` as a voter.
|
|
8288
|
-
*
|
|
8289
|
-
* This removes the lock and returns the deposit.
|
|
8290
|
-
*
|
|
8291
|
-
* The dispatch origin of this call must be signed and be a voter.
|
|
8292
|
-
*/
|
|
8293
|
-
"remove_voter": undefined;
|
|
8294
|
-
/**
|
|
8295
|
-
* Submit oneself for candidacy. A fixed amount of deposit is recorded.
|
|
8296
|
-
*
|
|
8297
|
-
* All candidates are wiped at the end of the term. They either become a member/runner-up,
|
|
8298
|
-
* or leave the system while their deposit is slashed.
|
|
8299
|
-
*
|
|
8300
|
-
* The dispatch origin of this call must be signed.
|
|
8301
|
-
*
|
|
8302
|
-
* ### Warning
|
|
8303
|
-
*
|
|
8304
|
-
* Even if a candidate ends up being a member, they must call [`Call::renounce_candidacy`]
|
|
8305
|
-
* to get their deposit back. Losing the spot in an election will always lead to a slash.
|
|
8306
|
-
*
|
|
8307
|
-
* The number of current candidates must be provided as witness data.
|
|
8308
|
-
* ## Complexity
|
|
8309
|
-
* O(C + log(C)) where C is candidate_count.
|
|
8310
|
-
*/
|
|
8311
|
-
"submit_candidacy": Anonymize<I98vh5ccjtf1ev>;
|
|
8312
|
-
/**
|
|
8313
|
-
* Renounce one's intention to be a candidate for the next election round. 3 potential
|
|
8314
|
-
* outcomes exist:
|
|
8315
|
-
*
|
|
8316
|
-
* - `origin` is a candidate and not elected in any set. In this case, the deposit is
|
|
8317
|
-
* unreserved, returned and origin is removed as a candidate.
|
|
8318
|
-
* - `origin` is a current runner-up. In this case, the deposit is unreserved, returned and
|
|
8319
|
-
* origin is removed as a runner-up.
|
|
8320
|
-
* - `origin` is a current member. In this case, the deposit is unreserved and origin is
|
|
8321
|
-
* removed as a member, consequently not being a candidate for the next round anymore.
|
|
8322
|
-
* Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they
|
|
8323
|
-
* are immediately used. If the prime is renouncing, then no prime will exist until the
|
|
8324
|
-
* next round.
|
|
8325
|
-
*
|
|
8326
|
-
* The dispatch origin of this call must be signed, and have one of the above roles.
|
|
8327
|
-
* The type of renouncing must be provided as witness data.
|
|
8328
|
-
*
|
|
8329
|
-
* ## Complexity
|
|
8330
|
-
* - Renouncing::Candidate(count): O(count + log(count))
|
|
8331
|
-
* - Renouncing::Member: O(1)
|
|
8332
|
-
* - Renouncing::RunnerUp: O(1)
|
|
8333
|
-
*/
|
|
8334
|
-
"renounce_candidacy": Anonymize<I3al0eab2u0gt2>;
|
|
8335
|
-
/**
|
|
8336
|
-
* Remove a particular member from the set. This is effective immediately and the bond of
|
|
8337
|
-
* the outgoing member is slashed.
|
|
8338
|
-
*
|
|
8339
|
-
* If a runner-up is available, then the best runner-up will be removed and replaces the
|
|
8340
|
-
* outgoing member. Otherwise, if `rerun_election` is `true`, a new phragmen election is
|
|
8341
|
-
* started, else, nothing happens.
|
|
8342
|
-
*
|
|
8343
|
-
* If `slash_bond` is set to true, the bond of the member being removed is slashed. Else,
|
|
8344
|
-
* it is returned.
|
|
8345
|
-
*
|
|
8346
|
-
* The dispatch origin of this call must be root.
|
|
8347
|
-
*
|
|
8348
|
-
* Note that this does not affect the designated block number of the next election.
|
|
8349
|
-
*
|
|
8350
|
-
* ## Complexity
|
|
8351
|
-
* - Check details of remove_and_replace_member() and do_phragmen().
|
|
8352
|
-
*/
|
|
8353
|
-
"remove_member": Anonymize<I7hhej9ji2h5gt>;
|
|
8354
|
-
/**
|
|
8355
|
-
* Clean all voters who are defunct (i.e. they do not serve any purpose at all). The
|
|
8356
|
-
* deposit of the removed voters are returned.
|
|
8357
|
-
*
|
|
8358
|
-
* This is an root function to be used only for cleaning the state.
|
|
8359
|
-
*
|
|
8360
|
-
* The dispatch origin of this call must be root.
|
|
8361
|
-
*
|
|
8362
|
-
* ## Complexity
|
|
8363
|
-
* - Check is_defunct_voter() details.
|
|
8364
|
-
*/
|
|
8365
|
-
"clean_defunct_voters": Anonymize<I6fuug4i4r04hi>;
|
|
8366
|
-
}>;
|
|
8367
|
-
export type Iaa13icjlsj13d = {
|
|
8368
|
-
"votes": Anonymize<Ia2lhg7l2hilo3>;
|
|
8369
|
-
"value": bigint;
|
|
8370
|
-
};
|
|
8371
|
-
export type I98vh5ccjtf1ev = {
|
|
8372
|
-
"candidate_count": number;
|
|
8373
|
-
};
|
|
8374
|
-
export type I3al0eab2u0gt2 = {
|
|
8375
|
-
"renouncing": Enum<{
|
|
8376
|
-
"Member": undefined;
|
|
8377
|
-
"RunnerUp": undefined;
|
|
8378
|
-
"Candidate": number;
|
|
8379
|
-
}>;
|
|
8380
|
-
};
|
|
8381
|
-
export type I7hhej9ji2h5gt = {
|
|
8382
|
-
"who": SS58String;
|
|
8383
|
-
"slash_bond": boolean;
|
|
8384
|
-
"rerun_election": boolean;
|
|
8385
|
-
};
|
|
8386
|
-
export type I6fuug4i4r04hi = {
|
|
8387
|
-
"num_voters": number;
|
|
8388
|
-
"num_defunct": number;
|
|
8389
|
-
};
|
|
8390
|
-
export type I528cj7u9tsp4l = AnonymousEnum<{
|
|
8369
|
+
export type I7v5h633s4vq5f = AnonymousEnum<{
|
|
8391
8370
|
/**
|
|
8392
8371
|
* Set the collective's membership.
|
|
8393
8372
|
*
|
|
@@ -8426,7 +8405,7 @@ export type I528cj7u9tsp4l = AnonymousEnum<{
|
|
|
8426
8405
|
* - `M` members-count (code-bounded)
|
|
8427
8406
|
* - `P` complexity of dispatching `proposal`
|
|
8428
8407
|
*/
|
|
8429
|
-
"execute": Anonymize<
|
|
8408
|
+
"execute": Anonymize<I4b58fcokqnatd>;
|
|
8430
8409
|
/**
|
|
8431
8410
|
* Add a new proposal to either be voted on or executed directly.
|
|
8432
8411
|
*
|
|
@@ -8443,7 +8422,7 @@ export type I528cj7u9tsp4l = AnonymousEnum<{
|
|
|
8443
8422
|
* - `P1` is proposal execution complexity (`threshold < 2`)
|
|
8444
8423
|
* - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
|
|
8445
8424
|
*/
|
|
8446
|
-
"propose": Anonymize<
|
|
8425
|
+
"propose": Anonymize<I42fdtnr0bce1h>;
|
|
8447
8426
|
/**
|
|
8448
8427
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
8449
8428
|
*
|
|
@@ -8502,11 +8481,11 @@ export type I38jfk5li8iang = {
|
|
|
8502
8481
|
"prime"?: Anonymize<Ihfphjolmsqq1>;
|
|
8503
8482
|
"old_count": number;
|
|
8504
8483
|
};
|
|
8505
|
-
export type
|
|
8484
|
+
export type I4b58fcokqnatd = {
|
|
8506
8485
|
"proposal": TxCallData;
|
|
8507
8486
|
"length_bound": number;
|
|
8508
8487
|
};
|
|
8509
|
-
export type
|
|
8488
|
+
export type I42fdtnr0bce1h = {
|
|
8510
8489
|
"threshold": number;
|
|
8511
8490
|
"proposal": TxCallData;
|
|
8512
8491
|
"length_bound": number;
|
|
@@ -8522,135 +8501,7 @@ export type Ib2obgji960euh = {
|
|
|
8522
8501
|
"proposal_weight_bound": Anonymize<I4q39t5hn830vp>;
|
|
8523
8502
|
"length_bound": number;
|
|
8524
8503
|
};
|
|
8525
|
-
export type
|
|
8526
|
-
/**
|
|
8527
|
-
* Report something `reason` that deserves a tip and claim any eventual the finder's fee.
|
|
8528
|
-
*
|
|
8529
|
-
* The dispatch origin for this call must be _Signed_.
|
|
8530
|
-
*
|
|
8531
|
-
* Payment: `TipReportDepositBase` will be reserved from the origin account, as well as
|
|
8532
|
-
* `DataDepositPerByte` for each byte in `reason`.
|
|
8533
|
-
*
|
|
8534
|
-
* - `reason`: The reason for, or the thing that deserves, the tip; generally this will be
|
|
8535
|
-
* a UTF-8-encoded URL.
|
|
8536
|
-
* - `who`: The account which should be credited for the tip.
|
|
8537
|
-
*
|
|
8538
|
-
* Emits `NewTip` if successful.
|
|
8539
|
-
*
|
|
8540
|
-
* ## Complexity
|
|
8541
|
-
* - `O(R)` where `R` length of `reason`.
|
|
8542
|
-
* - encoding and hashing of 'reason'
|
|
8543
|
-
*/
|
|
8544
|
-
"report_awesome": Anonymize<Ie6dn4p5chsk1u>;
|
|
8545
|
-
/**
|
|
8546
|
-
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
|
8547
|
-
*
|
|
8548
|
-
* If successful, the original deposit will be unreserved.
|
|
8549
|
-
*
|
|
8550
|
-
* The dispatch origin for this call must be _Signed_ and the tip identified by `hash`
|
|
8551
|
-
* must have been reported by the signing account through `report_awesome` (and not
|
|
8552
|
-
* through `tip_new`).
|
|
8553
|
-
*
|
|
8554
|
-
* - `hash`: The identity of the open tip for which a tip value is declared. This is formed
|
|
8555
|
-
* as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
|
|
8556
|
-
*
|
|
8557
|
-
* Emits `TipRetracted` if successful.
|
|
8558
|
-
*
|
|
8559
|
-
* ## Complexity
|
|
8560
|
-
* - `O(1)`
|
|
8561
|
-
* - Depends on the length of `T::Hash` which is fixed.
|
|
8562
|
-
*/
|
|
8563
|
-
"retract_tip": Anonymize<I1jm8m1rh9e20v>;
|
|
8564
|
-
/**
|
|
8565
|
-
* Give a tip for something new; no finder's fee will be taken.
|
|
8566
|
-
*
|
|
8567
|
-
* The dispatch origin for this call must be _Signed_ and the signing account must be a
|
|
8568
|
-
* member of the `Tippers` set.
|
|
8569
|
-
*
|
|
8570
|
-
* - `reason`: The reason for, or the thing that deserves, the tip; generally this will be
|
|
8571
|
-
* a UTF-8-encoded URL.
|
|
8572
|
-
* - `who`: The account which should be credited for the tip.
|
|
8573
|
-
* - `tip_value`: The amount of tip that the sender would like to give. The median tip
|
|
8574
|
-
* value of active tippers will be given to the `who`.
|
|
8575
|
-
*
|
|
8576
|
-
* Emits `NewTip` if successful.
|
|
8577
|
-
*
|
|
8578
|
-
* ## Complexity
|
|
8579
|
-
* - `O(R + T)` where `R` length of `reason`, `T` is the number of tippers.
|
|
8580
|
-
* - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by
|
|
8581
|
-
* `ContainsLengthBound`. The actual cost depends on the implementation of
|
|
8582
|
-
* `T::Tippers`.
|
|
8583
|
-
* - `O(R)`: hashing and encoding of reason of length `R`
|
|
8584
|
-
*/
|
|
8585
|
-
"tip_new": Anonymize<I2vi5dr4528rgv>;
|
|
8586
|
-
/**
|
|
8587
|
-
* Declare a tip value for an already-open tip.
|
|
8588
|
-
*
|
|
8589
|
-
* The dispatch origin for this call must be _Signed_ and the signing account must be a
|
|
8590
|
-
* member of the `Tippers` set.
|
|
8591
|
-
*
|
|
8592
|
-
* - `hash`: The identity of the open tip for which a tip value is declared. This is formed
|
|
8593
|
-
* as the hash of the tuple of the hash of the original tip `reason` and the beneficiary
|
|
8594
|
-
* account ID.
|
|
8595
|
-
* - `tip_value`: The amount of tip that the sender would like to give. The median tip
|
|
8596
|
-
* value of active tippers will be given to the `who`.
|
|
8597
|
-
*
|
|
8598
|
-
* Emits `TipClosing` if the threshold of tippers has been reached and the countdown period
|
|
8599
|
-
* has started.
|
|
8600
|
-
*
|
|
8601
|
-
* ## Complexity
|
|
8602
|
-
* - `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`, insert
|
|
8603
|
-
* tip and check closing, `T` is charged as upper bound given by `ContainsLengthBound`.
|
|
8604
|
-
* The actual cost depends on the implementation of `T::Tippers`.
|
|
8605
|
-
*
|
|
8606
|
-
* Actually weight could be lower as it depends on how many tips are in `OpenTip` but it
|
|
8607
|
-
* is weighted as if almost full i.e of length `T-1`.
|
|
8608
|
-
*/
|
|
8609
|
-
"tip": Anonymize<I1pm30k3i4438u>;
|
|
8610
|
-
/**
|
|
8611
|
-
* Close and payout a tip.
|
|
8612
|
-
*
|
|
8613
|
-
* The dispatch origin for this call must be _Signed_.
|
|
8614
|
-
*
|
|
8615
|
-
* The tip identified by `hash` must have finished its countdown period.
|
|
8616
|
-
*
|
|
8617
|
-
* - `hash`: The identity of the open tip for which a tip value is declared. This is formed
|
|
8618
|
-
* as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
|
|
8619
|
-
*
|
|
8620
|
-
* ## Complexity
|
|
8621
|
-
* - : `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`. `T`
|
|
8622
|
-
* is charged as upper bound given by `ContainsLengthBound`. The actual cost depends on
|
|
8623
|
-
* the implementation of `T::Tippers`.
|
|
8624
|
-
*/
|
|
8625
|
-
"close_tip": Anonymize<I1jm8m1rh9e20v>;
|
|
8626
|
-
/**
|
|
8627
|
-
* Remove and slash an already-open tip.
|
|
8628
|
-
*
|
|
8629
|
-
* May only be called from `T::RejectOrigin`.
|
|
8630
|
-
*
|
|
8631
|
-
* As a result, the finder is slashed and the deposits are lost.
|
|
8632
|
-
*
|
|
8633
|
-
* Emits `TipSlashed` if successful.
|
|
8634
|
-
*
|
|
8635
|
-
* ## Complexity
|
|
8636
|
-
* - O(1).
|
|
8637
|
-
*/
|
|
8638
|
-
"slash_tip": Anonymize<I1jm8m1rh9e20v>;
|
|
8639
|
-
}>;
|
|
8640
|
-
export type Ie6dn4p5chsk1u = {
|
|
8641
|
-
"reason": Binary;
|
|
8642
|
-
"who": SS58String;
|
|
8643
|
-
};
|
|
8644
|
-
export type I2vi5dr4528rgv = {
|
|
8645
|
-
"reason": Binary;
|
|
8646
|
-
"who": SS58String;
|
|
8647
|
-
"tip_value": bigint;
|
|
8648
|
-
};
|
|
8649
|
-
export type I1pm30k3i4438u = {
|
|
8650
|
-
"hash": FixedSizeBinary<32>;
|
|
8651
|
-
"tip_value": bigint;
|
|
8652
|
-
};
|
|
8653
|
-
export type I6el3l2dlqqs18 = AnonymousEnum<{
|
|
8504
|
+
export type I88tra6caf4vpa = AnonymousEnum<{
|
|
8654
8505
|
/**
|
|
8655
8506
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
8656
8507
|
* `add_proxy`.
|
|
@@ -8662,7 +8513,7 @@ export type I6el3l2dlqqs18 = AnonymousEnum<{
|
|
|
8662
8513
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
8663
8514
|
* - `call`: The call to be made by the `real` account.
|
|
8664
8515
|
*/
|
|
8665
|
-
"proxy": Anonymize<
|
|
8516
|
+
"proxy": Anonymize<I23p5jf4uevg27>;
|
|
8666
8517
|
/**
|
|
8667
8518
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
8668
8519
|
*
|
|
@@ -8791,9 +8642,9 @@ export type I6el3l2dlqqs18 = AnonymousEnum<{
|
|
|
8791
8642
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
8792
8643
|
* - `call`: The call to be made by the `real` account.
|
|
8793
8644
|
*/
|
|
8794
|
-
"proxy_announced": Anonymize<
|
|
8645
|
+
"proxy_announced": Anonymize<I2gso5r86avn0v>;
|
|
8795
8646
|
}>;
|
|
8796
|
-
export type
|
|
8647
|
+
export type I23p5jf4uevg27 = {
|
|
8797
8648
|
"real": SS58String;
|
|
8798
8649
|
"force_proxy_type"?: Anonymize<Idnl0r1a4nmeek>;
|
|
8799
8650
|
"call": TxCallData;
|
|
@@ -8824,13 +8675,13 @@ export type Ifs54vj2idl9k4 = {
|
|
|
8824
8675
|
"delegate": SS58String;
|
|
8825
8676
|
"call_hash": FixedSizeBinary<32>;
|
|
8826
8677
|
};
|
|
8827
|
-
export type
|
|
8678
|
+
export type I2gso5r86avn0v = {
|
|
8828
8679
|
"delegate": SS58String;
|
|
8829
8680
|
"real": SS58String;
|
|
8830
8681
|
"force_proxy_type"?: Anonymize<Idnl0r1a4nmeek>;
|
|
8831
8682
|
"call": TxCallData;
|
|
8832
8683
|
};
|
|
8833
|
-
export type
|
|
8684
|
+
export type I7ckcq02q946jl = AnonymousEnum<{
|
|
8834
8685
|
/**
|
|
8835
8686
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
8836
8687
|
*
|
|
@@ -8845,7 +8696,7 @@ export type Idars00kgihc7v = AnonymousEnum<{
|
|
|
8845
8696
|
* ## Complexity
|
|
8846
8697
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
8847
8698
|
*/
|
|
8848
|
-
"as_multi_threshold_1": Anonymize<
|
|
8699
|
+
"as_multi_threshold_1": Anonymize<I2p3q9d3gs5ik8>;
|
|
8849
8700
|
/**
|
|
8850
8701
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
8851
8702
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -8887,7 +8738,7 @@ export type Idars00kgihc7v = AnonymousEnum<{
|
|
|
8887
8738
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
8888
8739
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
8889
8740
|
*/
|
|
8890
|
-
"as_multi": Anonymize<
|
|
8741
|
+
"as_multi": Anonymize<I66kf07ob6fj5h>;
|
|
8891
8742
|
/**
|
|
8892
8743
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
8893
8744
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -8946,11 +8797,11 @@ export type Idars00kgihc7v = AnonymousEnum<{
|
|
|
8946
8797
|
*/
|
|
8947
8798
|
"cancel_as_multi": Anonymize<I3d9o9d7epp66v>;
|
|
8948
8799
|
}>;
|
|
8949
|
-
export type
|
|
8800
|
+
export type I2p3q9d3gs5ik8 = {
|
|
8950
8801
|
"other_signatories": Anonymize<Ia2lhg7l2hilo3>;
|
|
8951
8802
|
"call": TxCallData;
|
|
8952
8803
|
};
|
|
8953
|
-
export type
|
|
8804
|
+
export type I66kf07ob6fj5h = {
|
|
8954
8805
|
"threshold": number;
|
|
8955
8806
|
"other_signatories": Anonymize<Ia2lhg7l2hilo3>;
|
|
8956
8807
|
"maybe_timepoint"?: Anonymize<I95jfd8j5cr5eh>;
|
|
@@ -9728,7 +9579,7 @@ export type Iduerupfbc8ruc = {
|
|
|
9728
9579
|
"class": number;
|
|
9729
9580
|
"index": number;
|
|
9730
9581
|
};
|
|
9731
|
-
export type
|
|
9582
|
+
export type Iac4vfm63ump49 = AnonymousEnum<{
|
|
9732
9583
|
/**
|
|
9733
9584
|
* Propose a referendum on a privileged action.
|
|
9734
9585
|
*
|
|
@@ -9740,7 +9591,7 @@ export type Id898bhfhj4av7 = AnonymousEnum<{
|
|
|
9740
9591
|
*
|
|
9741
9592
|
* Emits `Submitted`.
|
|
9742
9593
|
*/
|
|
9743
|
-
"submit": Anonymize<
|
|
9594
|
+
"submit": Anonymize<Idmp3d9eg1lpon>;
|
|
9744
9595
|
/**
|
|
9745
9596
|
* Post the Decision Deposit for a referendum.
|
|
9746
9597
|
*
|
|
@@ -9820,8 +9671,8 @@ export type Id898bhfhj4av7 = AnonymousEnum<{
|
|
|
9820
9671
|
*/
|
|
9821
9672
|
"set_metadata": Anonymize<I8c0vkqjjipnuj>;
|
|
9822
9673
|
}>;
|
|
9823
|
-
export type
|
|
9824
|
-
"proposal_origin": Anonymize<
|
|
9674
|
+
export type Idmp3d9eg1lpon = {
|
|
9675
|
+
"proposal_origin": Anonymize<Iathhdqc4u75dj>;
|
|
9825
9676
|
"proposal": PreimagesBounded;
|
|
9826
9677
|
"enactment_moment": TraitsScheduleDispatchTime;
|
|
9827
9678
|
};
|
|
@@ -9837,23 +9688,23 @@ export type I8c0vkqjjipnuj = {
|
|
|
9837
9688
|
"index": number;
|
|
9838
9689
|
"maybe_hash"?: Anonymize<I4s6vifaf8k998>;
|
|
9839
9690
|
};
|
|
9840
|
-
export type
|
|
9691
|
+
export type I5ij5q3nv7bsk = AnonymousEnum<{
|
|
9841
9692
|
"whitelist_call": Anonymize<I1adbcfi5uc62r>;
|
|
9842
9693
|
"remove_whitelisted_call": Anonymize<I1adbcfi5uc62r>;
|
|
9843
9694
|
"dispatch_whitelisted_call": Anonymize<Ibf6ucefn8fh49>;
|
|
9844
|
-
"dispatch_whitelisted_call_with_preimage": Anonymize<
|
|
9695
|
+
"dispatch_whitelisted_call_with_preimage": Anonymize<Ido81hgut23md6>;
|
|
9845
9696
|
}>;
|
|
9846
9697
|
export type Ibf6ucefn8fh49 = {
|
|
9847
9698
|
"call_hash": FixedSizeBinary<32>;
|
|
9848
9699
|
"call_encoded_len": number;
|
|
9849
9700
|
"call_weight_witness": Anonymize<I4q39t5hn830vp>;
|
|
9850
9701
|
};
|
|
9851
|
-
export type
|
|
9702
|
+
export type Ido81hgut23md6 = {
|
|
9852
9703
|
"call": TxCallData;
|
|
9853
9704
|
};
|
|
9854
|
-
export type
|
|
9855
|
-
"dispatch_as_treasury": Anonymize<
|
|
9856
|
-
"dispatch_as_aave_manager": Anonymize<
|
|
9705
|
+
export type I7h3roucn6emco = AnonymousEnum<{
|
|
9706
|
+
"dispatch_as_treasury": Anonymize<Ido81hgut23md6>;
|
|
9707
|
+
"dispatch_as_aave_manager": Anonymize<Ido81hgut23md6>;
|
|
9857
9708
|
/**
|
|
9858
9709
|
* Sets the Aave manager account to be used as origin for dispatching calls.
|
|
9859
9710
|
*
|
|
@@ -9869,9 +9720,9 @@ export type I7hj5v0kif768l = AnonymousEnum<{
|
|
|
9869
9720
|
* This allows executing calls with additional weight (gas) limit.
|
|
9870
9721
|
* The extra gas is not refunded, even if not used.
|
|
9871
9722
|
*/
|
|
9872
|
-
"dispatch_with_extra_gas": Anonymize<
|
|
9723
|
+
"dispatch_with_extra_gas": Anonymize<I751qqvaehf2dt>;
|
|
9873
9724
|
}>;
|
|
9874
|
-
export type
|
|
9725
|
+
export type I751qqvaehf2dt = {
|
|
9875
9726
|
"call": TxCallData;
|
|
9876
9727
|
"extra_gas": bigint;
|
|
9877
9728
|
};
|
|
@@ -10703,7 +10554,7 @@ export type I35cf63e7kg5on = {
|
|
|
10703
10554
|
"order_id": number;
|
|
10704
10555
|
"amount_in": bigint;
|
|
10705
10556
|
};
|
|
10706
|
-
export type
|
|
10557
|
+
export type I3t04v92agktsg = AnonymousEnum<{
|
|
10707
10558
|
/**
|
|
10708
10559
|
* Set trade volume limit for an asset.
|
|
10709
10560
|
*
|
|
@@ -10740,8 +10591,51 @@ export type Ihq0rdic3bdqe = AnonymousEnum<{
|
|
|
10740
10591
|
*
|
|
10741
10592
|
*/
|
|
10742
10593
|
"set_remove_liquidity_limit": Anonymize<I4l0u1h71fhj81>;
|
|
10594
|
+
/**
|
|
10595
|
+
* Lockdown an asset for minting
|
|
10596
|
+
*
|
|
10597
|
+
* Can be called only by an authority origin
|
|
10598
|
+
*
|
|
10599
|
+
* Parameters:
|
|
10600
|
+
* - `origin`: The dispatch origin for this call. Must be `AuthorityOrigin`
|
|
10601
|
+
* - `asset_id`: The identifier of an asset
|
|
10602
|
+
* - `until`: The block number until which the asset is locked
|
|
10603
|
+
*
|
|
10604
|
+
* /// Emits `AssetLockdowned` event when successful.
|
|
10605
|
+
*/
|
|
10606
|
+
"lockdown_asset": Anonymize<I5qnn28n6p0qll>;
|
|
10607
|
+
/**
|
|
10608
|
+
* Remove asset lockdown regardless of the state.
|
|
10609
|
+
*
|
|
10610
|
+
* Can be called only by an authority origin
|
|
10611
|
+
*
|
|
10612
|
+
* Parameters:
|
|
10613
|
+
*
|
|
10614
|
+
* - `origin`: The dispatch origin for this call. Must be `AuthorityOrigin`
|
|
10615
|
+
* - `asset_id`: The identifier of an asset
|
|
10616
|
+
*
|
|
10617
|
+
* Emits `AssetLockdownRemoved` event when successful.
|
|
10618
|
+
*/
|
|
10619
|
+
"force_lift_lockdown": Anonymize<Ia5le7udkgbaq9>;
|
|
10620
|
+
/**
|
|
10621
|
+
* Release deposit of an asset.
|
|
10622
|
+
*
|
|
10623
|
+
* It releases all the pallet reserved balance of the asset for the given account
|
|
10624
|
+
*
|
|
10625
|
+
* Can be called by any origin, but only if the asset is not in active lockdown.
|
|
10626
|
+
*
|
|
10627
|
+
* The caller does not pay for this call if successful.
|
|
10628
|
+
*
|
|
10629
|
+
* Parameters:
|
|
10630
|
+
* - `origin`: The dispatch origin for this call. Can be signed or root.
|
|
10631
|
+
* - `who`: The account that is saving the deposit.
|
|
10632
|
+
* - `asset_id`: The identifier of the asset.
|
|
10633
|
+
*
|
|
10634
|
+
* Emits `DepositReleased` event when successful.
|
|
10635
|
+
*/
|
|
10636
|
+
"release_deposit": Anonymize<If4ebvclj2ugvi>;
|
|
10743
10637
|
}>;
|
|
10744
|
-
export type
|
|
10638
|
+
export type I7gdonojfignc7 = AnonymousEnum<{
|
|
10745
10639
|
/**
|
|
10746
10640
|
* Executes a sell with a series of trades specified in the route.
|
|
10747
10641
|
* The price for each trade is determined by the corresponding AMM.
|
|
@@ -10757,7 +10651,7 @@ export type I360ji4uq04ocu = AnonymousEnum<{
|
|
|
10757
10651
|
*
|
|
10758
10652
|
* Emits `RouteExecuted` when successful.
|
|
10759
10653
|
*/
|
|
10760
|
-
"sell": Anonymize<
|
|
10654
|
+
"sell": Anonymize<Ifc3gfgolmaqf7>;
|
|
10761
10655
|
/**
|
|
10762
10656
|
* Executes a buy with a series of trades specified in the route.
|
|
10763
10657
|
* The price for each trade is determined by the corresponding AMM.
|
|
@@ -10773,7 +10667,7 @@ export type I360ji4uq04ocu = AnonymousEnum<{
|
|
|
10773
10667
|
*
|
|
10774
10668
|
* Emits `RouteExecuted` when successful.
|
|
10775
10669
|
*/
|
|
10776
|
-
"buy": Anonymize<
|
|
10670
|
+
"buy": Anonymize<I651losl68jmo5>;
|
|
10777
10671
|
/**
|
|
10778
10672
|
* Sets the on-chain route for a given asset pair.
|
|
10779
10673
|
*
|
|
@@ -10797,7 +10691,7 @@ export type I360ji4uq04ocu = AnonymousEnum<{
|
|
|
10797
10691
|
* Fails with `RouteUpdateIsNotSuccessful` error when failed to set the route
|
|
10798
10692
|
*
|
|
10799
10693
|
*/
|
|
10800
|
-
"set_route": Anonymize<
|
|
10694
|
+
"set_route": Anonymize<I5dlvf0cogf3c3>;
|
|
10801
10695
|
/**
|
|
10802
10696
|
* Force inserts the on-chain route for a given asset pair, so there is no any validation for the route
|
|
10803
10697
|
*
|
|
@@ -10814,7 +10708,7 @@ export type I360ji4uq04ocu = AnonymousEnum<{
|
|
|
10814
10708
|
* Emits `RouteUpdated` when successful.
|
|
10815
10709
|
*
|
|
10816
10710
|
*/
|
|
10817
|
-
"force_insert_route": Anonymize<
|
|
10711
|
+
"force_insert_route": Anonymize<I5dlvf0cogf3c3>;
|
|
10818
10712
|
/**
|
|
10819
10713
|
* Executes a sell with a series of trades specified in the route.
|
|
10820
10714
|
* It sells all reducible user balance of `asset_in`
|
|
@@ -10831,17 +10725,45 @@ export type I360ji4uq04ocu = AnonymousEnum<{
|
|
|
10831
10725
|
* Emits `RouteExecuted` when successful.
|
|
10832
10726
|
*
|
|
10833
10727
|
*/
|
|
10834
|
-
"sell_all": Anonymize<
|
|
10728
|
+
"sell_all": Anonymize<Ie6nueo20p04gk>;
|
|
10835
10729
|
}>;
|
|
10836
|
-
export type
|
|
10730
|
+
export type I5dlvf0cogf3c3 = {
|
|
10837
10731
|
"asset_pair": Anonymize<I4kv0johj9i346>;
|
|
10838
|
-
"new_route": Anonymize<
|
|
10732
|
+
"new_route": Anonymize<I14tu3k4kt0e26>;
|
|
10839
10733
|
};
|
|
10840
|
-
export type
|
|
10734
|
+
export type Ie6nueo20p04gk = {
|
|
10841
10735
|
"asset_in": number;
|
|
10842
10736
|
"asset_out": number;
|
|
10843
10737
|
"min_amount_out": bigint;
|
|
10844
|
-
"route": Anonymize<
|
|
10738
|
+
"route": Anonymize<I14tu3k4kt0e26>;
|
|
10739
|
+
};
|
|
10740
|
+
export type I5tbad6u121r7r = AnonymousEnum<{
|
|
10741
|
+
/**
|
|
10742
|
+
* Set fee configuration for an asset
|
|
10743
|
+
*
|
|
10744
|
+
* This function allows setting either fixed or dynamic fee configuration for a specific asset.
|
|
10745
|
+
*
|
|
10746
|
+
* # Arguments
|
|
10747
|
+
* * `origin` - Root origin required
|
|
10748
|
+
* * `asset_id` - The asset ID to configure
|
|
10749
|
+
* * `config` - Fee configuration (Fixed or Dynamic)
|
|
10750
|
+
*/
|
|
10751
|
+
"set_asset_fee": Anonymize<Imgejls0d51oq>;
|
|
10752
|
+
/**
|
|
10753
|
+
* Remove fee configuration for an asset (will use default parameters)
|
|
10754
|
+
*
|
|
10755
|
+
* This function removes any custom fee configuration for the specified asset.
|
|
10756
|
+
* After removal, the asset will use the default dynamic fee parameters configured in the runtime.
|
|
10757
|
+
*
|
|
10758
|
+
* # Arguments
|
|
10759
|
+
* * `origin` - Root origin required
|
|
10760
|
+
* * `asset_id` - The asset ID to remove configuration for
|
|
10761
|
+
*/
|
|
10762
|
+
"remove_asset_fee": Anonymize<Ia5le7udkgbaq9>;
|
|
10763
|
+
}>;
|
|
10764
|
+
export type Imgejls0d51oq = {
|
|
10765
|
+
"asset_id": number;
|
|
10766
|
+
"config": Anonymize<I5aq7tv9lofc3v>;
|
|
10845
10767
|
};
|
|
10846
10768
|
export type Iaikdgvqtjn8sd = AnonymousEnum<{
|
|
10847
10769
|
/**
|
|
@@ -10923,7 +10845,7 @@ export type Iaikdgvqtjn8sd = AnonymousEnum<{
|
|
|
10923
10845
|
*/
|
|
10924
10846
|
"unstake": Anonymize<I6vhvcln14dp4d>;
|
|
10925
10847
|
}>;
|
|
10926
|
-
export type
|
|
10848
|
+
export type Ii0muogim0p1d = AnonymousEnum<{
|
|
10927
10849
|
/**
|
|
10928
10850
|
* Create a stable pool with given list of assets.
|
|
10929
10851
|
*
|
|
@@ -11156,7 +11078,7 @@ export type Ickvabd796pcbm = AnonymousEnum<{
|
|
|
11156
11078
|
* - `IncorrectAssetDecimals`: If the assets have different decimals.
|
|
11157
11079
|
*
|
|
11158
11080
|
*/
|
|
11159
|
-
"create_pool_with_pegs": Anonymize<
|
|
11081
|
+
"create_pool_with_pegs": Anonymize<I8ij5e2p0aqu6i>;
|
|
11160
11082
|
/**
|
|
11161
11083
|
* Add liquidity to selected pool.
|
|
11162
11084
|
*
|
|
@@ -11178,6 +11100,47 @@ export type Ickvabd796pcbm = AnonymousEnum<{
|
|
|
11178
11100
|
* Emits `pallet_broadcast::Swapped` event when successful.
|
|
11179
11101
|
*/
|
|
11180
11102
|
"add_assets_liquidity": Anonymize<Ijqmlm7h71nc1>;
|
|
11103
|
+
/**
|
|
11104
|
+
* Update the peg source for a specific asset in a pool.
|
|
11105
|
+
*
|
|
11106
|
+
* This function allows updating the peg source for an asset within a pool.
|
|
11107
|
+
* The pool must exist and have pegs configured. The asset must be part of the pool.
|
|
11108
|
+
* The current price is always preserved when updating the peg source.
|
|
11109
|
+
*
|
|
11110
|
+
* Parameters:
|
|
11111
|
+
* - `origin`: Must be `T::AuthorityOrigin`.
|
|
11112
|
+
* - `pool_id`: The ID of the pool containing the asset.
|
|
11113
|
+
* - `asset_id`: The ID of the asset whose peg source is to be updated.
|
|
11114
|
+
* - `peg_source`: The new peg source for the asset.
|
|
11115
|
+
*
|
|
11116
|
+
* Emits `PoolPegSourceUpdated` event when successful.
|
|
11117
|
+
*
|
|
11118
|
+
* # Errors
|
|
11119
|
+
* - `PoolNotFound`: If the specified pool does not exist.
|
|
11120
|
+
* - `NoPegSource`: If the pool does not have pegs configured.
|
|
11121
|
+
* - `AssetNotInPool`: If the specified asset is not part of the pool.
|
|
11122
|
+
*
|
|
11123
|
+
*/
|
|
11124
|
+
"update_asset_peg_source": Anonymize<Ibmmi1tbvqjkf9>;
|
|
11125
|
+
/**
|
|
11126
|
+
* Update the maximum peg update percentage for a pool.
|
|
11127
|
+
*
|
|
11128
|
+
* This function allows updating the maximum percentage by which peg values
|
|
11129
|
+
* can change in a pool with pegs configured.
|
|
11130
|
+
*
|
|
11131
|
+
* Parameters:
|
|
11132
|
+
* - `origin`: Must be `T::AuthorityOrigin`.
|
|
11133
|
+
* - `pool_id`: The ID of the pool to update.
|
|
11134
|
+
* - `max_peg_update`: The new maximum peg update percentage.
|
|
11135
|
+
*
|
|
11136
|
+
* Emits `PoolMaxPegUpdateUpdated` event when successful.
|
|
11137
|
+
*
|
|
11138
|
+
* # Errors
|
|
11139
|
+
* - `PoolNotFound`: If the specified pool does not exist.
|
|
11140
|
+
* - `NoPegSource`: If the pool does not have pegs configured.
|
|
11141
|
+
*
|
|
11142
|
+
*/
|
|
11143
|
+
"update_pool_max_peg_update": Anonymize<I4f24vd3pvt9k>;
|
|
11181
11144
|
}>;
|
|
11182
11145
|
export type I77a9b6eik0rui = {
|
|
11183
11146
|
"share_asset": number;
|
|
@@ -11232,12 +11195,12 @@ export type I2d6orhhgh5et2 = {
|
|
|
11232
11195
|
"share_amount": bigint;
|
|
11233
11196
|
"min_amounts_out": Anonymize<Id7i7r9a29m8o2>;
|
|
11234
11197
|
};
|
|
11235
|
-
export type
|
|
11198
|
+
export type I8ij5e2p0aqu6i = {
|
|
11236
11199
|
"share_asset": number;
|
|
11237
11200
|
"assets": Anonymize<Icgljjb6j82uhn>;
|
|
11238
11201
|
"amplification": number;
|
|
11239
11202
|
"fee": number;
|
|
11240
|
-
"peg_source": Anonymize<
|
|
11203
|
+
"peg_source": Anonymize<Ibpk3qqvth3d7>;
|
|
11241
11204
|
"max_peg_update": number;
|
|
11242
11205
|
};
|
|
11243
11206
|
export type Ijqmlm7h71nc1 = {
|
|
@@ -11295,7 +11258,7 @@ export type Ibc2f5cr6dqguj = {
|
|
|
11295
11258
|
"bond_id": number;
|
|
11296
11259
|
"amount": bigint;
|
|
11297
11260
|
};
|
|
11298
|
-
export type
|
|
11261
|
+
export type Ib00ilgisift11 = AnonymousEnum<{
|
|
11299
11262
|
/**
|
|
11300
11263
|
* Close an existing OTC arbitrage opportunity.
|
|
11301
11264
|
*
|
|
@@ -11318,12 +11281,12 @@ export type I3aq6cssah281s = AnonymousEnum<{
|
|
|
11318
11281
|
* Emits `Executed` event when successful.
|
|
11319
11282
|
*
|
|
11320
11283
|
*/
|
|
11321
|
-
"settle_otc_order": Anonymize<
|
|
11284
|
+
"settle_otc_order": Anonymize<I4pj97i2e0a0rb>;
|
|
11322
11285
|
}>;
|
|
11323
|
-
export type
|
|
11286
|
+
export type I4pj97i2e0a0rb = {
|
|
11324
11287
|
"otc_id": number;
|
|
11325
11288
|
"amount": bigint;
|
|
11326
|
-
"route": Anonymize<
|
|
11289
|
+
"route": Anonymize<I14tu3k4kt0e26>;
|
|
11327
11290
|
};
|
|
11328
11291
|
export type I4ogitqakc83nm = AnonymousEnum<{
|
|
11329
11292
|
/**
|
|
@@ -11641,7 +11604,7 @@ export type Ibe97e14cmm4e9 = AnonymousEnum<{
|
|
|
11641
11604
|
*/
|
|
11642
11605
|
"set_reward_percentage": Anonymize<Ionfhf9va2t31>;
|
|
11643
11606
|
}>;
|
|
11644
|
-
export type
|
|
11607
|
+
export type I3i7qdud10d7s7 = AnonymousEnum<{
|
|
11645
11608
|
/**
|
|
11646
11609
|
* Liquidates an existing money market position.
|
|
11647
11610
|
*
|
|
@@ -11659,22 +11622,212 @@ export type I5g1faufv942ln = AnonymousEnum<{
|
|
|
11659
11622
|
* Emits `Liquidated` event when successful.
|
|
11660
11623
|
*
|
|
11661
11624
|
*/
|
|
11662
|
-
"liquidate": Anonymize<
|
|
11625
|
+
"liquidate": Anonymize<I7ac77tpv6n2an>;
|
|
11663
11626
|
/**
|
|
11664
11627
|
* Set the borrowing market contract address.
|
|
11665
11628
|
*/
|
|
11666
11629
|
"set_borrowing_contract": Anonymize<Ics51ctc9oasbt>;
|
|
11667
11630
|
}>;
|
|
11668
|
-
export type
|
|
11631
|
+
export type I7ac77tpv6n2an = {
|
|
11669
11632
|
"collateral_asset": number;
|
|
11670
11633
|
"debt_asset": number;
|
|
11671
11634
|
"user": FixedSizeBinary<20>;
|
|
11672
11635
|
"debt_to_cover": bigint;
|
|
11673
|
-
"route": Anonymize<
|
|
11636
|
+
"route": Anonymize<I14tu3k4kt0e26>;
|
|
11674
11637
|
};
|
|
11675
11638
|
export type Ics51ctc9oasbt = {
|
|
11676
11639
|
"contract": FixedSizeBinary<20>;
|
|
11677
11640
|
};
|
|
11641
|
+
export type Ib7susjgop5bfi = AnonymousEnum<{
|
|
11642
|
+
/**
|
|
11643
|
+
* Add a new collateral asset
|
|
11644
|
+
*
|
|
11645
|
+
* This function adds a new asset as an approved collateral for Hollar. Only callable by
|
|
11646
|
+
* the governance (root origin).
|
|
11647
|
+
*
|
|
11648
|
+
* Parameters:
|
|
11649
|
+
* - `origin`: Must be Root
|
|
11650
|
+
* - `asset_id`: Asset ID to be added as collateral
|
|
11651
|
+
* - `pool_id`: StableSwap pool ID where this asset and Hollar are paired
|
|
11652
|
+
* - `purchase_fee`: Fee applied when buying Hollar with this asset (added to purchase price)
|
|
11653
|
+
* - `max_buy_price_coefficient`: Maximum buy price coefficient for HSM to buy back Hollar
|
|
11654
|
+
* - `buy_back_fee`: Fee applied when buying back Hollar (subtracted from buy price)
|
|
11655
|
+
* - `buyback_rate`: Parameter that controls how quickly HSM can buy Hollar with this asset
|
|
11656
|
+
* - `max_in_holding`: Optional maximum amount of collateral HSM can hold
|
|
11657
|
+
*
|
|
11658
|
+
* Emits:
|
|
11659
|
+
* - `CollateralAdded` when the collateral is successfully added
|
|
11660
|
+
*
|
|
11661
|
+
* Errors:
|
|
11662
|
+
* - `AssetAlreadyApproved` if the asset is already registered as a collateral
|
|
11663
|
+
* - `PoolAlreadyHasCollateral` if another asset from the same pool is already approved
|
|
11664
|
+
* - `HollarNotInPool` if Hollar is not found in the specified pool
|
|
11665
|
+
* - `AssetNotInPool` if the collateral asset is not found in the specified pool
|
|
11666
|
+
* - Other errors from underlying calls
|
|
11667
|
+
*/
|
|
11668
|
+
"add_collateral_asset": Anonymize<I9f388t40fmtpk>;
|
|
11669
|
+
/**
|
|
11670
|
+
* Remove a collateral asset
|
|
11671
|
+
*
|
|
11672
|
+
* Removes an asset from the approved collaterals list. Only callable by the governance (root origin).
|
|
11673
|
+
* The collateral must have a zero balance in the HSM account before it can be removed.
|
|
11674
|
+
*
|
|
11675
|
+
* Parameters:
|
|
11676
|
+
* - `origin`: Must be Root
|
|
11677
|
+
* - `asset_id`: Asset ID to remove from collaterals
|
|
11678
|
+
*
|
|
11679
|
+
* Emits:
|
|
11680
|
+
* - `CollateralRemoved` when the collateral is successfully removed
|
|
11681
|
+
*
|
|
11682
|
+
* Errors:
|
|
11683
|
+
* - `AssetNotApproved` if the asset is not a registered collateral
|
|
11684
|
+
* - `CollateralNotEmpty` if the HSM account still holds some of this asset
|
|
11685
|
+
*/
|
|
11686
|
+
"remove_collateral_asset": Anonymize<Ia5le7udkgbaq9>;
|
|
11687
|
+
/**
|
|
11688
|
+
* Update collateral asset parameters
|
|
11689
|
+
*
|
|
11690
|
+
* Updates the parameters for an existing collateral asset. Only callable by the governance (root origin).
|
|
11691
|
+
* Each parameter is optional and only provided parameters will be updated.
|
|
11692
|
+
*
|
|
11693
|
+
* Parameters:
|
|
11694
|
+
* - `origin`: Must be Root
|
|
11695
|
+
* - `asset_id`: Asset ID to update
|
|
11696
|
+
* - `purchase_fee`: New purchase fee (optional)
|
|
11697
|
+
* - `max_buy_price_coefficient`: New max buy price coefficient (optional)
|
|
11698
|
+
* - `buy_back_fee`: New buy back fee (optional)
|
|
11699
|
+
* - `buyback_rate`: New buyback rate parameter (optional)
|
|
11700
|
+
* - `max_in_holding`: New maximum holding amount (optional)
|
|
11701
|
+
*
|
|
11702
|
+
* Emits:
|
|
11703
|
+
* - `CollateralUpdated` when the collateral is successfully updated
|
|
11704
|
+
*
|
|
11705
|
+
* Errors:
|
|
11706
|
+
* - `AssetNotApproved` if the asset is not a registered collateral
|
|
11707
|
+
*/
|
|
11708
|
+
"update_collateral_asset": Anonymize<Ie6d997npqi7i1>;
|
|
11709
|
+
/**
|
|
11710
|
+
* Sell asset to HSM
|
|
11711
|
+
*
|
|
11712
|
+
* This function allows users to:
|
|
11713
|
+
* 1. Sell Hollar back to HSM in exchange for collateral assets
|
|
11714
|
+
* 2. Sell collateral assets to HSM in exchange for newly minted Hollar
|
|
11715
|
+
*
|
|
11716
|
+
* The valid pairs must include Hollar as one side and an approved collateral as the other side.
|
|
11717
|
+
*
|
|
11718
|
+
* Parameters:
|
|
11719
|
+
* - `origin`: Account selling the asset
|
|
11720
|
+
* - `asset_in`: Asset ID being sold
|
|
11721
|
+
* - `asset_out`: Asset ID being bought
|
|
11722
|
+
* - `amount_in`: Amount of asset_in to sell
|
|
11723
|
+
* - `slippage_limit`: Minimum amount out for slippage protection
|
|
11724
|
+
*
|
|
11725
|
+
* Emits:
|
|
11726
|
+
* - `Swapped3` when the sell is successful
|
|
11727
|
+
*
|
|
11728
|
+
* Errors:
|
|
11729
|
+
* - `InvalidAssetPair` if the pair is not Hollar and an approved collateral
|
|
11730
|
+
* - `AssetNotApproved` if the collateral asset isn't registered
|
|
11731
|
+
* - `SlippageLimitExceeded` if the amount received is less than the slippage limit
|
|
11732
|
+
* - `MaxBuyBackExceeded` if the sell would exceed the maximum buy back rate
|
|
11733
|
+
* - `MaxBuyPriceExceeded` if the sell would exceed the maximum buy price
|
|
11734
|
+
* - `InsufficientCollateralBalance` if HSM doesn't have enough collateral
|
|
11735
|
+
* - `InvalidEVMInteraction` if there's an error interacting with the Hollar ERC20 contract
|
|
11736
|
+
* - Other errors from underlying calls
|
|
11737
|
+
*/
|
|
11738
|
+
"sell": Anonymize<I5c1masltr8a0p>;
|
|
11739
|
+
/**
|
|
11740
|
+
* Buy asset from HSM
|
|
11741
|
+
*
|
|
11742
|
+
* This function allows users to:
|
|
11743
|
+
* 1. Buy Hollar from HSM using collateral assets
|
|
11744
|
+
* 2. Buy collateral assets from HSM using Hollar
|
|
11745
|
+
*
|
|
11746
|
+
* The valid pairs must include Hollar as one side and an approved collateral as the other side.
|
|
11747
|
+
*
|
|
11748
|
+
* Parameters:
|
|
11749
|
+
* - `origin`: Account buying the asset
|
|
11750
|
+
* - `asset_in`: Asset ID being sold by the user
|
|
11751
|
+
* - `asset_out`: Asset ID being bought by the user
|
|
11752
|
+
* - `amount_out`: Amount of asset_out to buy
|
|
11753
|
+
* - `slippage_limit`: Maximum amount in for slippage protection
|
|
11754
|
+
*
|
|
11755
|
+
* Emits:
|
|
11756
|
+
* - `Swapped3` when the buy is successful
|
|
11757
|
+
*
|
|
11758
|
+
* Errors:
|
|
11759
|
+
* - `InvalidAssetPair` if the pair is not Hollar and an approved collateral
|
|
11760
|
+
* - `AssetNotApproved` if the collateral asset isn't registered
|
|
11761
|
+
* - `SlippageLimitExceeded` if the amount input exceeds the slippage limit
|
|
11762
|
+
* - `MaxHoldingExceeded` if the buy would cause HSM to exceed its maximum holding
|
|
11763
|
+
* - `InvalidEVMInteraction` if there's an error interacting with the Hollar ERC20 contract
|
|
11764
|
+
* - Other errors from underlying calls
|
|
11765
|
+
*/
|
|
11766
|
+
"buy": Anonymize<Ie3e48phue9bu5>;
|
|
11767
|
+
/**
|
|
11768
|
+
* Execute arbitrage opportunity between HSM and collateral stable pool
|
|
11769
|
+
*
|
|
11770
|
+
* This call is designed to be triggered automatically by offchain workers. It:
|
|
11771
|
+
* 1. Detects price imbalances between HSM and a stable pool for a collateral
|
|
11772
|
+
* 2. If an opportunity exists, mints Hollar, swaps it for collateral on HSM
|
|
11773
|
+
* 3. Swaps that collateral for Hollar on the stable pool
|
|
11774
|
+
* 4. Burns the Hollar received from the arbitrage
|
|
11775
|
+
*
|
|
11776
|
+
* This helps maintain the peg of Hollar by profiting from and correcting price imbalances.
|
|
11777
|
+
* The call is unsigned and should only be executed by offchain workers.
|
|
11778
|
+
*
|
|
11779
|
+
* Parameters:
|
|
11780
|
+
* - `origin`: Must be None (unsigned)
|
|
11781
|
+
* - `collateral_asset_id`: The ID of the collateral asset to check for arbitrage
|
|
11782
|
+
*
|
|
11783
|
+
* Emits:
|
|
11784
|
+
* - `ArbitrageExecuted` when the arbitrage is successful
|
|
11785
|
+
*
|
|
11786
|
+
* Errors:
|
|
11787
|
+
* - `AssetNotApproved` if the asset is not a registered collateral
|
|
11788
|
+
* - `NoArbitrageOpportunity` if there's no profitable arbitrage opportunity
|
|
11789
|
+
* - `MaxBuyPriceExceeded` if the arbitrage would exceed the maximum buy price
|
|
11790
|
+
* - `InvalidEVMInteraction` if there's an error interacting with the Hollar ERC20 contract
|
|
11791
|
+
* - Other errors from underlying calls
|
|
11792
|
+
*/
|
|
11793
|
+
"execute_arbitrage": Anonymize<Ia6cch7ainm5jo>;
|
|
11794
|
+
"set_flash_minter": Anonymize<Iajpteohigflga>;
|
|
11795
|
+
}>;
|
|
11796
|
+
export type I9f388t40fmtpk = {
|
|
11797
|
+
"asset_id": number;
|
|
11798
|
+
"pool_id": number;
|
|
11799
|
+
"purchase_fee": number;
|
|
11800
|
+
"max_buy_price_coefficient": bigint;
|
|
11801
|
+
"buy_back_fee": number;
|
|
11802
|
+
"buyback_rate": number;
|
|
11803
|
+
"max_in_holding"?: Anonymize<I35p85j063s0il>;
|
|
11804
|
+
};
|
|
11805
|
+
export type Ie6d997npqi7i1 = {
|
|
11806
|
+
"asset_id": number;
|
|
11807
|
+
"purchase_fee"?: Anonymize<I4arjljr6dpflb>;
|
|
11808
|
+
"max_buy_price_coefficient"?: Anonymize<I35p85j063s0il>;
|
|
11809
|
+
"buy_back_fee"?: Anonymize<I4arjljr6dpflb>;
|
|
11810
|
+
"buyback_rate"?: Anonymize<I4arjljr6dpflb>;
|
|
11811
|
+
"max_in_holding"?: (Anonymize<I35p85j063s0il>) | undefined;
|
|
11812
|
+
};
|
|
11813
|
+
export type I5c1masltr8a0p = {
|
|
11814
|
+
"asset_in": number;
|
|
11815
|
+
"asset_out": number;
|
|
11816
|
+
"amount_in": bigint;
|
|
11817
|
+
"slippage_limit": bigint;
|
|
11818
|
+
};
|
|
11819
|
+
export type Ie3e48phue9bu5 = {
|
|
11820
|
+
"asset_in": number;
|
|
11821
|
+
"asset_out": number;
|
|
11822
|
+
"amount_out": bigint;
|
|
11823
|
+
"slippage_limit": bigint;
|
|
11824
|
+
};
|
|
11825
|
+
export type Ia6cch7ainm5jo = {
|
|
11826
|
+
"collateral_asset_id": number;
|
|
11827
|
+
};
|
|
11828
|
+
export type Iajpteohigflga = {
|
|
11829
|
+
"flash_minter_addr": FixedSizeBinary<20>;
|
|
11830
|
+
};
|
|
11678
11831
|
export type I6a7o6bu2n2amk = AnonymousEnum<{
|
|
11679
11832
|
/**
|
|
11680
11833
|
* Transfer some liquid free balance to another account.
|
|
@@ -12360,7 +12513,7 @@ export type I82r4tvnf2s05i = {
|
|
|
12360
12513
|
"asset_pair": Anonymize<I4kv0johj9i346>;
|
|
12361
12514
|
"farm_entries": Anonymize<Icgljjb6j82uhn>;
|
|
12362
12515
|
};
|
|
12363
|
-
export type
|
|
12516
|
+
export type I6rh3volf6pqqn = AnonymousEnum<{
|
|
12364
12517
|
/**
|
|
12365
12518
|
* Creates a new DCA (Dollar-Cost Averaging) schedule and plans the next execution
|
|
12366
12519
|
* for the specified block.
|
|
@@ -12388,7 +12541,7 @@ export type Icv71jko2qbiu2 = AnonymousEnum<{
|
|
|
12388
12541
|
* Emits `Scheduled` and `ExecutionPlanned` event when successful.
|
|
12389
12542
|
*
|
|
12390
12543
|
*/
|
|
12391
|
-
"schedule": Anonymize<
|
|
12544
|
+
"schedule": Anonymize<Icojrb9unj3i10>;
|
|
12392
12545
|
/**
|
|
12393
12546
|
* Terminates a DCA schedule and remove it completely from the chain.
|
|
12394
12547
|
*
|
|
@@ -12403,29 +12556,45 @@ export type Icv71jko2qbiu2 = AnonymousEnum<{
|
|
|
12403
12556
|
*
|
|
12404
12557
|
*/
|
|
12405
12558
|
"terminate": Anonymize<Ib9aiguc778ujf>;
|
|
12559
|
+
/**
|
|
12560
|
+
* Unlocks DCA reserves of provided asset for the caller if they have no active schedules.
|
|
12561
|
+
*
|
|
12562
|
+
* This is a utility function to help users recover their reserved funds in case
|
|
12563
|
+
* a DCA schedule was terminated but left some reserved amounts.
|
|
12564
|
+
*
|
|
12565
|
+
* This can only be called when the user has no active DCA schedules.
|
|
12566
|
+
*
|
|
12567
|
+
* Parameters:
|
|
12568
|
+
* - `origin`: The account to unlock reserves for (must be signed)
|
|
12569
|
+
* - `asset_id`: The asset ID for which reserves should be unlocked.
|
|
12570
|
+
*
|
|
12571
|
+
* Emits `ReserveUnlocked` event when successful.
|
|
12572
|
+
*
|
|
12573
|
+
*/
|
|
12574
|
+
"unlock_reserves": Anonymize<If4ebvclj2ugvi>;
|
|
12406
12575
|
}>;
|
|
12407
|
-
export type
|
|
12408
|
-
"schedule": Anonymize<
|
|
12576
|
+
export type Icojrb9unj3i10 = {
|
|
12577
|
+
"schedule": Anonymize<I2q8d4829ff4jd>;
|
|
12409
12578
|
"start_execution_block"?: Anonymize<I4arjljr6dpflb>;
|
|
12410
12579
|
};
|
|
12411
|
-
export type
|
|
12580
|
+
export type I2q8d4829ff4jd = {
|
|
12412
12581
|
"owner": SS58String;
|
|
12413
12582
|
"period": number;
|
|
12414
12583
|
"total_amount": bigint;
|
|
12415
12584
|
"max_retries"?: Anonymize<I4arjljr6dpflb>;
|
|
12416
12585
|
"stability_threshold"?: Anonymize<I4arjljr6dpflb>;
|
|
12417
12586
|
"slippage"?: Anonymize<I4arjljr6dpflb>;
|
|
12418
|
-
"order": Anonymize<
|
|
12587
|
+
"order": Anonymize<Ie7n3lbf5eunfs>;
|
|
12419
12588
|
};
|
|
12420
12589
|
export type Ib9aiguc778ujf = {
|
|
12421
12590
|
"schedule_id": number;
|
|
12422
12591
|
"next_execution_block"?: Anonymize<I4arjljr6dpflb>;
|
|
12423
12592
|
};
|
|
12424
|
-
export type
|
|
12593
|
+
export type I70becp9irg7lq = AnonymousEnum<{
|
|
12425
12594
|
/**
|
|
12426
12595
|
* Anonymously schedule a task.
|
|
12427
12596
|
*/
|
|
12428
|
-
"schedule": Anonymize<
|
|
12597
|
+
"schedule": Anonymize<If717qi93ptgpe>;
|
|
12429
12598
|
/**
|
|
12430
12599
|
* Cancel an anonymously scheduled task.
|
|
12431
12600
|
*/
|
|
@@ -12433,7 +12602,7 @@ export type Iet9dd79pj0srp = AnonymousEnum<{
|
|
|
12433
12602
|
/**
|
|
12434
12603
|
* Schedule a named task.
|
|
12435
12604
|
*/
|
|
12436
|
-
"schedule_named": Anonymize<
|
|
12605
|
+
"schedule_named": Anonymize<Id843oqfk17p28>;
|
|
12437
12606
|
/**
|
|
12438
12607
|
* Cancel a named scheduled task.
|
|
12439
12608
|
*/
|
|
@@ -12441,11 +12610,11 @@ export type Iet9dd79pj0srp = AnonymousEnum<{
|
|
|
12441
12610
|
/**
|
|
12442
12611
|
* Anonymously schedule a task after a delay.
|
|
12443
12612
|
*/
|
|
12444
|
-
"schedule_after": Anonymize<
|
|
12613
|
+
"schedule_after": Anonymize<Iajckkqa1nnbou>;
|
|
12445
12614
|
/**
|
|
12446
12615
|
* Schedule a named task after a delay.
|
|
12447
12616
|
*/
|
|
12448
|
-
"schedule_named_after": Anonymize<
|
|
12617
|
+
"schedule_named_after": Anonymize<Icdn8al2st9dvj>;
|
|
12449
12618
|
/**
|
|
12450
12619
|
* Set a retry configuration for a task so that, in case its scheduled run fails, it will
|
|
12451
12620
|
* be retried after `period` blocks, for a total amount of `retries` retries or until it
|
|
@@ -12485,13 +12654,13 @@ export type Iet9dd79pj0srp = AnonymousEnum<{
|
|
|
12485
12654
|
*/
|
|
12486
12655
|
"cancel_retry_named": Anonymize<Ifs1i5fk9cqvr6>;
|
|
12487
12656
|
}>;
|
|
12488
|
-
export type
|
|
12657
|
+
export type If717qi93ptgpe = {
|
|
12489
12658
|
"when": number;
|
|
12490
12659
|
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
12491
12660
|
"priority": number;
|
|
12492
12661
|
"call": TxCallData;
|
|
12493
12662
|
};
|
|
12494
|
-
export type
|
|
12663
|
+
export type Id843oqfk17p28 = {
|
|
12495
12664
|
"id": FixedSizeBinary<32>;
|
|
12496
12665
|
"when": number;
|
|
12497
12666
|
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
@@ -12501,13 +12670,13 @@ export type I787h0od92j8h7 = {
|
|
|
12501
12670
|
export type Ifs1i5fk9cqvr6 = {
|
|
12502
12671
|
"id": FixedSizeBinary<32>;
|
|
12503
12672
|
};
|
|
12504
|
-
export type
|
|
12673
|
+
export type Iajckkqa1nnbou = {
|
|
12505
12674
|
"after": number;
|
|
12506
12675
|
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
12507
12676
|
"priority": number;
|
|
12508
12677
|
"call": TxCallData;
|
|
12509
12678
|
};
|
|
12510
|
-
export type
|
|
12679
|
+
export type Icdn8al2st9dvj = {
|
|
12511
12680
|
"id": FixedSizeBinary<32>;
|
|
12512
12681
|
"after": number;
|
|
12513
12682
|
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
@@ -13509,15 +13678,6 @@ export type I99bb69usss9gs = {
|
|
|
13509
13678
|
"nays": Anonymize<Ia2lhg7l2hilo3>;
|
|
13510
13679
|
"end": number;
|
|
13511
13680
|
};
|
|
13512
|
-
export type I8fkfedbgu1sn3 = {
|
|
13513
|
-
"reason": FixedSizeBinary<32>;
|
|
13514
|
-
"who": SS58String;
|
|
13515
|
-
"finder": SS58String;
|
|
13516
|
-
"deposit": bigint;
|
|
13517
|
-
"closes"?: Anonymize<I4arjljr6dpflb>;
|
|
13518
|
-
"tips": Anonymize<Iba9inugg1atvo>;
|
|
13519
|
-
"finders_fee": boolean;
|
|
13520
|
-
};
|
|
13521
13681
|
export type Iegjdtqhbb6qh9 = [Array<Anonymize<I2e1ekg17a2uj2>>, bigint];
|
|
13522
13682
|
export type I9p9lq3rej5bhc = [Array<{
|
|
13523
13683
|
"real": SS58String;
|
|
@@ -13567,10 +13727,10 @@ export type ConvictionVotingVoteVoting = Enum<{
|
|
|
13567
13727
|
"Delegating": Anonymize<I251o9sbu5566f>;
|
|
13568
13728
|
}>;
|
|
13569
13729
|
export declare const ConvictionVotingVoteVoting: GetEnum<ConvictionVotingVoteVoting>;
|
|
13570
|
-
export type
|
|
13730
|
+
export type Ibonvg03jegqd2 = AnonymousEnum<{
|
|
13571
13731
|
"Ongoing": {
|
|
13572
13732
|
"track": number;
|
|
13573
|
-
"origin": Anonymize<
|
|
13733
|
+
"origin": Anonymize<Iathhdqc4u75dj>;
|
|
13574
13734
|
"proposal": PreimagesBounded;
|
|
13575
13735
|
"enactment": TraitsScheduleDispatchTime;
|
|
13576
13736
|
"submitted": number;
|
|
@@ -13689,6 +13849,10 @@ export type I48olja7kd2ijk = {
|
|
|
13689
13849
|
"liquidity": bigint;
|
|
13690
13850
|
"limit": bigint;
|
|
13691
13851
|
};
|
|
13852
|
+
export type I94ue2k0qjjmh = AnonymousEnum<{
|
|
13853
|
+
"Locked": number;
|
|
13854
|
+
"Unlocked": Anonymize<I4ojmnsk1dchql>;
|
|
13855
|
+
}>;
|
|
13692
13856
|
export type Ibn3i0ad6beo5l = {
|
|
13693
13857
|
"asset_fee": number;
|
|
13694
13858
|
"protocol_fee": number;
|
|
@@ -13721,8 +13885,27 @@ export type I1p5pqg6bllgtl = {
|
|
|
13721
13885
|
"final_block": number;
|
|
13722
13886
|
"fee": number;
|
|
13723
13887
|
};
|
|
13888
|
+
export type If87m5gtpa546f = {
|
|
13889
|
+
"assets": Anonymize<Icgljjb6j82uhn>;
|
|
13890
|
+
"reserves": Array<{
|
|
13891
|
+
"amount": bigint;
|
|
13892
|
+
"decimals": number;
|
|
13893
|
+
}>;
|
|
13894
|
+
"amplification": bigint;
|
|
13895
|
+
"fee": number;
|
|
13896
|
+
"pegs": Anonymize<I4m1oibmt8ob40>;
|
|
13897
|
+
"share_issuance": bigint;
|
|
13898
|
+
};
|
|
13724
13899
|
export type I9qpa0evftgoo5 = [Anonymize<I4k5pg22d1rdhq>, bigint];
|
|
13725
13900
|
export type I1stghsu756nk9 = [number, Anonymize<I4k5pg22d1rdhq>];
|
|
13901
|
+
export type Idqn78enhf4jrq = {
|
|
13902
|
+
"pool_id": number;
|
|
13903
|
+
"purchase_fee": number;
|
|
13904
|
+
"max_buy_price_coefficient": bigint;
|
|
13905
|
+
"buyback_rate": number;
|
|
13906
|
+
"buy_back_fee": number;
|
|
13907
|
+
"max_in_holding"?: Anonymize<I35p85j063s0il>;
|
|
13908
|
+
};
|
|
13726
13909
|
export type Ic02kut0350gb0 = {
|
|
13727
13910
|
"free": bigint;
|
|
13728
13911
|
"reserved": bigint;
|
|
@@ -13733,7 +13916,7 @@ export type I7jidl7qnnq87c = {
|
|
|
13733
13916
|
"hash": FixedSizeBinary<32>;
|
|
13734
13917
|
};
|
|
13735
13918
|
export type I82cps8ng2jtug = [FixedSizeBinary<20>, FixedSizeBinary<32>];
|
|
13736
|
-
export type
|
|
13919
|
+
export type Ifitc0q6ckjb3j = [Anonymize<I6fr2mqud652ga>, Anonymize<Ifoernv5r40rfc>, Anonymize<I87cgves5f5lsa>];
|
|
13737
13920
|
export type Ifoernv5r40rfc = {
|
|
13738
13921
|
"transaction_hash": FixedSizeBinary<32>;
|
|
13739
13922
|
"transaction_index": number;
|
|
@@ -13795,12 +13978,12 @@ export type I66gvo4ilpv28i = {
|
|
|
13795
13978
|
"amm_pool_id": SS58String;
|
|
13796
13979
|
"yield_farm_entries": Anonymize<Ic7o3lvdma5qc6>;
|
|
13797
13980
|
};
|
|
13798
|
-
export type
|
|
13981
|
+
export type I208fp43uepvqb = Array<({
|
|
13799
13982
|
"maybe_id"?: Anonymize<I4s6vifaf8k998>;
|
|
13800
13983
|
"priority": number;
|
|
13801
13984
|
"call": PreimagesBounded;
|
|
13802
13985
|
"maybe_periodic"?: Anonymize<Iep7au1720bm0e>;
|
|
13803
|
-
"origin": Anonymize<
|
|
13986
|
+
"origin": Anonymize<Iathhdqc4u75dj>;
|
|
13804
13987
|
}) | undefined>;
|
|
13805
13988
|
export type I56u24ncejr5kt = {
|
|
13806
13989
|
"total_retries": number;
|
|
@@ -13961,9 +14144,9 @@ export type Ifmurjhsco5svb = [Anonymize<I4c0s5cioidn76>, Binary];
|
|
|
13961
14144
|
export type Ifi4da1gej1fri = Array<Anonymize<Iep1lmt6q3s6r3>>;
|
|
13962
14145
|
export type Ifvgo9568rpmqc = Array<Anonymize<I8uo3fpd3bcc6f>>;
|
|
13963
14146
|
export type I6cs1itejju2vv = [bigint, number];
|
|
13964
|
-
export type
|
|
14147
|
+
export type I8kbiofpboejrm = Array<[Anonymize<Ieiqgknk2nvh21>, Anonymize<Ibdrcpghmht5k8>]>;
|
|
13965
14148
|
export type Ieiqgknk2nvh21 = [FixedSizeBinary<8>, Anonymize<I9jd27rnpm8ttv>];
|
|
13966
|
-
export type
|
|
14149
|
+
export type Ibdrcpghmht5k8 = {
|
|
13967
14150
|
"price": {
|
|
13968
14151
|
"n": bigint;
|
|
13969
14152
|
"d": bigint;
|
|
@@ -13978,9 +14161,10 @@ export type Ivkraim88i8dl = {
|
|
|
13978
14161
|
"a": bigint;
|
|
13979
14162
|
"b": bigint;
|
|
13980
14163
|
};
|
|
14164
|
+
"shares_issuance"?: Anonymize<I35p85j063s0il>;
|
|
13981
14165
|
"updated_at": number;
|
|
13982
14166
|
};
|
|
13983
|
-
export type
|
|
14167
|
+
export type I9ae1049tiuvhb = [Anonymize<Ibdrcpghmht5k8>, number];
|
|
13984
14168
|
export type I1os9h4ivict7u = [FixedSizeBinary<8>, Anonymize<I9jd27rnpm8ttv>, Anonymize<I9m0752cdvui5o>];
|
|
13985
14169
|
export type Isa48262v9oqu = Array<Anonymize<Ieiqgknk2nvh21>>;
|
|
13986
14170
|
export type In7a38730s6qs = {
|
|
@@ -14056,12 +14240,6 @@ export type ReferendaTypesCurve = Enum<{
|
|
|
14056
14240
|
};
|
|
14057
14241
|
}>;
|
|
14058
14242
|
export declare const ReferendaTypesCurve: GetEnum<ReferendaTypesCurve>;
|
|
14059
|
-
export type Ie5fbn0f5capo3 = {
|
|
14060
|
-
"min_fee": number;
|
|
14061
|
-
"max_fee": number;
|
|
14062
|
-
"decay": bigint;
|
|
14063
|
-
"amplification": bigint;
|
|
14064
|
-
};
|
|
14065
14243
|
export type Ia9ai1mp1viqjd = {
|
|
14066
14244
|
"start": number;
|
|
14067
14245
|
"end": number;
|
|
@@ -14082,7 +14260,7 @@ export type I2v50gu3s1aqk6 = AnonymousEnum<{
|
|
|
14082
14260
|
"AllExtrinsics": undefined;
|
|
14083
14261
|
"OnlyInherents": undefined;
|
|
14084
14262
|
}>;
|
|
14085
|
-
export type
|
|
14263
|
+
export type Iemoogi4pod9je = ResultPayload<Anonymize<Ifmtn378c8s4gn>, TransactionValidityError>;
|
|
14086
14264
|
export type TransactionValidityError = Enum<{
|
|
14087
14265
|
"Invalid": TransactionValidityInvalidTransaction;
|
|
14088
14266
|
"Unknown": TransactionValidityUnknownTransaction;
|
|
@@ -14155,13 +14333,13 @@ export type If08sfhqn8ujfr = {
|
|
|
14155
14333
|
"nonce": Anonymize<I4totqt881mlti>;
|
|
14156
14334
|
};
|
|
14157
14335
|
export type I3dj14b7k3rkm5 = (Anonymize<I1bsfec060j604>) | undefined;
|
|
14158
|
-
export type
|
|
14336
|
+
export type I6jjdlit6ip0v2 = ResultPayload<{
|
|
14159
14337
|
"exit_reason": Anonymize<Iag9iovb9j5ijo>;
|
|
14160
14338
|
"value": Binary;
|
|
14161
14339
|
"used_gas": Anonymize<I8mgv59to1hjie>;
|
|
14162
14340
|
"weight_info"?: Anonymize<Ib72ii9bshc8f5>;
|
|
14163
14341
|
"logs": Anonymize<Ids7ng2qsv7snu>;
|
|
14164
|
-
}, Anonymize<
|
|
14342
|
+
}, Anonymize<Ics48kf47718nc>>;
|
|
14165
14343
|
export type I8mgv59to1hjie = {
|
|
14166
14344
|
"standard": Anonymize<I4totqt881mlti>;
|
|
14167
14345
|
"effective": Anonymize<I4totqt881mlti>;
|
|
@@ -14172,13 +14350,13 @@ export type Ib72ii9bshc8f5 = ({
|
|
|
14172
14350
|
"ref_time_usage"?: Anonymize<I35p85j063s0il>;
|
|
14173
14351
|
"proof_size_usage"?: Anonymize<I35p85j063s0il>;
|
|
14174
14352
|
}) | undefined;
|
|
14175
|
-
export type
|
|
14353
|
+
export type I3jgo13jo62eap = ResultPayload<{
|
|
14176
14354
|
"exit_reason": Anonymize<Iag9iovb9j5ijo>;
|
|
14177
14355
|
"value": FixedSizeBinary<20>;
|
|
14178
14356
|
"used_gas": Anonymize<I8mgv59to1hjie>;
|
|
14179
14357
|
"weight_info"?: Anonymize<Ib72ii9bshc8f5>;
|
|
14180
14358
|
"logs": Anonymize<Ids7ng2qsv7snu>;
|
|
14181
|
-
}, Anonymize<
|
|
14359
|
+
}, Anonymize<Ics48kf47718nc>>;
|
|
14182
14360
|
export type Ifogockjiq4b3 = (Anonymize<Idi27giun0mb9q>) | undefined;
|
|
14183
14361
|
export type I2r0n4gcrs974b = (Anonymize<Idud3fdh64aqp9>) | undefined;
|
|
14184
14362
|
export type Ie6kgk6f04rsvk = (Anonymize<Ie7atdsih6q14b>) | undefined;
|
|
@@ -14196,21 +14374,21 @@ export type Iavct6f844hfju = AnonymousEnum<{
|
|
|
14196
14374
|
export type Ic0c3req3mlc1l = ResultPayload<Anonymize<I4q39t5hn830vp>, Anonymize<Iavct6f844hfju>>;
|
|
14197
14375
|
export type I7ocn4njqde3v5 = ResultPayload<bigint, Anonymize<Iavct6f844hfju>>;
|
|
14198
14376
|
export type I5rlt6h8ph553n = ResultPayload<XcmVersionedAssets, Anonymize<Iavct6f844hfju>>;
|
|
14199
|
-
export type
|
|
14200
|
-
"execution_result": Anonymize<
|
|
14201
|
-
"emitted_events": Anonymize<
|
|
14377
|
+
export type Iu35mn8gagoqa = ResultPayload<{
|
|
14378
|
+
"execution_result": Anonymize<Icqni9nnoiqjig>;
|
|
14379
|
+
"emitted_events": Anonymize<I1mod66df3i4kv>;
|
|
14202
14380
|
"local_xcm"?: (XcmVersionedXcm) | undefined;
|
|
14203
14381
|
"forwarded_xcms": Anonymize<I47tkk5e5nm6g7>;
|
|
14204
14382
|
}, Anonymize<I55ku9c5gk50hb>>;
|
|
14205
|
-
export type
|
|
14383
|
+
export type I1mod66df3i4kv = Array<Anonymize<If4rv2e5dp2mbc>>;
|
|
14206
14384
|
export type I47tkk5e5nm6g7 = Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
14207
14385
|
export type I55ku9c5gk50hb = AnonymousEnum<{
|
|
14208
14386
|
"Unimplemented": undefined;
|
|
14209
14387
|
"VersionedConversionFailed": undefined;
|
|
14210
14388
|
}>;
|
|
14211
|
-
export type
|
|
14389
|
+
export type Ia5ed032pojlpv = ResultPayload<{
|
|
14212
14390
|
"execution_result": XcmV4TraitsOutcome;
|
|
14213
|
-
"emitted_events": Anonymize<
|
|
14391
|
+
"emitted_events": Anonymize<I1mod66df3i4kv>;
|
|
14214
14392
|
"forwarded_xcms": Anonymize<I47tkk5e5nm6g7>;
|
|
14215
14393
|
}, Anonymize<I55ku9c5gk50hb>>;
|
|
14216
14394
|
export type Ieh6nis3hdbtgi = ResultPayload<SS58String, Enum<{
|