Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for L-17 issue #2321

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Fix for L-17 issue #2321

wants to merge 6 commits into from

Conversation

0xMithrandir
Copy link
Contributor

@0xMithrandir 0xMithrandir commented Oct 7, 2024

Description

In the getLiquidationMarginUsd function the marginAdjustment includes the estimated liquidation flag fee and liquidation fees. These fees are a best estimate of what the real fees may be in the event that the position were to be liquidated. However as the Initial margin aims to provide a safety buffer it may be prudent to use the maximum that these liquidation costs can be in the estimate of the margin requirements.

https://www.notion.so/guardianaudits/L-17-3a6cba4df1064a22ac0ff906474beebd?pvs=4

@0xMithrandir 0xMithrandir marked this pull request as draft October 22, 2024 12:36
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.

1 participant