OpenQDev/OpenQ-Contracts

[Governance] Token Template

mktcode opened this issue · 0 comments

Concept: https://octobay.github.io/docs/GOVERNANCE.html
UI Mockups: https://www.figma.com/proto/AzJ6BbBetEwtD6h6p8q1uM/Octobay-Governance-UI?scaling=scale-down

Some inspiration:
https://github.com/Giveth/minime
https://github.com/LibertyPie/Governance/tree/main/contracts

Our token factory (#5) will need a template contract to launch new governance tokens. These tokens must:

  • implement ERC20
  • have an open supply
  • allow transfer/tranferFrom/mint/burn only through the Octobay main contract
  • implement balanceOfAt(uint256 blocknumber), which requires keeping track of historical data, see minime token (optional)