Skip to content

Commit 7a92829

Browse files
committed
add provider info
1 parent 6cc29a8 commit 7a92829

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/DeployAaveV3BaseSepolia.sol

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {TestnetERC20} from '../src/contracts/mocks/testnet-helpers/TestnetERC20.
1313
import {IERC20} from '../src/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
1414
import {IPool} from '../src/contracts/interfaces/IPool.sol';
1515
import {IACLManager} from '../src/contracts/interfaces/IACLManager.sol';
16+
import {IPoolAddressesProvider} from '../src/contracts/interfaces/IPoolAddressesProvider.sol';
17+
import {LiquidationDataProvider} from '../src/contracts/helpers/LiquidationDataProvider.sol';
1618
import {MarketReport, MarketConfig, DeployFlags, Roles} from '../src/deployments/interfaces/IMarketReportTypes.sol';
1719

1820
struct DeployedAssets {
@@ -141,6 +143,11 @@ contract DeployAaveV3BaseSepolia is Script {
141143
IACLManager(report.aclManager).addRiskAdmin(address(configEngine));
142144
configEngine.listAssetsCustom(context, listings);
143145

146+
LiquidationDataProvider liquidationDataProvider = new LiquidationDataProvider(
147+
report.poolProxy,
148+
report.poolAddressesProvider
149+
);
150+
144151
// Log outputs for convenience
145152
console.log('Deployer', deployer);
146153
console.log('USDC', address(a.usdc));
@@ -155,6 +162,7 @@ contract DeployAaveV3BaseSepolia is Script {
155162
console.log('Pool', report.poolProxy);
156163
console.log('ConfigEngine', report.configEngine);
157164
console.log('AaveOracle', report.aaveOracle);
165+
console.log('LiquidationDataProvider', address(liquidationDataProvider));
158166

159167
// Ensure sequencer oracle timestamp is older than grace period to allow borrowing
160168
a.sequencerOracle.setAnswer(false, block.timestamp - 2 hours);

0 commit comments

Comments
 (0)