-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
edcc78e
commit 4a8613a
Showing
14 changed files
with
1,826 additions
and
713 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.