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

feat: use simple flash loan #82

Merged
merged 6 commits into from Jun 8, 2022

Conversation

sakulstra
Copy link
Contributor

@sakulstra sakulstra commented Jun 7, 2022

This pr alteres the v3 paraswap adapters to use https://github.com/aave/aave-v3-core/blob/master/contracts/flashloan/interfaces/IFlashLoanSimpleReceiver.sol instead of the generic flashLoan interface as it reduces gas consumption in good conditions by ~20k.

@sakulstra sakulstra marked this pull request as draft June 7, 2022 08:54
sakulstra added a commit to sakulstra/aave-paraswap-test that referenced this pull request Jun 7, 2022
@sakulstra sakulstra marked this pull request as ready for review June 7, 2022 11:59
@foodaka foodaka requested a review from kartojal June 7, 2022 12:24
@kartojal kartojal merged commit 12d7440 into aave:master Jun 8, 2022
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.

None yet

2 participants