Rationale: vote method in StrategyProxy is only callable by connected strategies, so this is a safe and secure way to isolate the voting.
Adding voting in Curve DAO (0xE478de485ad2fe566d49342Cbd03E49ed7DB3356.vote(uint256,bool,bool)) might be tricky since StrategyProxy doesn't expose a method to vote there.
This hooks into StrategyProxy and allows voting for Curve Gauge weight allocations.
A script to determine optimal allocations: https://gist.github.com/banteg/546720079b63dd44ff149f2dfe4b9c34
Rationale:
vote
method in StrategyProxy is only callable by connected strategies, so this is a safe and secure way to isolate the voting.Adding voting in Curve DAO (
0xE478de485ad2fe566d49342Cbd03E49ed7DB3356.vote(uint256,bool,bool)
) might be tricky since StrategyProxy doesn't expose a method to vote there.