Closed JonRay15 closed 10 months ago
This is now covered by #4713 and #4714
We dont need this
Given the above, the only likely thing to do here would be some sort of summary savings in the Portfolio page.
But that will require the ledger entries summary API in order to get this detail out, so until we get some movement there this is blocked.
If we cant show summary data. As a first step it might still be good to show your current discount tier status and perhaps volume required to hit the next tier (same for referrals), based on the API requirements here we should be good.
Some simple cards might be a good start. Or perhaps an indicator in the key dropdown if discounts are active
Note Matt's comment above is old and not relevant for this ticket now that it has been broken out to cover only the rewards stuff ... so if you're thinking it is confusing, thats why.
We should make a start on this @mattrussell36
We can hide a bunch of things and focus on getting the important stuff for vesting out.
This first part of this is done. But we still need to implement the activity streaks and the reward tiles
We also need to have handling for when there is no activity streak and no reward hoarder streak active in mainnet ... which is currently the case.
Agreed card option 1
Story
As a user I want to see details of various discounts / rewards I'm getting So that I feel like a valued customer and can tell what I should be doing to earn / maximise my rewards
Acceptance Criteria
Tasks
Sketch
Figma
We are going for v2.4 in the Figma
Where there are various levels as indicated in the additional sketch in the Figma
Also using v2.1 of the reward cards.
https://www.figma.com/file/ywcCZvXdvG28bg0AmCY9mF/Console-v3?type=design&node-id=3166-5839&mode=design&t=GXj0QjK0d268FwQ1-0
Additional details / background info
API details
ACCOUNT_TYPE_VESTED_REWARDS
+ACCOUNT_TYPE_VESTING_REWARDS
ACCOUNT_TYPE_VESTED_REWARDS
rewards.vesting.baseRate
rewardVestingMultiplier
rewardDistributionMultiplier
activeFor
ACCOUNT_TYPE_VESTED_REWARDS
+ACCOUNT_TYPE_VESTING_REWARDS
rewards.activityStreak.benefitTiers
rewards.vesting.benefitTiers
Note that we have had some issues with pagination on that rewards page on the governance page, which are documented on the ticket below, so we should make sure we handle this nicely on the new console version.
https://github.com/vegaprotocol/frontend-monorepo/issues/3471