storming0x / serpentor

A set of smart contracts tools for governance written in vyper
GNU Affero General Public License v3.0
53 stars 5 forks source link

scope for 0.2.0 release #23

Open storming0x opened 1 year ago

storming0x commented 1 year ago

Goal is for these set of tools to be production ready and functional, not to port every single governance module out right there.

I think a new narrow scope for first release would be a functional:

Requirement: Governance should be compatible with ERC20 token and veTokens like veYFI

Design approach:

  1. Functional
  2. Secure
  3. Simple as possible

Note: some of the solidity equivalent code uses heavy inheritance which vyper doesn't support so flattening the tree will actually help achieve point 3 of design.

Testing approach:

Reference: https://github.com/lidofinance/easy-track https://github.com/lidofinance/easy-track-ui https://github.com/lidofinance/lido-subgraph/blob/master/src/Easytrack.ts

storming0x commented 1 year ago

add prevention of late quorum?

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/governance/extensions/GovernorPreventLateQuorum.sol