Skip to content

Commit

Permalink
Aave v3 flashloan provider update (#718)
Browse files Browse the repository at this point in the history
chore: bump version to 0.6.81 and update AAVE_V3 collateral check to exclude DAI
  • Loading branch information
piekczyk authored Jan 13, 2025
1 parent 17a63af commit f05a2e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dma-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisdex/dma-library",
"version": "0.6.80",
"version": "0.6.81",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"main": "lib/index.js",
Expand Down
3 changes: 2 additions & 1 deletion packages/dma-library/src/utils/flashloan/resolve-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export function resolveFlashloanProvider({
}
if (
lendingProtocol === 'AAVE_V3' &&
aaveIsolatedCollateralTokens.includes(collateralToken.toUpperCase())
aaveIsolatedCollateralTokens.includes(collateralToken.toUpperCase()) &&
debtToken !== 'DAI'
) {
return FlashloanProvider.Balancer
}
Expand Down

0 comments on commit f05a2e2

Please sign in to comment.