@polkadot/api-augment 10.9.1 → 10.11.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/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +82 -34
- package/kusama/errors.d.ts +150 -26
- package/kusama/events.d.ts +66 -19
- package/kusama/query.d.ts +206 -87
- package/kusama/runtime.d.ts +36 -4
- package/kusama/tx.d.ts +192 -53
- package/package.json +9 -9
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +15 -198
- package/polkadot/errors.d.ts +37 -340
- package/polkadot/events.d.ts +24 -376
- package/polkadot/query.d.ts +63 -272
- package/polkadot/runtime.d.ts +20 -3
- package/polkadot/tx.d.ts +62 -441
- package/substrate/consts.d.ts +118 -34
- package/substrate/errors.d.ts +303 -8
- package/substrate/events.d.ts +379 -25
- package/substrate/query.d.ts +160 -44
- package/substrate/runtime.d.ts +21 -1
- package/substrate/tx.d.ts +252 -29
package/polkadot/errors.d.ts
CHANGED
|
@@ -184,8 +184,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
184
184
|
**/
|
|
185
185
|
InvalidStatement: AugmentedError<ApiType>;
|
|
186
186
|
/**
|
|
187
|
-
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
188
|
-
* error.
|
|
187
|
+
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
188
|
+
* logic error.
|
|
189
189
|
**/
|
|
190
190
|
PotUnderflow: AugmentedError<ApiType>;
|
|
191
191
|
/**
|
|
@@ -270,52 +270,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
270
270
|
**/
|
|
271
271
|
[key: string]: AugmentedError<ApiType>;
|
|
272
272
|
};
|
|
273
|
-
council: {
|
|
274
|
-
/**
|
|
275
|
-
* Members are already initialized!
|
|
276
|
-
**/
|
|
277
|
-
AlreadyInitialized: AugmentedError<ApiType>;
|
|
278
|
-
/**
|
|
279
|
-
* Duplicate proposals not allowed
|
|
280
|
-
**/
|
|
281
|
-
DuplicateProposal: AugmentedError<ApiType>;
|
|
282
|
-
/**
|
|
283
|
-
* Duplicate vote ignored
|
|
284
|
-
**/
|
|
285
|
-
DuplicateVote: AugmentedError<ApiType>;
|
|
286
|
-
/**
|
|
287
|
-
* Account is not a member
|
|
288
|
-
**/
|
|
289
|
-
NotMember: AugmentedError<ApiType>;
|
|
290
|
-
/**
|
|
291
|
-
* Proposal must exist
|
|
292
|
-
**/
|
|
293
|
-
ProposalMissing: AugmentedError<ApiType>;
|
|
294
|
-
/**
|
|
295
|
-
* The close call was made too early, before the end of the voting.
|
|
296
|
-
**/
|
|
297
|
-
TooEarly: AugmentedError<ApiType>;
|
|
298
|
-
/**
|
|
299
|
-
* There can only be a maximum of `MaxProposals` active proposals.
|
|
300
|
-
**/
|
|
301
|
-
TooManyProposals: AugmentedError<ApiType>;
|
|
302
|
-
/**
|
|
303
|
-
* Mismatched index
|
|
304
|
-
**/
|
|
305
|
-
WrongIndex: AugmentedError<ApiType>;
|
|
306
|
-
/**
|
|
307
|
-
* The given length bound for the proposal was too low.
|
|
308
|
-
**/
|
|
309
|
-
WrongProposalLength: AugmentedError<ApiType>;
|
|
310
|
-
/**
|
|
311
|
-
* The given weight bound for the proposal was too low.
|
|
312
|
-
**/
|
|
313
|
-
WrongProposalWeight: AugmentedError<ApiType>;
|
|
314
|
-
/**
|
|
315
|
-
* Generic error
|
|
316
|
-
**/
|
|
317
|
-
[key: string]: AugmentedError<ApiType>;
|
|
318
|
-
};
|
|
319
273
|
crowdloan: {
|
|
320
274
|
/**
|
|
321
275
|
* The fund is already in `NewRaise`
|
|
@@ -398,7 +352,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
398
352
|
**/
|
|
399
353
|
NotParachain: AugmentedError<ApiType>;
|
|
400
354
|
/**
|
|
401
|
-
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
355
|
+
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
356
|
+
* period.
|
|
402
357
|
**/
|
|
403
358
|
NotReadyToDissolve: AugmentedError<ApiType>;
|
|
404
359
|
/**
|
|
@@ -414,109 +369,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
414
369
|
**/
|
|
415
370
|
[key: string]: AugmentedError<ApiType>;
|
|
416
371
|
};
|
|
417
|
-
democracy: {
|
|
418
|
-
/**
|
|
419
|
-
* Cannot cancel the same proposal twice
|
|
420
|
-
**/
|
|
421
|
-
AlreadyCanceled: AugmentedError<ApiType>;
|
|
422
|
-
/**
|
|
423
|
-
* The account is already delegating.
|
|
424
|
-
**/
|
|
425
|
-
AlreadyDelegating: AugmentedError<ApiType>;
|
|
426
|
-
/**
|
|
427
|
-
* Identity may not veto a proposal twice
|
|
428
|
-
**/
|
|
429
|
-
AlreadyVetoed: AugmentedError<ApiType>;
|
|
430
|
-
/**
|
|
431
|
-
* Proposal already made
|
|
432
|
-
**/
|
|
433
|
-
DuplicateProposal: AugmentedError<ApiType>;
|
|
434
|
-
/**
|
|
435
|
-
* The instant referendum origin is currently disallowed.
|
|
436
|
-
**/
|
|
437
|
-
InstantNotAllowed: AugmentedError<ApiType>;
|
|
438
|
-
/**
|
|
439
|
-
* Too high a balance was provided that the account cannot afford.
|
|
440
|
-
**/
|
|
441
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
442
|
-
/**
|
|
443
|
-
* Invalid hash
|
|
444
|
-
**/
|
|
445
|
-
InvalidHash: AugmentedError<ApiType>;
|
|
446
|
-
/**
|
|
447
|
-
* Maximum number of votes reached.
|
|
448
|
-
**/
|
|
449
|
-
MaxVotesReached: AugmentedError<ApiType>;
|
|
450
|
-
/**
|
|
451
|
-
* No proposals waiting
|
|
452
|
-
**/
|
|
453
|
-
NoneWaiting: AugmentedError<ApiType>;
|
|
454
|
-
/**
|
|
455
|
-
* Delegation to oneself makes no sense.
|
|
456
|
-
**/
|
|
457
|
-
Nonsense: AugmentedError<ApiType>;
|
|
458
|
-
/**
|
|
459
|
-
* The actor has no permission to conduct the action.
|
|
460
|
-
**/
|
|
461
|
-
NoPermission: AugmentedError<ApiType>;
|
|
462
|
-
/**
|
|
463
|
-
* No external proposal
|
|
464
|
-
**/
|
|
465
|
-
NoProposal: AugmentedError<ApiType>;
|
|
466
|
-
/**
|
|
467
|
-
* The account is not currently delegating.
|
|
468
|
-
**/
|
|
469
|
-
NotDelegating: AugmentedError<ApiType>;
|
|
470
|
-
/**
|
|
471
|
-
* Next external proposal not simple majority
|
|
472
|
-
**/
|
|
473
|
-
NotSimpleMajority: AugmentedError<ApiType>;
|
|
474
|
-
/**
|
|
475
|
-
* The given account did not vote on the referendum.
|
|
476
|
-
**/
|
|
477
|
-
NotVoter: AugmentedError<ApiType>;
|
|
478
|
-
/**
|
|
479
|
-
* The preimage does not exist.
|
|
480
|
-
**/
|
|
481
|
-
PreimageNotExist: AugmentedError<ApiType>;
|
|
482
|
-
/**
|
|
483
|
-
* Proposal still blacklisted
|
|
484
|
-
**/
|
|
485
|
-
ProposalBlacklisted: AugmentedError<ApiType>;
|
|
486
|
-
/**
|
|
487
|
-
* Proposal does not exist
|
|
488
|
-
**/
|
|
489
|
-
ProposalMissing: AugmentedError<ApiType>;
|
|
490
|
-
/**
|
|
491
|
-
* Vote given for invalid referendum
|
|
492
|
-
**/
|
|
493
|
-
ReferendumInvalid: AugmentedError<ApiType>;
|
|
494
|
-
/**
|
|
495
|
-
* Maximum number of items reached.
|
|
496
|
-
**/
|
|
497
|
-
TooMany: AugmentedError<ApiType>;
|
|
498
|
-
/**
|
|
499
|
-
* Value too low
|
|
500
|
-
**/
|
|
501
|
-
ValueLow: AugmentedError<ApiType>;
|
|
502
|
-
/**
|
|
503
|
-
* The account currently has votes attached to it and the operation cannot succeed until
|
|
504
|
-
* these are removed, either through `unvote` or `reap_vote`.
|
|
505
|
-
**/
|
|
506
|
-
VotesExist: AugmentedError<ApiType>;
|
|
507
|
-
/**
|
|
508
|
-
* Voting period too low
|
|
509
|
-
**/
|
|
510
|
-
VotingPeriodLow: AugmentedError<ApiType>;
|
|
511
|
-
/**
|
|
512
|
-
* Invalid upper bound.
|
|
513
|
-
**/
|
|
514
|
-
WrongUpperBound: AugmentedError<ApiType>;
|
|
515
|
-
/**
|
|
516
|
-
* Generic error
|
|
517
|
-
**/
|
|
518
|
-
[key: string]: AugmentedError<ApiType>;
|
|
519
|
-
};
|
|
520
372
|
electionProviderMultiPhase: {
|
|
521
373
|
/**
|
|
522
374
|
* Some bound not met
|
|
@@ -873,6 +725,12 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
873
725
|
* The message is queued for future execution.
|
|
874
726
|
**/
|
|
875
727
|
Queued: AugmentedError<ApiType>;
|
|
728
|
+
/**
|
|
729
|
+
* The queue is paused and no message can be executed from it.
|
|
730
|
+
*
|
|
731
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
732
|
+
**/
|
|
733
|
+
QueuePaused: AugmentedError<ApiType>;
|
|
876
734
|
/**
|
|
877
735
|
* This message is temporarily unprocessable.
|
|
878
736
|
*
|
|
@@ -973,6 +831,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
973
831
|
* Not enough blocks have surpassed since the last commission update.
|
|
974
832
|
**/
|
|
975
833
|
CommissionChangeThrottled: AugmentedError<ApiType>;
|
|
834
|
+
/**
|
|
835
|
+
* The supplied commission exceeds global maximum commission.
|
|
836
|
+
**/
|
|
837
|
+
CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
|
|
976
838
|
/**
|
|
977
839
|
* The supplied commission exceeds the max allowed commission.
|
|
978
840
|
**/
|
|
@@ -1096,14 +958,15 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1096
958
|
* invalid dispute.
|
|
1097
959
|
**/
|
|
1098
960
|
BitfieldReferencesFreedCore: AugmentedError<ApiType>;
|
|
1099
|
-
/**
|
|
1100
|
-
* Candidate not in parent context.
|
|
1101
|
-
**/
|
|
1102
|
-
CandidateNotInParentContext: AugmentedError<ApiType>;
|
|
1103
961
|
/**
|
|
1104
962
|
* Candidate scheduled despite pending candidate already existing for the para.
|
|
1105
963
|
**/
|
|
1106
964
|
CandidateScheduledBeforeParaFree: AugmentedError<ApiType>;
|
|
965
|
+
/**
|
|
966
|
+
* The candidate's relay-parent was not allowed. Either it was
|
|
967
|
+
* not recent enough or it didn't advance based on the last parachain block.
|
|
968
|
+
**/
|
|
969
|
+
DisallowedRelayParent: AugmentedError<ApiType>;
|
|
1107
970
|
/**
|
|
1108
971
|
* Head data exceeds the configured maximum.
|
|
1109
972
|
**/
|
|
@@ -1120,6 +983,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1120
983
|
* Insufficient (non-majority) backing.
|
|
1121
984
|
**/
|
|
1122
985
|
InsufficientBacking: AugmentedError<ApiType>;
|
|
986
|
+
/**
|
|
987
|
+
* Failed to compute group index for the core: either it's out of bounds
|
|
988
|
+
* or the relay parent doesn't belong to the current session.
|
|
989
|
+
**/
|
|
990
|
+
InvalidAssignment: AugmentedError<ApiType>;
|
|
1123
991
|
/**
|
|
1124
992
|
* Invalid (bad signature, unknown validator, etc.) backing.
|
|
1125
993
|
**/
|
|
@@ -1153,8 +1021,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1153
1021
|
**/
|
|
1154
1022
|
NotCollatorSigned: AugmentedError<ApiType>;
|
|
1155
1023
|
/**
|
|
1156
|
-
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
1157
|
-
* commitments.
|
|
1024
|
+
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
1025
|
+
* para head in the commitments.
|
|
1158
1026
|
**/
|
|
1159
1027
|
ParaHeadMismatch: AugmentedError<ApiType>;
|
|
1160
1028
|
/**
|
|
@@ -1197,10 +1065,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1197
1065
|
* Availability bitfield has unexpected size.
|
|
1198
1066
|
**/
|
|
1199
1067
|
WrongBitfieldSize: AugmentedError<ApiType>;
|
|
1200
|
-
/**
|
|
1201
|
-
* Candidate included with the wrong collator.
|
|
1202
|
-
**/
|
|
1203
|
-
WrongCollator: AugmentedError<ApiType>;
|
|
1204
1068
|
/**
|
|
1205
1069
|
* Generic error
|
|
1206
1070
|
**/
|
|
@@ -1239,7 +1103,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1239
1103
|
};
|
|
1240
1104
|
paras: {
|
|
1241
1105
|
/**
|
|
1242
|
-
* Para cannot be downgraded to
|
|
1106
|
+
* Para cannot be downgraded to an on-demand parachain.
|
|
1243
1107
|
**/
|
|
1244
1108
|
CannotDowngrade: AugmentedError<ApiType>;
|
|
1245
1109
|
/**
|
|
@@ -1251,7 +1115,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1251
1115
|
**/
|
|
1252
1116
|
CannotOnboard: AugmentedError<ApiType>;
|
|
1253
1117
|
/**
|
|
1254
|
-
* Para cannot be upgraded to a parachain.
|
|
1118
|
+
* Para cannot be upgraded to a lease holding parachain.
|
|
1255
1119
|
**/
|
|
1256
1120
|
CannotUpgrade: AugmentedError<ApiType>;
|
|
1257
1121
|
/**
|
|
@@ -1364,80 +1228,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1364
1228
|
**/
|
|
1365
1229
|
[key: string]: AugmentedError<ApiType>;
|
|
1366
1230
|
};
|
|
1367
|
-
phragmenElection: {
|
|
1368
|
-
/**
|
|
1369
|
-
* Duplicated candidate submission.
|
|
1370
|
-
**/
|
|
1371
|
-
DuplicatedCandidate: AugmentedError<ApiType>;
|
|
1372
|
-
/**
|
|
1373
|
-
* Candidate does not have enough funds.
|
|
1374
|
-
**/
|
|
1375
|
-
InsufficientCandidateFunds: AugmentedError<ApiType>;
|
|
1376
|
-
/**
|
|
1377
|
-
* The renouncing origin presented a wrong `Renouncing` parameter.
|
|
1378
|
-
**/
|
|
1379
|
-
InvalidRenouncing: AugmentedError<ApiType>;
|
|
1380
|
-
/**
|
|
1381
|
-
* Prediction regarding replacement after member removal is wrong.
|
|
1382
|
-
**/
|
|
1383
|
-
InvalidReplacement: AugmentedError<ApiType>;
|
|
1384
|
-
/**
|
|
1385
|
-
* The provided count of number of votes is incorrect.
|
|
1386
|
-
**/
|
|
1387
|
-
InvalidVoteCount: AugmentedError<ApiType>;
|
|
1388
|
-
/**
|
|
1389
|
-
* The provided count of number of candidates is incorrect.
|
|
1390
|
-
**/
|
|
1391
|
-
InvalidWitnessData: AugmentedError<ApiType>;
|
|
1392
|
-
/**
|
|
1393
|
-
* Cannot vote with stake less than minimum balance.
|
|
1394
|
-
**/
|
|
1395
|
-
LowBalance: AugmentedError<ApiType>;
|
|
1396
|
-
/**
|
|
1397
|
-
* Cannot vote more than maximum allowed.
|
|
1398
|
-
**/
|
|
1399
|
-
MaximumVotesExceeded: AugmentedError<ApiType>;
|
|
1400
|
-
/**
|
|
1401
|
-
* Member cannot re-submit candidacy.
|
|
1402
|
-
**/
|
|
1403
|
-
MemberSubmit: AugmentedError<ApiType>;
|
|
1404
|
-
/**
|
|
1405
|
-
* Must be a voter.
|
|
1406
|
-
**/
|
|
1407
|
-
MustBeVoter: AugmentedError<ApiType>;
|
|
1408
|
-
/**
|
|
1409
|
-
* Not a member.
|
|
1410
|
-
**/
|
|
1411
|
-
NotMember: AugmentedError<ApiType>;
|
|
1412
|
-
/**
|
|
1413
|
-
* Must vote for at least one candidate.
|
|
1414
|
-
**/
|
|
1415
|
-
NoVotes: AugmentedError<ApiType>;
|
|
1416
|
-
/**
|
|
1417
|
-
* Runner cannot re-submit candidacy.
|
|
1418
|
-
**/
|
|
1419
|
-
RunnerUpSubmit: AugmentedError<ApiType>;
|
|
1420
|
-
/**
|
|
1421
|
-
* Too many candidates have been created.
|
|
1422
|
-
**/
|
|
1423
|
-
TooManyCandidates: AugmentedError<ApiType>;
|
|
1424
|
-
/**
|
|
1425
|
-
* Cannot vote more than candidates.
|
|
1426
|
-
**/
|
|
1427
|
-
TooManyVotes: AugmentedError<ApiType>;
|
|
1428
|
-
/**
|
|
1429
|
-
* Voter can not pay voting bond.
|
|
1430
|
-
**/
|
|
1431
|
-
UnableToPayBond: AugmentedError<ApiType>;
|
|
1432
|
-
/**
|
|
1433
|
-
* Cannot vote when no candidates or members exist.
|
|
1434
|
-
**/
|
|
1435
|
-
UnableToVote: AugmentedError<ApiType>;
|
|
1436
|
-
/**
|
|
1437
|
-
* Generic error
|
|
1438
|
-
**/
|
|
1439
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1440
|
-
};
|
|
1441
1231
|
preimage: {
|
|
1442
1232
|
/**
|
|
1443
1233
|
* Preimage has already been noted on-chain.
|
|
@@ -1574,16 +1364,16 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1574
1364
|
**/
|
|
1575
1365
|
CannotDeregister: AugmentedError<ApiType>;
|
|
1576
1366
|
/**
|
|
1577
|
-
* Cannot schedule downgrade of parachain to
|
|
1367
|
+
* Cannot schedule downgrade of lease holding parachain to on-demand parachain
|
|
1578
1368
|
**/
|
|
1579
1369
|
CannotDowngrade: AugmentedError<ApiType>;
|
|
1580
1370
|
/**
|
|
1581
|
-
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
1582
|
-
* correct for the swap to work.
|
|
1371
|
+
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
1372
|
+
* are correct for the swap to work.
|
|
1583
1373
|
**/
|
|
1584
1374
|
CannotSwap: AugmentedError<ApiType>;
|
|
1585
1375
|
/**
|
|
1586
|
-
* Cannot schedule upgrade of
|
|
1376
|
+
* Cannot schedule upgrade of on-demand parachain to lease holding parachain
|
|
1587
1377
|
**/
|
|
1588
1378
|
CannotUpgrade: AugmentedError<ApiType>;
|
|
1589
1379
|
/**
|
|
@@ -1607,7 +1397,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1607
1397
|
**/
|
|
1608
1398
|
NotParachain: AugmentedError<ApiType>;
|
|
1609
1399
|
/**
|
|
1610
|
-
* Para is not a Parathread.
|
|
1400
|
+
* Para is not a Parathread (on-demand parachain).
|
|
1611
1401
|
**/
|
|
1612
1402
|
NotParathread: AugmentedError<ApiType>;
|
|
1613
1403
|
/**
|
|
@@ -1619,7 +1409,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1619
1409
|
**/
|
|
1620
1410
|
NotReserved: AugmentedError<ApiType>;
|
|
1621
1411
|
/**
|
|
1622
|
-
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
1412
|
+
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
1413
|
+
* governance.
|
|
1623
1414
|
**/
|
|
1624
1415
|
ParaLocked: AugmentedError<ApiType>;
|
|
1625
1416
|
/**
|
|
@@ -1837,100 +1628,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1837
1628
|
**/
|
|
1838
1629
|
[key: string]: AugmentedError<ApiType>;
|
|
1839
1630
|
};
|
|
1840
|
-
technicalCommittee: {
|
|
1841
|
-
/**
|
|
1842
|
-
* Members are already initialized!
|
|
1843
|
-
**/
|
|
1844
|
-
AlreadyInitialized: AugmentedError<ApiType>;
|
|
1845
|
-
/**
|
|
1846
|
-
* Duplicate proposals not allowed
|
|
1847
|
-
**/
|
|
1848
|
-
DuplicateProposal: AugmentedError<ApiType>;
|
|
1849
|
-
/**
|
|
1850
|
-
* Duplicate vote ignored
|
|
1851
|
-
**/
|
|
1852
|
-
DuplicateVote: AugmentedError<ApiType>;
|
|
1853
|
-
/**
|
|
1854
|
-
* Account is not a member
|
|
1855
|
-
**/
|
|
1856
|
-
NotMember: AugmentedError<ApiType>;
|
|
1857
|
-
/**
|
|
1858
|
-
* Proposal must exist
|
|
1859
|
-
**/
|
|
1860
|
-
ProposalMissing: AugmentedError<ApiType>;
|
|
1861
|
-
/**
|
|
1862
|
-
* The close call was made too early, before the end of the voting.
|
|
1863
|
-
**/
|
|
1864
|
-
TooEarly: AugmentedError<ApiType>;
|
|
1865
|
-
/**
|
|
1866
|
-
* There can only be a maximum of `MaxProposals` active proposals.
|
|
1867
|
-
**/
|
|
1868
|
-
TooManyProposals: AugmentedError<ApiType>;
|
|
1869
|
-
/**
|
|
1870
|
-
* Mismatched index
|
|
1871
|
-
**/
|
|
1872
|
-
WrongIndex: AugmentedError<ApiType>;
|
|
1873
|
-
/**
|
|
1874
|
-
* The given length bound for the proposal was too low.
|
|
1875
|
-
**/
|
|
1876
|
-
WrongProposalLength: AugmentedError<ApiType>;
|
|
1877
|
-
/**
|
|
1878
|
-
* The given weight bound for the proposal was too low.
|
|
1879
|
-
**/
|
|
1880
|
-
WrongProposalWeight: AugmentedError<ApiType>;
|
|
1881
|
-
/**
|
|
1882
|
-
* Generic error
|
|
1883
|
-
**/
|
|
1884
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1885
|
-
};
|
|
1886
|
-
technicalMembership: {
|
|
1887
|
-
/**
|
|
1888
|
-
* Already a member.
|
|
1889
|
-
**/
|
|
1890
|
-
AlreadyMember: AugmentedError<ApiType>;
|
|
1891
|
-
/**
|
|
1892
|
-
* Not a member.
|
|
1893
|
-
**/
|
|
1894
|
-
NotMember: AugmentedError<ApiType>;
|
|
1895
|
-
/**
|
|
1896
|
-
* Too many members.
|
|
1897
|
-
**/
|
|
1898
|
-
TooManyMembers: AugmentedError<ApiType>;
|
|
1899
|
-
/**
|
|
1900
|
-
* Generic error
|
|
1901
|
-
**/
|
|
1902
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1903
|
-
};
|
|
1904
|
-
tips: {
|
|
1905
|
-
/**
|
|
1906
|
-
* The tip was already found/started.
|
|
1907
|
-
**/
|
|
1908
|
-
AlreadyKnown: AugmentedError<ApiType>;
|
|
1909
|
-
/**
|
|
1910
|
-
* The account attempting to retract the tip is not the finder of the tip.
|
|
1911
|
-
**/
|
|
1912
|
-
NotFinder: AugmentedError<ApiType>;
|
|
1913
|
-
/**
|
|
1914
|
-
* The tip cannot be claimed/closed because it's still in the countdown period.
|
|
1915
|
-
**/
|
|
1916
|
-
Premature: AugmentedError<ApiType>;
|
|
1917
|
-
/**
|
|
1918
|
-
* The reason given is just too big.
|
|
1919
|
-
**/
|
|
1920
|
-
ReasonTooBig: AugmentedError<ApiType>;
|
|
1921
|
-
/**
|
|
1922
|
-
* The tip cannot be claimed/closed because there are not enough tippers yet.
|
|
1923
|
-
**/
|
|
1924
|
-
StillOpen: AugmentedError<ApiType>;
|
|
1925
|
-
/**
|
|
1926
|
-
* The tip hash is unknown.
|
|
1927
|
-
**/
|
|
1928
|
-
UnknownTip: AugmentedError<ApiType>;
|
|
1929
|
-
/**
|
|
1930
|
-
* Generic error
|
|
1931
|
-
**/
|
|
1932
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1933
|
-
};
|
|
1934
1631
|
treasury: {
|
|
1935
1632
|
/**
|
|
1936
1633
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
@@ -2094,8 +1791,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2094
1791
|
**/
|
|
2095
1792
|
NoSubscription: AugmentedError<ApiType>;
|
|
2096
1793
|
/**
|
|
2097
|
-
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
2098
|
-
* a lack of space for buffering the message.
|
|
1794
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
1795
|
+
* Perhaps a lack of space for buffering the message.
|
|
2099
1796
|
**/
|
|
2100
1797
|
SendFailure: AugmentedError<ApiType>;
|
|
2101
1798
|
/**
|