Closed devsquaaa closed 1 year ago
I think doing this through flash loans is something we need to explore. Feel free to figure something out or we can do it together since I've already worked with AAVE flash loans before @devsquaaa .
I think doing this through flash loans is something we need to explore. Feel free to figure something out or we can do it together since I've already worked with AAVE flash loans before @devsquaaa .
Doing this implies doing :
Having an internal function would require only :
liquidatable()
and revert if it returns true)Pushed (9dbb9317728990d339224d75fe6b7711eada30dd) with a test. Still needs more testing.
I think there is a need for a updateTicks function (to change the range of the underlying LP position). There were discussions that led to it being removed because it's possible to implement it in the frontend, but I believe it will cost a lot more to do it like that.
What do you think?
@userdarius @NilsDelage @Lolshh