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

GIVsavings page for Project Owners #865

Open
2 of 9 tasks
divine-comedian opened this issue Mar 22, 2023 · 5 comments
Open
2 of 9 tasks

GIVsavings page for Project Owners #865

divine-comedian opened this issue Mar 22, 2023 · 5 comments

Comments

@divine-comedian
Copy link

divine-comedian commented Mar 22, 2023

We'll need to begin development on the interactive elements of GIVsavings for Project Owners. This will be a feature that will allow users to deposit their tokens into a "savings" contract that they will earn interest on. Users can also withdraw part or all of their tokens thus redeeming for the underlying assets, which includes any interest earned.
image

On this page we'll need:

  • Add a GIVsavings tab to the single project page view
  • The ability to have multiple tabs for multiple chains (Although we will only have Optimism at launch)
  • More GIVsavings accounts will be added later for different assets (i.e USDC, DAI, ETH) however we will have only 1 savings account on launch
  • User can deposit their funds into a corresponding GIVsavings smart contract (hardcoded address) (requires approve and deposit - 2 txs)
  • Users can withdraw some or all of their deposited balance from the GIVsavings smart contract (only requires withdraw)
  • text for user - placeholder link for docs page (probably docs.giveth.io/dapp/givfi )
  • User can see their net deposits (total balance - rewards earned), rewards earned (total balance - net deposits) and total balance (rewards earned + net deposits) (Are these values retrieved from smart contract or subgraph? @KurtMerbeth @mateodaza )
  • project owner sees their total balance from all vaults, across all chains (but will only have 1 chain and 1 vault at launch)
  • each GIVsavings account/vault will have a toggle to see additional information - containing graphs and detailed information (separate issue)
@divine-comedian
Copy link
Author

Design is almost finished - can be found here:
https://www.figma.com/file/nVoinu0tgJ565enN5R4WDE/GIVeconomy?type=design&node-id=21425%3A194127&t=nA7vSNHHivptAZqC-1

need to finish responsive design and get a review from @markoprljic

@divine-comedian divine-comedian changed the title GIVsavings page on user profile GIVsavings page for Project Owners May 18, 2023
@MoeNick
Copy link
Member

MoeNick commented May 28, 2023

@MohammadPCh @alireza-sharifpour @RamRamez
Please take a look and let me know who is taking this one. Please provide estimation that I can manage the whole week better.

@MoeNick
Copy link
Member

MoeNick commented Jun 13, 2023

Moving it back to Product Backlog

@MohammadPCh
Copy link
Collaborator

@MoeNick do we have decided to start GIVfi again?

@divine-comedian
Copy link
Author

No, sorry this should be icebox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants