-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add withdraw-and-swap paraswap adapter and add base market
* setup adapters * swap adapters task * feat: transfer ownership of withdraw swap adatper * feat: bump periphery contracts package * feat: updated deploy scripts for new adapter * fix: revert peer dep change * fix: revert script change * fix: contract name * fix: Update version paraswap adapters * fix: updated comment * fix: add base market and fix dependencies (#51) * hardhat verify * fix: Fix base market config * fix: Remove unneeded hardhat dependencies * fix: Remove deprecate OZ defender dependency --------- Co-authored-by: miguelmtz <36620902+miguelmtzinf@users.noreply.github.com> * fix: Remove ethereum fork test files --------- Co-authored-by: Mark Hinschberger <foodaka@users.noreply.github.com> Co-authored-by: miguelmtzinf <miguelmtz.mail@gmail.com> Co-authored-by: miguelmtz <36620902+miguelmtzinf@users.noreply.github.com>
- Loading branch information
1 parent
5c95642
commit 954a60b
Showing
17 changed files
with
2,052 additions
and
711 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { eBaseNetwork, IAaveConfiguration } from "./../../helpers/types"; | ||
import AaveMarket from "../aave"; | ||
import { ZERO_ADDRESS } from "../../helpers"; | ||
import { | ||
strategyUSDC, | ||
strategyWETH, | ||
strategyCBETH, | ||
} from "../aave/reservesConfigs"; | ||
|
||
export const BaseConfig: IAaveConfiguration = { | ||
...AaveMarket, | ||
MarketId: "Base Aave Market", | ||
ATokenNamePrefix: "Base", | ||
StableDebtTokenNamePrefix: "Base", | ||
VariableDebtTokenNamePrefix: "Base", | ||
SymbolPrefix: "Base", | ||
ProviderId: 37, | ||
ReservesConfig: { | ||
USDC: strategyUSDC, | ||
WETH: strategyWETH, | ||
CBETH: strategyCBETH, | ||
}, | ||
ReserveAssets: { | ||
[eBaseNetwork.base]: { | ||
USDC: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", // usdbc | ||
WETH: "0x4200000000000000000000000000000000000006", | ||
CBETH: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22", | ||
}, | ||
[eBaseNetwork.baseGoerli]: { | ||
USDC: ZERO_ADDRESS, | ||
WETH: ZERO_ADDRESS, | ||
CBETH: ZERO_ADDRESS, | ||
}, | ||
}, | ||
EModes: {}, | ||
ChainlinkAggregator: { | ||
[eBaseNetwork.base]: { | ||
USDC: "0x7e860098f58bbfc8648a4311b374b1d669a2bc6b", | ||
WETH: "0x71041dddad3595f9ced3dccfbe3d1f4b0a16bb70", | ||
CBETH: "0xd7818272b9e248357d13057aab0b417af31e817d", | ||
}, | ||
}, | ||
}; | ||
|
||
export default BaseConfig; |
Oops, something went wrong.