Badger-Finance / gitcoin

Repo for gitcoin hack-a-thons,bonunties and code snippets.
7 stars 0 forks source link

Chadger Registry and Website Bounty #45

Open GalloDaSballo opened 2 years ago

GalloDaSballo commented 2 years ago

Badger is evolving, in order to allow new Strategist to join Badger we need a scouting ground, a place where new strategists can deploy and stage their strategies as they move them to production.

This is Chadger, a fully decentralized Registry and Website, that allows new Strategists to easily deploy new vaults and display them for apes to try.

This is an advanced bounty that requires both Smart Contract and Website Development skills.

Video Version:

https://drive.google.com/file/d/1ol9YCdPLvtwIjhM6OiCqs4XNt5AbD8qF/view?usp=sharing

The deliverables are going to be:

ChadgerRegistry specs:

Uses OZ Clones or similar to clone the Vault1.5 implementation and deploys it with the msg.sender as governance It adds the msg.sender as a strategist (used to discover vaults) (use EnumerableAddressSet to make it convenient to loop)


Chadger Website specs:

Use the view functions to: -> /strategists display the list of all strategists -> /strategists/{address} display the vaults that each strategists deployed

The Ui allows to connect wallet, it uses the injected RPC to communicate with the ChadgerRegistry Contract.

The UI allows to deposit into vaults (handle approval, and deposit), approval is always for the exact amount, never full approval. The UI shows if I have deposits into the vaults and allows me to withdraw


Submission Quality Requirements

The ChadgerRegistry needs to be unit tested and the following functionality needs to be tested:

The website doesn't need unit tests, however it is expected that:

Resources

This is the BadgerRegistry which we use for Production Vaults, feel free to take inspiration from the codebase: https://github.com/Badger-Finance/badger-registry


Post-bounty offers

We understand that this is a sizeable bounty, and will pursue the few developers that are able to undertake this challenge and succeed by offering 1-1 tailored bounties with the goal of onboarding them into Core Tech at BadgerDAO (Full time Contributor Positions)

Dev Discord

Feel free to join us on our Dev Discord: https://discord.gg/Tf2PucrXcE

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 10 hours from now. Please review their action plans below:

1) ajand has started work.

Seems like a challenging but high reward bounty. Have not hacked in a while and I'm ready to do some hackathons. Let's build the Chadger. 2) sunrise66666 has started work.

给长城贴地砖 3) bbaswani3 has started work.

Chadger Registry contract And it's Website 4) alexni245 has started work.

I will start working on this bounty by adding

New Staging Registry based on Badger 1.5 Vault 6) jack-the-pug has started work.

Chadger Experimental Vaults // By Chad Strategists, For Chad Badgers 7) trungtin has started work.

Experimental chadger registry website

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 2549.6639 BADGER (28938.64 USD @ $11.35/BADGER) has been submitted by:

  1. @jack-the-pug
  2. @trungtin
  3. @ajand

@gallodasballo please take a look at the submitted work: