Closed
Conversation
codchen
reviewed
Jun 8, 2022
scripts/liquidation_engine.sh
Outdated
| seid query auth accounts | grep address | while read -r line ; do | ||
| account_address=$(echo "$line" | cut -d ":" -f 2 | tr -d ' ') | ||
| nonce=$RANDOM | ||
| seid tx dex liquidate $contract_address $nonce $account_address |
Collaborator
There was a problem hiding this comment.
need some additional flags like --from and --chain-id here
Contributor
|
Closing this due to inactivity, feel free to re-open and ping me if it needs another review. |
masih
pushed a commit
that referenced
this pull request
Sep 29, 2025
## Describe your changes and provide context This adds in the helper functions for setting and getting wasm dependencies from the ACL keeper. Still need to add additional handling for initializing keeper in genesis and stuff, and will add in another commit. ## Testing performed to validate your change
masih
pushed a commit
that referenced
this pull request
Sep 30, 2025
## Describe your changes and provide context This adds in the helper functions for setting and getting wasm dependencies from the ACL keeper. Still need to add additional handling for initializing keeper in genesis and stuff, and will add in another commit. ## Testing performed to validate your change
masih
pushed a commit
that referenced
this pull request
Oct 1, 2025
masih
pushed a commit
that referenced
this pull request
Oct 9, 2025
[SeiDB] PebbleDB Prune Clone Iterator value
masih
pushed a commit
that referenced
this pull request
Dec 17, 2025
[SeiDB] Add changeset proto generation and definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Naive method of performing liquidation --
iterates through all contracts, for each contract, issue liquidation requests for each account. Therefore, the check for whether to actually liquidate is only done at the contract level.
Moving forward, to reduce the compute needed on chain, we should only issue liquidation requests for accounts actually underwater (requires maintaining account state/positions off chain).