Skip to content

Remove liquidate_via_dex transactions#263

Merged
jordanschalm merged 1 commit intomainfrom
claude/enumerate-liquidateViaDex-usages-leNJz
Mar 12, 2026
Merged

Remove liquidate_via_dex transactions#263
jordanschalm merged 1 commit intomainfrom
claude/enumerate-liquidateViaDex-usages-leNJz

Conversation

@jordanschalm
Copy link
Member

@jordanschalm jordanschalm commented Mar 11, 2026

Description

This PR removes two Cadence transaction files related to DEX liquidation:

  • liquidate_via_dex.cdc - Production transaction for liquidating positions via DEX
  • liquidate_via_mock_dex.cdc - Test-only transaction using a mock swapper

These both invoke liquidateViaDex, which was removed. (This will be replaced by automated liquidation in the future.)

These two transactions call pool.liquidateViaDex() which no longer exists
in the FlowALPv0 contract. The batch liquidation flow uses
manualLiquidation() instead.

Removed:
- liquidate_via_dex.cdc
- liquidate_via_mock_dex.cdc

https://claude.ai/code/session_01LoT5UkcxxnQgBNaSsRX7TL
@jordanschalm jordanschalm requested a review from a team as a code owner March 11, 2026 21:59
@jordanschalm jordanschalm merged commit fe66e73 into main Mar 12, 2026
1 check passed
@jordanschalm jordanschalm deleted the claude/enumerate-liquidateViaDex-usages-leNJz branch March 12, 2026 15:49
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.

3 participants