Skip to content

Conversation

0xSachinK
Copy link
Contributor

@0xSachinK 0xSachinK commented Jan 20, 2022

  • Updated RebalanceIterated event signature
    • Should emit newTwapLeverageRatio
  • Updated require checks, replace baseBalance checks with CLR checks
    • Require CLR to be zero while calling engage
    • Require CLR to NOT be zero while calling rebalance, iterateRebalance, ripcord and disengage
  • Update javadocs to explain why we need to use a separate function for calculating totalRebalanceNotional during engage
    • We need to cause the standard formula doesn't work when CLR is zero in engage

@bweick bweick merged commit b73e6bb into master Jan 20, 2022
@bweick bweick deleted the sachin/perp-manager-fixes branch January 20, 2022 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants