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

ENG-5665 feat(launchpad,1ui): implement downvoting #1085

Conversation

Vitalsine85
Copy link
Member

@Vitalsine85 Vitalsine85 commented Jan 30, 2025

Affected Packages

Apps

  • data populator
  • portal
  • template
  • launchpad

Packages

  • 1ui
  • api
  • graphql
  • protocol
  • sdk

Tools

  • tools

Overview

Introduces downvoting and further improves the signal/voting UX. Added gradients to table and updated modal bg and border. Improved vault details fetching. Removed unused components related to survey/staking/signaling. Updated signal step in survey flow.

Note: still working through the vote math... 1 vote = minDeposit, but we have to account for the fees when calculating it on the frontend. In the case of transactions, 1 tick always = minDeposit, or if you're redeeming, it will redeem all if parsedTick +1 > your shares. In the case of showing someone their ticks post transaction and fees, we have to do 0.94 * minDeposit to account for the 5% entry and 1% protocol fees. Still seems to be some rounding issues though. Continuing to work through that but we can test this now.

Screen Captures

https://www.loom.com/share/655f4ec38b1a40baa0b56f3120c32188?sid=cfc75cc0-b176-4446-a321-02923a2bdadc

Declaration

  • I hereby declare that I have abided by the rules and regulations as outlined in the CONTRIBUTING.md

Copy link

linear bot commented Jan 30, 2025

@github-actions github-actions bot added the feat Feature label Jan 30, 2025
@Vitalsine85 Vitalsine85 force-pushed the vital/eng-5665-implement-redeemingdown-voting branch from 46f9cc1 to c97a376 Compare January 30, 2025 19:46
@Vitalsine85 Vitalsine85 marked this pull request as ready for review January 30, 2025 23:52
@Vitalsine85 Vitalsine85 changed the title ENG-5665 feat(launchpad): implement downvoting ENG-5665 feat(launchpad,1ui): implement downvoting Jan 31, 2025
@Vitalsine85 Vitalsine85 merged commit 1a3604f into feature/launchpad-dev Feb 6, 2025
5 checks passed
@Vitalsine85 Vitalsine85 deleted the vital/eng-5665-implement-redeemingdown-voting branch February 7, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants