aj-maz / graviaura-locker

It's a tool for making the voting process of graviaura more trustless
0 stars 0 forks source link

Specs #1

Open aj-maz opened 2 years ago

aj-maz commented 2 years ago

Context

Right now in the graviAURA ecosystem, badger holds special privileges in the system because it has a multisig where the graviAURA is getting kept, and that aura then votes as the DAO directs and then that aura is liquid and can technically be sold at any time. So it's possible to buy a ton of graviAURA, put it there for the block of the snapshot and dump it all, and game the system. So right now the ecosystem accepting graviAURA requires them trusting badger, to be honest with that, or them to tell badger not to vote like this. So we need to make a locker to lock this graviAURA to limit the ability of gaming the system. Also, this locker could be useful for many more DAOs.

Deliverables

graviAuraLocker Specs:

graviAuraLockerFactory

A basic factory contract that helps DAOs to create their own instance of graviAuraLocker using openzepplin minimal proxy

UI

Resources

vlAURA CVX Locking graviaura autovoting

Milestones

The project will be created in 2 phases.

Phase 1: this phase is focused on the main locker for use of the badger itself. Estimated time of arrival: 3.5 weeks Suggested Reward: $10k

Phase 2: this phase is focused on the Masterchef and emissions to generalize the system for other DAOs Estimated time of arrival: 2 weeks Suggested Reward: $6k

Tritium-VLK commented 2 years ago

Notes:

1: Other DAOs may use the first Phase. The idea is that Phase 1 is for Protocol Owned tokens. Phase 2 allows the protocol to reward users for staking their tokens for the protocol to use for the locking period.

2: Only badger governance (perhaps at some point shared governance with AURA/Balancer) should be able to upgrade the contract and/or change locking behavior.

3: A big part of this is working with @shakton to come up with a standard for how to express vote instructions on-chain. I don't think it is a huge lift to get it done, but it's important to come up with a good spec. I can try to work on that before early next week.