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

Leverage: improve slippage calculation #644

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

bpierre
Copy link
Contributor

@bpierre bpierre commented Dec 9, 2024

  • Use a single useQuery() for the two requests
  • useCheckLeverageSlippage() now takes collIndex a parameter rather than a loan object
  • Move useCheckLeverageSlippage() to liquity-leverage.ts

- Use a single useQuery() for the two requests
- useCheckLeverageSlippage() now takes collIndex a parameter rather than a loan object
- Move useCheckLeverageSlippage() to liquity-leverage.ts
@bpierre bpierre changed the base branch from main to next December 9, 2024 12:28
@bpierre bpierre merged commit d08f424 into next Dec 9, 2024
@bpierre bpierre deleted the leverage-improve-slippage-calculation branch December 9, 2024 12:29
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