gitcoinco / easy-retro-pgf

Retroactive Public Goods Funding for everyone.
https://easyretropgf.xyz
MIT License
54 stars 30 forks source link

Multi award #115

Closed thelostone-mc closed 2 weeks ago

thelostone-mc commented 2 weeks ago

https://www.loom.com/share/08e2608d7d9b4497a77b0c927ef96669?sid=5a2991a0-81a9-4654-a474-c3637b7be300

closes PAR-276 closes PAR-277

note: this only generates the distribution data and doesn't actually store it If we go down the award route and want a UI to show this infomration on the fly, we could choose to call the distribute endpoint to run calculations on the fly (it's not expensive) or save this in DB and have a cron to update the numbers every hour or so

This function would have to be updated to also return the project by award distribution if we want to use it on the leaderboard / other UI elements.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
easy-retro-pgf ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 26, 2024 0:33am
ezrf-impact ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 26, 2024 0:33am
linear[bot] commented 2 weeks ago

PAR-276 Update table to show % of pool distribution and the actual amount

PAR-277 Support multiple award