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

Create Component for Quadratic Calculation #31

Open
codingshot opened this issue Sep 6, 2023 · 0 comments
Open

Create Component for Quadratic Calculation #31

codingshot opened this issue Sep 6, 2023 · 0 comments
Assignees

Comments

@codingshot
Copy link
Member

codingshot commented Sep 6, 2023

Problem

Calculating quadratic funding will be too gas intensive and dependent on RPC

User Story:

As a chef, I want to view matched contributions and funding pool amount when matching round closes and calculate payouts amounts, then call the contract, so that I can calculate payouts without wasting on chain resources.

Description

Create BOS component to do quadratic calculation and calls contract

Acceptance Criteria

  • BOS component that takes current contributions from contract
  • Shows total pools, total amount in external contributions then a list of how much contributiuons, amount of direct contributions for a project, how much they are getting matched, total amount
  • shows error if round is not over (Round if snot over these are not file
  • if round is over and chef than shows initiate payouts button that calls contract

On the contract

  • Only allow chef to do this
  • ?Cool down period
  • ? simple checks like number of projects and anomaly in amount

Limitations

Resources

  • outline links and relevant resources, references implementations

Need to run logic in component https://github.com/gitcoinco/quadratic-funding/blob/master/quadratic-funding/clr.py

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: QF MVP 3 BACKLOG
Development

No branches or pull requests

2 participants