Skip to content

Allow anyone to liquidate position if collateral depleted #13

@austinabell

Description

@austinabell

This would allow a liquidation bot, or any user, to trigger the liquidation on the case where the loss on buyback + exchange fees + slippage + liquidation fee is greater than or equal to collateral (roughly, although parameters will be more specific)

Depends on #12

This liquidation would exchange the swapped loan back to the denomination the loan currency started with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions