generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adjust rf and LTV on polygon (#613)
* feat: adjust rf and LTV on polygon * feat: set ltv to 0 instead of freeze * ⬆️ bump aave-helpers * forge install: aave-helpers v3.0.0 * ➖ remove aave-helpers * forge install: aave-helpers v3.0.0 * ⬆️ bump aave-helpers to last commit * Update src/20250210_Multi_AdjustRiskParametersForAaveV2AndV3OnPolygon/AdjustRiskParametersForAaveV2AndV3OnPolygon.md Co-authored-by: Harsh Pandey <[email protected]> * Update src/20250210_Multi_AdjustRiskParametersForAaveV2AndV3OnPolygon/AdjustRiskParametersForAaveV2AndV3OnPolygon.md Co-authored-by: Harsh Pandey <[email protected]> * Update src/20250210_Multi_AdjustRiskParametersForAaveV2AndV3OnPolygon/AdjustRiskParametersForAaveV2AndV3OnPolygon.md Co-authored-by: Harsh Pandey <[email protected]> * Update AdjustRiskParametersForAaveV2AndV3OnPolygon.md --------- Co-authored-by: MartinGbz <[email protected]> Co-authored-by: Harsh Pandey <[email protected]>
- Loading branch information
1 parent
c1bc1b5
commit 9300a9a
Showing
10 changed files
with
677 additions
and
1 deletion.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...ore_AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_after.md
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,38 @@ | ||
## Reserve changes | ||
|
||
### Reserve altered | ||
|
||
#### USDC ([0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174](https://polygonscan.com/address/0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % [7500] | 0 % [0] | | ||
|
||
|
||
#### DAI ([0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063](https://polygonscan.com/address/0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 63 % [6300] | 0 % [0] | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174": { | ||
"ltv": { | ||
"from": 7500, | ||
"to": 0 | ||
} | ||
}, | ||
"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063": { | ||
"ltv": { | ||
"from": 6300, | ||
"to": 0 | ||
} | ||
} | ||
} | ||
} | ||
``` |
225 changes: 225 additions & 0 deletions
225
...ore_AaveV3Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_after.md
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,225 @@ | ||
## Reserve changes | ||
|
||
### Reserve altered | ||
|
||
#### USDC ([0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174](https://polygonscan.com/address/0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % [7500] | 0 % [0] | | ||
| reserveFactor | 50 % [5000] | 60 % [6000] | | ||
|
||
|
||
#### USDC ([0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359](https://polygonscan.com/address/0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % [7500] | 0 % [0] | | ||
| reserveFactor | 10 % [1000] | 20 % [2000] | | ||
|
||
|
||
#### DAI ([0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063](https://polygonscan.com/address/0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 63 % [6300] | 0 % [0] | | ||
|
||
|
||
#### USDT ([0xc2132D05D31c914a87C6611C10748AEb04B58e8F](https://polygonscan.com/address/0xc2132D05D31c914a87C6611C10748AEb04B58e8F)) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| ltv | 75 % [7500] | 0 % [0] | | ||
| reserveFactor | 10 % [1000] | 25 % [2500] | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174": { | ||
"ltv": { | ||
"from": 7500, | ||
"to": 0 | ||
}, | ||
"reserveFactor": { | ||
"from": 5000, | ||
"to": 6000 | ||
} | ||
}, | ||
"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359": { | ||
"ltv": { | ||
"from": 7500, | ||
"to": 0 | ||
}, | ||
"reserveFactor": { | ||
"from": 1000, | ||
"to": 2000 | ||
} | ||
}, | ||
"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063": { | ||
"ltv": { | ||
"from": 6300, | ||
"to": 0 | ||
} | ||
}, | ||
"0xc2132D05D31c914a87C6611C10748AEb04B58e8F": { | ||
"ltv": { | ||
"from": 7500, | ||
"to": 0 | ||
}, | ||
"reserveFactor": { | ||
"from": 1000, | ||
"to": 2500 | ||
} | ||
} | ||
}, | ||
"raw": { | ||
"0x401b5d0294e23637c18fcc38b1bca814cda2637c": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0x4816b2c2895f97fb918f1ae7da403750a0ee372e": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0x56076f960980d453b5b749cb6a1c4d2e4e138b1a": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0x5dfb8c777c19d3cedcdc7398d2eef1fb0b9b05c9": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": { | ||
"0x436c14203ee76e79d5652d508249351bf2aad2332f57381e04c70b85c9582d7c": { | ||
"previousValue": "0x100000000000000000000103e8005f5e1000055d4a8003e8850629041e781d4c", | ||
"newValue": "0x100000000000000000000103e8005f5e1000055d4a8007d0850629041e780000" | ||
}, | ||
"0x436c14203ee76e79d5652d508249351bf2aad2332f57381e04c70b85c9582d7d": { | ||
"previousValue": "0x0000000000246c52f2ace581a52b1f5600000000038b0d191d5a36fa9d00fa41", | ||
"newValue": "0x0000000000206049fa7b258aa3a23ffd00000000038b0d1fc13552e54123060b" | ||
}, | ||
"0x436c14203ee76e79d5652d508249351bf2aad2332f57381e04c70b85c9582d7e": { | ||
"previousValue": "0x00000000003b71ab36075b30854e1b2d00000000039ea09d22cc626b9ab7a966", | ||
"newValue": "0x00000000003b71ab700f8625823aad5200000000039ea0a834e7d15060411f18" | ||
}, | ||
"0x436c14203ee76e79d5652d508249351bf2aad2332f57381e04c70b85c9582d7f": { | ||
"previousValue": "0x00000000000000000000140067b385a100000000000000000000000000000000", | ||
"newValue": "0x00000000000000000000140067b385f100000000000000000000000000000000" | ||
}, | ||
"0x436c14203ee76e79d5652d508249351bf2aad2332f57381e04c70b85c9582d84": { | ||
"previousValue": "0x00000000000000000000000000000000000000000000000000000000670ffb4b", | ||
"newValue": "0x000000000000000000000000000000000000000000000000000000006719a2ee" | ||
}, | ||
"0x5086f8006fb47d4e8b7d07ce95e816ef3f62d9d614c3cca018dfb9c36698b59e": { | ||
"previousValue": "0x100000000000000000000103e8002dc6c0000297c1e01388a50629041e781d4c", | ||
"newValue": "0x100000000000000000000103e8002dc6c0000297c1e01770a50629041e780000" | ||
}, | ||
"0x5086f8006fb47d4e8b7d07ce95e816ef3f62d9d614c3cca018dfb9c36698b59f": { | ||
"previousValue": "0x00000000002178eb64e8f1abb0fa30780000000003aa66ed8aa4e72f5a1e8426", | ||
"newValue": "0x00000000001ac722cb7c3d6e91c056570000000003aa66f10384e44ad2853053" | ||
}, | ||
"0x5086f8006fb47d4e8b7d07ce95e816ef3f62d9d614c3cca018dfb9c36698b5a0": { | ||
"previousValue": "0x0000000000506080eb973e13c79d85240000000003f7557ad7d2819cfd1205e0", | ||
"newValue": "0x00000000005060810a24b0050392e6f60000000003f75583dd426c09300517a5" | ||
}, | ||
"0x5086f8006fb47d4e8b7d07ce95e816ef3f62d9d614c3cca018dfb9c36698b5a1": { | ||
"previousValue": "0x00000000000000000000020067b385c500000000000000000000000000000000", | ||
"newValue": "0x00000000000000000000020067b385f100000000000000000000000000000000" | ||
}, | ||
"0x5086f8006fb47d4e8b7d07ce95e816ef3f62d9d614c3cca018dfb9c36698b5a6": { | ||
"previousValue": "0x00000000000000000000000000000000000000000000000000000000940ababf", | ||
"newValue": "0x00000000000000000000000000000000000000000000000000000000941223a1" | ||
}, | ||
"0x7bdd64832954533ce1bb06477375d759a0b8390bd9a186c07915b18bf5315b0c": { | ||
"previousValue": "0x100000000000000000000103e80055d4a8000510ff4003e8a50629041e781d4c", | ||
"newValue": "0x100000000000000000000103e80055d4a8000510ff4009c4a50629041e780000" | ||
}, | ||
"0x7bdd64832954533ce1bb06477375d759a0b8390bd9a186c07915b18bf5315b0d": { | ||
"previousValue": "0x000000000026cf2696a263bcea3321a20000000003c2e779000b731984a16157", | ||
"newValue": "0x000000000020574b6a9c43d829c690960000000003c2e78bc6e4e0ea1e8b7da5" | ||
}, | ||
"0x7bdd64832954533ce1bb06477375d759a0b8390bd9a186c07915b18bf5315b0e": { | ||
"previousValue": "0x00000000003d5c35957354c276952aa50000000003f00b6f78a5677ea864f1cc", | ||
"newValue": "0x00000000003d5c362567e52e1438ade00000000003f00b8e8cea9c74b3ce8cd0" | ||
}, | ||
"0x7bdd64832954533ce1bb06477375d759a0b8390bd9a186c07915b18bf5315b0f": { | ||
"previousValue": "0x00000000000000000000050067b3852900000000000000000000000000000000", | ||
"newValue": "0x00000000000000000000050067b385f100000000000000000000000000000000" | ||
}, | ||
"0x7bdd64832954533ce1bb06477375d759a0b8390bd9a186c07915b18bf5315b14": { | ||
"previousValue": "0x0000000000000000000000000000000000000000000000000000000076f3b737", | ||
"newValue": "0x00000000000000000000000000000000000000000000000000000000770f62ad" | ||
}, | ||
"0x9690560edd96b8ad42bbefadc2405558072125d86547c092bfe966b61dcb42f5": { | ||
"previousValue": "0x100000000000000000000103e8002aea540001c9c38009c4a51229041e14189c", | ||
"newValue": "0x100000000000000000000103e8002aea540001c9c38009c4a51229041e140000" | ||
} | ||
} | ||
}, | ||
"0x794a61358d6845594f94dc1db02a252b5b4814ad": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0x79b5e91037ae441de0d9e6fd3fd85b96b83d4e93": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0x8145edddf43f50276641b55bd3ad95944510021e": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0xa72636cbcaa8f5ff95b2cc47f3cdee83f3294a0b": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0xa97684ead0e402dc232d5a977953df7ecbab3cdb": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0xb962dcd6d9f0bfb4cb2936c6c5e5c7c3f0d3c778": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": { | ||
"0x6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e": { | ||
"previousValue": "0x0067b385f0000000000002000000000000000000000000000000000000000000", | ||
"newValue": "0x0067b385f0000000000003000000000000000000000000000000000000000000" | ||
}, | ||
"0x6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2f": { | ||
"previousValue": "0x000000000000000000093a8000000000000067e1aa7100000000000000000000", | ||
"newValue": "0x000000000000000000093a8000000000000067e1aa7100000000000067b385f1" | ||
} | ||
} | ||
}, | ||
"0xdf7d0e6454db638881302729f5ba99936eaab233": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0xe701126012ec0290822eea17b794454d1af8b030": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0xfb00ac187a8eb5afae4eace434f493eb62672df7": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
}, | ||
"0xfccf3cabbe80101232d343252614b6a3ee81c989": { | ||
"label": null, | ||
"balanceDiff": null, | ||
"stateDiff": {} | ||
} | ||
} | ||
} | ||
``` |
Submodule aave-helpers
updated
8 files
+7 −41 | .github/workflows/merge-main.yml | |
+1 −1 | lib/aave-address-book | |
+1 −1 | lib/forge-std | |
+1 −0 | package.json | |
+27 −0 | src/GovV3Helpers.sol | |
+2 −1 | src/ProtocolV2TestBase.sol | |
+3 −1 | src/ProtocolV3TestBase.sol | |
+15 −0 | src/v3-config-engine/AaveV3PayloadSonic.sol |
30 changes: 30 additions & 0 deletions
30
...veV2AndV3OnPolygon/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210.sol
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,30 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {IProposalGenericExecutor} from 'aave-helpers/src/interfaces/IProposalGenericExecutor.sol'; | ||
import {AaveV2Polygon, AaveV2PolygonAssets} from 'aave-address-book/AaveV2Polygon.sol'; | ||
/** | ||
* @title Adjust Risk Parameters for Aave V2 and V3 on Polygon | ||
* @author Aave-chan Initiative | ||
* - Snapshot: https://snapshot.box/#/s:aave.eth/proposal/0x48cb2ca277c9cfa0855e8561878836eea182e45dea0e140c03786e533519c2dc | ||
* - Discussion: https://governance.aave.com/t/arfc-adjust-risk-parameters-for-aave-v2-and-v3-on-polygon/20211 | ||
*/ | ||
contract AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210 is | ||
IProposalGenericExecutor | ||
{ | ||
function execute() external { | ||
AaveV2Polygon.POOL_CONFIGURATOR.configureReserveAsCollateral( | ||
AaveV2PolygonAssets.USDC_UNDERLYING, | ||
0, | ||
8450, | ||
10500 | ||
); | ||
|
||
AaveV2Polygon.POOL_CONFIGURATOR.configureReserveAsCollateral( | ||
AaveV2PolygonAssets.DAI_UNDERLYING, | ||
0, | ||
7700, | ||
10500 | ||
); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...V2AndV3OnPolygon/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210.t.sol
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,34 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV2Polygon} from 'aave-address-book/AaveV2Polygon.sol'; | ||
|
||
import 'forge-std/Test.sol'; | ||
import {ProtocolV2TestBase, ReserveConfig} from 'aave-helpers/src/ProtocolV2TestBase.sol'; | ||
import {AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210} from './AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210.sol'; | ||
|
||
/** | ||
* @dev Test for AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210 | ||
* command: FOUNDRY_PROFILE=polygon forge test --match-path=src/20250210_Multi_AdjustRiskParametersForAaveV2AndV3OnPolygon/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210.t.sol -vv | ||
*/ | ||
contract AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_Test is | ||
ProtocolV2TestBase | ||
{ | ||
AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210 internal proposal; | ||
|
||
function setUp() public { | ||
vm.createSelectFork(vm.rpcUrl('polygon'), 68044431); | ||
proposal = new AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210(); | ||
} | ||
|
||
/** | ||
* @dev executes the generic test suite including e2e and config snapshots | ||
*/ | ||
function test_defaultProposalExecution() public { | ||
defaultTest( | ||
'AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210', | ||
AaveV2Polygon.POOL, | ||
address(proposal) | ||
); | ||
} | ||
} |
Oops, something went wrong.
9300a9a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌈Test Results
Compiling 320 files with Solc 0.8.22 Solc 0.8.22 finished in 147.99s Compiler run successful with warnings: Warning (2018): Function state mutability can be restricted to pure --> lib/aave-helpers/src/ProtocolV2TestBase.sol:664:3: | 664 | function _logReserveConfig(ReserveConfig memory config) internal view { | ^ (Relevant source part starts here and spans across multiple lines).2025-02-20T12:29:26.521542Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.17", "diff-snapshots", "./reports/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_before.json", "./reports/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_after.json", "-o", "./diffs/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_before_AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]\n"
Ran 1 test for src/20250210_Multi_AdjustRiskParametersForAaveV2AndV3OnPolygon/AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210.t.sol:AaveV2Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_Test
[PASS] test_defaultProposalExecution() (gas: 24453785)
Logs:
E2E: Collateral WBTC, TestAsset DAI
SUPPLY: WBTC, Amount: 285137439
SUPPLY: DAI, Amount: 2704504955695312062763
WITHDRAW: DAI, Amount: 1352252477847656031381
WITHDRAW: DAI, Amount: 1352252477847656031382
BORROW: DAI, Amount 2704504955695312062763, Stable: false
REPAY: DAI, Amount: 2704504955695312062763
E2E: Collateral WBTC, TestAsset USDC
SUPPLY: WBTC, Amount: 285137439
SUPPLY: USDC, Amount: 2705396849
WITHDRAW: USDC, Amount: 1352698424
WITHDRAW: USDC, Amount: 1352698425
BORROW: USDC, Amount 2705396849, Stable: false
REPAY: USDC, Amount: 2705396849
E2E: Collateral WBTC, TestAsset USDT
SUPPLY: WBTC, Amount: 285137439
SUPPLY: USDT, Amount: 2705116248
WITHDRAW: USDT, Amount: 1352558124
WITHDRAW: USDT, Amount: 1352558124
BORROW: USDT, Amount 2705116248, Stable: false
REPAY: USDT, Amount: 2705116248
E2E: Collateral WBTC, TestAsset WBTC
SUPPLY: WBTC, Amount: 285137439
SUPPLY: WBTC, Amount: 2851374
WITHDRAW: WBTC, Amount: 1425687
WITHDRAW: WBTC, Amount: 1425688
BORROW: WBTC, Amount 2851374, Stable: false
REPAY: WBTC, Amount: 2851374
E2E: Collateral WBTC, TestAsset WETH
SUPPLY: WBTC, Amount: 285137439
SUPPLY: WETH, Amount: 1000000000000000000
WITHDRAW: WETH, Amount: 500000000000000000
WITHDRAW: WETH, Amount: 500000000000000000
BORROW: WETH, Amount 1000000000000000000, Stable: false
REPAY: WETH, Amount: 1000000000000000000
E2E: Collateral WBTC, TestAsset WPOL
SUPPLY: WBTC, Amount: 285137439
SUPPLY: WPOL, Amount: 8536067966345125062295
WITHDRAW: WPOL, Amount: 4268033983172562531147
WITHDRAW: WPOL, Amount: 4268033983172562531148
BORROW: WPOL, Amount 8536067966345125062295, Stable: false
REPAY: WPOL, Amount: 8536067966345125062295
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 91.00s (90.23s CPU time)
Ran 1 test suite in 91.00s (91.00s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped
Ran 1 test for src/20250210_Multi_AdjustRiskParametersForAaveV2AndV3OnPolygon/AaveV3Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210.t.sol:AaveV3Polygon_AdjustRiskParametersForAaveV2AndV3OnPolygon_20250210_Test
[PASS] test_defaultProposalExecution() (gas: 55352946)
Logs:
0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063
0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39
0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6
0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619
0xc2132D05D31c914a87C6611C10748AEb04B58e8F
0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
0x172370d5Cd63279eFa6d502DAB29171933a610AF
0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a
0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7
0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3
0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369
0xE111178A87A3BFf0c8d18DECBa5798827539Ae99
0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c
0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4
0xa3Fa99A148fA48D14Ed51d610c367C61876997F1
0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6
0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD
0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359
E2E: Collateral LINK, TestAsset DAI
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: DAI, Amount: 999764025697014733612
WITHDRAW: DAI, Amount: 499882012848507366806
WITHDRAW: DAI, Amount: 499882012848507366806
BORROW: DAI, Amount 999764025697014733612
REPAY: DAI, Amount: 999764025697014733612
E2E: Collateral LINK, TestAsset LINK
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: LINK, Amount: 53113941820056782819
WITHDRAW: LINK, Amount: 26556970910028391409
WITHDRAW: LINK, Amount: 26556970910028391410
BORROW: LINK, Amount 53113941820056782819
REPAY: LINK, Amount: 53113941820056782819
E2E: Collateral LINK, TestAsset USDC
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: USDC, Amount: 1000093728
WITHDRAW: USDC, Amount: 500046864
WITHDRAW: USDC, Amount: 500046865
BORROW: USDC, Amount 1000093728
REPAY: USDC, Amount: 1000093728
E2E: Collateral LINK, TestAsset WBTC
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: WBTC, Amount: 1049313
WITHDRAW: WBTC, Amount: 524656
WITHDRAW: WBTC, Amount: 524656
BORROW: WBTC, Amount 1049313
REPAY: WBTC, Amount: 1049313
E2E: Collateral LINK, TestAsset WETH
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: WETH, Amount: 369666183673153285
WITHDRAW: WETH, Amount: 184833091836576642
WITHDRAW: WETH, Amount: 184833091836576643
BORROW: WETH, Amount 369666183673153285
REPAY: WETH, Amount: 369666183673153285
E2E: Collateral LINK, TestAsset USDT
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: USDT, Amount: 999990000
WITHDRAW: USDT, Amount: 499995000
WITHDRAW: USDT, Amount: 499995000
BORROW: USDT, Amount 999990000
REPAY: USDT, Amount: 999990000
E2E: Collateral LINK, TestAsset AAVE
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: AAVE, Amount: 3814904188348459238
WITHDRAW: AAVE, Amount: 1907452094174229619
WITHDRAW: AAVE, Amount: 1907452094174229618
E2E: Collateral LINK, TestAsset WPOL
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: WPOL, Amount: 3176027950824542908439
WITHDRAW: WPOL, Amount: 1588013975412271454219
WITHDRAW: WPOL, Amount: 1588013975412271454219
BORROW: WPOL, Amount 3176027950824542908439
REPAY: WPOL, Amount: 3176027950824542908439
E2E: TestAsset CRV SKIPPED
E2E: TestAsset SUSHI SKIPPED
E2E: Collateral LINK, TestAsset GHST
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: GHST, Amount: 1825353999115141395388
WITHDRAW: GHST, Amount: 912676999557570697694
WITHDRAW: GHST, Amount: 912676999557570697695
E2E: TestAsset BAL SKIPPED
E2E: TestAsset DPI SKIPPED
E2E: Collateral LINK, TestAsset EURS
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: EURS, Amount: 95410
WITHDRAW: EURS, Amount: 47705
WITHDRAW: EURS, Amount: 47706
BORROW: EURS, Amount 95410
REPAY: EURS, Amount: 95410
E2E: TestAsset jEUR SKIPPED
E2E: TestAsset EURA SKIPPED
E2E: TestAsset miMATIC SKIPPED
E2E: TestAsset stMATIC SKIPPED
E2E: Collateral LINK, TestAsset MaticX
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: MaticX, Amount: 2772168756327475186317
WITHDRAW: MaticX, Amount: 1386084378163737593158
WITHDRAW: MaticX, Amount: 1386084378163737593160
Skip Borrowing: MaticX, borrow cap fully utilized
E2E: Collateral LINK, TestAsset wstETH
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: wstETH, Amount: 309548886754973946
WITHDRAW: wstETH, Amount: 154774443377486973
WITHDRAW: wstETH, Amount: 154774443377486973
BORROW: wstETH, Amount 309548886754973946
REPAY: wstETH, Amount: 309548886754973946
E2E: Collateral LINK, TestAsset USDC
SUPPLY: LINK, Amount: 5311394182005678281921
SUPPLY: USDC, Amount: 1000093728
WITHDRAW: USDC, Amount: 500046864
WITHDRAW: USDC, Amount: 500046865
BORROW: USDC, Amount 1000093728
REPAY: USDC, Amount: 1000093728
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 68.80s (68.52s CPU time)
Ran 1 test suite in 68.81s (68.80s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)