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

Add formulas for simplifying managing levered positions #2

Open
SolcAndMe opened this issue Oct 12, 2022 · 1 comment
Open

Add formulas for simplifying managing levered positions #2

SolcAndMe opened this issue Oct 12, 2022 · 1 comment
Assignees

Comments

@SolcAndMe
Copy link
Contributor

E.g. given upfrontUnderlier, targetHealthFactor, leverageRatio what values doesflashlendFIAT, minUnderlierOut, minPTokenOut need to be

@elnilz
Copy link
Member

elnilz commented Oct 12, 2022

ok will take a look asap

btw, I dont think leverageRatio is an input, upfrontUnderlier and targetHealthFactor are the only inputs but will verify that with formulas

@elnilz elnilz self-assigned this Oct 12, 2022
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

No branches or pull requests

2 participants