Closed chanhosuh closed 1 year ago
Currently CurveCryptoPool.remove_liquidity_one_coin does not handle 3 coins, only 2. Update the implementation in a clean manner to handle this. Similar test as for 2 coins should work. Reference implementation is the Tricrypto-NG vyper fixture.
CurveCryptoPool.remove_liquidity_one_coin
Note: This is blocked by calc_withdraw_one_coin.
calc_withdraw_one_coin
Tricrypto claims admin fees before withdrawal (L772), but cryptopool doesn't. This difference links this issue to #231
Currently
CurveCryptoPool.remove_liquidity_one_coin
does not handle 3 coins, only 2. Update the implementation in a clean manner to handle this. Similar test as for 2 coins should work. Reference implementation is the Tricrypto-NG vyper fixture.Note: This is blocked by
calc_withdraw_one_coin
.