ReFi-Protocol / dashboard

https://dashboard-indol-zeta-98.vercel.app
0 stars 4 forks source link

[Marker.io] Staking page actions #47

Open ReFiProtocol opened 3 months ago

ReFiProtocol commented 3 months ago

Screenshot_2024-08-29_00-13-06.png

There are 3 main actions to the staking page: Claim, Restake, Destake.

I will explain when each of the 3 actions are supposed to show:

Claim - this is supposed to show on each of the active stakes & restakes. It should be unclickable if the unclaimed rewards are 0. but otherwise, it should be clickable so that users can claim

Restake - this is supposed to be shown on all stakes (excluding restakes) with a 45, 80, 90 day lockin period.

Destake - this is supposed to on each of the active stakes and restakes, but it should only be clickable and active button only on stakes with the no-lockin period or stakes that have exceeded the time of the locking period (45,80,90 days).

Please confirm with yan if all this makes sense from the backend perspective before this is implemented


Reported by: ReFi Team (info@refiprotocol.io) - Contact via Marker.io

Source URL: https://beta.refiprotocol.io/staking

Issue details: Open in Marker.io

Console: ❌ 2 errors ⚠️ 2 warnings 📃 2 logs

Network: View network logs

Session replay: Watch last 30 seconds

Device typedesktop
BrowserFirefox 129.0
Screen Size3648 x 2280
OSUbuntu
Viewport Size1824 x 998
Pixel Ratio@​1.5789473684210527x