Closed saimeunt closed 5 months ago
The issue was regarding Nostra Lend Pools, not Nostra Swap LP Pools. This is why I asked all contributors to create a draft PR – precisely so that this doesn't happen.
As this was not an ODHack task, this cannot be eligible for ODHack.
It also makes no sense to have amount_0_min and amount_1_min fixed as input argument to the function – prices move and it takes a week to pass a proposal. More reasonable would be to calculate the amount_min with oracle data and use that.
This PR introduces the possibility for the treasury to deposit/withdraw liquidity on Nostra Pools. The feature has been tested but lacks 100% coverage at the moment.
Still needs some polishing (more tests, events, etc.), will finish it ASAP.