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

Batch liquidation txs for greater profits #17

Open
daniel-savu opened this issue Feb 16, 2023 · 0 comments
Open

Batch liquidation txs for greater profits #17

daniel-savu opened this issue Feb 16, 2023 · 0 comments

Comments

@daniel-savu
Copy link
Contributor

Problem

In case a borrower is very badly undercollateralized, several liquidations may be required to clear bad debt, because the close factor parameter restricts how big a single liquidation can be. This means that the bot may lose out on some of the liquidation premium if other liquidators get their tx included too.

Solution

Batch several as many liquidation extrinsics together as required to fully clear bad debt, possibly also including DEX transaction in the batch to ensure the conversion doesn't incur more slippage than expected.

@daniel-savu daniel-savu added this to the Lending Liquidation Bot milestone Feb 16, 2023
@daniel-savu daniel-savu changed the title Batch liquidation functions for greater profits Batch liquidation txs for greater profits Feb 16, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Mar 15, 2023
@nud3l nud3l moved this from New 🆕 to Todo ⏳ in Backlog Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant