Skip to content

Conversation

@jordanschalm
Copy link
Member

@jordanschalm jordanschalm commented Dec 17, 2025

Closes: #93

Description

Implements a manual liquidation path. Anyone is allowed to perform a liquidation under the following circumstances:

  • The position is unhealthy (H<1)
  • The liquidation offer provides a better implied price for the seized collateral than the protocol could get from a DEX
  • The liquidation offer does not cause the health to exceed target (1.05)
  • The price provided by the DEX does not diverge too far from the price provided by the oracle

Notes for reviewers

@jordanschalm jordanschalm changed the title [DRAFT] Improve Liquidation [DRAFT] Implement manual liquidation path Dec 20, 2025
@jordanschalm jordanschalm requested a review from dete December 20, 2025 00:45
@jordanschalm jordanschalm marked this pull request as ready for review January 9, 2026 18:58
@jordanschalm jordanschalm requested a review from a team as a code owner January 9, 2026 18:58
@jordanschalm jordanschalm changed the title [DRAFT] Implement manual liquidation path Implement manual liquidation path Jan 9, 2026
@jordanschalm jordanschalm requested review from Gornutz and liobrasil and removed request for dete January 13, 2026 17:37
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.

Implement Manual liquidation

3 participants