ImbueNetwork / imbue-frontend

1 stars 4 forks source link

Create Grants Flow #148

Open samelamin opened 1 year ago

samelamin commented 1 year ago

Grants are treasury proposals that are managed via Imbue. They work exactly like a brief application with the only difference being you define your approvers at the creation

Those approvers decide if you completed your milestone or to refund funds to the treasury.

The pallets are all done, so what's needed here is

1) a new grants table. This should include a nullable project address (where the funds will be sent to) 2) Grant approvers table

@f-gate we might have to think about how we batch these calls on the UI , since on chain we need to calls to finalise a grant

f-gate commented 1 year ago

It would simply be a create_grant call and then a convert_to_proposal call.

We can use pallet_utility to batch call or i can create a new extrinsic. See this for info on the batch stuffs