@webb-tools/tangle-substrate-types 0.5.8 → 0.5.12
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/README.md +11 -2
- package/{build/interfaces → interfaces}/augment-api-consts.d.ts +119 -24
- package/{ts-types/src/interfaces → interfaces}/augment-api-errors.d.ts +199 -342
- package/{build/interfaces → interfaces}/augment-api-events.d.ts +1365 -378
- package/{build/interfaces → interfaces}/augment-api-query.d.ts +718 -261
- package/{ts-types/src/interfaces → interfaces}/augment-api-tx.d.ts +1684 -442
- package/{ts-types/src/interfaces → interfaces}/lookup.d.ts +1425 -1093
- package/{build/interfaces → interfaces}/lookup.js +1443 -1111
- package/{build/interfaces → interfaces}/registry.d.ts +62 -75
- package/{ts-types/src/interfaces → interfaces}/types-lookup.d.ts +1233 -1128
- package/metadata/static-latest.d.ts +2 -0
- package/metadata/static-latest.js +7 -0
- package/package.json +1 -72
- package/.envrc +0 -5
- package/babel-config-cjs.cjs +0 -10
- package/build/interfaces/augment-api-errors.d.ts +0 -2144
- package/build/interfaces/augment-api-tx.d.ts +0 -2876
- package/build/interfaces/lookup.d.ts +0 -5908
- package/build/interfaces/types-lookup.d.ts +0 -6052
- package/build/metadata/static-latest.d.ts +0 -2
- package/build/metadata/static-latest.js +0 -7
- package/build/metadata/static-type.d.ts +0 -2
- package/build/metadata/static-type.js +0 -1
- package/build/package.json +0 -1
- package/playground.ts +0 -86
- package/polkadot-dev-configs/babel-config-cjs.cjs +0 -12
- package/polkadot-dev-configs/babel-general.cjs +0 -15
- package/polkadot-dev-configs/babel-plugins.cjs +0 -21
- package/polkadot-dev-configs/babel-presets.cjs +0 -33
- package/polkadot-dev-configs/babel-resolver.cjs +0 -14
- package/scripts/build.js +0 -134
- package/scripts/publish-types.js +0 -95
- package/scripts/updateMetadata.ts +0 -44
- package/src/examples/job_and_result_submission.ts +0 -203
- package/src/index.ts +0 -7
- package/src/interfaces/augment-api-consts.ts +0 -958
- package/src/interfaces/augment-api-errors.ts +0 -2152
- package/src/interfaces/augment-api-events.ts +0 -1465
- package/src/interfaces/augment-api-query.ts +0 -1629
- package/src/interfaces/augment-api-rpc.ts +0 -617
- package/src/interfaces/augment-api-runtime.ts +0 -308
- package/src/interfaces/augment-api-tx.ts +0 -1550
- package/src/interfaces/augment-api.ts +0 -10
- package/src/interfaces/augment-types.ts +0 -1256
- package/src/interfaces/lookup.ts +0 -5912
- package/src/interfaces/registry.ts +0 -433
- package/src/interfaces/types-lookup.ts +0 -6455
- package/src/metadata/metadata.json +0 -5
- package/src/metadata/static-latest.ts +0 -1
- package/src/metadata/static-type.ts +0 -3
- package/ts-types/playground.d.ts +0 -1
- package/ts-types/src/examples/job_and_result_submission.d.ts +0 -1
- package/ts-types/src/index.d.ts +0 -3
- package/ts-types/src/interfaces/augment-api-consts.d.ts +0 -950
- package/ts-types/src/interfaces/augment-api-events.d.ts +0 -2281
- package/ts-types/src/interfaces/augment-api-query.d.ts +0 -1660
- package/ts-types/src/interfaces/augment-api-rpc.d.ts +0 -679
- package/ts-types/src/interfaces/augment-api-runtime.d.ts +0 -363
- package/ts-types/src/interfaces/augment-api.d.ts +0 -7
- package/ts-types/src/interfaces/augment-types.d.ts +0 -1249
- package/ts-types/src/interfaces/registry.d.ts +0 -426
- package/ts-types/src/metadata/static-latest.d.ts +0 -2
- package/ts-types/src/metadata/static-type.d.ts +0 -2
- package/ts-types/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.json +0 -36
- /package/{build/examples → examples}/job_and_result_submission.d.ts +0 -0
- /package/{build/examples → examples}/job_and_result_submission.js +0 -0
- /package/{build/index.d.ts → index.d.ts} +0 -0
- /package/{build/index.js → index.js} +0 -0
- /package/{build/interfaces → interfaces}/augment-api-consts.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api-errors.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api-events.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api-query.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api-rpc.d.ts +0 -0
- /package/{build/interfaces → interfaces}/augment-api-rpc.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api-runtime.d.ts +0 -0
- /package/{build/interfaces → interfaces}/augment-api-runtime.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api-tx.js +0 -0
- /package/{build/interfaces → interfaces}/augment-api.d.ts +0 -0
- /package/{build/interfaces → interfaces}/augment-api.js +0 -0
- /package/{build/interfaces → interfaces}/augment-types.d.ts +0 -0
- /package/{build/interfaces → interfaces}/augment-types.js +0 -0
- /package/{build/interfaces → interfaces}/registry.js +0 -0
- /package/{build/interfaces → interfaces}/types-lookup.js +0 -0
|
@@ -439,226 +439,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
439
439
|
**/
|
|
440
440
|
[key: string]: AugmentedError<ApiType>;
|
|
441
441
|
};
|
|
442
|
-
dkg: {
|
|
443
|
-
/**
|
|
444
|
-
* Cannot retreive signers from the signature
|
|
445
|
-
**/
|
|
446
|
-
CannotRetreiveSigner: AugmentedError<ApiType>;
|
|
447
|
-
/**
|
|
448
|
-
* Duplicate identifier
|
|
449
|
-
**/
|
|
450
|
-
DuplicateIdentifier: AugmentedError<ApiType>;
|
|
451
|
-
/**
|
|
452
|
-
* Duplicate signature found in submission
|
|
453
|
-
**/
|
|
454
|
-
DuplicateSignature: AugmentedError<ApiType>;
|
|
455
|
-
/**
|
|
456
|
-
* Field element error
|
|
457
|
-
**/
|
|
458
|
-
FieldElementError: AugmentedError<ApiType>;
|
|
459
|
-
/**
|
|
460
|
-
* FROST Field scalar error
|
|
461
|
-
**/
|
|
462
|
-
FrostFieldError: AugmentedError<ApiType>;
|
|
463
|
-
/**
|
|
464
|
-
* FROST Group element error
|
|
465
|
-
**/
|
|
466
|
-
FrostGroupError: AugmentedError<ApiType>;
|
|
467
|
-
/**
|
|
468
|
-
* Identifier derivation not supported
|
|
469
|
-
**/
|
|
470
|
-
IdentifierDerivationNotSupported: AugmentedError<ApiType>;
|
|
471
|
-
/**
|
|
472
|
-
* Invalid FROST commitment
|
|
473
|
-
**/
|
|
474
|
-
IdentityCommitment: AugmentedError<ApiType>;
|
|
475
|
-
/**
|
|
476
|
-
* Incorrect number of identifiers
|
|
477
|
-
**/
|
|
478
|
-
IncorrectNumberOfIdentifiers: AugmentedError<ApiType>;
|
|
479
|
-
/**
|
|
480
|
-
* Invalid BLS public key
|
|
481
|
-
**/
|
|
482
|
-
InvalidBlsPublicKey: AugmentedError<ApiType>;
|
|
483
|
-
/**
|
|
484
|
-
* Invalid FROST message deserialization
|
|
485
|
-
**/
|
|
486
|
-
InvalidFrostMessageDeserialization: AugmentedError<ApiType>;
|
|
487
|
-
/**
|
|
488
|
-
* Invalid FROST message serialization
|
|
489
|
-
**/
|
|
490
|
-
InvalidFrostMessageSerialization: AugmentedError<ApiType>;
|
|
491
|
-
/**
|
|
492
|
-
* Invalid FROST signature
|
|
493
|
-
**/
|
|
494
|
-
InvalidFrostSignature: AugmentedError<ApiType>;
|
|
495
|
-
/**
|
|
496
|
-
* Invalid FROST signature scheme
|
|
497
|
-
**/
|
|
498
|
-
InvalidFrostSignatureScheme: AugmentedError<ApiType>;
|
|
499
|
-
/**
|
|
500
|
-
* Invalid FROST signature share
|
|
501
|
-
**/
|
|
502
|
-
InvalidFrostSignatureShare: AugmentedError<ApiType>;
|
|
503
|
-
/**
|
|
504
|
-
* Invalid identifier deserialization
|
|
505
|
-
**/
|
|
506
|
-
InvalidIdentifierDeserialization: AugmentedError<ApiType>;
|
|
507
|
-
/**
|
|
508
|
-
* Unexpected job type
|
|
509
|
-
**/
|
|
510
|
-
InvalidJobType: AugmentedError<ApiType>;
|
|
511
|
-
/**
|
|
512
|
-
* Invalid Justification type.
|
|
513
|
-
**/
|
|
514
|
-
InvalidJustification: AugmentedError<ApiType>;
|
|
515
|
-
/**
|
|
516
|
-
* Invalid message
|
|
517
|
-
**/
|
|
518
|
-
InvalidMessage: AugmentedError<ApiType>;
|
|
519
|
-
/**
|
|
520
|
-
* Invalid participant public key
|
|
521
|
-
**/
|
|
522
|
-
InvalidParticipantPublicKey: AugmentedError<ApiType>;
|
|
523
|
-
/**
|
|
524
|
-
* Invalid public key error
|
|
525
|
-
**/
|
|
526
|
-
InvalidPublicKey: AugmentedError<ApiType>;
|
|
527
|
-
/**
|
|
528
|
-
* Invalid Misbehavior Role type.
|
|
529
|
-
**/
|
|
530
|
-
InvalidRoleType: AugmentedError<ApiType>;
|
|
531
|
-
/**
|
|
532
|
-
* Invalid signature submitted
|
|
533
|
-
**/
|
|
534
|
-
InvalidSignature: AugmentedError<ApiType>;
|
|
535
|
-
/**
|
|
536
|
-
* The signers have signed different data
|
|
537
|
-
**/
|
|
538
|
-
InvalidSignatureData: AugmentedError<ApiType>;
|
|
539
|
-
/**
|
|
540
|
-
* Invalid signature deserialization
|
|
541
|
-
**/
|
|
542
|
-
InvalidSignatureDeserialization: AugmentedError<ApiType>;
|
|
543
|
-
/**
|
|
544
|
-
* Invalid signature scheme
|
|
545
|
-
**/
|
|
546
|
-
InvalidSignatureScheme: AugmentedError<ApiType>;
|
|
547
|
-
/**
|
|
548
|
-
* Invalid verifying key submitted
|
|
549
|
-
**/
|
|
550
|
-
InvalidVerifyingKey: AugmentedError<ApiType>;
|
|
551
|
-
/**
|
|
552
|
-
* Invalid verifying key deserialization
|
|
553
|
-
**/
|
|
554
|
-
InvalidVerifyingKeyDeserialization: AugmentedError<ApiType>;
|
|
555
|
-
/**
|
|
556
|
-
* Malformed signature
|
|
557
|
-
**/
|
|
558
|
-
MalformedFrostSignature: AugmentedError<ApiType>;
|
|
559
|
-
/**
|
|
560
|
-
* Malformed FROST signing key
|
|
561
|
-
**/
|
|
562
|
-
MalformedFrostSigningKey: AugmentedError<ApiType>;
|
|
563
|
-
/**
|
|
564
|
-
* Malformed FROST verifying key
|
|
565
|
-
**/
|
|
566
|
-
MalformedFrostVerifyingKey: AugmentedError<ApiType>;
|
|
567
|
-
/**
|
|
568
|
-
* Could not deserialize the round message.
|
|
569
|
-
**/
|
|
570
|
-
MalformedRoundMessage: AugmentedError<ApiType>;
|
|
571
|
-
/**
|
|
572
|
-
* Malformed Stark signature
|
|
573
|
-
**/
|
|
574
|
-
MalformedStarkSignature: AugmentedError<ApiType>;
|
|
575
|
-
/**
|
|
576
|
-
* Missing FROST commitment
|
|
577
|
-
**/
|
|
578
|
-
MissingFrostCommitment: AugmentedError<ApiType>;
|
|
579
|
-
/**
|
|
580
|
-
* No participants found
|
|
581
|
-
**/
|
|
582
|
-
NoParticipantsFound: AugmentedError<ApiType>;
|
|
583
|
-
/**
|
|
584
|
-
* No signatures found
|
|
585
|
-
**/
|
|
586
|
-
NoSignaturesFound: AugmentedError<ApiType>;
|
|
587
|
-
/**
|
|
588
|
-
* Not enough signers for threshold
|
|
589
|
-
**/
|
|
590
|
-
NotEnoughSigners: AugmentedError<ApiType>;
|
|
591
|
-
/**
|
|
592
|
-
* Signed Round Message not signed by the offender.
|
|
593
|
-
**/
|
|
594
|
-
NotSignedByOffender: AugmentedError<ApiType>;
|
|
595
|
-
/**
|
|
596
|
-
* Signed with a different key
|
|
597
|
-
**/
|
|
598
|
-
SigningKeyMismatch: AugmentedError<ApiType>;
|
|
599
|
-
/**
|
|
600
|
-
* Unknown identifier
|
|
601
|
-
**/
|
|
602
|
-
UnknownIdentifier: AugmentedError<ApiType>;
|
|
603
|
-
/**
|
|
604
|
-
* The submitted decommitment data size is valid.
|
|
605
|
-
*
|
|
606
|
-
* This error is returned when the decommitment data size is valid
|
|
607
|
-
* but the caller claims it is invalid!
|
|
608
|
-
**/
|
|
609
|
-
ValidDataSize: AugmentedError<ApiType>;
|
|
610
|
-
/**
|
|
611
|
-
* The submitted decommitment is valid.
|
|
612
|
-
*
|
|
613
|
-
* This error is returned when the decommitment is valid
|
|
614
|
-
* but the caller claims it is invalid!
|
|
615
|
-
**/
|
|
616
|
-
ValidDecommitment: AugmentedError<ApiType>;
|
|
617
|
-
/**
|
|
618
|
-
* The submitted messages passed Feldman verification.
|
|
619
|
-
*
|
|
620
|
-
* This error is returned when the messages passed Feldman verification
|
|
621
|
-
* but the caller claims it is invalid!
|
|
622
|
-
**/
|
|
623
|
-
ValidFeldmanVerification: AugmentedError<ApiType>;
|
|
624
|
-
/**
|
|
625
|
-
* Valid FROST signature error for a misbehavior report
|
|
626
|
-
**/
|
|
627
|
-
ValidFrostSignature: AugmentedError<ApiType>;
|
|
628
|
-
/**
|
|
629
|
-
* ------------------------------------------------------------ ///
|
|
630
|
-
* FROST ERRORS ///
|
|
631
|
-
* ------------------------------------------------------------ ///
|
|
632
|
-
* Valid FROST signature share
|
|
633
|
-
**/
|
|
634
|
-
ValidFrostSignatureShare: AugmentedError<ApiType>;
|
|
635
|
-
/**
|
|
636
|
-
* The submitted Mod Proof is valid.
|
|
637
|
-
*
|
|
638
|
-
* This error is returned when the Mod Proof is valid
|
|
639
|
-
* but the caller claims it is invalid.
|
|
640
|
-
**/
|
|
641
|
-
ValidModProof: AugmentedError<ApiType>;
|
|
642
|
-
/**
|
|
643
|
-
* The submitted ring pedersen parameters are valid.
|
|
644
|
-
*
|
|
645
|
-
* This error is returned when the ring pedersen parameters are valid
|
|
646
|
-
* but the caller claims it is invalid.
|
|
647
|
-
**/
|
|
648
|
-
ValidRingPedersenParameters: AugmentedError<ApiType>;
|
|
649
|
-
/**
|
|
650
|
-
* The submitted Schnorr Proof is valid.
|
|
651
|
-
*
|
|
652
|
-
* This error is returned when the decommitment and its
|
|
653
|
-
* Schnorr are valid. but the caller
|
|
654
|
-
* claims it is invalid.
|
|
655
|
-
**/
|
|
656
|
-
ValidSchnorrProof: AugmentedError<ApiType>;
|
|
657
|
-
/**
|
|
658
|
-
* Generic error
|
|
659
|
-
**/
|
|
660
|
-
[key: string]: AugmentedError<ApiType>;
|
|
661
|
-
};
|
|
662
442
|
electionProviderMultiPhase: {
|
|
663
443
|
/**
|
|
664
444
|
* Some bound not met
|
|
@@ -1067,79 +847,146 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1067
847
|
**/
|
|
1068
848
|
[key: string]: AugmentedError<ApiType>;
|
|
1069
849
|
};
|
|
1070
|
-
|
|
850
|
+
lst: {
|
|
1071
851
|
/**
|
|
1072
|
-
*
|
|
852
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
1073
853
|
**/
|
|
1074
|
-
|
|
854
|
+
BondExtraRestricted: AugmentedError<ApiType>;
|
|
1075
855
|
/**
|
|
1076
|
-
*
|
|
856
|
+
* The pools state cannot be changed.
|
|
1077
857
|
**/
|
|
1078
|
-
|
|
858
|
+
CanNotChangeState: AugmentedError<ApiType>;
|
|
1079
859
|
/**
|
|
1080
|
-
*
|
|
860
|
+
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1081
861
|
**/
|
|
1082
|
-
|
|
862
|
+
CannotWithdrawAny: AugmentedError<ApiType>;
|
|
1083
863
|
/**
|
|
1084
|
-
*
|
|
864
|
+
* The submitted changes to commission change rate are not allowed.
|
|
1085
865
|
**/
|
|
1086
|
-
|
|
866
|
+
CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
|
|
1087
867
|
/**
|
|
1088
|
-
*
|
|
868
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
1089
869
|
**/
|
|
1090
|
-
|
|
870
|
+
CommissionChangeThrottled: AugmentedError<ApiType>;
|
|
1091
871
|
/**
|
|
1092
|
-
*
|
|
872
|
+
* The supplied commission exceeds global maximum commission.
|
|
1093
873
|
**/
|
|
1094
|
-
|
|
874
|
+
CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
|
|
1095
875
|
/**
|
|
1096
|
-
*
|
|
876
|
+
* The supplied commission exceeds the max allowed commission.
|
|
1097
877
|
**/
|
|
1098
|
-
|
|
878
|
+
CommissionExceedsMaximum: AugmentedError<ApiType>;
|
|
1099
879
|
/**
|
|
1100
|
-
*
|
|
880
|
+
* Some error occurred that should never happen. This should be reported to the
|
|
881
|
+
* maintainers.
|
|
1101
882
|
**/
|
|
1102
|
-
|
|
883
|
+
Defensive: AugmentedError<ApiType>;
|
|
1103
884
|
/**
|
|
1104
|
-
*
|
|
885
|
+
* The caller does not have adequate permissions.
|
|
1105
886
|
**/
|
|
1106
|
-
|
|
887
|
+
DoesNotHavePermission: AugmentedError<ApiType>;
|
|
1107
888
|
/**
|
|
1108
|
-
*
|
|
889
|
+
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
890
|
+
* anymore to, for example, collect rewards).
|
|
1109
891
|
**/
|
|
1110
|
-
|
|
892
|
+
FullyUnbonding: AugmentedError<ApiType>;
|
|
1111
893
|
/**
|
|
1112
|
-
*
|
|
894
|
+
* Pool id provided is not correct/usable.
|
|
1113
895
|
**/
|
|
1114
|
-
|
|
896
|
+
InvalidPoolId: AugmentedError<ApiType>;
|
|
1115
897
|
/**
|
|
1116
|
-
*
|
|
898
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
1117
899
|
**/
|
|
1118
|
-
|
|
900
|
+
MaxCommissionRestricted: AugmentedError<ApiType>;
|
|
1119
901
|
/**
|
|
1120
|
-
*
|
|
902
|
+
* Too many members in the pool or system.
|
|
1121
903
|
**/
|
|
1122
|
-
|
|
904
|
+
MaxPoolMembers: AugmentedError<ApiType>;
|
|
905
|
+
/**
|
|
906
|
+
* The system is maxed out on pools.
|
|
907
|
+
**/
|
|
908
|
+
MaxPools: AugmentedError<ApiType>;
|
|
909
|
+
/**
|
|
910
|
+
* The member cannot unbond further chunks due to reaching the limit.
|
|
911
|
+
**/
|
|
912
|
+
MaxUnbondingLimit: AugmentedError<ApiType>;
|
|
913
|
+
/**
|
|
914
|
+
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
915
|
+
**/
|
|
916
|
+
MetadataExceedsMaxLen: AugmentedError<ApiType>;
|
|
917
|
+
/**
|
|
918
|
+
* The amount does not meet the minimum bond to either join or create a pool.
|
|
919
|
+
*
|
|
920
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
921
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
922
|
+
* value below `MinJoinBond`.
|
|
923
|
+
**/
|
|
924
|
+
MinimumBondNotMet: AugmentedError<ApiType>;
|
|
925
|
+
/**
|
|
926
|
+
* No balance to unbond.
|
|
927
|
+
**/
|
|
928
|
+
NoBalanceToUnbond: AugmentedError<ApiType>;
|
|
929
|
+
/**
|
|
930
|
+
* No commission current has been set.
|
|
931
|
+
**/
|
|
932
|
+
NoCommissionCurrentSet: AugmentedError<ApiType>;
|
|
933
|
+
/**
|
|
934
|
+
* There is no pending commission to claim.
|
|
935
|
+
**/
|
|
936
|
+
NoPendingCommission: AugmentedError<ApiType>;
|
|
937
|
+
/**
|
|
938
|
+
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
939
|
+
* other members to be permissionlessly unbonded.
|
|
940
|
+
**/
|
|
941
|
+
NotDestroying: AugmentedError<ApiType>;
|
|
942
|
+
/**
|
|
943
|
+
* No imbalance in the ED deposit for the pool.
|
|
944
|
+
**/
|
|
945
|
+
NothingToAdjust: AugmentedError<ApiType>;
|
|
946
|
+
/**
|
|
947
|
+
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
948
|
+
**/
|
|
949
|
+
NotKickerOrDestroying: AugmentedError<ApiType>;
|
|
950
|
+
/**
|
|
951
|
+
* The caller does not have nominating permissions for the pool.
|
|
952
|
+
**/
|
|
953
|
+
NotNominator: AugmentedError<ApiType>;
|
|
954
|
+
/**
|
|
955
|
+
* The pool is not open to join
|
|
956
|
+
**/
|
|
957
|
+
NotOpen: AugmentedError<ApiType>;
|
|
1123
958
|
/**
|
|
1124
|
-
* The
|
|
959
|
+
* The transaction could not be executed due to overflow risk for the pool.
|
|
1125
960
|
**/
|
|
1126
|
-
|
|
961
|
+
OverflowRisk: AugmentedError<ApiType>;
|
|
1127
962
|
/**
|
|
1128
|
-
*
|
|
963
|
+
* Partial unbonding now allowed permissionlessly.
|
|
1129
964
|
**/
|
|
1130
|
-
|
|
965
|
+
PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
|
|
1131
966
|
/**
|
|
1132
|
-
*
|
|
967
|
+
* Pool id currently in use.
|
|
1133
968
|
**/
|
|
1134
|
-
|
|
969
|
+
PoolIdInUse: AugmentedError<ApiType>;
|
|
1135
970
|
/**
|
|
1136
|
-
*
|
|
971
|
+
* An account is not a member.
|
|
1137
972
|
**/
|
|
1138
|
-
|
|
973
|
+
PoolMemberNotFound: AugmentedError<ApiType>;
|
|
1139
974
|
/**
|
|
1140
|
-
*
|
|
975
|
+
* A (bonded) pool id does not exist.
|
|
976
|
+
**/
|
|
977
|
+
PoolNotFound: AugmentedError<ApiType>;
|
|
978
|
+
/**
|
|
979
|
+
* Pool token creation failed.
|
|
1141
980
|
**/
|
|
1142
|
-
|
|
981
|
+
PoolTokenCreationFailed: AugmentedError<ApiType>;
|
|
982
|
+
/**
|
|
983
|
+
* A reward pool does not exist. In all cases this is a system logic error.
|
|
984
|
+
**/
|
|
985
|
+
RewardPoolNotFound: AugmentedError<ApiType>;
|
|
986
|
+
/**
|
|
987
|
+
* A sub pool does not exist.
|
|
988
|
+
**/
|
|
989
|
+
SubPoolsNotFound: AugmentedError<ApiType>;
|
|
1143
990
|
/**
|
|
1144
991
|
* Generic error
|
|
1145
992
|
**/
|
|
@@ -1162,10 +1009,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1162
1009
|
* The account is already an operator.
|
|
1163
1010
|
**/
|
|
1164
1011
|
AlreadyOperator: AugmentedError<ApiType>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Asset already exists in a reward pool
|
|
1014
|
+
**/
|
|
1015
|
+
AssetAlreadyInPool: AugmentedError<ApiType>;
|
|
1165
1016
|
/**
|
|
1166
1017
|
* The asset ID is not found
|
|
1167
1018
|
**/
|
|
1168
1019
|
AssetNotFound: AugmentedError<ApiType>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Asset not found in reward pool
|
|
1022
|
+
**/
|
|
1023
|
+
AssetNotInPool: AugmentedError<ApiType>;
|
|
1169
1024
|
/**
|
|
1170
1025
|
* The asset is not whitelisted
|
|
1171
1026
|
**/
|
|
@@ -1175,19 +1030,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1175
1030
|
**/
|
|
1176
1031
|
BlueprintAlreadyWhitelisted: AugmentedError<ApiType>;
|
|
1177
1032
|
/**
|
|
1178
|
-
* The
|
|
1033
|
+
* The unstake request is not ready.
|
|
1179
1034
|
**/
|
|
1180
1035
|
BondLessNotReady: AugmentedError<ApiType>;
|
|
1181
1036
|
/**
|
|
1182
|
-
* A
|
|
1037
|
+
* A unstake request already exists.
|
|
1183
1038
|
**/
|
|
1184
1039
|
BondLessRequestAlreadyExists: AugmentedError<ApiType>;
|
|
1185
1040
|
/**
|
|
1186
|
-
* The
|
|
1041
|
+
* The unstake request is not satisfied.
|
|
1187
1042
|
**/
|
|
1188
1043
|
BondLessRequestNotSatisfied: AugmentedError<ApiType>;
|
|
1189
1044
|
/**
|
|
1190
|
-
* The
|
|
1045
|
+
* The stake amount is too low.
|
|
1191
1046
|
**/
|
|
1192
1047
|
BondTooLow: AugmentedError<ApiType>;
|
|
1193
1048
|
/**
|
|
@@ -1203,11 +1058,15 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1203
1058
|
**/
|
|
1204
1059
|
NoActiveDelegation: AugmentedError<ApiType>;
|
|
1205
1060
|
/**
|
|
1206
|
-
* There is no
|
|
1061
|
+
* There is no unstake request.
|
|
1207
1062
|
**/
|
|
1208
1063
|
NoBondLessRequest: AugmentedError<ApiType>;
|
|
1209
1064
|
/**
|
|
1210
|
-
*
|
|
1065
|
+
* No matching withdraw reqests found
|
|
1066
|
+
**/
|
|
1067
|
+
NoMatchingwithdrawRequest: AugmentedError<ApiType>;
|
|
1068
|
+
/**
|
|
1069
|
+
* There is no scheduled unstake request.
|
|
1211
1070
|
**/
|
|
1212
1071
|
NoScheduledBondLess: AugmentedError<ApiType>;
|
|
1213
1072
|
/**
|
|
@@ -1243,9 +1102,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1243
1102
|
**/
|
|
1244
1103
|
NoWithdrawRequest: AugmentedError<ApiType>;
|
|
1245
1104
|
/**
|
|
1246
|
-
*
|
|
1105
|
+
* No withdraw requests found
|
|
1106
|
+
**/
|
|
1107
|
+
NowithdrawRequests: AugmentedError<ApiType>;
|
|
1108
|
+
/**
|
|
1109
|
+
* The reward pool does not exist
|
|
1247
1110
|
**/
|
|
1248
|
-
|
|
1111
|
+
PoolNotFound: AugmentedError<ApiType>;
|
|
1249
1112
|
/**
|
|
1250
1113
|
* A withdraw request already exists.
|
|
1251
1114
|
**/
|
|
@@ -1535,110 +1398,127 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1535
1398
|
**/
|
|
1536
1399
|
[key: string]: AugmentedError<ApiType>;
|
|
1537
1400
|
};
|
|
1538
|
-
|
|
1401
|
+
scheduler: {
|
|
1539
1402
|
/**
|
|
1540
|
-
*
|
|
1403
|
+
* Failed to schedule a call
|
|
1541
1404
|
**/
|
|
1542
|
-
|
|
1405
|
+
FailedToSchedule: AugmentedError<ApiType>;
|
|
1543
1406
|
/**
|
|
1544
|
-
*
|
|
1407
|
+
* Attempt to use a non-named function on a named task.
|
|
1545
1408
|
**/
|
|
1546
|
-
|
|
1409
|
+
Named: AugmentedError<ApiType>;
|
|
1547
1410
|
/**
|
|
1548
|
-
* Cannot find
|
|
1411
|
+
* Cannot find the scheduled call.
|
|
1549
1412
|
**/
|
|
1550
|
-
|
|
1413
|
+
NotFound: AugmentedError<ApiType>;
|
|
1551
1414
|
/**
|
|
1552
|
-
*
|
|
1415
|
+
* Reschedule failed because it does not change scheduled time.
|
|
1553
1416
|
**/
|
|
1554
|
-
|
|
1417
|
+
RescheduleNoChange: AugmentedError<ApiType>;
|
|
1555
1418
|
/**
|
|
1556
|
-
*
|
|
1419
|
+
* Given target block number is in the past.
|
|
1557
1420
|
**/
|
|
1558
|
-
|
|
1421
|
+
TargetBlockNumberInPast: AugmentedError<ApiType>;
|
|
1559
1422
|
/**
|
|
1560
|
-
*
|
|
1423
|
+
* Generic error
|
|
1561
1424
|
**/
|
|
1562
|
-
|
|
1425
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1426
|
+
};
|
|
1427
|
+
services: {
|
|
1563
1428
|
/**
|
|
1564
|
-
*
|
|
1429
|
+
* The caller is already registered as a operator.
|
|
1565
1430
|
**/
|
|
1566
|
-
|
|
1431
|
+
AlreadyRegistered: AugmentedError<ApiType>;
|
|
1567
1432
|
/**
|
|
1568
|
-
*
|
|
1433
|
+
* The approval is not requested for the operator (the caller).
|
|
1569
1434
|
**/
|
|
1570
|
-
|
|
1435
|
+
ApprovalNotRequested: AugmentedError<ApiType>;
|
|
1571
1436
|
/**
|
|
1572
|
-
*
|
|
1437
|
+
* The service blueprint was not found.
|
|
1573
1438
|
**/
|
|
1574
|
-
|
|
1439
|
+
BlueprintNotFound: AugmentedError<ApiType>;
|
|
1575
1440
|
/**
|
|
1576
|
-
*
|
|
1441
|
+
* An error occurred while decoding the EVM ABI.
|
|
1577
1442
|
**/
|
|
1578
|
-
|
|
1443
|
+
EVMAbiDecode: AugmentedError<ApiType>;
|
|
1579
1444
|
/**
|
|
1580
|
-
*
|
|
1445
|
+
* An error occurred while encoding the EVM ABI.
|
|
1581
1446
|
**/
|
|
1582
|
-
|
|
1447
|
+
EVMAbiEncode: AugmentedError<ApiType>;
|
|
1583
1448
|
/**
|
|
1584
|
-
*
|
|
1449
|
+
* The caller does not have the requirements to call a job.
|
|
1585
1450
|
**/
|
|
1586
|
-
|
|
1451
|
+
InvalidJobCallInput: AugmentedError<ApiType>;
|
|
1587
1452
|
/**
|
|
1588
|
-
*
|
|
1453
|
+
* The caller provided an invalid job result.
|
|
1589
1454
|
**/
|
|
1590
|
-
|
|
1455
|
+
InvalidJobResult: AugmentedError<ApiType>;
|
|
1591
1456
|
/**
|
|
1592
|
-
*
|
|
1593
|
-
* moment.
|
|
1457
|
+
* The caller does not have the requirements to be a operator.
|
|
1594
1458
|
**/
|
|
1595
|
-
|
|
1459
|
+
InvalidRegistrationInput: AugmentedError<ApiType>;
|
|
1596
1460
|
/**
|
|
1597
|
-
*
|
|
1461
|
+
* The caller does not have the requirements to request a service.
|
|
1598
1462
|
**/
|
|
1599
|
-
|
|
1463
|
+
InvalidRequestInput: AugmentedError<ApiType>;
|
|
1600
1464
|
/**
|
|
1601
|
-
*
|
|
1465
|
+
* The result of the job call was not found.
|
|
1602
1466
|
**/
|
|
1603
|
-
|
|
1467
|
+
JobCallResultNotFound: AugmentedError<ApiType>;
|
|
1604
1468
|
/**
|
|
1605
|
-
*
|
|
1469
|
+
* The requested job definition does not exist.
|
|
1470
|
+
* This error is returned when the requested job definition does not exist in the service
|
|
1471
|
+
* blueprint.
|
|
1606
1472
|
**/
|
|
1607
|
-
|
|
1473
|
+
JobDefinitionNotFound: AugmentedError<ApiType>;
|
|
1608
1474
|
/**
|
|
1609
|
-
*
|
|
1475
|
+
* The maximum number of fields per request has been exceeded.
|
|
1610
1476
|
**/
|
|
1611
|
-
|
|
1477
|
+
MaxFieldsExceeded: AugmentedError<ApiType>;
|
|
1612
1478
|
/**
|
|
1613
|
-
*
|
|
1479
|
+
* The maximum number of permitted callers per service has been exceeded.
|
|
1614
1480
|
**/
|
|
1615
|
-
|
|
1481
|
+
MaxPermittedCallersExceeded: AugmentedError<ApiType>;
|
|
1616
1482
|
/**
|
|
1617
|
-
*
|
|
1483
|
+
* The maximum number of operators per service has been exceeded.
|
|
1618
1484
|
**/
|
|
1619
|
-
|
|
1620
|
-
};
|
|
1621
|
-
scheduler: {
|
|
1485
|
+
MaxServiceProvidersExceeded: AugmentedError<ApiType>;
|
|
1622
1486
|
/**
|
|
1623
|
-
*
|
|
1487
|
+
* Maximum number of services per Provider reached.
|
|
1624
1488
|
**/
|
|
1625
|
-
|
|
1489
|
+
MaxServicesPerProviderExceeded: AugmentedError<ApiType>;
|
|
1626
1490
|
/**
|
|
1627
|
-
*
|
|
1491
|
+
* The maximum number of services per user has been exceeded.
|
|
1628
1492
|
**/
|
|
1629
|
-
|
|
1493
|
+
MaxServicesPerUserExceeded: AugmentedError<ApiType>;
|
|
1630
1494
|
/**
|
|
1631
|
-
*
|
|
1495
|
+
* The caller is not registered as a operator.
|
|
1632
1496
|
**/
|
|
1633
|
-
|
|
1497
|
+
NotRegistered: AugmentedError<ApiType>;
|
|
1634
1498
|
/**
|
|
1635
|
-
*
|
|
1499
|
+
* The operator is not active, ensure operator status is ACTIVE in multi-asset-delegation
|
|
1636
1500
|
**/
|
|
1637
|
-
|
|
1501
|
+
OperatorNotActive: AugmentedError<ApiType>;
|
|
1638
1502
|
/**
|
|
1639
|
-
*
|
|
1503
|
+
* Operator profile not found.
|
|
1640
1504
|
**/
|
|
1641
|
-
|
|
1505
|
+
OperatorProfileNotFound: AugmentedError<ApiType>;
|
|
1506
|
+
/**
|
|
1507
|
+
* The service was not found.
|
|
1508
|
+
**/
|
|
1509
|
+
ServiceNotFound: AugmentedError<ApiType>;
|
|
1510
|
+
/**
|
|
1511
|
+
* Either the service or the job call was not found.
|
|
1512
|
+
**/
|
|
1513
|
+
ServiceOrJobCallNotFound: AugmentedError<ApiType>;
|
|
1514
|
+
/**
|
|
1515
|
+
* The service request was not found.
|
|
1516
|
+
**/
|
|
1517
|
+
ServiceRequestNotFound: AugmentedError<ApiType>;
|
|
1518
|
+
/**
|
|
1519
|
+
* An error occurred while type checking the provided input input.
|
|
1520
|
+
**/
|
|
1521
|
+
TypeCheck: AugmentedError<ApiType>;
|
|
1642
1522
|
/**
|
|
1643
1523
|
* Generic error
|
|
1644
1524
|
**/
|
|
@@ -1769,10 +1649,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1769
1649
|
* Can not rebond without unlocking chunks.
|
|
1770
1650
|
**/
|
|
1771
1651
|
NoUnlockChunk: AugmentedError<ApiType>;
|
|
1772
|
-
/**
|
|
1773
|
-
* The user has active restake
|
|
1774
|
-
**/
|
|
1775
|
-
RestakeActive: AugmentedError<ApiType>;
|
|
1776
1652
|
/**
|
|
1777
1653
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
1778
1654
|
* settings to keep things safe for the runtime.
|
|
@@ -2121,24 +1997,5 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2121
1997
|
**/
|
|
2122
1998
|
[key: string]: AugmentedError<ApiType>;
|
|
2123
1999
|
};
|
|
2124
|
-
zkSaaS: {
|
|
2125
|
-
/**
|
|
2126
|
-
* Unexpected job type
|
|
2127
|
-
**/
|
|
2128
|
-
InvalidJobType: AugmentedError<ApiType>;
|
|
2129
|
-
/**
|
|
2130
|
-
* Invalid proof
|
|
2131
|
-
**/
|
|
2132
|
-
InvalidProof: AugmentedError<ApiType>;
|
|
2133
|
-
/**
|
|
2134
|
-
* Malformed Proof
|
|
2135
|
-
* if the proof bytes is not correct.
|
|
2136
|
-
**/
|
|
2137
|
-
MalformedProof: AugmentedError<ApiType>;
|
|
2138
|
-
/**
|
|
2139
|
-
* Generic error
|
|
2140
|
-
**/
|
|
2141
|
-
[key: string]: AugmentedError<ApiType>;
|
|
2142
|
-
};
|
|
2143
2000
|
}
|
|
2144
2001
|
}
|