@dedot/chaintypes 0.141.0 → 0.143.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/package.json +2 -2
- package/paseo-asset-hub/consts.d.ts +681 -2
- package/paseo-asset-hub/errors.d.ts +1309 -30
- package/paseo-asset-hub/events.d.ts +1966 -59
- package/paseo-asset-hub/index.d.ts +1 -1
- package/paseo-asset-hub/query.d.ts +1782 -36
- package/paseo-asset-hub/runtime.d.ts +1 -1
- package/paseo-asset-hub/tx.d.ts +5715 -151
- package/paseo-asset-hub/types.d.ts +9421 -1521
- package/paseo-hydration/index.d.ts +1 -1
- package/polkadot-people/consts.d.ts +38 -1
- package/polkadot-people/errors.d.ts +18 -12
- package/polkadot-people/events.d.ts +110 -2
- package/polkadot-people/index.d.ts +1 -1
- package/polkadot-people/query.d.ts +36 -6
- package/polkadot-people/runtime.d.ts +1 -1
- package/polkadot-people/tx.d.ts +204 -0
- package/polkadot-people/types.d.ts +315 -24
|
@@ -46,6 +46,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
46
46
|
**/
|
|
47
47
|
MultiBlockMigrationsOngoing: GenericPalletError<Rv>;
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* The specified [`Task`] is not valid.
|
|
51
|
+
**/
|
|
52
|
+
InvalidTask: GenericPalletError<Rv>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The specified [`Task`] failed during execution.
|
|
56
|
+
**/
|
|
57
|
+
FailedTask: GenericPalletError<Rv>;
|
|
58
|
+
|
|
49
59
|
/**
|
|
50
60
|
* No upgrade authorized.
|
|
51
61
|
**/
|
|
@@ -97,14 +107,87 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
97
107
|
NotScheduled: GenericPalletError<Rv>;
|
|
98
108
|
|
|
99
109
|
/**
|
|
100
|
-
*
|
|
110
|
+
* Generic pallet error
|
|
101
111
|
**/
|
|
102
|
-
|
|
112
|
+
[error: string]: GenericPalletError<Rv>;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Pallet `Preimage`'s errors
|
|
116
|
+
**/
|
|
117
|
+
preimage: {
|
|
118
|
+
/**
|
|
119
|
+
* Preimage is too large to store on-chain.
|
|
120
|
+
**/
|
|
121
|
+
TooBig: GenericPalletError<Rv>;
|
|
103
122
|
|
|
104
123
|
/**
|
|
105
|
-
*
|
|
124
|
+
* Preimage has already been noted on-chain.
|
|
106
125
|
**/
|
|
107
|
-
|
|
126
|
+
AlreadyNoted: GenericPalletError<Rv>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The user is not authorized to perform this action.
|
|
130
|
+
**/
|
|
131
|
+
NotAuthorized: GenericPalletError<Rv>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
135
|
+
**/
|
|
136
|
+
NotNoted: GenericPalletError<Rv>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
140
|
+
**/
|
|
141
|
+
Requested: GenericPalletError<Rv>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
145
|
+
**/
|
|
146
|
+
NotRequested: GenericPalletError<Rv>;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
150
|
+
**/
|
|
151
|
+
TooMany: GenericPalletError<Rv>;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
155
|
+
**/
|
|
156
|
+
TooFew: GenericPalletError<Rv>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Generic pallet error
|
|
160
|
+
**/
|
|
161
|
+
[error: string]: GenericPalletError<Rv>;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Pallet `Scheduler`'s errors
|
|
165
|
+
**/
|
|
166
|
+
scheduler: {
|
|
167
|
+
/**
|
|
168
|
+
* Failed to schedule a call
|
|
169
|
+
**/
|
|
170
|
+
FailedToSchedule: GenericPalletError<Rv>;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Cannot find the scheduled call.
|
|
174
|
+
**/
|
|
175
|
+
NotFound: GenericPalletError<Rv>;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Given target block number is in the past.
|
|
179
|
+
**/
|
|
180
|
+
TargetBlockNumberInPast: GenericPalletError<Rv>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Reschedule failed because it does not change scheduled time.
|
|
184
|
+
**/
|
|
185
|
+
RescheduleNoChange: GenericPalletError<Rv>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Attempt to use a non-named function on a named task.
|
|
189
|
+
**/
|
|
190
|
+
Named: GenericPalletError<Rv>;
|
|
108
191
|
|
|
109
192
|
/**
|
|
110
193
|
* Generic pallet error
|
|
@@ -215,6 +298,46 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
215
298
|
**/
|
|
216
299
|
[error: string]: GenericPalletError<Rv>;
|
|
217
300
|
};
|
|
301
|
+
/**
|
|
302
|
+
* Pallet `Claims`'s errors
|
|
303
|
+
**/
|
|
304
|
+
claims: {
|
|
305
|
+
/**
|
|
306
|
+
* Invalid Ethereum signature.
|
|
307
|
+
**/
|
|
308
|
+
InvalidEthereumSignature: GenericPalletError<Rv>;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Ethereum address has no claim.
|
|
312
|
+
**/
|
|
313
|
+
SignerHasNoClaim: GenericPalletError<Rv>;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Account ID sending transaction has no claim.
|
|
317
|
+
**/
|
|
318
|
+
SenderHasNoClaim: GenericPalletError<Rv>;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
322
|
+
* logic error.
|
|
323
|
+
**/
|
|
324
|
+
PotUnderflow: GenericPalletError<Rv>;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* A needed statement was not included.
|
|
328
|
+
**/
|
|
329
|
+
InvalidStatement: GenericPalletError<Rv>;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* The account already has a vested balance.
|
|
333
|
+
**/
|
|
334
|
+
VestedBalanceExists: GenericPalletError<Rv>;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Generic pallet error
|
|
338
|
+
**/
|
|
339
|
+
[error: string]: GenericPalletError<Rv>;
|
|
340
|
+
};
|
|
218
341
|
/**
|
|
219
342
|
* Pallet `CollatorSelection`'s errors
|
|
220
343
|
**/
|
|
@@ -504,6 +627,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
504
627
|
**/
|
|
505
628
|
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
506
629
|
|
|
630
|
+
/**
|
|
631
|
+
* Too many locations authorized to alias origin.
|
|
632
|
+
**/
|
|
633
|
+
TooManyAuthorizedAliases: GenericPalletError<Rv>;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Expiry block number is in the past.
|
|
637
|
+
**/
|
|
638
|
+
ExpiresInPast: GenericPalletError<Rv>;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* The alias to remove authorization for was not found.
|
|
642
|
+
**/
|
|
643
|
+
AliasNotFound: GenericPalletError<Rv>;
|
|
644
|
+
|
|
507
645
|
/**
|
|
508
646
|
* Generic pallet error
|
|
509
647
|
**/
|
|
@@ -623,12 +761,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
623
761
|
SenderInSignatories: GenericPalletError<Rv>;
|
|
624
762
|
|
|
625
763
|
/**
|
|
626
|
-
* Multisig operation not found
|
|
764
|
+
* Multisig operation not found in storage.
|
|
627
765
|
**/
|
|
628
766
|
NotFound: GenericPalletError<Rv>;
|
|
629
767
|
|
|
630
768
|
/**
|
|
631
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
769
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
770
|
+
* its deposits.
|
|
632
771
|
**/
|
|
633
772
|
NotOwner: GenericPalletError<Rv>;
|
|
634
773
|
|
|
@@ -711,6 +850,40 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
711
850
|
**/
|
|
712
851
|
[error: string]: GenericPalletError<Rv>;
|
|
713
852
|
};
|
|
853
|
+
/**
|
|
854
|
+
* Pallet `Indices`'s errors
|
|
855
|
+
**/
|
|
856
|
+
indices: {
|
|
857
|
+
/**
|
|
858
|
+
* The index was not already assigned.
|
|
859
|
+
**/
|
|
860
|
+
NotAssigned: GenericPalletError<Rv>;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* The index is assigned to another account.
|
|
864
|
+
**/
|
|
865
|
+
NotOwner: GenericPalletError<Rv>;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* The index was not available.
|
|
869
|
+
**/
|
|
870
|
+
InUse: GenericPalletError<Rv>;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* The source and destination accounts are identical.
|
|
874
|
+
**/
|
|
875
|
+
NotTransfer: GenericPalletError<Rv>;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* The index is permanent and may not be freed/changed.
|
|
879
|
+
**/
|
|
880
|
+
Permanent: GenericPalletError<Rv>;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Generic pallet error
|
|
884
|
+
**/
|
|
885
|
+
[error: string]: GenericPalletError<Rv>;
|
|
886
|
+
};
|
|
714
887
|
/**
|
|
715
888
|
* Pallet `Assets`'s errors
|
|
716
889
|
**/
|
|
@@ -823,6 +996,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
823
996
|
**/
|
|
824
997
|
BadAssetId: GenericPalletError<Rv>;
|
|
825
998
|
|
|
999
|
+
/**
|
|
1000
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1001
|
+
**/
|
|
1002
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1006
|
+
**/
|
|
1007
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1008
|
+
|
|
826
1009
|
/**
|
|
827
1010
|
* Generic pallet error
|
|
828
1011
|
**/
|
|
@@ -1273,6 +1456,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1273
1456
|
**/
|
|
1274
1457
|
BadAssetId: GenericPalletError<Rv>;
|
|
1275
1458
|
|
|
1459
|
+
/**
|
|
1460
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1461
|
+
**/
|
|
1462
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1466
|
+
**/
|
|
1467
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1468
|
+
|
|
1276
1469
|
/**
|
|
1277
1470
|
* Generic pallet error
|
|
1278
1471
|
**/
|
|
@@ -1390,6 +1583,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1390
1583
|
**/
|
|
1391
1584
|
BadAssetId: GenericPalletError<Rv>;
|
|
1392
1585
|
|
|
1586
|
+
/**
|
|
1587
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1588
|
+
**/
|
|
1589
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1593
|
+
**/
|
|
1594
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1595
|
+
|
|
1393
1596
|
/**
|
|
1394
1597
|
* Generic pallet error
|
|
1395
1598
|
**/
|
|
@@ -1523,44 +1726,64 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1523
1726
|
[error: string]: GenericPalletError<Rv>;
|
|
1524
1727
|
};
|
|
1525
1728
|
/**
|
|
1526
|
-
* Pallet `
|
|
1729
|
+
* Pallet `Treasury`'s errors
|
|
1527
1730
|
**/
|
|
1528
|
-
|
|
1731
|
+
treasury: {
|
|
1529
1732
|
/**
|
|
1530
|
-
*
|
|
1733
|
+
* No proposal, bounty or spend at that index.
|
|
1531
1734
|
**/
|
|
1532
|
-
|
|
1735
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
1533
1736
|
|
|
1534
1737
|
/**
|
|
1535
|
-
*
|
|
1536
|
-
*
|
|
1537
|
-
* This means that the migration halted at the current [`Progress`] and
|
|
1538
|
-
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
1539
|
-
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
1540
|
-
* The value should only be increased to avoid a storage migration for the currently
|
|
1541
|
-
* stored [`crate::Progress::LastKey`].
|
|
1738
|
+
* Too many approvals in the queue.
|
|
1542
1739
|
**/
|
|
1543
|
-
|
|
1740
|
+
TooManyApprovals: GenericPalletError<Rv>;
|
|
1544
1741
|
|
|
1545
1742
|
/**
|
|
1546
|
-
*
|
|
1743
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
1744
|
+
* amount to be spent.
|
|
1547
1745
|
**/
|
|
1548
|
-
|
|
1746
|
+
InsufficientPermission: GenericPalletError<Rv>;
|
|
1549
1747
|
|
|
1550
1748
|
/**
|
|
1551
|
-
*
|
|
1749
|
+
* Proposal has not been approved.
|
|
1552
1750
|
**/
|
|
1553
|
-
|
|
1751
|
+
ProposalNotApproved: GenericPalletError<Rv>;
|
|
1554
1752
|
|
|
1555
1753
|
/**
|
|
1556
|
-
*
|
|
1754
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
1557
1755
|
**/
|
|
1558
|
-
|
|
1756
|
+
FailedToConvertBalance: GenericPalletError<Rv>;
|
|
1559
1757
|
|
|
1560
1758
|
/**
|
|
1561
|
-
*
|
|
1759
|
+
* The spend has expired and cannot be claimed.
|
|
1562
1760
|
**/
|
|
1563
|
-
|
|
1761
|
+
SpendExpired: GenericPalletError<Rv>;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* The spend is not yet eligible for payout.
|
|
1765
|
+
**/
|
|
1766
|
+
EarlyPayout: GenericPalletError<Rv>;
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* The payment has already been attempted.
|
|
1770
|
+
**/
|
|
1771
|
+
AlreadyAttempted: GenericPalletError<Rv>;
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* There was some issue with the mechanism of payment.
|
|
1775
|
+
**/
|
|
1776
|
+
PayoutError: GenericPalletError<Rv>;
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* The payout was not yet attempted/claimed.
|
|
1780
|
+
**/
|
|
1781
|
+
NotAttempted: GenericPalletError<Rv>;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* The payment has neither failed nor succeeded yet.
|
|
1785
|
+
**/
|
|
1786
|
+
Inconclusive: GenericPalletError<Rv>;
|
|
1564
1787
|
|
|
1565
1788
|
/**
|
|
1566
1789
|
* Generic pallet error
|
|
@@ -1568,13 +1791,1069 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1568
1791
|
[error: string]: GenericPalletError<Rv>;
|
|
1569
1792
|
};
|
|
1570
1793
|
/**
|
|
1571
|
-
* Pallet `
|
|
1794
|
+
* Pallet `ConvictionVoting`'s errors
|
|
1572
1795
|
**/
|
|
1573
|
-
|
|
1796
|
+
convictionVoting: {
|
|
1574
1797
|
/**
|
|
1575
|
-
*
|
|
1798
|
+
* Poll is not ongoing.
|
|
1576
1799
|
**/
|
|
1577
|
-
|
|
1800
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* The given account did not vote on the poll.
|
|
1804
|
+
**/
|
|
1805
|
+
NotVoter: GenericPalletError<Rv>;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* The actor has no permission to conduct the action.
|
|
1809
|
+
**/
|
|
1810
|
+
NoPermission: GenericPalletError<Rv>;
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* The actor has no permission to conduct the action right now but will do in the future.
|
|
1814
|
+
**/
|
|
1815
|
+
NoPermissionYet: GenericPalletError<Rv>;
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* The account is already delegating.
|
|
1819
|
+
**/
|
|
1820
|
+
AlreadyDelegating: GenericPalletError<Rv>;
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
1824
|
+
* these are removed through `remove_vote`.
|
|
1825
|
+
**/
|
|
1826
|
+
AlreadyVoting: GenericPalletError<Rv>;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Too high a balance was provided that the account cannot afford.
|
|
1830
|
+
**/
|
|
1831
|
+
InsufficientFunds: GenericPalletError<Rv>;
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* The account is not currently delegating.
|
|
1835
|
+
**/
|
|
1836
|
+
NotDelegating: GenericPalletError<Rv>;
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Delegation to oneself makes no sense.
|
|
1840
|
+
**/
|
|
1841
|
+
Nonsense: GenericPalletError<Rv>;
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* Maximum number of votes reached.
|
|
1845
|
+
**/
|
|
1846
|
+
MaxVotesReached: GenericPalletError<Rv>;
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* The class must be supplied since it is not easily determinable from the state.
|
|
1850
|
+
**/
|
|
1851
|
+
ClassNeeded: GenericPalletError<Rv>;
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* The class ID supplied is invalid.
|
|
1855
|
+
**/
|
|
1856
|
+
BadClass: GenericPalletError<Rv>;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* Generic pallet error
|
|
1860
|
+
**/
|
|
1861
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1862
|
+
};
|
|
1863
|
+
/**
|
|
1864
|
+
* Pallet `Referenda`'s errors
|
|
1865
|
+
**/
|
|
1866
|
+
referenda: {
|
|
1867
|
+
/**
|
|
1868
|
+
* Referendum is not ongoing.
|
|
1869
|
+
**/
|
|
1870
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Referendum's decision deposit is already paid.
|
|
1874
|
+
**/
|
|
1875
|
+
HasDeposit: GenericPalletError<Rv>;
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* The track identifier given was invalid.
|
|
1879
|
+
**/
|
|
1880
|
+
BadTrack: GenericPalletError<Rv>;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* There are already a full complement of referenda in progress for this track.
|
|
1884
|
+
**/
|
|
1885
|
+
Full: GenericPalletError<Rv>;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* The queue of the track is empty.
|
|
1889
|
+
**/
|
|
1890
|
+
QueueEmpty: GenericPalletError<Rv>;
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* The referendum index provided is invalid in this context.
|
|
1894
|
+
**/
|
|
1895
|
+
BadReferendum: GenericPalletError<Rv>;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* There was nothing to do in the advancement.
|
|
1899
|
+
**/
|
|
1900
|
+
NothingToDo: GenericPalletError<Rv>;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* No track exists for the proposal origin.
|
|
1904
|
+
**/
|
|
1905
|
+
NoTrack: GenericPalletError<Rv>;
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
1909
|
+
**/
|
|
1910
|
+
Unfinished: GenericPalletError<Rv>;
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* The deposit refunder is not the depositor.
|
|
1914
|
+
**/
|
|
1915
|
+
NoPermission: GenericPalletError<Rv>;
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* The deposit cannot be refunded since none was made.
|
|
1919
|
+
**/
|
|
1920
|
+
NoDeposit: GenericPalletError<Rv>;
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* The referendum status is invalid for this operation.
|
|
1924
|
+
**/
|
|
1925
|
+
BadStatus: GenericPalletError<Rv>;
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* The preimage does not exist.
|
|
1929
|
+
**/
|
|
1930
|
+
PreimageNotExist: GenericPalletError<Rv>;
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* The preimage is stored with a different length than the one provided.
|
|
1934
|
+
**/
|
|
1935
|
+
PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* Generic pallet error
|
|
1939
|
+
**/
|
|
1940
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1941
|
+
};
|
|
1942
|
+
/**
|
|
1943
|
+
* Pallet `Whitelist`'s errors
|
|
1944
|
+
**/
|
|
1945
|
+
whitelist: {
|
|
1946
|
+
/**
|
|
1947
|
+
* The preimage of the call hash could not be loaded.
|
|
1948
|
+
**/
|
|
1949
|
+
UnavailablePreImage: GenericPalletError<Rv>;
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* The call could not be decoded.
|
|
1953
|
+
**/
|
|
1954
|
+
UndecodableCall: GenericPalletError<Rv>;
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* The weight of the decoded call was higher than the witness.
|
|
1958
|
+
**/
|
|
1959
|
+
InvalidCallWeightWitness: GenericPalletError<Rv>;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* The call was not whitelisted.
|
|
1963
|
+
**/
|
|
1964
|
+
CallIsNotWhitelisted: GenericPalletError<Rv>;
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* The call was already whitelisted; No-Op.
|
|
1968
|
+
**/
|
|
1969
|
+
CallAlreadyWhitelisted: GenericPalletError<Rv>;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Generic pallet error
|
|
1973
|
+
**/
|
|
1974
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1975
|
+
};
|
|
1976
|
+
/**
|
|
1977
|
+
* Pallet `Bounties`'s errors
|
|
1978
|
+
**/
|
|
1979
|
+
bounties: {
|
|
1980
|
+
/**
|
|
1981
|
+
* Proposer's balance is too low.
|
|
1982
|
+
**/
|
|
1983
|
+
InsufficientProposersBalance: GenericPalletError<Rv>;
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* No proposal or bounty at that index.
|
|
1987
|
+
**/
|
|
1988
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* The reason given is just too big.
|
|
1992
|
+
**/
|
|
1993
|
+
ReasonTooBig: GenericPalletError<Rv>;
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* The bounty status is unexpected.
|
|
1997
|
+
**/
|
|
1998
|
+
UnexpectedStatus: GenericPalletError<Rv>;
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
* Require bounty curator.
|
|
2002
|
+
**/
|
|
2003
|
+
RequireCurator: GenericPalletError<Rv>;
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Invalid bounty value.
|
|
2007
|
+
**/
|
|
2008
|
+
InvalidValue: GenericPalletError<Rv>;
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Invalid bounty fee.
|
|
2012
|
+
**/
|
|
2013
|
+
InvalidFee: GenericPalletError<Rv>;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* A bounty payout is pending.
|
|
2017
|
+
* To cancel the bounty, you must unassign and slash the curator.
|
|
2018
|
+
**/
|
|
2019
|
+
PendingPayout: GenericPalletError<Rv>;
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
2023
|
+
**/
|
|
2024
|
+
Premature: GenericPalletError<Rv>;
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* The bounty cannot be closed because it has active child bounties.
|
|
2028
|
+
**/
|
|
2029
|
+
HasActiveChildBounty: GenericPalletError<Rv>;
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* Too many approvals are already queued.
|
|
2033
|
+
**/
|
|
2034
|
+
TooManyQueued: GenericPalletError<Rv>;
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* Generic pallet error
|
|
2038
|
+
**/
|
|
2039
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2040
|
+
};
|
|
2041
|
+
/**
|
|
2042
|
+
* Pallet `ChildBounties`'s errors
|
|
2043
|
+
**/
|
|
2044
|
+
childBounties: {
|
|
2045
|
+
/**
|
|
2046
|
+
* The parent bounty is not in active state.
|
|
2047
|
+
**/
|
|
2048
|
+
ParentBountyNotActive: GenericPalletError<Rv>;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* The bounty balance is not enough to add new child-bounty.
|
|
2052
|
+
**/
|
|
2053
|
+
InsufficientBountyBalance: GenericPalletError<Rv>;
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
2057
|
+
**/
|
|
2058
|
+
TooManyChildBounties: GenericPalletError<Rv>;
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Generic pallet error
|
|
2062
|
+
**/
|
|
2063
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2064
|
+
};
|
|
2065
|
+
/**
|
|
2066
|
+
* Pallet `AssetRate`'s errors
|
|
2067
|
+
**/
|
|
2068
|
+
assetRate: {
|
|
2069
|
+
/**
|
|
2070
|
+
* The given asset ID is unknown.
|
|
2071
|
+
**/
|
|
2072
|
+
UnknownAssetKind: GenericPalletError<Rv>;
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
2076
|
+
**/
|
|
2077
|
+
AlreadyExists: GenericPalletError<Rv>;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Overflow ocurred when calculating the inverse rate.
|
|
2081
|
+
**/
|
|
2082
|
+
Overflow: GenericPalletError<Rv>;
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* Generic pallet error
|
|
2086
|
+
**/
|
|
2087
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2088
|
+
};
|
|
2089
|
+
/**
|
|
2090
|
+
* Pallet `StateTrieMigration`'s errors
|
|
2091
|
+
**/
|
|
2092
|
+
stateTrieMigration: {
|
|
2093
|
+
/**
|
|
2094
|
+
* Max signed limits not respected.
|
|
2095
|
+
**/
|
|
2096
|
+
MaxSignedLimits: GenericPalletError<Rv>;
|
|
2097
|
+
|
|
2098
|
+
/**
|
|
2099
|
+
* A key was longer than the configured maximum.
|
|
2100
|
+
*
|
|
2101
|
+
* This means that the migration halted at the current [`Progress`] and
|
|
2102
|
+
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
2103
|
+
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
2104
|
+
* The value should only be increased to avoid a storage migration for the currently
|
|
2105
|
+
* stored [`crate::Progress::LastKey`].
|
|
2106
|
+
**/
|
|
2107
|
+
KeyTooLong: GenericPalletError<Rv>;
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* submitter does not have enough funds.
|
|
2111
|
+
**/
|
|
2112
|
+
NotEnoughFunds: GenericPalletError<Rv>;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Bad witness data provided.
|
|
2116
|
+
**/
|
|
2117
|
+
BadWitness: GenericPalletError<Rv>;
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
2121
|
+
**/
|
|
2122
|
+
SignedMigrationNotAllowed: GenericPalletError<Rv>;
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* Bad child root provided.
|
|
2126
|
+
**/
|
|
2127
|
+
BadChildRoot: GenericPalletError<Rv>;
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Generic pallet error
|
|
2131
|
+
**/
|
|
2132
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2133
|
+
};
|
|
2134
|
+
/**
|
|
2135
|
+
* Pallet `Staking`'s errors
|
|
2136
|
+
**/
|
|
2137
|
+
staking: {
|
|
2138
|
+
/**
|
|
2139
|
+
* Not a controller account.
|
|
2140
|
+
**/
|
|
2141
|
+
NotController: GenericPalletError<Rv>;
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* Not a stash account.
|
|
2145
|
+
**/
|
|
2146
|
+
NotStash: GenericPalletError<Rv>;
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* Stash is already bonded.
|
|
2150
|
+
**/
|
|
2151
|
+
AlreadyBonded: GenericPalletError<Rv>;
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Controller is already paired.
|
|
2155
|
+
**/
|
|
2156
|
+
AlreadyPaired: GenericPalletError<Rv>;
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* Targets cannot be empty.
|
|
2160
|
+
**/
|
|
2161
|
+
EmptyTargets: GenericPalletError<Rv>;
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* Duplicate index.
|
|
2165
|
+
**/
|
|
2166
|
+
DuplicateIndex: GenericPalletError<Rv>;
|
|
2167
|
+
|
|
2168
|
+
/**
|
|
2169
|
+
* Slash record not found.
|
|
2170
|
+
**/
|
|
2171
|
+
InvalidSlashRecord: GenericPalletError<Rv>;
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* Cannot bond, nominate or validate with value less than the minimum defined by
|
|
2175
|
+
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
2176
|
+
* intention, `chill` first to remove one's role as validator/nominator.
|
|
2177
|
+
**/
|
|
2178
|
+
InsufficientBond: GenericPalletError<Rv>;
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* Can not schedule more unlock chunks.
|
|
2182
|
+
**/
|
|
2183
|
+
NoMoreChunks: GenericPalletError<Rv>;
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* Can not rebond without unlocking chunks.
|
|
2187
|
+
**/
|
|
2188
|
+
NoUnlockChunk: GenericPalletError<Rv>;
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* Attempting to target a stash that still has funds.
|
|
2192
|
+
**/
|
|
2193
|
+
FundedTarget: GenericPalletError<Rv>;
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* Invalid era to reward.
|
|
2197
|
+
**/
|
|
2198
|
+
InvalidEraToReward: GenericPalletError<Rv>;
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Invalid number of nominations.
|
|
2202
|
+
**/
|
|
2203
|
+
InvalidNumberOfNominations: GenericPalletError<Rv>;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Rewards for this era have already been claimed for this validator.
|
|
2207
|
+
**/
|
|
2208
|
+
AlreadyClaimed: GenericPalletError<Rv>;
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* No nominators exist on this page.
|
|
2212
|
+
**/
|
|
2213
|
+
InvalidPage: GenericPalletError<Rv>;
|
|
2214
|
+
|
|
2215
|
+
/**
|
|
2216
|
+
* Incorrect previous history depth input provided.
|
|
2217
|
+
**/
|
|
2218
|
+
IncorrectHistoryDepth: GenericPalletError<Rv>;
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
2222
|
+
**/
|
|
2223
|
+
BadState: GenericPalletError<Rv>;
|
|
2224
|
+
|
|
2225
|
+
/**
|
|
2226
|
+
* Too many nomination targets supplied.
|
|
2227
|
+
**/
|
|
2228
|
+
TooManyTargets: GenericPalletError<Rv>;
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
2232
|
+
**/
|
|
2233
|
+
BadTarget: GenericPalletError<Rv>;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
2237
|
+
**/
|
|
2238
|
+
CannotChillOther: GenericPalletError<Rv>;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
2242
|
+
* settings to keep things safe for the runtime.
|
|
2243
|
+
**/
|
|
2244
|
+
TooManyNominators: GenericPalletError<Rv>;
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
2248
|
+
* staking settings to keep things safe for the runtime.
|
|
2249
|
+
**/
|
|
2250
|
+
TooManyValidators: GenericPalletError<Rv>;
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Commission is too low. Must be at least `MinCommission`.
|
|
2254
|
+
**/
|
|
2255
|
+
CommissionTooLow: GenericPalletError<Rv>;
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* Some bound is not met.
|
|
2259
|
+
**/
|
|
2260
|
+
BoundNotMet: GenericPalletError<Rv>;
|
|
2261
|
+
|
|
2262
|
+
/**
|
|
2263
|
+
* Used when attempting to use deprecated controller account logic.
|
|
2264
|
+
**/
|
|
2265
|
+
ControllerDeprecated: GenericPalletError<Rv>;
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* Cannot reset a ledger.
|
|
2269
|
+
**/
|
|
2270
|
+
CannotRestoreLedger: GenericPalletError<Rv>;
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* Provided reward destination is not allowed.
|
|
2274
|
+
**/
|
|
2275
|
+
RewardDestinationRestricted: GenericPalletError<Rv>;
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* Not enough funds available to withdraw.
|
|
2279
|
+
**/
|
|
2280
|
+
NotEnoughFunds: GenericPalletError<Rv>;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* Operation not allowed for virtual stakers.
|
|
2284
|
+
**/
|
|
2285
|
+
VirtualStakerNotAllowed: GenericPalletError<Rv>;
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* Stash could not be reaped as other pallet might depend on it.
|
|
2289
|
+
**/
|
|
2290
|
+
CannotReapStash: GenericPalletError<Rv>;
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* The stake of this account is already migrated to `Fungible` holds.
|
|
2294
|
+
**/
|
|
2295
|
+
AlreadyMigrated: GenericPalletError<Rv>;
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* Era not yet started.
|
|
2299
|
+
**/
|
|
2300
|
+
EraNotStarted: GenericPalletError<Rv>;
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* Account is restricted from participation in staking. This may happen if the account is
|
|
2304
|
+
* staking in another way already, such as via pool.
|
|
2305
|
+
**/
|
|
2306
|
+
Restricted: GenericPalletError<Rv>;
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* Generic pallet error
|
|
2310
|
+
**/
|
|
2311
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2312
|
+
};
|
|
2313
|
+
/**
|
|
2314
|
+
* Pallet `NominationPools`'s errors
|
|
2315
|
+
**/
|
|
2316
|
+
nominationPools: {
|
|
2317
|
+
/**
|
|
2318
|
+
* A (bonded) pool id does not exist.
|
|
2319
|
+
**/
|
|
2320
|
+
PoolNotFound: GenericPalletError<Rv>;
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* An account is not a member.
|
|
2324
|
+
**/
|
|
2325
|
+
PoolMemberNotFound: GenericPalletError<Rv>;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* A reward pool does not exist. In all cases this is a system logic error.
|
|
2329
|
+
**/
|
|
2330
|
+
RewardPoolNotFound: GenericPalletError<Rv>;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* A sub pool does not exist.
|
|
2334
|
+
**/
|
|
2335
|
+
SubPoolsNotFound: GenericPalletError<Rv>;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* An account is already delegating in another pool. An account may only belong to one
|
|
2339
|
+
* pool at a time.
|
|
2340
|
+
**/
|
|
2341
|
+
AccountBelongsToOtherPool: GenericPalletError<Rv>;
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
2345
|
+
* anymore to, for example, collect rewards).
|
|
2346
|
+
**/
|
|
2347
|
+
FullyUnbonding: GenericPalletError<Rv>;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* The member cannot unbond further chunks due to reaching the limit.
|
|
2351
|
+
**/
|
|
2352
|
+
MaxUnbondingLimit: GenericPalletError<Rv>;
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
2356
|
+
**/
|
|
2357
|
+
CannotWithdrawAny: GenericPalletError<Rv>;
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* The amount does not meet the minimum bond to either join or create a pool.
|
|
2361
|
+
*
|
|
2362
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
2363
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
2364
|
+
* value below `MinJoinBond`.
|
|
2365
|
+
**/
|
|
2366
|
+
MinimumBondNotMet: GenericPalletError<Rv>;
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* The transaction could not be executed due to overflow risk for the pool.
|
|
2370
|
+
**/
|
|
2371
|
+
OverflowRisk: GenericPalletError<Rv>;
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
2375
|
+
* other members to be permissionlessly unbonded.
|
|
2376
|
+
**/
|
|
2377
|
+
NotDestroying: GenericPalletError<Rv>;
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* The caller does not have nominating permissions for the pool.
|
|
2381
|
+
**/
|
|
2382
|
+
NotNominator: GenericPalletError<Rv>;
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
2386
|
+
**/
|
|
2387
|
+
NotKickerOrDestroying: GenericPalletError<Rv>;
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* The pool is not open to join
|
|
2391
|
+
**/
|
|
2392
|
+
NotOpen: GenericPalletError<Rv>;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* The system is maxed out on pools.
|
|
2396
|
+
**/
|
|
2397
|
+
MaxPools: GenericPalletError<Rv>;
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Too many members in the pool or system.
|
|
2401
|
+
**/
|
|
2402
|
+
MaxPoolMembers: GenericPalletError<Rv>;
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* The pools state cannot be changed.
|
|
2406
|
+
**/
|
|
2407
|
+
CanNotChangeState: GenericPalletError<Rv>;
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
2410
|
+
* The caller does not have adequate permissions.
|
|
2411
|
+
**/
|
|
2412
|
+
DoesNotHavePermission: GenericPalletError<Rv>;
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
2416
|
+
**/
|
|
2417
|
+
MetadataExceedsMaxLen: GenericPalletError<Rv>;
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* Some error occurred that should never happen. This should be reported to the
|
|
2421
|
+
* maintainers.
|
|
2422
|
+
**/
|
|
2423
|
+
Defensive: GenericPalletError<Rv>;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* Partial unbonding now allowed permissionlessly.
|
|
2427
|
+
**/
|
|
2428
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError<Rv>;
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
2432
|
+
**/
|
|
2433
|
+
MaxCommissionRestricted: GenericPalletError<Rv>;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* The supplied commission exceeds the max allowed commission.
|
|
2437
|
+
**/
|
|
2438
|
+
CommissionExceedsMaximum: GenericPalletError<Rv>;
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* The supplied commission exceeds global maximum commission.
|
|
2442
|
+
**/
|
|
2443
|
+
CommissionExceedsGlobalMaximum: GenericPalletError<Rv>;
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
2447
|
+
**/
|
|
2448
|
+
CommissionChangeThrottled: GenericPalletError<Rv>;
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* The submitted changes to commission change rate are not allowed.
|
|
2452
|
+
**/
|
|
2453
|
+
CommissionChangeRateNotAllowed: GenericPalletError<Rv>;
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* There is no pending commission to claim.
|
|
2457
|
+
**/
|
|
2458
|
+
NoPendingCommission: GenericPalletError<Rv>;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* No commission current has been set.
|
|
2462
|
+
**/
|
|
2463
|
+
NoCommissionCurrentSet: GenericPalletError<Rv>;
|
|
2464
|
+
|
|
2465
|
+
/**
|
|
2466
|
+
* Pool id currently in use.
|
|
2467
|
+
**/
|
|
2468
|
+
PoolIdInUse: GenericPalletError<Rv>;
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Pool id provided is not correct/usable.
|
|
2472
|
+
**/
|
|
2473
|
+
InvalidPoolId: GenericPalletError<Rv>;
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
2477
|
+
**/
|
|
2478
|
+
BondExtraRestricted: GenericPalletError<Rv>;
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* No imbalance in the ED deposit for the pool.
|
|
2482
|
+
**/
|
|
2483
|
+
NothingToAdjust: GenericPalletError<Rv>;
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* No slash pending that can be applied to the member.
|
|
2487
|
+
**/
|
|
2488
|
+
NothingToSlash: GenericPalletError<Rv>;
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
* The slash amount is too low to be applied.
|
|
2492
|
+
**/
|
|
2493
|
+
SlashTooLow: GenericPalletError<Rv>;
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* The pool or member delegation has already migrated to delegate stake.
|
|
2497
|
+
**/
|
|
2498
|
+
AlreadyMigrated: GenericPalletError<Rv>;
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* The pool or member delegation has not migrated yet to delegate stake.
|
|
2502
|
+
**/
|
|
2503
|
+
NotMigrated: GenericPalletError<Rv>;
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* This call is not allowed in the current state of the pallet.
|
|
2507
|
+
**/
|
|
2508
|
+
NotSupported: GenericPalletError<Rv>;
|
|
2509
|
+
|
|
2510
|
+
/**
|
|
2511
|
+
* Account is restricted from participation in pools. This may happen if the account is
|
|
2512
|
+
* staking in another way already.
|
|
2513
|
+
**/
|
|
2514
|
+
Restricted: GenericPalletError<Rv>;
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* Generic pallet error
|
|
2518
|
+
**/
|
|
2519
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2520
|
+
};
|
|
2521
|
+
/**
|
|
2522
|
+
* Pallet `VoterList`'s errors
|
|
2523
|
+
**/
|
|
2524
|
+
voterList: {
|
|
2525
|
+
/**
|
|
2526
|
+
* A error in the list interface implementation.
|
|
2527
|
+
**/
|
|
2528
|
+
List: GenericPalletError<Rv>;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Could not update a node, because the pallet is locked.
|
|
2532
|
+
**/
|
|
2533
|
+
Locked: GenericPalletError<Rv>;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* Generic pallet error
|
|
2537
|
+
**/
|
|
2538
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2539
|
+
};
|
|
2540
|
+
/**
|
|
2541
|
+
* Pallet `DelegatedStaking`'s errors
|
|
2542
|
+
**/
|
|
2543
|
+
delegatedStaking: {
|
|
2544
|
+
/**
|
|
2545
|
+
* The account cannot perform this operation.
|
|
2546
|
+
**/
|
|
2547
|
+
NotAllowed: GenericPalletError<Rv>;
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* An existing staker cannot perform this action.
|
|
2551
|
+
**/
|
|
2552
|
+
AlreadyStaking: GenericPalletError<Rv>;
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* Reward Destination cannot be same as `Agent` account.
|
|
2556
|
+
**/
|
|
2557
|
+
InvalidRewardDestination: GenericPalletError<Rv>;
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* Delegation conditions are not met.
|
|
2561
|
+
*
|
|
2562
|
+
* Possible issues are
|
|
2563
|
+
* 1) Cannot delegate to self,
|
|
2564
|
+
* 2) Cannot delegate to multiple delegates.
|
|
2565
|
+
**/
|
|
2566
|
+
InvalidDelegation: GenericPalletError<Rv>;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* The account does not have enough funds to perform the operation.
|
|
2570
|
+
**/
|
|
2571
|
+
NotEnoughFunds: GenericPalletError<Rv>;
|
|
2572
|
+
|
|
2573
|
+
/**
|
|
2574
|
+
* Not an existing `Agent` account.
|
|
2575
|
+
**/
|
|
2576
|
+
NotAgent: GenericPalletError<Rv>;
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Not a Delegator account.
|
|
2580
|
+
**/
|
|
2581
|
+
NotDelegator: GenericPalletError<Rv>;
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* Some corruption in internal state.
|
|
2585
|
+
**/
|
|
2586
|
+
BadState: GenericPalletError<Rv>;
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Unapplied pending slash restricts operation on `Agent`.
|
|
2590
|
+
**/
|
|
2591
|
+
UnappliedSlash: GenericPalletError<Rv>;
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* `Agent` has no pending slash to be applied.
|
|
2595
|
+
**/
|
|
2596
|
+
NothingToSlash: GenericPalletError<Rv>;
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Failed to withdraw amount from Core Staking.
|
|
2600
|
+
**/
|
|
2601
|
+
WithdrawFailed: GenericPalletError<Rv>;
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* Operation not supported by this pallet.
|
|
2605
|
+
**/
|
|
2606
|
+
NotSupported: GenericPalletError<Rv>;
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* Generic pallet error
|
|
2610
|
+
**/
|
|
2611
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2612
|
+
};
|
|
2613
|
+
/**
|
|
2614
|
+
* Pallet `MultiBlockElection`'s errors
|
|
2615
|
+
**/
|
|
2616
|
+
multiBlockElection: {
|
|
2617
|
+
/**
|
|
2618
|
+
* Triggering the `Fallback` failed.
|
|
2619
|
+
**/
|
|
2620
|
+
Fallback: GenericPalletError<Rv>;
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* Unexpected phase
|
|
2624
|
+
**/
|
|
2625
|
+
UnexpectedPhase: GenericPalletError<Rv>;
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* Snapshot was unavailable.
|
|
2629
|
+
**/
|
|
2630
|
+
Snapshot: GenericPalletError<Rv>;
|
|
2631
|
+
|
|
2632
|
+
/**
|
|
2633
|
+
* Generic pallet error
|
|
2634
|
+
**/
|
|
2635
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2636
|
+
};
|
|
2637
|
+
/**
|
|
2638
|
+
* Pallet `MultiBlockElectionSigned`'s errors
|
|
2639
|
+
**/
|
|
2640
|
+
multiBlockElectionSigned: {
|
|
2641
|
+
/**
|
|
2642
|
+
* The phase is not signed.
|
|
2643
|
+
**/
|
|
2644
|
+
PhaseNotSigned: GenericPalletError<Rv>;
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* The submission is a duplicate.
|
|
2648
|
+
**/
|
|
2649
|
+
Duplicate: GenericPalletError<Rv>;
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* The queue is full.
|
|
2653
|
+
**/
|
|
2654
|
+
QueueFull: GenericPalletError<Rv>;
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* The page index is out of bounds.
|
|
2658
|
+
**/
|
|
2659
|
+
BadPageIndex: GenericPalletError<Rv>;
|
|
2660
|
+
|
|
2661
|
+
/**
|
|
2662
|
+
* The account is not registered.
|
|
2663
|
+
**/
|
|
2664
|
+
NotRegistered: GenericPalletError<Rv>;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* No submission found.
|
|
2668
|
+
**/
|
|
2669
|
+
NoSubmission: GenericPalletError<Rv>;
|
|
2670
|
+
|
|
2671
|
+
/**
|
|
2672
|
+
* Round is not yet over.
|
|
2673
|
+
**/
|
|
2674
|
+
RoundNotOver: GenericPalletError<Rv>;
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* Bad witness data provided.
|
|
2678
|
+
**/
|
|
2679
|
+
BadWitnessData: GenericPalletError<Rv>;
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* Too many invulnerable accounts are provided,
|
|
2683
|
+
**/
|
|
2684
|
+
TooManyInvulnerables: GenericPalletError<Rv>;
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Generic pallet error
|
|
2688
|
+
**/
|
|
2689
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2690
|
+
};
|
|
2691
|
+
/**
|
|
2692
|
+
* Pallet `Sudo`'s errors
|
|
2693
|
+
**/
|
|
2694
|
+
sudo: {
|
|
2695
|
+
/**
|
|
2696
|
+
* Sender must be the Sudo account.
|
|
2697
|
+
**/
|
|
2698
|
+
RequireSudo: GenericPalletError<Rv>;
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* Generic pallet error
|
|
2702
|
+
**/
|
|
2703
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2704
|
+
};
|
|
2705
|
+
/**
|
|
2706
|
+
* Pallet `AhOps`'s errors
|
|
2707
|
+
**/
|
|
2708
|
+
ahOps: {
|
|
2709
|
+
/**
|
|
2710
|
+
* Either no lease deposit or already unreserved.
|
|
2711
|
+
**/
|
|
2712
|
+
NoLeaseReserve: GenericPalletError<Rv>;
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* Either no crowdloan contribution or already withdrawn.
|
|
2716
|
+
**/
|
|
2717
|
+
NoCrowdloanContribution: GenericPalletError<Rv>;
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* Either no crowdloan reserve or already unreserved.
|
|
2721
|
+
**/
|
|
2722
|
+
NoCrowdloanReserve: GenericPalletError<Rv>;
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* Failed to withdraw crowdloan contribution.
|
|
2726
|
+
**/
|
|
2727
|
+
FailedToWithdrawCrowdloanContribution: GenericPalletError<Rv>;
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Block number is not yet reached.
|
|
2731
|
+
**/
|
|
2732
|
+
NotYet: GenericPalletError<Rv>;
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Not all contributions are withdrawn.
|
|
2736
|
+
**/
|
|
2737
|
+
ContributionsRemaining: GenericPalletError<Rv>;
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* The account is not a derived account.
|
|
2741
|
+
**/
|
|
2742
|
+
WrongDerivedTranslation: GenericPalletError<Rv>;
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* Account cannot be migrated since it is not a sovereign parachain account.
|
|
2746
|
+
**/
|
|
2747
|
+
NotSovereign: GenericPalletError<Rv>;
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Internal error, please bug report.
|
|
2751
|
+
**/
|
|
2752
|
+
InternalError: GenericPalletError<Rv>;
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* Generic pallet error
|
|
2756
|
+
**/
|
|
2757
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2758
|
+
};
|
|
2759
|
+
/**
|
|
2760
|
+
* Pallet `AhMigrator`'s errors
|
|
2761
|
+
**/
|
|
2762
|
+
ahMigrator: {
|
|
2763
|
+
/**
|
|
2764
|
+
* Failed to unreserve deposit.
|
|
2765
|
+
**/
|
|
2766
|
+
FailedToUnreserveDeposit: GenericPalletError<Rv>;
|
|
2767
|
+
|
|
2768
|
+
/**
|
|
2769
|
+
* Failed to process an account data from RC.
|
|
2770
|
+
**/
|
|
2771
|
+
FailedToProcessAccount: GenericPalletError<Rv>;
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* Some item could not be inserted because it already exists.
|
|
2775
|
+
**/
|
|
2776
|
+
InsertConflict: GenericPalletError<Rv>;
|
|
2777
|
+
|
|
2778
|
+
/**
|
|
2779
|
+
* Failed to convert RC type to AH type.
|
|
2780
|
+
**/
|
|
2781
|
+
FailedToConvertType: GenericPalletError<Rv>;
|
|
2782
|
+
|
|
2783
|
+
/**
|
|
2784
|
+
* Failed to fetch preimage.
|
|
2785
|
+
**/
|
|
2786
|
+
PreimageNotFound: GenericPalletError<Rv>;
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Failed to convert RC call to AH call.
|
|
2790
|
+
**/
|
|
2791
|
+
FailedToConvertCall: GenericPalletError<Rv>;
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* Failed to bound a call.
|
|
2795
|
+
**/
|
|
2796
|
+
FailedToBoundCall: GenericPalletError<Rv>;
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* Failed to send XCM message.
|
|
2800
|
+
**/
|
|
2801
|
+
XcmError: GenericPalletError<Rv>;
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* Failed to integrate a vesting schedule.
|
|
2805
|
+
**/
|
|
2806
|
+
FailedToIntegrateVestingSchedule: GenericPalletError<Rv>;
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* Checking account overflow or underflow.
|
|
2810
|
+
**/
|
|
2811
|
+
FailedToCalculateCheckingAccount: GenericPalletError<Rv>;
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* Vector did not fit into its compile-time bound.
|
|
2815
|
+
**/
|
|
2816
|
+
FailedToBoundVector: GenericPalletError<Rv>;
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* The DMP queue priority is already set to the same value.
|
|
2820
|
+
**/
|
|
2821
|
+
DmpQueuePriorityAlreadySet: GenericPalletError<Rv>;
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* Invalid parameter.
|
|
2825
|
+
**/
|
|
2826
|
+
InvalidParameter: GenericPalletError<Rv>;
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* Preimage missing.
|
|
2830
|
+
**/
|
|
2831
|
+
PreimageMissing: GenericPalletError<Rv>;
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* Preimage too big.
|
|
2835
|
+
**/
|
|
2836
|
+
PreimageTooBig: GenericPalletError<Rv>;
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* Preimage chunk missing.
|
|
2840
|
+
**/
|
|
2841
|
+
PreimageChunkMissing: GenericPalletError<Rv>;
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* Preimage status invalid.
|
|
2845
|
+
**/
|
|
2846
|
+
PreimageStatusInvalid: GenericPalletError<Rv>;
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* The XCM version is invalid.
|
|
2850
|
+
**/
|
|
2851
|
+
BadXcmVersion: GenericPalletError<Rv>;
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* The origin is invalid.
|
|
2855
|
+
**/
|
|
2856
|
+
InvalidOrigin: GenericPalletError<Rv>;
|
|
1578
2857
|
|
|
1579
2858
|
/**
|
|
1580
2859
|
* Generic pallet error
|