You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only pass required ether to middleware and refund excess (#87) (7c777e4)
Code Refactoring
events: remove unused or unneeded fields from events and structs (#88) (672e4f7)
Details
Update position tick if leverage exceeds max leverage. If leverage above 10, then update tick to the lower tick with leverage under 10.
Fix: ether refund from oracle middleware, was unable to validate two times in the same tx/
Update balance between vault and long when a position is liquidated. If there is a gain, the vault will receive the gain, if there is a loss, the vault will pay the loss.