DAOmasons / grant-ships-app

https://app.grantships.fun
GNU General Public License v3.0
2 stars 0 forks source link

Complete Grant Method #235

Closed jordanlesich closed 1 month ago

jordanlesich commented 2 months ago

Because we are now submitting milestones out of sequence, there is no way to automatically check if all milestones are complete with out incurring significant gas costs on every distribution.

So instead, it's better to write a new method that allows the contract to know when a grant is complete so the user can resubmit.

In addition to this, we should increment a value on the recipient struct so that we can track the version of each grant processed. This will help keep a history of all applications, grants, and milestones in the indexer.