@polkadot/api-augment 10.12.1 → 10.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +66 -52
- package/kusama/errors.d.ts +239 -25
- package/kusama/events.d.ts +325 -92
- package/kusama/query.d.ts +247 -90
- package/kusama/runtime.d.ts +2 -120
- package/kusama/tx.d.ts +402 -132
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +68 -47
- package/polkadot/errors.d.ts +186 -24
- package/polkadot/events.d.ts +267 -85
- package/polkadot/query.d.ts +276 -87
- package/polkadot/runtime.d.ts +16 -1
- package/polkadot/tx.d.ts +355 -90
- package/substrate/consts.d.ts +51 -19
- package/substrate/errors.d.ts +94 -34
- package/substrate/events.d.ts +137 -34
- package/substrate/query.d.ts +136 -12
- package/substrate/runtime.d.ts +31 -4
- package/substrate/tx.d.ts +204 -29
package/kusama/errors.d.ts
CHANGED
|
@@ -3,6 +3,20 @@ 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
|
+
assetRate: {
|
|
7
|
+
/**
|
|
8
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
9
|
+
**/
|
|
10
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
11
|
+
/**
|
|
12
|
+
* The given asset ID is unknown.
|
|
13
|
+
**/
|
|
14
|
+
UnknownAssetKind: AugmentedError<ApiType>;
|
|
15
|
+
/**
|
|
16
|
+
* Generic error
|
|
17
|
+
**/
|
|
18
|
+
[key: string]: AugmentedError<ApiType>;
|
|
19
|
+
};
|
|
6
20
|
auctions: {
|
|
7
21
|
/**
|
|
8
22
|
* The para is already leased out for part of this range.
|
|
@@ -64,6 +78,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
64
78
|
* Beneficiary account must pre-exist.
|
|
65
79
|
**/
|
|
66
80
|
DeadAccount: AugmentedError<ApiType>;
|
|
81
|
+
/**
|
|
82
|
+
* The delta cannot be zero.
|
|
83
|
+
**/
|
|
84
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
67
85
|
/**
|
|
68
86
|
* Value too low to create account due to existential deposit.
|
|
69
87
|
**/
|
|
@@ -80,6 +98,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
80
98
|
* Balance too low to send value.
|
|
81
99
|
**/
|
|
82
100
|
InsufficientBalance: AugmentedError<ApiType>;
|
|
101
|
+
/**
|
|
102
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
103
|
+
**/
|
|
104
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
83
105
|
/**
|
|
84
106
|
* Account liquidity restrictions prevent withdrawal.
|
|
85
107
|
**/
|
|
@@ -89,7 +111,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
89
111
|
**/
|
|
90
112
|
TooManyFreezes: AugmentedError<ApiType>;
|
|
91
113
|
/**
|
|
92
|
-
* Number of holds exceed `
|
|
114
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
93
115
|
**/
|
|
94
116
|
TooManyHolds: AugmentedError<ApiType>;
|
|
95
117
|
/**
|
|
@@ -110,6 +132,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
110
132
|
* A given equivocation report is valid but already previously reported.
|
|
111
133
|
**/
|
|
112
134
|
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
135
|
+
/**
|
|
136
|
+
* Submitted configuration is invalid.
|
|
137
|
+
**/
|
|
138
|
+
InvalidConfiguration: AugmentedError<ApiType>;
|
|
113
139
|
/**
|
|
114
140
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
115
141
|
**/
|
|
@@ -288,6 +314,44 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
288
314
|
**/
|
|
289
315
|
[key: string]: AugmentedError<ApiType>;
|
|
290
316
|
};
|
|
317
|
+
coretime: {
|
|
318
|
+
/**
|
|
319
|
+
* The paraid making the call is not the coretime brokerage system parachain.
|
|
320
|
+
**/
|
|
321
|
+
NotBroker: AugmentedError<ApiType>;
|
|
322
|
+
/**
|
|
323
|
+
* Generic error
|
|
324
|
+
**/
|
|
325
|
+
[key: string]: AugmentedError<ApiType>;
|
|
326
|
+
};
|
|
327
|
+
coretimeAssignmentProvider: {
|
|
328
|
+
AssignmentsEmpty: AugmentedError<ApiType>;
|
|
329
|
+
/**
|
|
330
|
+
* Tried to add an unsorted set of assignments
|
|
331
|
+
**/
|
|
332
|
+
AssignmentsNotSorted: AugmentedError<ApiType>;
|
|
333
|
+
/**
|
|
334
|
+
* assign_core is only allowed to append new assignments at the end of already existing
|
|
335
|
+
* ones.
|
|
336
|
+
**/
|
|
337
|
+
DisallowedInsert: AugmentedError<ApiType>;
|
|
338
|
+
/**
|
|
339
|
+
* Tried to insert a schedule for the same core and block number as an existing schedule
|
|
340
|
+
**/
|
|
341
|
+
DuplicateInsert: AugmentedError<ApiType>;
|
|
342
|
+
/**
|
|
343
|
+
* Assignments together exceeded 57600.
|
|
344
|
+
**/
|
|
345
|
+
OverScheduled: AugmentedError<ApiType>;
|
|
346
|
+
/**
|
|
347
|
+
* Assignments together less than 57600
|
|
348
|
+
**/
|
|
349
|
+
UnderScheduled: AugmentedError<ApiType>;
|
|
350
|
+
/**
|
|
351
|
+
* Generic error
|
|
352
|
+
**/
|
|
353
|
+
[key: string]: AugmentedError<ApiType>;
|
|
354
|
+
};
|
|
291
355
|
crowdloan: {
|
|
292
356
|
/**
|
|
293
357
|
* The fund is already in `NewRaise`
|
|
@@ -412,6 +476,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
412
476
|
* OCW submitted solution for wrong round
|
|
413
477
|
**/
|
|
414
478
|
OcwCallWrongEra: AugmentedError<ApiType>;
|
|
479
|
+
/**
|
|
480
|
+
* Sumission was prepared for a different round.
|
|
481
|
+
**/
|
|
482
|
+
PreDispatchDifferentRound: AugmentedError<ApiType>;
|
|
415
483
|
/**
|
|
416
484
|
* Submission was too early.
|
|
417
485
|
**/
|
|
@@ -518,6 +586,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
518
586
|
* The member's rank is too low to vote.
|
|
519
587
|
**/
|
|
520
588
|
RankTooLow: AugmentedError<ApiType>;
|
|
589
|
+
/**
|
|
590
|
+
* The new member to exchange is the same as the old member
|
|
591
|
+
**/
|
|
592
|
+
SameMember: AugmentedError<ApiType>;
|
|
521
593
|
/**
|
|
522
594
|
* Generic error
|
|
523
595
|
**/
|
|
@@ -634,6 +706,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
634
706
|
* Canceling is requested by neither the sender nor recipient of the open channel request.
|
|
635
707
|
**/
|
|
636
708
|
CancelHrmpOpenChannelUnauthorized: AugmentedError<ApiType>;
|
|
709
|
+
/**
|
|
710
|
+
* The channel between these two chains cannot be authorized.
|
|
711
|
+
**/
|
|
712
|
+
ChannelCreationNotAuthorized: AugmentedError<ApiType>;
|
|
637
713
|
/**
|
|
638
714
|
* The channel close request is already requested.
|
|
639
715
|
**/
|
|
@@ -720,10 +796,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
720
796
|
* Invalid judgement.
|
|
721
797
|
**/
|
|
722
798
|
InvalidJudgement: AugmentedError<ApiType>;
|
|
799
|
+
/**
|
|
800
|
+
* The signature on a username was not valid.
|
|
801
|
+
**/
|
|
802
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
803
|
+
/**
|
|
804
|
+
* The provided suffix is too long.
|
|
805
|
+
**/
|
|
806
|
+
InvalidSuffix: AugmentedError<ApiType>;
|
|
723
807
|
/**
|
|
724
808
|
* The target is invalid.
|
|
725
809
|
**/
|
|
726
810
|
InvalidTarget: AugmentedError<ApiType>;
|
|
811
|
+
/**
|
|
812
|
+
* The username does not meet the requirements.
|
|
813
|
+
**/
|
|
814
|
+
InvalidUsername: AugmentedError<ApiType>;
|
|
727
815
|
/**
|
|
728
816
|
* The provided judgement was for a different identity.
|
|
729
817
|
**/
|
|
@@ -736,10 +824,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
736
824
|
* Error that occurs when there is an issue paying for judgement.
|
|
737
825
|
**/
|
|
738
826
|
JudgementPaymentFailed: AugmentedError<ApiType>;
|
|
827
|
+
/**
|
|
828
|
+
* The authority cannot allocate any more usernames.
|
|
829
|
+
**/
|
|
830
|
+
NoAllocation: AugmentedError<ApiType>;
|
|
739
831
|
/**
|
|
740
832
|
* No identity found.
|
|
741
833
|
**/
|
|
742
834
|
NoIdentity: AugmentedError<ApiType>;
|
|
835
|
+
/**
|
|
836
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
837
|
+
**/
|
|
838
|
+
NotExpired: AugmentedError<ApiType>;
|
|
743
839
|
/**
|
|
744
840
|
* Account isn't found.
|
|
745
841
|
**/
|
|
@@ -757,35 +853,33 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
757
853
|
**/
|
|
758
854
|
NotSub: AugmentedError<ApiType>;
|
|
759
855
|
/**
|
|
760
|
-
*
|
|
856
|
+
* The sender does not have permission to issue a username.
|
|
761
857
|
**/
|
|
762
|
-
|
|
858
|
+
NotUsernameAuthority: AugmentedError<ApiType>;
|
|
763
859
|
/**
|
|
764
|
-
*
|
|
860
|
+
* The requested username does not exist.
|
|
765
861
|
**/
|
|
766
|
-
|
|
862
|
+
NoUsername: AugmentedError<ApiType>;
|
|
767
863
|
/**
|
|
768
|
-
*
|
|
864
|
+
* Setting this username requires a signature, but none was provided.
|
|
769
865
|
**/
|
|
770
|
-
|
|
866
|
+
RequiresSignature: AugmentedError<ApiType>;
|
|
771
867
|
/**
|
|
772
|
-
*
|
|
868
|
+
* Sticky judgement.
|
|
773
869
|
**/
|
|
774
|
-
|
|
870
|
+
StickyJudgement: AugmentedError<ApiType>;
|
|
775
871
|
/**
|
|
776
|
-
*
|
|
872
|
+
* Maximum amount of registrars reached. Cannot add any more.
|
|
777
873
|
**/
|
|
778
|
-
|
|
779
|
-
};
|
|
780
|
-
imOnline: {
|
|
874
|
+
TooManyRegistrars: AugmentedError<ApiType>;
|
|
781
875
|
/**
|
|
782
|
-
*
|
|
876
|
+
* Too many subs-accounts.
|
|
783
877
|
**/
|
|
784
|
-
|
|
878
|
+
TooManySubAccounts: AugmentedError<ApiType>;
|
|
785
879
|
/**
|
|
786
|
-
*
|
|
880
|
+
* The username is already taken.
|
|
787
881
|
**/
|
|
788
|
-
|
|
882
|
+
UsernameTaken: AugmentedError<ApiType>;
|
|
789
883
|
/**
|
|
790
884
|
* Generic error
|
|
791
885
|
**/
|
|
@@ -849,6 +943,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
849
943
|
* This can change at any time and may resolve in the future by re-trying.
|
|
850
944
|
**/
|
|
851
945
|
QueuePaused: AugmentedError<ApiType>;
|
|
946
|
+
/**
|
|
947
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
948
|
+
**/
|
|
949
|
+
RecursiveDisallowed: AugmentedError<ApiType>;
|
|
852
950
|
/**
|
|
853
951
|
* This message is temporarily unprocessable.
|
|
854
952
|
*
|
|
@@ -995,6 +1093,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
995
1093
|
* Beneficiary account must pre-exist.
|
|
996
1094
|
**/
|
|
997
1095
|
DeadAccount: AugmentedError<ApiType>;
|
|
1096
|
+
/**
|
|
1097
|
+
* The delta cannot be zero.
|
|
1098
|
+
**/
|
|
1099
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
998
1100
|
/**
|
|
999
1101
|
* Value too low to create account due to existential deposit.
|
|
1000
1102
|
**/
|
|
@@ -1011,6 +1113,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1011
1113
|
* Balance too low to send value.
|
|
1012
1114
|
**/
|
|
1013
1115
|
InsufficientBalance: AugmentedError<ApiType>;
|
|
1116
|
+
/**
|
|
1117
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
1118
|
+
**/
|
|
1119
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
1014
1120
|
/**
|
|
1015
1121
|
* Account liquidity restrictions prevent withdrawal.
|
|
1016
1122
|
**/
|
|
@@ -1020,7 +1126,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1020
1126
|
**/
|
|
1021
1127
|
TooManyFreezes: AugmentedError<ApiType>;
|
|
1022
1128
|
/**
|
|
1023
|
-
* Number of holds exceed `
|
|
1129
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
1024
1130
|
**/
|
|
1025
1131
|
TooManyHolds: AugmentedError<ApiType>;
|
|
1026
1132
|
/**
|
|
@@ -1111,9 +1217,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1111
1217
|
/**
|
|
1112
1218
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
1113
1219
|
*
|
|
1114
|
-
* The depositor can never unbond to a value less than
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1220
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
1221
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
1222
|
+
* value below `MinJoinBond`.
|
|
1117
1223
|
**/
|
|
1118
1224
|
MinimumBondNotMet: AugmentedError<ApiType>;
|
|
1119
1225
|
/**
|
|
@@ -1129,6 +1235,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1129
1235
|
* other members to be permissionlessly unbonded.
|
|
1130
1236
|
**/
|
|
1131
1237
|
NotDestroying: AugmentedError<ApiType>;
|
|
1238
|
+
/**
|
|
1239
|
+
* No imbalance in the ED deposit for the pool.
|
|
1240
|
+
**/
|
|
1241
|
+
NothingToAdjust: AugmentedError<ApiType>;
|
|
1132
1242
|
/**
|
|
1133
1243
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
1134
1244
|
**/
|
|
@@ -1174,6 +1284,26 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1174
1284
|
**/
|
|
1175
1285
|
[key: string]: AugmentedError<ApiType>;
|
|
1176
1286
|
};
|
|
1287
|
+
onDemandAssignmentProvider: {
|
|
1288
|
+
/**
|
|
1289
|
+
* The `ParaId` supplied to the `place_order` call is not a valid `ParaThread`, making the
|
|
1290
|
+
* call is invalid.
|
|
1291
|
+
**/
|
|
1292
|
+
InvalidParaId: AugmentedError<ApiType>;
|
|
1293
|
+
/**
|
|
1294
|
+
* The order queue is full, `place_order` will not continue.
|
|
1295
|
+
**/
|
|
1296
|
+
QueueFull: AugmentedError<ApiType>;
|
|
1297
|
+
/**
|
|
1298
|
+
* The current spot price is higher than the max amount specified in the `place_order`
|
|
1299
|
+
* call, making it invalid.
|
|
1300
|
+
**/
|
|
1301
|
+
SpotPriceHigherThanMaxAmount: AugmentedError<ApiType>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Generic error
|
|
1304
|
+
**/
|
|
1305
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1306
|
+
};
|
|
1177
1307
|
paraInclusion: {
|
|
1178
1308
|
/**
|
|
1179
1309
|
* Bitfield consists of zeros only.
|
|
@@ -1302,6 +1432,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1302
1432
|
[key: string]: AugmentedError<ApiType>;
|
|
1303
1433
|
};
|
|
1304
1434
|
paraInherent: {
|
|
1435
|
+
/**
|
|
1436
|
+
* A candidate was backed by a disabled validator
|
|
1437
|
+
**/
|
|
1438
|
+
BackedByDisabled: AugmentedError<ApiType>;
|
|
1439
|
+
/**
|
|
1440
|
+
* A candidate was backed even though the paraid was not scheduled.
|
|
1441
|
+
**/
|
|
1442
|
+
BackedOnUnscheduledCore: AugmentedError<ApiType>;
|
|
1305
1443
|
/**
|
|
1306
1444
|
* Disputed candidate that was concluded invalid.
|
|
1307
1445
|
**/
|
|
@@ -1327,6 +1465,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1327
1465
|
* Inclusion inherent called more than once per block.
|
|
1328
1466
|
**/
|
|
1329
1467
|
TooManyInclusionInherents: AugmentedError<ApiType>;
|
|
1468
|
+
/**
|
|
1469
|
+
* Too many candidates supplied.
|
|
1470
|
+
**/
|
|
1471
|
+
UnscheduledCandidate: AugmentedError<ApiType>;
|
|
1330
1472
|
/**
|
|
1331
1473
|
* Generic error
|
|
1332
1474
|
**/
|
|
@@ -1484,6 +1626,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1484
1626
|
* Preimage is too large to store on-chain.
|
|
1485
1627
|
**/
|
|
1486
1628
|
TooBig: AugmentedError<ApiType>;
|
|
1629
|
+
/**
|
|
1630
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
1631
|
+
**/
|
|
1632
|
+
TooFew: AugmentedError<ApiType>;
|
|
1633
|
+
/**
|
|
1634
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
1635
|
+
**/
|
|
1636
|
+
TooMany: AugmentedError<ApiType>;
|
|
1487
1637
|
/**
|
|
1488
1638
|
* Generic error
|
|
1489
1639
|
**/
|
|
@@ -1952,6 +2102,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1952
2102
|
* Commission is too low. Must be at least `MinCommission`.
|
|
1953
2103
|
**/
|
|
1954
2104
|
CommissionTooLow: AugmentedError<ApiType>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Used when attempting to use deprecated controller account logic.
|
|
2107
|
+
**/
|
|
2108
|
+
ControllerDeprecated: AugmentedError<ApiType>;
|
|
1955
2109
|
/**
|
|
1956
2110
|
* Duplicate index.
|
|
1957
2111
|
**/
|
|
@@ -1986,6 +2140,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1986
2140
|
* Invalid number of nominations.
|
|
1987
2141
|
**/
|
|
1988
2142
|
InvalidNumberOfNominations: AugmentedError<ApiType>;
|
|
2143
|
+
/**
|
|
2144
|
+
* No nominators exist on this page.
|
|
2145
|
+
**/
|
|
2146
|
+
InvalidPage: AugmentedError<ApiType>;
|
|
1989
2147
|
/**
|
|
1990
2148
|
* Slash record index out of bounds.
|
|
1991
2149
|
**/
|
|
@@ -2089,17 +2247,41 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2089
2247
|
* There is a non-zero reference count preventing the account from being purged.
|
|
2090
2248
|
**/
|
|
2091
2249
|
NonZeroRefCount: AugmentedError<ApiType>;
|
|
2250
|
+
/**
|
|
2251
|
+
* No upgrade authorized.
|
|
2252
|
+
**/
|
|
2253
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
2092
2254
|
/**
|
|
2093
2255
|
* The specification version is not allowed to decrease between the current runtime
|
|
2094
2256
|
* and the new runtime.
|
|
2095
2257
|
**/
|
|
2096
2258
|
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
2259
|
+
/**
|
|
2260
|
+
* The submitted code is not authorized.
|
|
2261
|
+
**/
|
|
2262
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
2097
2263
|
/**
|
|
2098
2264
|
* Generic error
|
|
2099
2265
|
**/
|
|
2100
2266
|
[key: string]: AugmentedError<ApiType>;
|
|
2101
2267
|
};
|
|
2102
2268
|
treasury: {
|
|
2269
|
+
/**
|
|
2270
|
+
* The payment has already been attempted.
|
|
2271
|
+
**/
|
|
2272
|
+
AlreadyAttempted: AugmentedError<ApiType>;
|
|
2273
|
+
/**
|
|
2274
|
+
* The spend is not yet eligible for payout.
|
|
2275
|
+
**/
|
|
2276
|
+
EarlyPayout: AugmentedError<ApiType>;
|
|
2277
|
+
/**
|
|
2278
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
2279
|
+
**/
|
|
2280
|
+
FailedToConvertBalance: AugmentedError<ApiType>;
|
|
2281
|
+
/**
|
|
2282
|
+
* The payment has neither failed nor succeeded yet.
|
|
2283
|
+
**/
|
|
2284
|
+
Inconclusive: AugmentedError<ApiType>;
|
|
2103
2285
|
/**
|
|
2104
2286
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
2105
2287
|
* amount to be spent.
|
|
@@ -2110,13 +2292,25 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2110
2292
|
**/
|
|
2111
2293
|
InsufficientProposersBalance: AugmentedError<ApiType>;
|
|
2112
2294
|
/**
|
|
2113
|
-
* No proposal or
|
|
2295
|
+
* No proposal, bounty or spend at that index.
|
|
2114
2296
|
**/
|
|
2115
2297
|
InvalidIndex: AugmentedError<ApiType>;
|
|
2298
|
+
/**
|
|
2299
|
+
* The payout was not yet attempted/claimed.
|
|
2300
|
+
**/
|
|
2301
|
+
NotAttempted: AugmentedError<ApiType>;
|
|
2302
|
+
/**
|
|
2303
|
+
* There was some issue with the mechanism of payment.
|
|
2304
|
+
**/
|
|
2305
|
+
PayoutError: AugmentedError<ApiType>;
|
|
2116
2306
|
/**
|
|
2117
2307
|
* Proposal has not been approved.
|
|
2118
2308
|
**/
|
|
2119
2309
|
ProposalNotApproved: AugmentedError<ApiType>;
|
|
2310
|
+
/**
|
|
2311
|
+
* The spend has expired and cannot be claimed.
|
|
2312
|
+
**/
|
|
2313
|
+
SpendExpired: AugmentedError<ApiType>;
|
|
2120
2314
|
/**
|
|
2121
2315
|
* Too many approvals in the queue.
|
|
2122
2316
|
**/
|
|
@@ -2217,12 +2411,16 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2217
2411
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
2218
2412
|
**/
|
|
2219
2413
|
BadVersion: AugmentedError<ApiType>;
|
|
2414
|
+
/**
|
|
2415
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
2416
|
+
**/
|
|
2417
|
+
CannotCheckOutTeleport: AugmentedError<ApiType>;
|
|
2220
2418
|
/**
|
|
2221
2419
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
2222
2420
|
**/
|
|
2223
2421
|
CannotReanchor: AugmentedError<ApiType>;
|
|
2224
2422
|
/**
|
|
2225
|
-
* The destination `
|
|
2423
|
+
* The destination `Location` provided cannot be inverted.
|
|
2226
2424
|
**/
|
|
2227
2425
|
DestinationNotInvertible: AugmentedError<ApiType>;
|
|
2228
2426
|
/**
|
|
@@ -2242,13 +2440,25 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2242
2440
|
**/
|
|
2243
2441
|
InUse: AugmentedError<ApiType>;
|
|
2244
2442
|
/**
|
|
2245
|
-
* Invalid asset
|
|
2443
|
+
* Invalid non-concrete asset.
|
|
2246
2444
|
**/
|
|
2247
|
-
|
|
2445
|
+
InvalidAssetNotConcrete: AugmentedError<ApiType>;
|
|
2446
|
+
/**
|
|
2447
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
2448
|
+
**/
|
|
2449
|
+
InvalidAssetUnknownReserve: AugmentedError<ApiType>;
|
|
2450
|
+
/**
|
|
2451
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
2452
|
+
**/
|
|
2453
|
+
InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
|
|
2248
2454
|
/**
|
|
2249
2455
|
* Origin is invalid for sending.
|
|
2250
2456
|
**/
|
|
2251
2457
|
InvalidOrigin: AugmentedError<ApiType>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Local XCM execution incomplete.
|
|
2460
|
+
**/
|
|
2461
|
+
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
2252
2462
|
/**
|
|
2253
2463
|
* A remote lock with the corresponding data could not be found.
|
|
2254
2464
|
**/
|
|
@@ -2274,6 +2484,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2274
2484
|
* The asset owner has too many locks on the asset.
|
|
2275
2485
|
**/
|
|
2276
2486
|
TooManyLocks: AugmentedError<ApiType>;
|
|
2487
|
+
/**
|
|
2488
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
2489
|
+
**/
|
|
2490
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
2277
2491
|
/**
|
|
2278
2492
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
2279
2493
|
* to it.
|