@dedot/chaintypes 0.131.0 → 0.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/index.d.ts +2 -0
- package/aleph/view-functions.d.ts +5 -0
- package/astar/index.d.ts +2 -0
- package/astar/view-functions.d.ts +5 -0
- package/basilisk/index.d.ts +2 -0
- package/basilisk/view-functions.d.ts +5 -0
- package/hydration/index.d.ts +2 -0
- package/hydration/view-functions.d.ts +5 -0
- package/kusama/index.d.ts +2 -0
- package/kusama/view-functions.d.ts +5 -0
- package/kusama-asset-hub/index.d.ts +2 -0
- package/kusama-asset-hub/view-functions.d.ts +5 -0
- package/kusama-people/index.d.ts +2 -0
- package/kusama-people/view-functions.d.ts +5 -0
- package/moonbeam/index.d.ts +2 -0
- package/moonbeam/view-functions.d.ts +5 -0
- package/package.json +3 -3
- package/paseo/index.d.ts +2 -0
- package/paseo/view-functions.d.ts +5 -0
- package/paseo-asset-hub/index.d.ts +2 -0
- package/paseo-asset-hub/view-functions.d.ts +5 -0
- package/paseo-hydration/consts.d.ts +49 -133
- package/paseo-hydration/errors.d.ts +209 -212
- package/paseo-hydration/events.d.ts +141 -158
- package/paseo-hydration/index.d.ts +3 -1
- package/paseo-hydration/query.d.ts +101 -143
- package/paseo-hydration/runtime.d.ts +25 -0
- package/paseo-hydration/tx.d.ts +596 -682
- package/paseo-hydration/types.d.ts +945 -683
- package/paseo-hydration/view-functions.d.ts +5 -0
- package/paseo-people/index.d.ts +2 -0
- package/paseo-people/view-functions.d.ts +5 -0
- package/polkadot/index.d.ts +2 -0
- package/polkadot/view-functions.d.ts +5 -0
- package/polkadot-asset-hub/index.d.ts +2 -0
- package/polkadot-asset-hub/view-functions.d.ts +5 -0
- package/polkadot-people/index.d.ts +2 -0
- package/polkadot-people/view-functions.d.ts +5 -0
- package/substrate/index.d.ts +2 -0
- package/substrate/runtime.d.ts +11 -11
- package/substrate/types.d.ts +8 -1
- package/substrate/view-functions.d.ts +5 -0
- package/vara/index.d.ts +2 -0
- package/vara/view-functions.d.ts +5 -0
- package/westend/errors.d.ts +2 -0
- package/westend/index.d.ts +2 -0
- package/westend/query.d.ts +2 -0
- package/westend/tx.d.ts +12 -0
- package/westend/types.d.ts +11 -11
- package/westend/view-functions.d.ts +84 -0
- package/westend-asset-hub/errors.d.ts +2 -0
- package/westend-asset-hub/index.d.ts +2 -0
- package/westend-asset-hub/query.d.ts +2 -0
- package/westend-asset-hub/tx.d.ts +8 -0
- package/westend-asset-hub/types.d.ts +42 -44
- package/westend-asset-hub/view-functions.d.ts +82 -0
- package/westend-people/index.d.ts +2 -0
- package/westend-people/view-functions.d.ts +5 -0
|
@@ -596,164 +596,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
596
596
|
**/
|
|
597
597
|
[error: string]: GenericPalletError<Rv>;
|
|
598
598
|
};
|
|
599
|
-
/**
|
|
600
|
-
* Pallet `Elections`'s errors
|
|
601
|
-
**/
|
|
602
|
-
elections: {
|
|
603
|
-
/**
|
|
604
|
-
* Cannot vote when no candidates or members exist.
|
|
605
|
-
**/
|
|
606
|
-
UnableToVote: GenericPalletError<Rv>;
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* Must vote for at least one candidate.
|
|
610
|
-
**/
|
|
611
|
-
NoVotes: GenericPalletError<Rv>;
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* Cannot vote more than candidates.
|
|
615
|
-
**/
|
|
616
|
-
TooManyVotes: GenericPalletError<Rv>;
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Cannot vote more than maximum allowed.
|
|
620
|
-
**/
|
|
621
|
-
MaximumVotesExceeded: GenericPalletError<Rv>;
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* Cannot vote with stake less than minimum balance.
|
|
625
|
-
**/
|
|
626
|
-
LowBalance: GenericPalletError<Rv>;
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Voter can not pay voting bond.
|
|
630
|
-
**/
|
|
631
|
-
UnableToPayBond: GenericPalletError<Rv>;
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* Must be a voter.
|
|
635
|
-
**/
|
|
636
|
-
MustBeVoter: GenericPalletError<Rv>;
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* Duplicated candidate submission.
|
|
640
|
-
**/
|
|
641
|
-
DuplicatedCandidate: GenericPalletError<Rv>;
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* Too many candidates have been created.
|
|
645
|
-
**/
|
|
646
|
-
TooManyCandidates: GenericPalletError<Rv>;
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* Member cannot re-submit candidacy.
|
|
650
|
-
**/
|
|
651
|
-
MemberSubmit: GenericPalletError<Rv>;
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* Runner cannot re-submit candidacy.
|
|
655
|
-
**/
|
|
656
|
-
RunnerUpSubmit: GenericPalletError<Rv>;
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* Candidate does not have enough funds.
|
|
660
|
-
**/
|
|
661
|
-
InsufficientCandidateFunds: GenericPalletError<Rv>;
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Not a member.
|
|
665
|
-
**/
|
|
666
|
-
NotMember: GenericPalletError<Rv>;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* The provided count of number of candidates is incorrect.
|
|
670
|
-
**/
|
|
671
|
-
InvalidWitnessData: GenericPalletError<Rv>;
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* The provided count of number of votes is incorrect.
|
|
675
|
-
**/
|
|
676
|
-
InvalidVoteCount: GenericPalletError<Rv>;
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* The renouncing origin presented a wrong `Renouncing` parameter.
|
|
680
|
-
**/
|
|
681
|
-
InvalidRenouncing: GenericPalletError<Rv>;
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* Prediction regarding replacement after member removal is wrong.
|
|
685
|
-
**/
|
|
686
|
-
InvalidReplacement: GenericPalletError<Rv>;
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Generic pallet error
|
|
690
|
-
**/
|
|
691
|
-
[error: string]: GenericPalletError<Rv>;
|
|
692
|
-
};
|
|
693
|
-
/**
|
|
694
|
-
* Pallet `Council`'s errors
|
|
695
|
-
**/
|
|
696
|
-
council: {
|
|
697
|
-
/**
|
|
698
|
-
* Account is not a member
|
|
699
|
-
**/
|
|
700
|
-
NotMember: GenericPalletError<Rv>;
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Duplicate proposals not allowed
|
|
704
|
-
**/
|
|
705
|
-
DuplicateProposal: GenericPalletError<Rv>;
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* Proposal must exist
|
|
709
|
-
**/
|
|
710
|
-
ProposalMissing: GenericPalletError<Rv>;
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Mismatched index
|
|
714
|
-
**/
|
|
715
|
-
WrongIndex: GenericPalletError<Rv>;
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Duplicate vote ignored
|
|
719
|
-
**/
|
|
720
|
-
DuplicateVote: GenericPalletError<Rv>;
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* Members are already initialized!
|
|
724
|
-
**/
|
|
725
|
-
AlreadyInitialized: GenericPalletError<Rv>;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* The close call was made too early, before the end of the voting.
|
|
729
|
-
**/
|
|
730
|
-
TooEarly: GenericPalletError<Rv>;
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* There can only be a maximum of `MaxProposals` active proposals.
|
|
734
|
-
**/
|
|
735
|
-
TooManyProposals: GenericPalletError<Rv>;
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* The given weight bound for the proposal was too low.
|
|
739
|
-
**/
|
|
740
|
-
WrongProposalWeight: GenericPalletError<Rv>;
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* The given length bound for the proposal was too low.
|
|
744
|
-
**/
|
|
745
|
-
WrongProposalLength: GenericPalletError<Rv>;
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Prime account is not a member
|
|
749
|
-
**/
|
|
750
|
-
PrimeAccountNotMember: GenericPalletError<Rv>;
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* Generic pallet error
|
|
754
|
-
**/
|
|
755
|
-
[error: string]: GenericPalletError<Rv>;
|
|
756
|
-
};
|
|
757
599
|
/**
|
|
758
600
|
* Pallet `TechnicalCommittee`'s errors
|
|
759
601
|
**/
|
|
@@ -818,50 +660,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
818
660
|
**/
|
|
819
661
|
[error: string]: GenericPalletError<Rv>;
|
|
820
662
|
};
|
|
821
|
-
/**
|
|
822
|
-
* Pallet `Tips`'s errors
|
|
823
|
-
**/
|
|
824
|
-
tips: {
|
|
825
|
-
/**
|
|
826
|
-
* The reason given is just too big.
|
|
827
|
-
**/
|
|
828
|
-
ReasonTooBig: GenericPalletError<Rv>;
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* The tip was already found/started.
|
|
832
|
-
**/
|
|
833
|
-
AlreadyKnown: GenericPalletError<Rv>;
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* The tip hash is unknown.
|
|
837
|
-
**/
|
|
838
|
-
UnknownTip: GenericPalletError<Rv>;
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* The tip given was too generous.
|
|
842
|
-
**/
|
|
843
|
-
MaxTipAmountExceeded: GenericPalletError<Rv>;
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* The account attempting to retract the tip is not the finder of the tip.
|
|
847
|
-
**/
|
|
848
|
-
NotFinder: GenericPalletError<Rv>;
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* The tip cannot be claimed/closed because there are not enough tippers yet.
|
|
852
|
-
**/
|
|
853
|
-
StillOpen: GenericPalletError<Rv>;
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* The tip cannot be claimed/closed because it's still in the countdown period.
|
|
857
|
-
**/
|
|
858
|
-
Premature: GenericPalletError<Rv>;
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* Generic pallet error
|
|
862
|
-
**/
|
|
863
|
-
[error: string]: GenericPalletError<Rv>;
|
|
864
|
-
};
|
|
865
663
|
/**
|
|
866
664
|
* Pallet `Proxy`'s errors
|
|
867
665
|
**/
|
|
@@ -1700,11 +1498,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1700
1498
|
**/
|
|
1701
1499
|
LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
|
|
1702
1500
|
|
|
1703
|
-
/**
|
|
1704
|
-
* LP shares amount is not valid.
|
|
1705
|
-
**/
|
|
1706
|
-
InvalidDepositAmount: GenericPalletError<Rv>;
|
|
1707
|
-
|
|
1708
1501
|
/**
|
|
1709
1502
|
* Account is not allowed to perform action.
|
|
1710
1503
|
**/
|
|
@@ -1952,6 +1745,23 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1952
1745
|
**/
|
|
1953
1746
|
NotAllowed: GenericPalletError<Rv>;
|
|
1954
1747
|
|
|
1748
|
+
/**
|
|
1749
|
+
* Asset still in lockdown as it reached the allowed deposit limit for the period
|
|
1750
|
+
* Query the `asset_lockdown_state` storage to determine until which block the asset is locked,
|
|
1751
|
+
* so that the deposit can be released afterward.
|
|
1752
|
+
**/
|
|
1753
|
+
AssetInLockdown: GenericPalletError<Rv>;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Asset is not in a lockdown
|
|
1757
|
+
**/
|
|
1758
|
+
AssetNotInLockdown: GenericPalletError<Rv>;
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* Invalid amount to save deposit
|
|
1762
|
+
**/
|
|
1763
|
+
InvalidAmount: GenericPalletError<Rv>;
|
|
1764
|
+
|
|
1955
1765
|
/**
|
|
1956
1766
|
* Generic pallet error
|
|
1957
1767
|
**/
|
|
@@ -2020,6 +1830,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2020
1830
|
* Pallet `DynamicFees`'s errors
|
|
2021
1831
|
**/
|
|
2022
1832
|
dynamicFees: {
|
|
1833
|
+
/**
|
|
1834
|
+
* Invalid fee parameters provided
|
|
1835
|
+
**/
|
|
1836
|
+
InvalidFeeParameters: GenericPalletError<Rv>;
|
|
1837
|
+
|
|
2023
1838
|
/**
|
|
2024
1839
|
* Generic pallet error
|
|
2025
1840
|
**/
|
|
@@ -2239,6 +2054,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2239
2054
|
**/
|
|
2240
2055
|
IncorrectAssetDecimals: GenericPalletError<Rv>;
|
|
2241
2056
|
|
|
2057
|
+
/**
|
|
2058
|
+
* Pool does not have pegs configured.
|
|
2059
|
+
**/
|
|
2060
|
+
NoPegSource: GenericPalletError<Rv>;
|
|
2061
|
+
|
|
2242
2062
|
/**
|
|
2243
2063
|
* Generic pallet error
|
|
2244
2064
|
**/
|
|
@@ -2700,6 +2520,173 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2700
2520
|
**/
|
|
2701
2521
|
NotProfitable: GenericPalletError<Rv>;
|
|
2702
2522
|
|
|
2523
|
+
/**
|
|
2524
|
+
* Flash minter contract address not set. It is required for Hollar liquidations.
|
|
2525
|
+
**/
|
|
2526
|
+
FlashMinterNotSet: GenericPalletError<Rv>;
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* Invalid liquidation data provided
|
|
2530
|
+
**/
|
|
2531
|
+
InvalidLiquidationData: GenericPalletError<Rv>;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* Generic pallet error
|
|
2535
|
+
**/
|
|
2536
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2537
|
+
};
|
|
2538
|
+
/**
|
|
2539
|
+
* Pallet `HSM`'s errors
|
|
2540
|
+
**/
|
|
2541
|
+
hsm: {
|
|
2542
|
+
/**
|
|
2543
|
+
* Asset is not approved as collateral
|
|
2544
|
+
*
|
|
2545
|
+
* The operation attempted to use an asset that is not registered as an approved collateral.
|
|
2546
|
+
**/
|
|
2547
|
+
AssetNotApproved: GenericPalletError<Rv>;
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* Asset is already approved as collateral
|
|
2551
|
+
*
|
|
2552
|
+
* Attempted to add an asset that is already registered as a collateral.
|
|
2553
|
+
**/
|
|
2554
|
+
AssetAlreadyApproved: GenericPalletError<Rv>;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Another asset from the same pool is already approved
|
|
2558
|
+
*
|
|
2559
|
+
* Only one asset from each StableSwap pool can be used as collateral.
|
|
2560
|
+
**/
|
|
2561
|
+
PoolAlreadyHasCollateral: GenericPalletError<Rv>;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Invalid asset pair, must be Hollar and approved collateral
|
|
2565
|
+
*
|
|
2566
|
+
* The asset pair for buy/sell operations must include Hollar as one side and an approved collateral as the other.
|
|
2567
|
+
**/
|
|
2568
|
+
InvalidAssetPair: GenericPalletError<Rv>;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Max buy price exceeded
|
|
2572
|
+
*
|
|
2573
|
+
* The calculated buy price exceeds the maximum allowed buy price for the collateral.
|
|
2574
|
+
**/
|
|
2575
|
+
MaxBuyPriceExceeded: GenericPalletError<Rv>;
|
|
2576
|
+
|
|
2577
|
+
/**
|
|
2578
|
+
* Max buy back amount in single block exceeded
|
|
2579
|
+
*
|
|
2580
|
+
* The amount of Hollar being sold to HSM exceeds the maximum allowed in a single block for this collateral.
|
|
2581
|
+
**/
|
|
2582
|
+
MaxBuyBackExceeded: GenericPalletError<Rv>;
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* Max holding amount for collateral exceeded
|
|
2586
|
+
*
|
|
2587
|
+
* The operation would cause the HSM to hold more of the collateral than the configured maximum.
|
|
2588
|
+
**/
|
|
2589
|
+
MaxHoldingExceeded: GenericPalletError<Rv>;
|
|
2590
|
+
|
|
2591
|
+
/**
|
|
2592
|
+
* Slippage limit exceeded
|
|
2593
|
+
*
|
|
2594
|
+
* The calculated amount is worse than the provided slippage limit.
|
|
2595
|
+
**/
|
|
2596
|
+
SlippageLimitExceeded: GenericPalletError<Rv>;
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Invalid EVM contract interaction
|
|
2600
|
+
*
|
|
2601
|
+
* The call to the EVM contract (GHO Hollar token) failed.
|
|
2602
|
+
**/
|
|
2603
|
+
InvalidEVMInteraction: GenericPalletError<Rv>;
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* Decimal retrieval failed
|
|
2607
|
+
*
|
|
2608
|
+
* Failed to retrieve the decimal information for an asset.
|
|
2609
|
+
**/
|
|
2610
|
+
DecimalRetrievalFailed: GenericPalletError<Rv>;
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* No arbitrage opportunity
|
|
2614
|
+
*
|
|
2615
|
+
* There is no profitable arbitrage opportunity for the specified collateral.
|
|
2616
|
+
**/
|
|
2617
|
+
NoArbitrageOpportunity: GenericPalletError<Rv>;
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* Offchain lock error
|
|
2621
|
+
*
|
|
2622
|
+
* Failed to acquire the lock for offchain workers, likely because another operation is in progress.
|
|
2623
|
+
**/
|
|
2624
|
+
OffchainLockError: GenericPalletError<Rv>;
|
|
2625
|
+
|
|
2626
|
+
/**
|
|
2627
|
+
* Asset not in the pool
|
|
2628
|
+
*
|
|
2629
|
+
* The specified asset was not found in the pool.
|
|
2630
|
+
**/
|
|
2631
|
+
AssetNotFound: GenericPalletError<Rv>;
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* Provided pool state is invalid
|
|
2635
|
+
*
|
|
2636
|
+
* The retrieved pool state has inconsistent or invalid data.
|
|
2637
|
+
**/
|
|
2638
|
+
InvalidPoolState: GenericPalletError<Rv>;
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* Collateral is not empty
|
|
2642
|
+
*
|
|
2643
|
+
* Cannot remove a collateral asset that still has a non-zero balance in the HSM account.
|
|
2644
|
+
**/
|
|
2645
|
+
CollateralNotEmpty: GenericPalletError<Rv>;
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* Asset not in the pool
|
|
2649
|
+
*
|
|
2650
|
+
* The collateral asset is not present in the specified pool.
|
|
2651
|
+
**/
|
|
2652
|
+
AssetNotInPool: GenericPalletError<Rv>;
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* Hollar is not in the pool
|
|
2656
|
+
*
|
|
2657
|
+
* The Hollar asset is not present in the specified pool.
|
|
2658
|
+
**/
|
|
2659
|
+
HollarNotInPool: GenericPalletError<Rv>;
|
|
2660
|
+
|
|
2661
|
+
/**
|
|
2662
|
+
* Insufficient collateral balance
|
|
2663
|
+
*
|
|
2664
|
+
* The HSM does not have enough of the collateral asset to complete the operation.
|
|
2665
|
+
**/
|
|
2666
|
+
InsufficientCollateralBalance: GenericPalletError<Rv>;
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* GHO Contract address not found
|
|
2670
|
+
*
|
|
2671
|
+
* The EVM address for the GHO (Hollar) token contract was not found.
|
|
2672
|
+
**/
|
|
2673
|
+
HollarContractAddressNotFound: GenericPalletError<Rv>;
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* HSM contains maximum number of allowed collateral assets.
|
|
2677
|
+
**/
|
|
2678
|
+
MaxNumberOfCollateralsReached: GenericPalletError<Rv>;
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* Flash minter address not set
|
|
2682
|
+
**/
|
|
2683
|
+
FlashMinterNotSet: GenericPalletError<Rv>;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Provided arbitrage data is invalid
|
|
2687
|
+
**/
|
|
2688
|
+
InvalidArbitrageData: GenericPalletError<Rv>;
|
|
2689
|
+
|
|
2703
2690
|
/**
|
|
2704
2691
|
* Generic pallet error
|
|
2705
2692
|
**/
|
|
@@ -3004,6 +2991,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3004
2991
|
**/
|
|
3005
2992
|
NoFarmsSpecified: GenericPalletError<Rv>;
|
|
3006
2993
|
|
|
2994
|
+
/**
|
|
2995
|
+
* Failed to calculate value of xyk shares
|
|
2996
|
+
**/
|
|
2997
|
+
FailedToValueShares: GenericPalletError<Rv>;
|
|
2998
|
+
|
|
3007
2999
|
/**
|
|
3008
3000
|
* Generic pallet error
|
|
3009
3001
|
**/
|
|
@@ -3043,11 +3035,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3043
3035
|
**/
|
|
3044
3036
|
LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
|
|
3045
3037
|
|
|
3046
|
-
/**
|
|
3047
|
-
* LP shares amount is not valid.
|
|
3048
|
-
**/
|
|
3049
|
-
InvalidDepositAmount: GenericPalletError<Rv>;
|
|
3050
|
-
|
|
3051
3038
|
/**
|
|
3052
3039
|
* Account is not allowed to perform action.
|
|
3053
3040
|
**/
|
|
@@ -3268,6 +3255,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3268
3255
|
**/
|
|
3269
3256
|
StabilityThresholdTooHigh: GenericPalletError<Rv>;
|
|
3270
3257
|
|
|
3258
|
+
/**
|
|
3259
|
+
* User still has active DCA schedules and cannot unlock reserves
|
|
3260
|
+
**/
|
|
3261
|
+
HasActiveSchedules: GenericPalletError<Rv>;
|
|
3262
|
+
|
|
3263
|
+
/**
|
|
3264
|
+
* No reserves are locked for the user for the given asset
|
|
3265
|
+
**/
|
|
3266
|
+
NoReservesLocked: GenericPalletError<Rv>;
|
|
3267
|
+
|
|
3271
3268
|
/**
|
|
3272
3269
|
* Generic pallet error
|
|
3273
3270
|
**/
|