We need to have a more accurate PnL calculation for shorting on kwenta. We also need a utility contract deployed that will read the latest accrued interest instead of the current contract which just returns it based on the last time a user interacted with a short.
Dev tasks
[x] finish draft of utility contract
[ ] get a review/ clean up utility contract @gberg1
[x] finish PnL calc without considering liquidations
Summary
We need to have a more accurate PnL calculation for shorting on kwenta. We also need a utility contract deployed that will read the latest accrued interest instead of the current contract which just returns it based on the last time a user interacted with a short.
Dev tasks