The current Mellow "Fearless Gearbox Strategies" setup involves LPs carrying out two txs to get liquidity out.
a. First tx: registerWithdraw() where withdraw is recorded and accommodated once the current two-week period ends.
b. Second tx: user calls withdraw() to take the requested funds out of the strategy in the first place.
Possible solutions include:
Make a whitelist of addresses (where we can add addresses needed for Yearn) where Mellow is able to send funds automatically after the closing of gearbox credit accounts.
Have Keep3rs listen for the transference of funds IF our vault is waiting for funds from this strategy.
NOTE: This issue is only pressing if there are large allocations of Yearn’s wETH vault to this strategy. Initially, this strategy will have lower allocations relative to other battle-tested strategies. Thus this issue can be put on the back burner for now.
We need manual onlyVaultManagers setters for both of these functions. Also, does the funds get re-invested indefinitely if no withdraw request is submitted?
The current Mellow "Fearless Gearbox Strategies" setup involves LPs carrying out two txs to get liquidity out. a. First tx:
registerWithdraw()
where withdraw is recorded and accommodated once the current two-week period ends. b. Second tx: user callswithdraw()
to take the requested funds out of the strategy in the first place.Possible solutions include:
NOTE: This issue is only pressing if there are large allocations of Yearn’s wETH vault to this strategy. Initially, this strategy will have lower allocations relative to other battle-tested strategies. Thus this issue can be put on the back burner for now.