pickle-finance / protocol

Pickle Protocols
MIT License
128 stars 74 forks source link

Add Remove Gauge #119

Closed Cipioo closed 2 years ago

Cipioo commented 2 years ago

The purpose is to have the ability to remove gauges from the gauge-proxy.

This is a WIP and needs a lot of test. I have done some internal testing but nothing formal I want to push yet.

Cipioo commented 2 years ago

Will not be able to migrate current Gauges to new Gauge Proxy due to Gauge's notifyRewardAmount requiring msg.sender == DISTRIBUTION, which is an immutable variable set on constructor to the old gauge.