pickle-finance/pickle-ui

Add Brinery flow to UIv2

Closed this issue · 0 comments

Abstract

UIv2 has a single-page interface for Jars & Farms. We want to replicate this interface for the Brinery modules. As with the rest of the /farms page, the user's touchpoint is a "collapsible" element that contains all the user-relevant information regarding the Pickle smart contracts, together with jar data, the user's position, etc. Brinery modules contain 2-3 components the user should interact with:

  • the component that accepts the governance token donations that form the core of the boosting, and returns a receipt token (aka the "minter" or "brinery" contract e.g. "the pveFXS vault")
  • the "boosted pool" and "boosted jar" components, similar to vanilla Pickle jars but with a "boost".
  • the LP that provides liquidity to the brinery token (e.g. pveFXS-FXS), if this is a rewarded pool (whether by Pickle, by an external protocol, or by both).

Acceptance Criteria (ACs)

  • the brinery collapsible SHOULD follow the mock-up in Assets below.
  • the boosted collapsible SHOULD include a "boost" indicator under the APY.
  • the "brinery LP" collapsible (if any) MAY be similar to the PICKLE-ETH LP but containing a "boost" indicator as well (if eligible to boosting).

Assets

Screenshot 2022-04-24 at 5 45 04 PM

fxs-boost-indicator

(Brinery component mock-up) https://whimsical.com/pickle-ui-v2-X4kzT5gmxpvHgchELKG6xc@2Ux7TurymN6nJT89EUVf