ubiquity-dollar
ubiquity-dollar copied to clipboard
Update UBQ Farming UI
We changed the flow from manual steps (add liquidity in curve, then lockup LP token in our staking contract) to now “ape in” which handles both in a single transaction. Check packages/contracts/src/dollar/DirectGovernanceFarmer.sol
The new UI should be built on top of the related smart contact code changes. The context is available in https://github.com/ubiquity/ubiquity-dollar/issues/243

You can upgrade the "Stake Liquidity to Receive UBQ" panel with one that allows users to:
- Deposit their uAD+3pool stables (uAD/USDC/USDT/DAI) allow them to select the amount of each of course.
- Specify the amount of weeks for lockup.
- Be sure to leave the MAX button functionality in here as well.
Using the apeIn
method!