snapshot-labs / boost

A protocol for token distribution
MIT License
13 stars 5 forks source link

Make Boost an ERC721 #19

Closed Orland0x closed 1 year ago

Orland0x commented 1 year ago

Makes boost an ERC721 contract which gives it the functionality of NFTs. Importantly, this includes transfer ownership functionality and various view functions.

The full ERC721 interface can be viewed here: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol

The ERC721 is minted when a boost is created and then can optionally be burnt by the owner once the boost period is over. If there is any balance left in the boost at the end, then this is returned to the owner

closes https://github.com/snapshot-labs/boost/issues/6