convex
convex copied to clipboard
Convex Generic DAO
Convex provides highly dynamic capabilities for DAOs. In particular, the on-chain compiler makes it possible for proposals to be compiled at executed by the DAO itself!
Key functions:
propose- add a proposal to the DAO, typically in the form of a vector of execution parameters and some metadata describing the proposalvote- express support or opposition to a proposalreject- delete a proposal if there is sufficient oppositionaccept- execute proposal if there is sufficient support (over any opposition)execute- run proposal using the vector of execution parameters.dispose- delete proposal after everything is complete
Design comments;
executecan be used to make structural changes to the DAO e.g. change in voting membershipexecutecan potentially feed to another DAO, e.g. a sub-committee forwarding a proposal to the full committee
A DAO with maximum flexibility could use eval or eval-as for the execute function. More constrained DAOs may have more limited capabilities.