Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.22 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.22 KB

ERC4626Votes

ERC4626 extension which allows for voting based on underlying asset in Compound style governance

Github Actions

Getting Started

Clone this repo.

forge install
forge build
forge test

Notes

OpenZeppelin Draft ERC4626

This repo uses the draft ERC4626 OZ implementation as a submodule. It is not currently in any release. For this reason, you must run forge install rather than forge update. More details on this WIP ERC4626 below:

¿Porque no Solmate?

All my friends ❤️ Solmate. However, here we needed to quickly integrate an ERC4626 token into governance contracts. OZ provides a really easy way to extend their contracts / interfaces to achieve that, especially because they also have all of the governance pieces needed.

Development

This project uses Foundry. See the book for instructions on how to install and use Foundry.