Badger-Finance / badger-multisig

Badger DAO's EVM multisig operations.
GNU Affero General Public License v3.0
47 stars 32 forks source link

Restitution 2.0 #1518

Closed sajanrajdev closed 2 months ago

sajanrajdev commented 5 months ago

Now that a new Restitution program has been approved via BIP, it must be implemented. Details of the decision can be found on the following forum post.

The implementation's spec must be defined.

petrovska-petro commented 5 months ago

https://docs.google.com/document/d/1GGD4Se8GZNtTzaMUV5anDeYmruP0WtVEQAA-zxRabr0/edit

sajanrajdev commented 3 months ago

Emissions Plan

It was decided to use Sablier as the platform to handle emissions for the following reasons:

Specs

According to the technical specs 400k BADGER vests from months 7 to 18 with the ability to withdraw upon vesting, and 600k BADGER vests during months 9 to 12, also withdrawable upon vesting. This means that once the deposit period for the bremBADGER vault ends, a snapshot of the depositors and their deposited amount will be taken and streams will be created for each according to the following specs:

This means that each user will receive 2 streams and will be able to claim their streamed BADGER along the way in this time ranges since it will be vested in a per second basis.

Testing

Creating the streams was tested through the app in Sepolia and found to work as expected. Test confirmations:

Future streams

Active streams

Notes

sajanrajdev commented 2 months ago

bremBADGER Deposits Snapshot and Streams

Stream Parameters

sajanrajdev commented 2 months ago