@polkadot/api-augment 16.5.6 → 17.0.1
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/assetHubKusama/consts.d.ts +140 -53
- package/assetHubKusama/errors.d.ts +310 -111
- package/assetHubKusama/events.d.ts +420 -149
- package/assetHubKusama/query.d.ts +370 -92
- package/assetHubKusama/runtime.d.ts +157 -8
- package/assetHubKusama/tx.d.ts +690 -600
- package/cjs/assetHubKusama/consts.d.ts +140 -53
- package/cjs/assetHubKusama/errors.d.ts +310 -111
- package/cjs/assetHubKusama/events.d.ts +420 -149
- package/cjs/assetHubKusama/query.d.ts +370 -92
- package/cjs/assetHubKusama/runtime.d.ts +157 -8
- package/cjs/assetHubKusama/tx.d.ts +690 -600
- package/cjs/kusama/consts.d.ts +0 -40
- package/cjs/kusama/errors.d.ts +25 -151
- package/cjs/kusama/events.d.ts +93 -208
- package/cjs/kusama/query.d.ts +98 -177
- package/cjs/kusama/runtime.d.ts +86 -46
- package/cjs/kusama/tx.d.ts +108 -608
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +1 -1
- package/cjs/polkadot/errors.d.ts +25 -85
- package/cjs/polkadot/events.d.ts +103 -159
- package/cjs/polkadot/query.d.ts +108 -172
- package/cjs/polkadot/runtime.d.ts +72 -46
- package/cjs/polkadot/tx.d.ts +101 -351
- package/cjs/substrate/consts.d.ts +12 -3
- package/cjs/substrate/errors.d.ts +28 -14
- package/cjs/substrate/events.d.ts +66 -1
- package/cjs/substrate/query.d.ts +9 -0
- package/cjs/substrate/runtime.d.ts +5 -1
- package/cjs/substrate/tx.d.ts +81 -2
- package/kusama/consts.d.ts +0 -40
- package/kusama/errors.d.ts +25 -151
- package/kusama/events.d.ts +93 -208
- package/kusama/query.d.ts +98 -177
- package/kusama/runtime.d.ts +86 -46
- package/kusama/tx.d.ts +108 -608
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +1 -1
- package/polkadot/errors.d.ts +25 -85
- package/polkadot/events.d.ts +103 -159
- package/polkadot/query.d.ts +108 -172
- package/polkadot/runtime.d.ts +72 -46
- package/polkadot/tx.d.ts +101 -351
- package/substrate/consts.d.ts +12 -3
- package/substrate/errors.d.ts +28 -14
- package/substrate/events.d.ts +66 -1
- package/substrate/query.d.ts +9 -0
- package/substrate/runtime.d.ts +5 -1
- package/substrate/tx.d.ts +81 -2
|
@@ -3,93 +3,23 @@ import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
|
3
3
|
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
5
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* The XCM version is invalid.
|
|
9
|
-
**/
|
|
10
|
-
BadXcmVersion: AugmentedError<ApiType>;
|
|
11
|
-
/**
|
|
12
|
-
* The DMP queue priority is already set to the same value.
|
|
13
|
-
**/
|
|
14
|
-
DmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
|
|
15
|
-
/**
|
|
16
|
-
* Failed to bound a call.
|
|
17
|
-
**/
|
|
18
|
-
FailedToBoundCall: AugmentedError<ApiType>;
|
|
19
|
-
/**
|
|
20
|
-
* Vector did not fit into its compile-time bound.
|
|
21
|
-
**/
|
|
22
|
-
FailedToBoundVector: AugmentedError<ApiType>;
|
|
23
|
-
/**
|
|
24
|
-
* Checking account overflow or underflow.
|
|
25
|
-
**/
|
|
26
|
-
FailedToCalculateCheckingAccount: AugmentedError<ApiType>;
|
|
27
|
-
/**
|
|
28
|
-
* Failed to convert RC call to AH call.
|
|
29
|
-
**/
|
|
30
|
-
FailedToConvertCall: AugmentedError<ApiType>;
|
|
31
|
-
/**
|
|
32
|
-
* Failed to convert RC type to AH type.
|
|
33
|
-
**/
|
|
34
|
-
FailedToConvertType: AugmentedError<ApiType>;
|
|
35
|
-
/**
|
|
36
|
-
* Failed to integrate a vesting schedule.
|
|
37
|
-
**/
|
|
38
|
-
FailedToIntegrateVestingSchedule: AugmentedError<ApiType>;
|
|
39
|
-
/**
|
|
40
|
-
* Failed to process an account data from RC.
|
|
41
|
-
**/
|
|
42
|
-
FailedToProcessAccount: AugmentedError<ApiType>;
|
|
43
|
-
/**
|
|
44
|
-
* Failed to unreserve deposit.
|
|
45
|
-
**/
|
|
46
|
-
FailedToUnreserveDeposit: AugmentedError<ApiType>;
|
|
47
|
-
/**
|
|
48
|
-
* Some item could not be inserted because it already exists.
|
|
49
|
-
**/
|
|
50
|
-
InsertConflict: AugmentedError<ApiType>;
|
|
51
|
-
/**
|
|
52
|
-
* The origin is invalid.
|
|
53
|
-
**/
|
|
54
|
-
InvalidOrigin: AugmentedError<ApiType>;
|
|
55
|
-
/**
|
|
56
|
-
* Invalid parameter.
|
|
57
|
-
**/
|
|
58
|
-
InvalidParameter: AugmentedError<ApiType>;
|
|
59
|
-
/**
|
|
60
|
-
* Preimage chunk missing.
|
|
61
|
-
**/
|
|
62
|
-
PreimageChunkMissing: AugmentedError<ApiType>;
|
|
63
|
-
/**
|
|
64
|
-
* Preimage missing.
|
|
65
|
-
**/
|
|
66
|
-
PreimageMissing: AugmentedError<ApiType>;
|
|
6
|
+
ahOps: {
|
|
67
7
|
/**
|
|
68
|
-
*
|
|
8
|
+
* The account has already been translated.
|
|
69
9
|
**/
|
|
70
|
-
|
|
10
|
+
AlreadyTranslated: AugmentedError<ApiType>;
|
|
71
11
|
/**
|
|
72
|
-
*
|
|
12
|
+
* Not all contributions are withdrawn.
|
|
73
13
|
**/
|
|
74
|
-
|
|
14
|
+
ContributionsRemaining: AugmentedError<ApiType>;
|
|
75
15
|
/**
|
|
76
|
-
*
|
|
16
|
+
* Failed to force unstake.
|
|
77
17
|
**/
|
|
78
|
-
|
|
18
|
+
FailedToForceUnstake: AugmentedError<ApiType>;
|
|
79
19
|
/**
|
|
80
|
-
* Failed to
|
|
20
|
+
* Failed to transfer balance.
|
|
81
21
|
**/
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Generic error
|
|
85
|
-
**/
|
|
86
|
-
[key: string]: AugmentedError<ApiType>;
|
|
87
|
-
};
|
|
88
|
-
ahOps: {
|
|
89
|
-
/**
|
|
90
|
-
* Not all contributions are withdrawn.
|
|
91
|
-
**/
|
|
92
|
-
ContributionsRemaining: AugmentedError<ApiType>;
|
|
22
|
+
FailedToTransfer: AugmentedError<ApiType>;
|
|
93
23
|
/**
|
|
94
24
|
* Failed to withdraw crowdloan contribution.
|
|
95
25
|
**/
|
|
@@ -122,6 +52,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
122
52
|
* Block number is not yet reached.
|
|
123
53
|
**/
|
|
124
54
|
NotYet: AugmentedError<ApiType>;
|
|
55
|
+
/**
|
|
56
|
+
* The derivation path is too long.
|
|
57
|
+
**/
|
|
58
|
+
TooLongDerivationPath: AugmentedError<ApiType>;
|
|
125
59
|
/**
|
|
126
60
|
* The account is not a derived account.
|
|
127
61
|
**/
|
|
@@ -198,6 +132,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
198
132
|
* An overflow happened.
|
|
199
133
|
**/
|
|
200
134
|
Overflow: AugmentedError<ApiType>;
|
|
135
|
+
/**
|
|
136
|
+
* The pool exists but has no liquidity (at least one of the reserves is zero).
|
|
137
|
+
**/
|
|
138
|
+
PoolEmpty: AugmentedError<ApiType>;
|
|
201
139
|
/**
|
|
202
140
|
* Pool already exists.
|
|
203
141
|
**/
|
|
@@ -328,6 +266,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
328
266
|
* The asset should be frozen before the given operation.
|
|
329
267
|
**/
|
|
330
268
|
NotFrozen: AugmentedError<ApiType>;
|
|
269
|
+
/**
|
|
270
|
+
* Tried setting too many reserves.
|
|
271
|
+
**/
|
|
272
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
331
273
|
/**
|
|
332
274
|
* No approval exists that would allow the transfer.
|
|
333
275
|
**/
|
|
@@ -355,6 +297,44 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
355
297
|
**/
|
|
356
298
|
[key: string]: AugmentedError<ApiType>;
|
|
357
299
|
};
|
|
300
|
+
assetsPrecompilesPermit: {
|
|
301
|
+
/**
|
|
302
|
+
* The owner address is invalid (e.g., zero address).
|
|
303
|
+
**/
|
|
304
|
+
InvalidOwner: AugmentedError<ApiType>;
|
|
305
|
+
/**
|
|
306
|
+
* The permit signature is invalid.
|
|
307
|
+
**/
|
|
308
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
309
|
+
/**
|
|
310
|
+
* The spender address is invalid (e.g., zero address).
|
|
311
|
+
**/
|
|
312
|
+
InvalidSpender: AugmentedError<ApiType>;
|
|
313
|
+
/**
|
|
314
|
+
* The signature's `v` value is invalid.
|
|
315
|
+
**/
|
|
316
|
+
InvalidVValue: AugmentedError<ApiType>;
|
|
317
|
+
/**
|
|
318
|
+
* Nonce overflow - account has used too many permits.
|
|
319
|
+
**/
|
|
320
|
+
NonceOverflow: AugmentedError<ApiType>;
|
|
321
|
+
/**
|
|
322
|
+
* The permit has expired (deadline passed).
|
|
323
|
+
**/
|
|
324
|
+
PermitExpired: AugmentedError<ApiType>;
|
|
325
|
+
/**
|
|
326
|
+
* The signature's `s` value is too high (malleability protection).
|
|
327
|
+
**/
|
|
328
|
+
SignatureSValueTooHigh: AugmentedError<ApiType>;
|
|
329
|
+
/**
|
|
330
|
+
* The signer does not match the owner.
|
|
331
|
+
**/
|
|
332
|
+
SignerMismatch: AugmentedError<ApiType>;
|
|
333
|
+
/**
|
|
334
|
+
* Generic error
|
|
335
|
+
**/
|
|
336
|
+
[key: string]: AugmentedError<ApiType>;
|
|
337
|
+
};
|
|
358
338
|
balances: {
|
|
359
339
|
/**
|
|
360
340
|
* Beneficiary account must pre-exist.
|
|
@@ -774,6 +754,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
774
754
|
* The asset should be frozen before the given operation.
|
|
775
755
|
**/
|
|
776
756
|
NotFrozen: AugmentedError<ApiType>;
|
|
757
|
+
/**
|
|
758
|
+
* Tried setting too many reserves.
|
|
759
|
+
**/
|
|
760
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
777
761
|
/**
|
|
778
762
|
* No approval exists that would allow the transfer.
|
|
779
763
|
**/
|
|
@@ -875,6 +859,84 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
875
859
|
**/
|
|
876
860
|
[key: string]: AugmentedError<ApiType>;
|
|
877
861
|
};
|
|
862
|
+
multiAssetBounties: {
|
|
863
|
+
/**
|
|
864
|
+
* The balance of the asset kind is not convertible to the balance of the native asset for
|
|
865
|
+
* asserting the origin permissions.
|
|
866
|
+
**/
|
|
867
|
+
FailedToConvertBalance: AugmentedError<ApiType>;
|
|
868
|
+
/**
|
|
869
|
+
* The child-/bounty or funding source account could not be derived from the indexes and
|
|
870
|
+
* asset kind.
|
|
871
|
+
**/
|
|
872
|
+
FailedToConvertSource: AugmentedError<ApiType>;
|
|
873
|
+
/**
|
|
874
|
+
* There was issue with funding the child-/bounty.
|
|
875
|
+
**/
|
|
876
|
+
FundingError: AugmentedError<ApiType>;
|
|
877
|
+
/**
|
|
878
|
+
* Child-/bounty funding has not concluded yet.
|
|
879
|
+
**/
|
|
880
|
+
FundingInconclusive: AugmentedError<ApiType>;
|
|
881
|
+
/**
|
|
882
|
+
* The parent bounty cannot be closed because it has active child bounties.
|
|
883
|
+
**/
|
|
884
|
+
HasActiveChildBounty: AugmentedError<ApiType>;
|
|
885
|
+
/**
|
|
886
|
+
* The parent bounty value is not enough to add new child-bounty.
|
|
887
|
+
**/
|
|
888
|
+
InsufficientBountyValue: AugmentedError<ApiType>;
|
|
889
|
+
/**
|
|
890
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
891
|
+
* requested amount.
|
|
892
|
+
**/
|
|
893
|
+
InsufficientPermission: AugmentedError<ApiType>;
|
|
894
|
+
/**
|
|
895
|
+
* No child-/bounty at that index.
|
|
896
|
+
**/
|
|
897
|
+
InvalidIndex: AugmentedError<ApiType>;
|
|
898
|
+
/**
|
|
899
|
+
* Invalid child-/bounty value.
|
|
900
|
+
**/
|
|
901
|
+
InvalidValue: AugmentedError<ApiType>;
|
|
902
|
+
PayoutError: AugmentedError<ApiType>;
|
|
903
|
+
/**
|
|
904
|
+
* Child-/bounty payout has not concluded yet.
|
|
905
|
+
**/
|
|
906
|
+
PayoutInconclusive: AugmentedError<ApiType>;
|
|
907
|
+
/**
|
|
908
|
+
* The preimage does not exist.
|
|
909
|
+
**/
|
|
910
|
+
PreimageNotExist: AugmentedError<ApiType>;
|
|
911
|
+
/**
|
|
912
|
+
* The reason given is just too big.
|
|
913
|
+
**/
|
|
914
|
+
ReasonTooBig: AugmentedError<ApiType>;
|
|
915
|
+
/**
|
|
916
|
+
* There was issue with refunding the child-/bounty.
|
|
917
|
+
**/
|
|
918
|
+
RefundError: AugmentedError<ApiType>;
|
|
919
|
+
/**
|
|
920
|
+
* Child-/bounty refund has not concluded yet.
|
|
921
|
+
**/
|
|
922
|
+
RefundInconclusive: AugmentedError<ApiType>;
|
|
923
|
+
/**
|
|
924
|
+
* Require child-/bounty curator.
|
|
925
|
+
**/
|
|
926
|
+
RequireCurator: AugmentedError<ApiType>;
|
|
927
|
+
/**
|
|
928
|
+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
929
|
+
**/
|
|
930
|
+
TooManyChildBounties: AugmentedError<ApiType>;
|
|
931
|
+
/**
|
|
932
|
+
* The child-/bounty status is unexpected.
|
|
933
|
+
**/
|
|
934
|
+
UnexpectedStatus: AugmentedError<ApiType>;
|
|
935
|
+
/**
|
|
936
|
+
* Generic error
|
|
937
|
+
**/
|
|
938
|
+
[key: string]: AugmentedError<ApiType>;
|
|
939
|
+
};
|
|
878
940
|
multiBlockElection: {
|
|
879
941
|
/**
|
|
880
942
|
* Triggering the `Fallback` failed.
|
|
@@ -1482,6 +1544,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1482
1544
|
InvalidOrigin: AugmentedError<ApiType>;
|
|
1483
1545
|
/**
|
|
1484
1546
|
* Local XCM execution incomplete.
|
|
1547
|
+
*
|
|
1548
|
+
* @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
|
|
1485
1549
|
**/
|
|
1486
1550
|
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
1487
1551
|
/**
|
|
@@ -1610,6 +1674,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1610
1674
|
* The asset should be frozen before the given operation.
|
|
1611
1675
|
**/
|
|
1612
1676
|
NotFrozen: AugmentedError<ApiType>;
|
|
1677
|
+
/**
|
|
1678
|
+
* Tried setting too many reserves.
|
|
1679
|
+
**/
|
|
1680
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
1613
1681
|
/**
|
|
1614
1682
|
* No approval exists that would allow the transfer.
|
|
1615
1683
|
**/
|
|
@@ -1715,69 +1783,97 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1715
1783
|
};
|
|
1716
1784
|
recovery: {
|
|
1717
1785
|
/**
|
|
1718
|
-
* This
|
|
1786
|
+
* This attempt is already fully approved and does not need any more votes.
|
|
1719
1787
|
**/
|
|
1720
|
-
|
|
1788
|
+
AlreadyApproved: AugmentedError<ApiType>;
|
|
1721
1789
|
/**
|
|
1722
|
-
*
|
|
1790
|
+
* The recovery attempt has already been initiated.
|
|
1723
1791
|
**/
|
|
1724
|
-
|
|
1792
|
+
AlreadyInitiated: AugmentedError<ApiType>;
|
|
1725
1793
|
/**
|
|
1726
|
-
*
|
|
1794
|
+
* The friend already voted for this attempt.
|
|
1727
1795
|
**/
|
|
1728
|
-
|
|
1796
|
+
AlreadyVoted: AugmentedError<ApiType>;
|
|
1729
1797
|
/**
|
|
1730
|
-
*
|
|
1798
|
+
* Two friend groups have the same set of friends.
|
|
1731
1799
|
**/
|
|
1732
|
-
|
|
1800
|
+
DuplicateFriendGroups: AugmentedError<ApiType>;
|
|
1733
1801
|
/**
|
|
1734
|
-
*
|
|
1802
|
+
* The friends of a friend group are not sorted or not unique.
|
|
1735
1803
|
**/
|
|
1736
|
-
|
|
1804
|
+
FriendsNotSortedOrUnique: AugmentedError<ApiType>;
|
|
1737
1805
|
/**
|
|
1738
|
-
* The
|
|
1806
|
+
* The lost account has ongoing recovery attempts.
|
|
1739
1807
|
**/
|
|
1740
|
-
|
|
1808
|
+
HasOngoingAttempts: AugmentedError<ApiType>;
|
|
1741
1809
|
/**
|
|
1742
|
-
*
|
|
1810
|
+
* The account was already recovered by a group of equal or higher priority.
|
|
1743
1811
|
**/
|
|
1744
|
-
|
|
1812
|
+
HigherPriorityRecovered: AugmentedError<ApiType>;
|
|
1745
1813
|
/**
|
|
1746
|
-
*
|
|
1814
|
+
* The lost account cannot be a friend of itself.
|
|
1747
1815
|
**/
|
|
1748
|
-
|
|
1816
|
+
LostAccountInFriendGroup: AugmentedError<ApiType>;
|
|
1817
|
+
/**
|
|
1818
|
+
* Cancel delay must be at least 1.
|
|
1819
|
+
**/
|
|
1820
|
+
NoCancelDelay: AugmentedError<ApiType>;
|
|
1821
|
+
/**
|
|
1822
|
+
* This account does not have any friend groups.
|
|
1823
|
+
**/
|
|
1824
|
+
NoFriendGroups: AugmentedError<ApiType>;
|
|
1749
1825
|
/**
|
|
1750
|
-
*
|
|
1826
|
+
* The friend group has no friends.
|
|
1751
1827
|
**/
|
|
1752
|
-
|
|
1828
|
+
NoFriends: AugmentedError<ApiType>;
|
|
1753
1829
|
/**
|
|
1754
|
-
*
|
|
1830
|
+
* The number of friends needed is zero.
|
|
1831
|
+
**/
|
|
1832
|
+
NoFriendsNeeded: AugmentedError<ApiType>;
|
|
1833
|
+
/**
|
|
1834
|
+
* The lost account does not have any inheritor.
|
|
1835
|
+
**/
|
|
1836
|
+
NoInheritor: AugmentedError<ApiType>;
|
|
1837
|
+
/**
|
|
1838
|
+
* Not enough friends approved this attempt.
|
|
1839
|
+
**/
|
|
1840
|
+
NotApproved: AugmentedError<ApiType>;
|
|
1841
|
+
/**
|
|
1842
|
+
* The referenced recovery attempt was not found.
|
|
1843
|
+
**/
|
|
1844
|
+
NotAttempt: AugmentedError<ApiType>;
|
|
1845
|
+
/**
|
|
1846
|
+
* The caller is not the initiator or the lost account.
|
|
1847
|
+
**/
|
|
1848
|
+
NotCanceller: AugmentedError<ApiType>;
|
|
1849
|
+
/**
|
|
1850
|
+
* The caller is not a friend of the lost account.
|
|
1755
1851
|
**/
|
|
1756
1852
|
NotFriend: AugmentedError<ApiType>;
|
|
1757
1853
|
/**
|
|
1758
|
-
*
|
|
1854
|
+
* A specific referenced friend group was not found.
|
|
1759
1855
|
**/
|
|
1760
|
-
|
|
1856
|
+
NotFriendGroup: AugmentedError<ApiType>;
|
|
1761
1857
|
/**
|
|
1762
|
-
*
|
|
1858
|
+
* The caller is not the inheritor of the lost account.
|
|
1763
1859
|
**/
|
|
1764
|
-
|
|
1860
|
+
NotInheritor: AugmentedError<ApiType>;
|
|
1765
1861
|
/**
|
|
1766
|
-
*
|
|
1862
|
+
* The cancel delay since the last approval or initialization has not yet passed.
|
|
1767
1863
|
**/
|
|
1768
|
-
|
|
1864
|
+
NotYetCancelable: AugmentedError<ApiType>;
|
|
1769
1865
|
/**
|
|
1770
|
-
*
|
|
1866
|
+
* The inheritance delay of this attempt has not yet passed.
|
|
1771
1867
|
**/
|
|
1772
|
-
|
|
1868
|
+
NotYetInheritable: AugmentedError<ApiType>;
|
|
1773
1869
|
/**
|
|
1774
|
-
*
|
|
1870
|
+
* Too many friend groups.
|
|
1775
1871
|
**/
|
|
1776
|
-
|
|
1872
|
+
TooManyFriendGroups: AugmentedError<ApiType>;
|
|
1777
1873
|
/**
|
|
1778
|
-
*
|
|
1874
|
+
* The number of friends needed is greater than the number of friends.
|
|
1779
1875
|
**/
|
|
1780
|
-
|
|
1876
|
+
TooManyFriendsNeeded: AugmentedError<ApiType>;
|
|
1781
1877
|
/**
|
|
1782
1878
|
* Generic error
|
|
1783
1879
|
**/
|
|
@@ -1890,6 +1986,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1890
1986
|
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
|
1891
1987
|
**/
|
|
1892
1988
|
AccountUnmapped: AugmentedError<ApiType>;
|
|
1989
|
+
/**
|
|
1990
|
+
* Manual mapping is disabled when auto-mapping is enabled.
|
|
1991
|
+
**/
|
|
1992
|
+
AutoMappingEnabled: AugmentedError<ApiType>;
|
|
1893
1993
|
/**
|
|
1894
1994
|
* Failed to convert a U256 to a Balance.
|
|
1895
1995
|
**/
|
|
@@ -1960,6 +2060,23 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1960
2060
|
* A contract with the same AccountId already exists.
|
|
1961
2061
|
**/
|
|
1962
2062
|
DuplicateContract: AugmentedError<ApiType>;
|
|
2063
|
+
/**
|
|
2064
|
+
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
|
|
2065
|
+
**/
|
|
2066
|
+
EcdsaRecoveryFailed: AugmentedError<ApiType>;
|
|
2067
|
+
/**
|
|
2068
|
+
* Tried to construct an EVM contract via code hash.
|
|
2069
|
+
*
|
|
2070
|
+
* EVM contracts can only be instantiated via code upload as no initcode is
|
|
2071
|
+
* stored on-chain.
|
|
2072
|
+
**/
|
|
2073
|
+
EvmConstructedFromHash: AugmentedError<ApiType>;
|
|
2074
|
+
/**
|
|
2075
|
+
* When calling an EVM constructor `data` has to be empty.
|
|
2076
|
+
*
|
|
2077
|
+
* EVM constructors do not accept data. Their input data is part of the code blob itself.
|
|
2078
|
+
**/
|
|
2079
|
+
EvmConstructorNonEmptyData: AugmentedError<ApiType>;
|
|
1963
2080
|
/**
|
|
1964
2081
|
* PolkaVM failed during code execution. Probably due to a malformed program.
|
|
1965
2082
|
**/
|
|
@@ -1985,6 +2102,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1985
2102
|
* The program contains an invalid instruction.
|
|
1986
2103
|
**/
|
|
1987
2104
|
InvalidInstruction: AugmentedError<ApiType>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
|
|
2107
|
+
**/
|
|
2108
|
+
InvalidJump: AugmentedError<ApiType>;
|
|
1988
2109
|
/**
|
|
1989
2110
|
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
1990
2111
|
**/
|
|
@@ -2018,6 +2139,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2018
2139
|
* Can not add more data to transient storage.
|
|
2019
2140
|
**/
|
|
2020
2141
|
OutOfTransientStorage: AugmentedError<ApiType>;
|
|
2142
|
+
/**
|
|
2143
|
+
* A contract cannot be created at this address: it still has uncleared
|
|
2144
|
+
* [`NativeDepositOf`] entries from a previously terminated contract that the deletion
|
|
2145
|
+
* queue has not yet drained.
|
|
2146
|
+
**/
|
|
2147
|
+
PendingDepositCleanup: AugmentedError<ApiType>;
|
|
2148
|
+
/**
|
|
2149
|
+
* Called a pre-compile that is not allowed to be delegate called.
|
|
2150
|
+
*
|
|
2151
|
+
* Some pre-compile functions will trap the caller context if being delegate
|
|
2152
|
+
* called or if their caller was being delegate called.
|
|
2153
|
+
**/
|
|
2154
|
+
PrecompileDelegateDenied: AugmentedError<ApiType>;
|
|
2021
2155
|
/**
|
|
2022
2156
|
* A contract called into the runtime which then called back into this pallet.
|
|
2023
2157
|
**/
|
|
@@ -2034,6 +2168,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2034
2168
|
* The return data exceeds [`limits::CALLDATA_BYTES`].
|
|
2035
2169
|
**/
|
|
2036
2170
|
ReturnDataTooLarge: AugmentedError<ApiType>;
|
|
2171
|
+
/**
|
|
2172
|
+
* Attempting to push a value onto a full stack.
|
|
2173
|
+
**/
|
|
2174
|
+
StackOverflow: AugmentedError<ApiType>;
|
|
2175
|
+
/**
|
|
2176
|
+
* Attempting to pop a value from an empty stack.
|
|
2177
|
+
**/
|
|
2178
|
+
StackUnderflow: AugmentedError<ApiType>;
|
|
2037
2179
|
/**
|
|
2038
2180
|
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
2039
2181
|
**/
|
|
@@ -2050,6 +2192,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2050
2192
|
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
2051
2193
|
**/
|
|
2052
2194
|
StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
|
|
2195
|
+
/**
|
|
2196
|
+
* This means there are locks on the contracts storage deposit that prevents refunding it.
|
|
2197
|
+
*
|
|
2198
|
+
* This would be the case if the contract used its storage deposits for governance
|
|
2199
|
+
* or other pallets that allow creating locks over held balance.
|
|
2200
|
+
**/
|
|
2201
|
+
StorageRefundLocked: AugmentedError<ApiType>;
|
|
2202
|
+
/**
|
|
2203
|
+
* The contract does not have enough balance to refund the storage deposit.
|
|
2204
|
+
*
|
|
2205
|
+
* This is a bug and should never happen. It means the accounting got out of sync.
|
|
2206
|
+
**/
|
|
2207
|
+
StorageRefundNotEnoughFunds: AugmentedError<ApiType>;
|
|
2053
2208
|
/**
|
|
2054
2209
|
* A contract self destructed in its constructor.
|
|
2055
2210
|
*
|
|
@@ -2070,12 +2225,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2070
2225
|
* free balance in the sender's account.
|
|
2071
2226
|
**/
|
|
2072
2227
|
TransferFailed: AugmentedError<ApiType>;
|
|
2228
|
+
/**
|
|
2229
|
+
* Too much deposit was drawn from the shared txfee and deposit credit.
|
|
2230
|
+
*
|
|
2231
|
+
* This happens if the passed `gas` inside the ethereum transaction is too low.
|
|
2232
|
+
**/
|
|
2233
|
+
TxFeeOverdraw: AugmentedError<ApiType>;
|
|
2073
2234
|
/**
|
|
2074
2235
|
* Unsupported precompile address.
|
|
2075
2236
|
**/
|
|
2076
2237
|
UnsupportedPrecompileAddress: AugmentedError<ApiType>;
|
|
2077
2238
|
/**
|
|
2078
|
-
* Event body or storage item exceeds [`limits::
|
|
2239
|
+
* Event body or storage item exceeds [`limits::STORAGE_BYTES`].
|
|
2079
2240
|
**/
|
|
2080
2241
|
ValueTooLarge: AugmentedError<ApiType>;
|
|
2081
2242
|
/**
|
|
@@ -2318,6 +2479,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2318
2479
|
* Cannot reset a ledger.
|
|
2319
2480
|
**/
|
|
2320
2481
|
CannotRestoreLedger: AugmentedError<ApiType>;
|
|
2482
|
+
/**
|
|
2483
|
+
* Commission is higher than the allowed maximum `MaxCommission`.
|
|
2484
|
+
**/
|
|
2485
|
+
CommissionTooHigh: AugmentedError<ApiType>;
|
|
2321
2486
|
/**
|
|
2322
2487
|
* Commission is too low. Must be at least `MinCommission`.
|
|
2323
2488
|
**/
|
|
@@ -2392,6 +2557,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2392
2557
|
* Can not rebond without unlocking chunks.
|
|
2393
2558
|
**/
|
|
2394
2559
|
NoUnlockChunk: AugmentedError<ApiType>;
|
|
2560
|
+
/**
|
|
2561
|
+
* Optimum self-stake cannot be greater than hard cap.
|
|
2562
|
+
**/
|
|
2563
|
+
OptimumGreaterThanCap: AugmentedError<ApiType>;
|
|
2395
2564
|
/**
|
|
2396
2565
|
* Account is restricted from participation in staking. This may happen if the account is
|
|
2397
2566
|
* staking in another way already, such as via pool.
|
|
@@ -2429,6 +2598,36 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2429
2598
|
**/
|
|
2430
2599
|
[key: string]: AugmentedError<ApiType>;
|
|
2431
2600
|
};
|
|
2601
|
+
stakingRcClient: {
|
|
2602
|
+
/**
|
|
2603
|
+
* Delivery fees exceeded the specified maximum.
|
|
2604
|
+
**/
|
|
2605
|
+
FeesExceededMax: AugmentedError<ApiType>;
|
|
2606
|
+
/**
|
|
2607
|
+
* The session keys could not be decoded as the expected RelayChainSessionKeys type.
|
|
2608
|
+
**/
|
|
2609
|
+
InvalidKeys: AugmentedError<ApiType>;
|
|
2610
|
+
/**
|
|
2611
|
+
* Invalid ownership proof for the session keys.
|
|
2612
|
+
**/
|
|
2613
|
+
InvalidProof: AugmentedError<ApiType>;
|
|
2614
|
+
/**
|
|
2615
|
+
* The origin account is not a registered validator.
|
|
2616
|
+
*
|
|
2617
|
+
* Only accounts that have called `validate()` can set or purge session keys. When called
|
|
2618
|
+
* via a staking proxy, the origin is the delegating account (stash), which must be a
|
|
2619
|
+
* registered validator.
|
|
2620
|
+
**/
|
|
2621
|
+
NotValidator: AugmentedError<ApiType>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Failed to send XCM message to the Relay Chain.
|
|
2624
|
+
**/
|
|
2625
|
+
XcmSendFailed: AugmentedError<ApiType>;
|
|
2626
|
+
/**
|
|
2627
|
+
* Generic error
|
|
2628
|
+
**/
|
|
2629
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2630
|
+
};
|
|
2432
2631
|
stateTrieMigration: {
|
|
2433
2632
|
/**
|
|
2434
2633
|
* Bad child root provided.
|