core-v2 icon indicating copy to clipboard operation
core-v2 copied to clipboard

Make credit manager feeToken compartible

Open 0xmikko opened this issue 2 years ago • 0 comments

Current implementation doesn't take into account how much tokens were sent to pool back, which is okay for current underlying tokens. However, if someone will decide a pool with fee token (for example USDT), it could be a problem, because pool will get less money amountToPool * (1 -fee).

Suggestion: add functionality to CreditManager to be able to work with fee tokens.

0xmikko avatar Nov 21 '22 12:11 0xmikko