-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(earn): Show correct pool amount when LP to deposit is not 1:1 (#6121
) ### Description Also fix TVL, now assume that TVL is always in USD (will add note in hooks). ### Test plan Manual test: <img src="https://github.com/user-attachments/assets/3fe943f0-ffe9-446a-afd1-dc47d7ea9ed1" width="250" /> <img src="https://github.com/user-attachments/assets/6661ba15-e8ce-40e2-ac74-e693061e3ca6" width="250" /> ### Related issues - Fixes ACT-1397 ### Backwards compatibility Yes ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will: - [X] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)
- Loading branch information
1 parent
73ce253
commit c0a9178
Showing
4 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters