Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Complete PnL calc and Interest Accrued utility for use in shorting dapps #316

Open
3 of 5 tasks
dvd-schwrtz opened this issue Mar 30, 2021 · 0 comments
Open
3 of 5 tasks
Assignees

Comments

@dvd-schwrtz
Copy link

dvd-schwrtz commented Mar 30, 2021

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

  • finish draft of utility contract
  • get a review/ clean up utility contract @gberg1
  • finish PnL calc without considering liquidations
  • add tests for PnL calc
  • add liquidations to PnL calc with extra tests
@gberg1 gberg1 self-assigned this Mar 30, 2021
@eternauta1337 eternauta1337 assigned dvd-schwrtz and unassigned gberg1 Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants