Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cross chain lp feature for front end #1531

Open
FezBox opened this issue Nov 18, 2024 · 2 comments · May be fixed by #1584
Open

Implement cross chain lp feature for front end #1531

FezBox opened this issue Nov 18, 2024 · 2 comments · May be fixed by #1584
Assignees

Comments

@FezBox
Copy link
Collaborator

FezBox commented Nov 18, 2024

here is the doc with what has been built
https://github.com/balancednetwork/balanced-java-contracts/blob/feature/crosschain_lp/crosschainlp.md

@parrot9design
Copy link
Collaborator

parrot9design commented Nov 20, 2024

Cross-chain liquidity design

The Supply tab just needs a small update to make sure the second asset is always set to the same chain as the first (remove the blockchain selector and wallet info):
Screenshot 2024-11-20 at 2 19 16 PM

Let's update the confirmation modal to this:
Screenshot 2024-11-20 at 2 41 23 PM

If the pool offers rewards, we should prompt people to stake their LP tokens after they finish supplying liquidity:
image

Add the asset icons and blockchain to the Your pools` tab in the Liquidity Pools section:
Screenshot 2024-11-20 at 2 29 19 PM

Note that we also want to flip the asset style in the Core pools tab so the primary asset is on top (like what you see above, but without the blockchain logo).


Cross-chain rewards

The updated design for the Rewards section includes a blockchain selector and the ability to deposit other stablecoins (USDC, USDT).

Screenshot 2024-12-23 at 6 55 02 AM

Screenshot 2024-11-20 at 5 35 14 PM

Onboarding message shown if you don't have the chosen asset in your wallet:
Screenshot 2024-12-23 at 7 01 44 AM

If you deposit multiple stablecoins into the Savings Rate, they're combined to show you a single $ value, and you can choose which stablecoin to receive when you withdraw. If the active stablecoin has limited availability (not enough to withdraw), there'll be an Available indicator on the slider so you can only withdraw up to that point:
image

@FezBox
Copy link
Collaborator Author

FezBox commented Dec 23, 2024

expect to have a testable front end by the end of this year

@parrot9design parrot9design linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants