Skip to content

Conversation

@0xPearce
Copy link
Collaborator

@0xPearce 0xPearce commented Nov 20, 2025

Implement deleverage for new mint markets

  • refactor hasLeverage and hasDeleverage helpers for V1 mint markets
  • implement deleverage methods from leverageV2 for closing leveraged position
  • refactor: hasLeverage and hasDeleverage helpers to include new mint market if needed

Not supported by backend for now:

  • display current leverage value for new mint market

@vercel
Copy link

vercel bot commented Nov 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
curve-dapp Ready Ready Preview Comment Nov 24, 2025 10:45am
curve-dapp-storybook Ready Ready Preview Comment Nov 24, 2025 10:45am

Copy link
Collaborator

@0xAlunara 0xAlunara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm for my own sake:

  1. We're only showing leverage for v1 mint markets if it's available
  2. Deleverage is shown for v2 markets as well. This uses Odos

@0xPearce 0xPearce merged commit 413cff1 into main Nov 24, 2025
25 of 26 checks passed
@0xPearce 0xPearce deleted the fix/manage-leverage-new-mint-markets branch November 24, 2025 11:39
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.

4 participants