11// SPDX-License-Identifier: BUSL-1.1
22pragma solidity ^ 0.8.0 ;
33
4- import {AaveV3EthereumHorizonCustom} from 'tests/horizon/utils/AaveV3EthereumHorizonCustom.sol ' ;
5- import {AaveV3EthereumHorizon, AaveV3EthereumHorizonAssets} from 'aave-address-book/AaveV3EthereumHorizon.sol ' ;
4+ import {AaveV3HorizonEthereum} from 'tests/horizon/utils/AaveV3HorizonEthereum.sol ' ;
65import {HorizonPhaseTwoListing} from 'src/deployments/inputs/HorizonPhaseTwoListing.sol ' ;
76import {AaveV3HelpersBatchOne} from 'src/deployments/projects/aave-v3-batched/batches/AaveV3HelpersBatchOne.sol ' ;
87import {AaveV3ConfigEngine} from 'src/contracts/extensions/v3-config-engine/AaveV3ConfigEngine.sol ' ;
@@ -12,21 +11,21 @@ contract DeployHorizonPhaseTwoPayload is Script {
1211 function run () public returns (address , address ) {
1312 vm.startBroadcast ();
1413 AaveV3HelpersBatchOne helpersBatchOne = new AaveV3HelpersBatchOne (
15- address (AaveV3EthereumHorizon .POOL) ,
16- address (AaveV3EthereumHorizon .POOL_CONFIGURATOR) ,
17- address (AaveV3EthereumHorizonAssets.GHO_INTEREST_RATE_STRATEGY) ,
18- address (AaveV3EthereumHorizon.ORACLE) ,
19- address (AaveV3EthereumHorizon.DEFAULT_INCENTIVES_CONTROLLER) ,
20- address (AaveV3EthereumHorizon.COLLECTOR) ,
21- address (AaveV3EthereumHorizon.DEFAULT_A_TOKEN_IMPL) ,
22- address (AaveV3EthereumHorizon.DEFAULT_VARIABLE_DEBT_TOKEN_IMPL)
14+ AaveV3HorizonEthereum .POOL,
15+ AaveV3HorizonEthereum .POOL_CONFIGURATOR,
16+ AaveV3HorizonEthereum.DEFAULT_INTEREST_RATE_STRATEGY ,
17+ AaveV3HorizonEthereum.AAVE_ORACLE ,
18+ AaveV3HorizonEthereum.REWARDS_CONTROLLER ,
19+ AaveV3HorizonEthereum.REVENUE_SPLITTER ,
20+ AaveV3HorizonEthereum.ATOKEN_IMPLEMENTATION ,
21+ AaveV3HorizonEthereum.VARIABLE_DEBT_TOKEN_IMPLEMENTATION
2322 );
2423
25- address configEngine = helpersBatchOne. getConfigEngineReport ().configEngine;
26-
27- HorizonPhaseTwoListing horizonPhaseTwoListing = new HorizonPhaseTwoListing (configEngine );
24+ HorizonPhaseTwoListing horizonPhaseTwoListing = new HorizonPhaseTwoListing (
25+ helpersBatchOne. getConfigEngineReport ().configEngine
26+ );
2827 vm.stopBroadcast ();
2928
30- return (configEngine , address (horizonPhaseTwoListing));
29+ return (address (helpersBatchOne) , address (horizonPhaseTwoListing));
3130 }
3231}
0 commit comments