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
New BatchLiquidator optimized for L2 rollups #179
Conversation
results on Optimism: We could further optimize the cost for popular SuperTokens by deploying BatchLiquidator contracts specific to them, such that the SuperToken address can also be omitted from calldata. Could be implemented in a way similar to how canonical SuperToken wrappers were done in SuperTokenFactory. |
@ngmachado please check if you can simplify liquidator.js - merge singleTerminations() and sendBatch() into one function. |
Use the new BatchLiquidator contract: superfluid-finance/protocol-monorepo#1306
reduces cost on L2s.