Skip to content

Commit c4d2317

Browse files
committed
fix: pr comments
1 parent 4f99c46 commit c4d2317

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

scripts/misc/DeployHorizonPhaseTwoPayload.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ contract DeployHorizonPhaseTwoPayload is Script {
1717
AaveV3EthereumHorizonCustom.AAVE_ORACLE,
1818
AaveV3EthereumHorizonCustom.REWARDS_CONTROLLER,
1919
AaveV3EthereumHorizonCustom.REVENUE_SPLITTER,
20-
AaveV3EthereumHorizonCustom.ATOKEN_IMPLEMENTATION,
21-
AaveV3EthereumHorizonCustom.VARIABLE_DEBT_TOKEN_IMPLEMENTATION
20+
AaveV3EthereumHorizonCustom.ATOKEN_IMPL,
21+
AaveV3EthereumHorizonCustom.VARIABLE_DEBT_TOKEN_IMPL
2222
);
2323

2424
HorizonPhaseTwoListing horizonPhaseTwoListing = new HorizonPhaseTwoListing(

src/deployments/inputs/HorizonPhaseTwoListing.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ contract HorizonPhaseTwoListing is AaveV3Payload {
6363
liqProtocolFee: 0
6464
}),
6565
IEngine.TokenImplementations({
66-
aToken: AaveV3EthereumHorizonCustom.RWA_ATOKEN_IMPLEMENTATION,
67-
vToken: AaveV3EthereumHorizonCustom.VARIABLE_DEBT_TOKEN_IMPLEMENTATION
66+
aToken: AaveV3EthereumHorizonCustom.RWA_ATOKEN_IMPL,
67+
vToken: AaveV3EthereumHorizonCustom.VARIABLE_DEBT_TOKEN_IMPL
6868
})
6969
);
7070

tests/deployments/HorizonBase.t.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ abstract contract HorizonBaseTest is Test {
7676
bool flashloanable;
7777
uint256 ltv;
7878
uint256 liquidationThreshold;
79-
uint256 liquidationBonus;
79+
uint256 liquidationBonus; // includes 100_00 base, so 103_00 = 3_00 bonus
8080
uint256 debtCeiling;
8181
uint256 liqProtocolFee;
8282
IDefaultInterestRateStrategyV2.InterestRateDataRay interestRateData;
@@ -98,9 +98,9 @@ abstract contract HorizonBaseTest is Test {
9898
defaultInterestRateStrategy = IDefaultInterestRateStrategyV2(
9999
AaveV3EthereumHorizonCustom.DEFAULT_INTEREST_RATE_STRATEGY
100100
);
101-
aTokenImpl = AaveV3EthereumHorizonCustom.ATOKEN_IMPLEMENTATION;
102-
variableDebtTokenImpl = AaveV3EthereumHorizonCustom.VARIABLE_DEBT_TOKEN_IMPLEMENTATION;
103-
rwaATokenImpl = AaveV3EthereumHorizonCustom.RWA_ATOKEN_IMPLEMENTATION;
101+
aTokenImpl = AaveV3EthereumHorizonCustom.ATOKEN_IMPL;
102+
variableDebtTokenImpl = AaveV3EthereumHorizonCustom.VARIABLE_DEBT_TOKEN_IMPL;
103+
rwaATokenImpl = AaveV3EthereumHorizonCustom.RWA_ATOKEN_IMPL;
104104
}
105105

106106
function test_listing(address token, TokenListingParams memory params) internal virtual {

tests/horizon/utils/AaveV3EthereumHorizonCustom.sol

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ library AaveV3EthereumHorizonCustom {
1212
address internal constant ACL_MANAGER = 0xEFD5df7b87d2dCe6DD454b4240b3e0A4db562321;
1313
address internal constant AAVE_PROTOCOL_DATA_PROVIDER =
1414
0x53519c32f73fE1797d10210c4950fFeBa3b21504;
15-
address internal constant ATOKEN_IMPLEMENTATION = 0xB2668573828029917ffbD1e76270373511818498;
16-
address internal constant RWA_ATOKEN_IMPLEMENTATION = 0x8CA2a49c7Df42E67F9A532F0d383D648fB7Fe4C9;
17-
address internal constant VARIABLE_DEBT_TOKEN_IMPLEMENTATION =
18-
0x15F03E5dE87c12cb2e2b8e5d6ECEf0a9E21ab269;
15+
address internal constant ATOKEN_IMPL = 0xB2668573828029917ffbD1e76270373511818498;
16+
address internal constant RWA_ATOKEN_IMPL = 0x8CA2a49c7Df42E67F9A532F0d383D648fB7Fe4C9;
17+
address internal constant VARIABLE_DEBT_TOKEN_IMPL = 0x15F03E5dE87c12cb2e2b8e5d6ECEf0a9E21ab269;
1918
address internal constant DEFAULT_INTEREST_RATE_STRATEGY =
2019
0x87593272C06f4FC49EC2942eBda0972d2F1Ab521;
2120
address internal constant REVENUE_SPLITTER = 0x70CC725B8f05e0f230B05C4e91ABc651E121354f;

0 commit comments

Comments
 (0)