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.
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.