decentdao / decent-contracts

Your Safe, Superpowered
https://app.fractalframework.xyz
MIT License
3 stars 3 forks source link

LinearERC721Voting strategy and ERC721FreezeVoting #66

Closed herbig closed 1 year ago

herbig commented 1 year ago

Description

Adds a strategy for ERC721 voting, based heavily on the existing Azorius LinearERC20Voting strategy, and Usul's NFT Linear voting strategy.

This version however allows multiple NFTs to be registered as governance tokens, each with their own assigned weight.

Notes

See contract comments for notes on implementation. Natspec documentation will be more fleshed out when implementation is more settled.

Testing

TODO, I will write extensive tests after a first round of code review, when implementation is settled.