CarmineOptions / konoha

A toolkit for DAO-like governance on Starknet
Apache License 2.0
23 stars 33 forks source link

Add ability to add new custom proposal types #67

Open tensojka opened 1 month ago

tensojka commented 1 month ago

Currently, custom proposals can be voted on, but they can't be added.

A function add_new_custom_proposal_type, callable only internally (or by the contract itself) should be added, which finds the first free custom_proposal_type ID and saves the payload there.

The constructor should be amended to accept and array with custom proposal configurations.