Skip to content

Commit

Permalink
feat: sentinel (#44)
Browse files Browse the repository at this point in the history
* feat: pause proposal 2

* fix: add polygon

* feat: add ava

* feat: sentinel proposal

* fix: fix ava diff

* fix: payload address
  • Loading branch information
sakulstra authored Nov 7, 2023
1 parent 4ebd084 commit d0436f7
Show file tree
Hide file tree
Showing 28 changed files with 10,468 additions and 1 deletion.
1 change: 1 addition & 0 deletions .assets/61dd185155d368fff6d284f3e8996a4529b51b9f.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/94e8ed175e26426b1582bd27dc2e9065cbc01327.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/99b85f0d48aabcecb050913e2a8ff7e66cbcbbaf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/ace6978308d6eec66d8d065157ff2ad57060388d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/b7a99628770bb40a32e5073151026c58d6315660.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/beb903212def73e388124e43532999b790a90513.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/c067ea0ccdd4d6df420480855146164d81b3771d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/d32ff58ee8b088295517352db025e48e31a57760.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/ed5b66c79ec1f9ebc40b465c9587544e7c95a7e2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/f036a14daec701a8cbd6d84de64dce5796bc0eaa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ node_modules
broadcast/

reports/

# tooling download folder
etherscan
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ deploy-pk :; forge script ${contract} --rpc-url ${chain} $(if ${dry},--sender 0x
download :; cast etherscan-source --chain ${chain} -d src/etherscan/${chain}_${address} ${address}
git-diff :
@mkdir -p diffs
@npx prettier ${before} ${after} --write
@printf '%s\n%s\n%s\n' "\`\`\`diff" "$$(git diff --no-index --diff-algorithm=patience --ignore-space-at-eol ${before} ${after})" "\`\`\`" > diffs/${out}.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Raw diff

```json
{}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Raw diff

```json
{}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## Reserve changes

### Reserve altered

#### TUSD ([0x0000000000085d4780B73119b644AE5ecd22b376](https://etherscan.io/address/0x0000000000085d4780B73119b644AE5ecd22b376))

| description | value before | value after |
| --- | --- | --- |
| stableDebtTokenImpl | [0x95Ce83DF0B8A45072D0330Cf5A1e0c8CAA43D192](https://etherscan.io/address/0x95Ce83DF0B8A45072D0330Cf5A1e0c8CAA43D192) | [0x00C15a6aaF1e48763B53A9dc8D2077551BA45Fee](https://etherscan.io/address/0x00C15a6aaF1e48763B53A9dc8D2077551BA45Fee) |


#### UNI ([0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984](https://etherscan.io/address/0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984))

| description | value before | value after |
| --- | --- | --- |
| stableDebtTokenImpl | [0xe4759007A1E6014DD92EBB33A293e0dfE85A8Ffe](https://etherscan.io/address/0xe4759007A1E6014DD92EBB33A293e0dfE85A8Ffe) | [0x54f514CA167e1fc19231dA9a48bB7AA6ffe4F10d](https://etherscan.io/address/0x54f514CA167e1fc19231dA9a48bB7AA6ffe4F10d) |


#### DAI ([0x6B175474E89094C44Da98b954EedeAC495271d0F](https://etherscan.io/address/0x6B175474E89094C44Da98b954EedeAC495271d0F))

| description | value before | value after |
| --- | --- | --- |
| stableDebtTokenImpl | [0xD23A44eB2db8AD0817c994D3533528C030279F7c](https://etherscan.io/address/0xD23A44eB2db8AD0817c994D3533528C030279F7c) | [0xb44Fe5fA7A8fcF508984bE58bA807A22343B4493](https://etherscan.io/address/0xb44Fe5fA7A8fcF508984bE58bA807A22343B4493) |


## Raw diff

```json
{
"reserves": {
"0x0000000000085d4780B73119b644AE5ecd22b376": {
"stableDebtTokenImpl": {
"from": "0x95Ce83DF0B8A45072D0330Cf5A1e0c8CAA43D192",
"to": "0x00C15a6aaF1e48763B53A9dc8D2077551BA45Fee"
}
},
"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984": {
"stableDebtTokenImpl": {
"from": "0xe4759007A1E6014DD92EBB33A293e0dfE85A8Ffe",
"to": "0x54f514CA167e1fc19231dA9a48bB7AA6ffe4F10d"
}
},
"0x6B175474E89094C44Da98b954EedeAC495271d0F": {
"stableDebtTokenImpl": {
"from": "0xD23A44eB2db8AD0817c994D3533528C030279F7c",
"to": "0xb44Fe5fA7A8fcF508984bE58bA807A22343B4493"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Raw diff

```json
{}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Reserve changes

### Reserves altered

#### CRV ([0x172370d5Cd63279eFa6d502DAB29171933a610AF](https://polygonscan.com/address/0x172370d5Cd63279eFa6d502DAB29171933a610AF))

| description | value before | value after |
| --- | --- | --- |
| stableDebtTokenImpl | [0x50ddd0Cd4266299527d25De9CBb55fE0EB8dAc30](https://polygonscan.com/address/0x50ddd0Cd4266299527d25De9CBb55fE0EB8dAc30) | [0xF4294973B7E6F6C411dD8A388592E7c7D32F2486](https://polygonscan.com/address/0xF4294973B7E6F6C411dD8A388592E7c7D32F2486) |


## Raw diff

```json
{
"reserves": {
"0x172370d5Cd63279eFa6d502DAB29171933a610AF": {
"stableDebtTokenImpl": {
"from": "0x50ddd0Cd4266299527d25De9CBb55fE0EB8dAc30",
"to": "0xF4294973B7E6F6C411dD8A388592E7c7D32F2486"
}
}
}
}
```

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

1 comment on commit d0436f7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Foundry report

forge 0.2.0 (059aa45 2023-11-07T08:13:53.055005635Z)
Build log
Compiling 151 files with 0.8.19
Solc 0.8.19 finished in 50.61s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> lib/aave-helpers/src/GovV3Helpers.sol:734:5:
    |
734 |     address votingPortal
    |     ^^^^^^^^^^^^^^^^^^^^

| Contract                                               | Size (kB) | Margin (kB) |
|--------------------------------------------------------|-----------|-------------|
| AaveGovernanceV2                                       | 0.086     | 24.49       |
| AaveV1Ethereum_FixedREPPriceFeed_20231031              | 0.706     | 23.87       |
| AaveV2Avalanche                                        | 0.086     | 24.49       |
| AaveV2AvalancheAssets                                  | 0.086     | 24.49       |
| AaveV2Ethereum                                         | 0.086     | 24.49       |
| AaveV2EthereumAMM                                      | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets                                | 0.086     | 24.49       |
| AaveV2EthereumAssets                                   | 0.086     | 24.49       |
| AaveV2Ethereum_AaveV2EthereumLTReduction_20231030      | 3.023     | 21.553      |
| AaveV2Ethereum_Disable_Stable_Borrows_20231104         | 2.519     | 22.057      |
| AaveV2Polygon                                          | 0.086     | 24.49       |
| AaveV2PolygonAssets                                    | 0.086     | 24.49       |
| AaveV3Arbitrum                                         | 0.086     | 24.49       |
| AaveV3ArbitrumAssets                                   | 0.086     | 24.49       |
| AaveV3ArbitrumEModes                                   | 0.086     | 24.49       |
| AaveV3Arbitrum_Disable_Stable_Borrows_20231104         | 4.14      | 20.436      |
| AaveV3Avalanche                                        | 0.086     | 24.49       |
| AaveV3AvalancheAssets                                  | 0.086     | 24.49       |
| AaveV3AvalancheEModes                                  | 0.086     | 24.49       |
| AaveV3Avalanche_Disable_Stable_Borrows_20231104        | 3.471     | 21.105      |
| AaveV3Ethereum                                         | 0.086     | 24.49       |
| AaveV3EthereumAssets                                   | 0.086     | 24.49       |
| AaveV3EthereumEModes                                   | 0.086     | 24.49       |
| AaveV3Ethereum_ACIPhaseII_20231029                     | 0.682     | 23.894      |
| AaveV3Ethereum_ChaosLabsRiskManagementRenewal_20231101 | 1.014     | 23.562      |
| AaveV3Fantom                                           | 0.086     | 24.49       |
| AaveV3FantomAssets                                     | 0.086     | 24.49       |
| AaveV3FantomEModes                                     | 0.086     | 24.49       |
| AaveV3Gnosis                                           | 0.086     | 24.49       |
| AaveV3GnosisAssets                                     | 0.086     | 24.49       |
| AaveV3GnosisEModes                                     | 0.086     | 24.49       |
| AaveV3Gnosis_AaveV3GnosisActivation_20231026           | 8.802     | 15.774      |
| AaveV3Harmony                                          | 0.086     | 24.49       |
| AaveV3HarmonyAssets                                    | 0.086     | 24.49       |
| AaveV3HarmonyEModes                                    | 0.086     | 24.49       |
| AaveV3Optimism                                         | 0.086     | 24.49       |
| AaveV3OptimismAssets                                   | 0.086     | 24.49       |
| AaveV3OptimismEModes                                   | 0.086     | 24.49       |
| AaveV3Optimism_Disable_Stable_Borrows_20231104         | 3.851     | 20.725      |
| AaveV3Polygon                                          | 0.086     | 24.49       |
| AaveV3PolygonAssets                                    | 0.086     | 24.49       |
| AaveV3PolygonEModes                                    | 0.086     | 24.49       |
| AaveV3Polygon_Disable_Stable_Borrows_20231104          | 4.139     | 20.437      |
| Address                                                | 0.086     | 24.49       |
| ChainHelpers                                           | 0.086     | 24.49       |
| ChainIds                                               | 0.086     | 24.49       |
| ConfiguratorInputTypes                                 | 0.086     | 24.49       |
| Create2Utils                                           | 0.164     | 24.412      |
| DataTypes                                              | 0.086     | 24.49       |
| EngineFlags                                            | 0.086     | 24.49       |
| Errors                                                 | 4.714     | 19.862      |
| GovHelpers                                             | 0.086     | 24.49       |
| GovV3Helpers                                           | 0.086     | 24.49       |
| GovV3StorageHelpers                                    | 0.086     | 24.49       |
| GovernanceV3Arbitrum                                   | 0.086     | 24.49       |
| GovernanceV3Avalanche                                  | 0.086     | 24.49       |
| GovernanceV3BNB                                        | 0.086     | 24.49       |
| GovernanceV3Base                                       | 0.086     | 24.49       |
| GovernanceV3Ethereum                                   | 0.086     | 24.49       |
| GovernanceV3Gnosis                                     | 0.086     | 24.49       |
| GovernanceV3Metis                                      | 0.086     | 24.49       |
| GovernanceV3Optimism                                   | 0.086     | 24.49       |
| GovernanceV3Polygon                                    | 0.086     | 24.49       |
| IpfsUtils                                              | 0.086     | 24.49       |
| MiscEthereum                                           | 0.086     | 24.49       |
| MockExecutor                                           | 0.437     | 24.139      |
| PayloadsControllerUtils                                | 0.086     | 24.49       |
| ProxyHelpers                                           | 0.086     | 24.49       |
| ReserveConfiguration                                   | 0.171     | 24.405      |
| SafeERC20                                              | 0.086     | 24.49       |
| StdStyle                                               | 0.086     | 24.49       |
| StorageHelpers                                         | 0.086     | 24.49       |
| WadRayMath                                             | 0.086     | 24.49       |
| console                                                | 0.086     | 24.49       |
| console2                                               | 0.086     | 24.49       |
| safeconsole                                            | 0.086     | 24.49       |
| stdError                                               | 0.591     | 23.985      |
| stdJson                                                | 0.086     | 24.49       |
| stdMath                                                | 0.086     | 24.49       |
| stdStorage                                             | 0.086     | 24.49       |
| stdStorageSafe                                         | 0.086     | 24.49       |
Test success 🌈
No files changed, compilation skipped

Running 1 test for src/20231107_Multi_MultichainStableDebtTokenUpgrades/AaveV2Avalanche_MultichainStableDebtTokenUpgrades_20231107.t.sol:AaveV2Avalanche_MultichainStableDebtTokenUpgrades_20231107_Test
[PASS] test_defaultProposalExecution() (gas: 13945354)
Logs:
  E2E: Collateral WETH.e, TestAsset WETH.e
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: WETH.e, Amount: 5336948734886528789466703
  WITHDRAW: WETH.e, Amount: 2668474367443264394733351
  WITHDRAW: WETH.e, Amount: 2668474367443264394733351
  BORROW: WETH.e, Amount 5336948734886528789466703, Stable: false
  REPAY: WETH.e, Amount: 5336948734886528789466703
  E2E: Collateral WETH.e, TestAsset DAI.e
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: DAI.e, Amount: 10002399875802201222139227864
  WITHDRAW: DAI.e, Amount: 5001199937901100611069613932
  WITHDRAW: DAI.e, Amount: 5001199937901100611069613932
  BORROW: DAI.e, Amount 10002399875802201222139227864, Stable: false
  REPAY: DAI.e, Amount: 10002399875802201222139227864
  E2E: Collateral WETH.e, TestAsset USDT.e
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: USDT.e, Amount: 9997900440907409
  WITHDRAW: USDT.e, Amount: 4998950220453704
  WITHDRAW: USDT.e, Amount: 4998950220453706
  BORROW: USDT.e, Amount 9997900440907409, Stable: false
  REPAY: USDT.e, Amount: 9997900440907409
  E2E: Collateral WETH.e, TestAsset USDC.e
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: USDC.e, Amount: 9999630913622978
  WITHDRAW: USDC.e, Amount: 4999815456811489
  WITHDRAW: USDC.e, Amount: 4999815456811488
  BORROW: USDC.e, Amount 9999630913622978, Stable: false
  REPAY: USDC.e, Amount: 9999630913622978
  E2E: Collateral WETH.e, TestAsset AAVE.e
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: AAVE.e, Amount: 102968690310337335726325696
  WITHDRAW: AAVE.e, Amount: 51484345155168667863162848
  WITHDRAW: AAVE.e, Amount: 51484345155168667863162849
  E2E: Collateral WETH.e, TestAsset WBTC.e
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: WBTC.e, Amount: 28742276977122
  WITHDRAW: WBTC.e, Amount: 14371138488561
  WITHDRAW: WBTC.e, Amount: 14371138488561
  BORROW: WBTC.e, Amount 28742276977122, Stable: false
  REPAY: WBTC.e, Amount: 28742276977122
  E2E: Collateral WETH.e, TestAsset WAVAX
  SUPPLY: WETH.e, Amount: 533694873488652878946670327
  SUPPLY: WAVAX, Amount: 796767609420693377450887045
  WITHDRAW: WAVAX, Amount: 398383804710346688725443522
  WITHDRAW: WAVAX, Amount: 398383804710346688725443523
  BORROW: WAVAX, Amount 796767609420693377450887045, Stable: false
  REPAY: WAVAX, Amount: 796767609420693377450887045

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.84s
 
Ran 1 test suites: 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Running 1 test for src/20231107_Multi_MultichainStableDebtTokenUpgrades/AaveV2Ethereum_MultichainStableDebtTokenUpgrades_20231107.t.sol:AaveV2Ethereum_MultichainStableDebtTokenUpgrades_20231107_Test
[PASS] test_defaultProposalExecution() (gas: 1607382243)
Logs:
  E2E: Collateral AAVE, TestAsset USDT
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: USDT, Amount: 1873990000
  WITHDRAW: USDT, Amount: 936995000
  WITHDRAW: USDT, Amount: 936994999
  BORROW: USDT, Amount 1873990000, Stable: false
  REPAY: USDT, Amount: 1873990000
  BORROW: USDT, Amount 1873990000, Stable: true
  REPAY: USDT, Amount: 1873990000
  E2E: Collateral AAVE, TestAsset WBTC
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: WBTC, Amount: 5418891
  WITHDRAW: WBTC, Amount: 2709445
  WITHDRAW: WBTC, Amount: 2709446
  BORROW: WBTC, Amount 5418891, Stable: false
  REPAY: WBTC, Amount: 5418891
  BORROW: WBTC, Amount 5418891, Stable: true
  REPAY: WBTC, Amount: 5418891
  E2E: Collateral AAVE, TestAsset WETH
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: WETH, Amount: 1000000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  BORROW: WETH, Amount 1000000000000000000, Stable: false
  REPAY: WETH, Amount: 1000000000000000000
  BORROW: WETH, Amount 1000000000000000000, Stable: true
  REPAY: WETH, Amount: 1000000000000000000
  E2E: Collateral AAVE, TestAsset AAVE
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: AAVE, Amount: 19123611334907336965
  WITHDRAW: AAVE, Amount: 9561805667453668482
  WITHDRAW: AAVE, Amount: 9561805667453668483
  E2E: Collateral AAVE, TestAsset DAI
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: DAI, Amount: 1875964182874310504196
  WITHDRAW: DAI, Amount: 937982091437155252098
  WITHDRAW: DAI, Amount: 937982091437155252099
  BORROW: DAI, Amount 1875964182874310504196, Stable: false
  REPAY: DAI, Amount: 1875964182874310504196
  E2E: Collateral AAVE, TestAsset sUSD
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: sUSD, Amount: 1875077845050327441999
  WITHDRAW: sUSD, Amount: 937538922525163720999
  WITHDRAW: sUSD, Amount: 937538922525163720999
  BORROW: sUSD, Amount 1875077845050327441999, Stable: false
  REPAY: sUSD, Amount: 1875077845050327441999
  E2E: Collateral AAVE, TestAsset USDC
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: USDC, Amount: 1878882745
  WITHDRAW: USDC, Amount: 939441372
  WITHDRAW: USDC, Amount: 939441372
  BORROW: USDC, Amount 1878882745, Stable: false
  REPAY: USDC, Amount: 1878882745
  BORROW: USDC, Amount 1878882745, Stable: true
  REPAY: USDC, Amount: 1878882745
  E2E: Collateral AAVE, TestAsset GUSD
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: GUSD, Amount: 187853
  WITHDRAW: GUSD, Amount: 93926
  WITHDRAW: GUSD, Amount: 93926
  BORROW: GUSD, Amount 187853, Stable: false
  REPAY: GUSD, Amount: 187853
  E2E: Collateral AAVE, TestAsset USDP
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: USDP, Amount: 1889568023166942820729
  WITHDRAW: USDP, Amount: 944784011583471410364
  WITHDRAW: USDP, Amount: 944784011583471410365
  BORROW: USDP, Amount 1889568023166942820729, Stable: false
  REPAY: USDP, Amount: 1889568023166942820729
  E2E: Collateral AAVE, TestAsset FRAX
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: FRAX, Amount: 1891164309323280447773
  WITHDRAW: FRAX, Amount: 945582154661640223886
  WITHDRAW: FRAX, Amount: 945582154661640223888
  BORROW: FRAX, Amount 1891164309323280447773, Stable: false
  REPAY: FRAX, Amount: 1891164309323280447773
  E2E: Collateral AAVE, TestAsset stETH
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: stETH, Amount: 1000000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  E2E: Collateral AAVE, TestAsset LUSD
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: LUSD, Amount: 1884506218122421946033
  WITHDRAW: LUSD, Amount: 942253109061210973016
  WITHDRAW: LUSD, Amount: 942253109061210973017
  BORROW: LUSD, Amount 1884506218122421946033, Stable: false
  REPAY: LUSD, Amount: 1884506218122421946033
  BORROW: LUSD, Amount 1884506218122421946033, Stable: true
  REPAY: LUSD, Amount: 1884506218122421946033
  E2E: Collateral AAVE, TestAsset USDT
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: USDT, Amount: 1873990000
  WITHDRAW: USDT, Amount: 936995000
  WITHDRAW: USDT, Amount: 936994999
  BORROW: USDT, Amount 1873990000, Stable: false
  REPAY: USDT, Amount: 1873990000
  BORROW: USDT, Amount 1873990000, Stable: true
  REPAY: USDT, Amount: 1873990000
  E2E: Collateral AAVE, TestAsset WBTC
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: WBTC, Amount: 5418891
  WITHDRAW: WBTC, Amount: 2709445
  WITHDRAW: WBTC, Amount: 2709446
  BORROW: WBTC, Amount 5418891, Stable: false
  REPAY: WBTC, Amount: 5418891
  BORROW: WBTC, Amount 5418891, Stable: true
  REPAY: WBTC, Amount: 5418891
  E2E: Collateral AAVE, TestAsset WETH
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: WETH, Amount: 1000000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  BORROW: WETH, Amount 1000000000000000000, Stable: false
  REPAY: WETH, Amount: 1000000000000000000
  BORROW: WETH, Amount 1000000000000000000, Stable: true
  REPAY: WETH, Amount: 1000000000000000000
  E2E: Collateral AAVE, TestAsset AAVE
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: AAVE, Amount: 19123611334907336965
  WITHDRAW: AAVE, Amount: 9561805667453668482
  WITHDRAW: AAVE, Amount: 9561805667453668483
  E2E: Collateral AAVE, TestAsset DAI
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: DAI, Amount: 1875964182874310504196
  WITHDRAW: DAI, Amount: 937982091437155252098
  WITHDRAW: DAI, Amount: 937982091437155252099
  BORROW: DAI, Amount 1875964182874310504196, Stable: false
  REPAY: DAI, Amount: 1875964182874310504196
  E2E: Collateral AAVE, TestAsset sUSD
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: sUSD, Amount: 1875077845050327441999
  WITHDRAW: sUSD, Amount: 937538922525163720999
  WITHDRAW: sUSD, Amount: 937538922525163720999
  BORROW: sUSD, Amount 1875077845050327441999, Stable: false
  REPAY: sUSD, Amount: 1875077845050327441999
  E2E: Collateral AAVE, TestAsset USDC
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: USDC, Amount: 1878882745
  WITHDRAW: USDC, Amount: 939441372
  WITHDRAW: USDC, Amount: 939441372
  BORROW: USDC, Amount 1878882745, Stable: false
  REPAY: USDC, Amount: 1878882745
  BORROW: USDC, Amount 1878882745, Stable: true
  REPAY: USDC, Amount: 1878882745
  E2E: Collateral AAVE, TestAsset GUSD
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: GUSD, Amount: 187853
  WITHDRAW: GUSD, Amount: 93926
  WITHDRAW: GUSD, Amount: 93926
  BORROW: GUSD, Amount 187853, Stable: false
  REPAY: GUSD, Amount: 187853
  E2E: Collateral AAVE, TestAsset USDP
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: USDP, Amount: 1889568023166942820729
  WITHDRAW: USDP, Amount: 944784011583471410364
  WITHDRAW: USDP, Amount: 944784011583471410365
  BORROW: USDP, Amount 1889568023166942820729, Stable: false
  REPAY: USDP, Amount: 1889568023166942820729
  E2E: Collateral AAVE, TestAsset FRAX
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: FRAX, Amount: 1891164309323280447773
  WITHDRAW: FRAX, Amount: 945582154661640223886
  WITHDRAW: FRAX, Amount: 945582154661640223888
  BORROW: FRAX, Amount 1891164309323280447773, Stable: false
  REPAY: FRAX, Amount: 1891164309323280447773
  E2E: Collateral AAVE, TestAsset stETH
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: stETH, Amount: 1000000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  E2E: Collateral AAVE, TestAsset LUSD
  SUPPLY: AAVE, Amount: 1912361133490733696567
  SUPPLY: LUSD, Amount: 1884506218122421946033
  WITHDRAW: LUSD, Amount: 942253109061210973016
  WITHDRAW: LUSD, Amount: 942253109061210973017
  BORROW: LUSD, Amount 1884506218122421946033, Stable: false
  REPAY: LUSD, Amount: 1884506218122421946033
  BORROW: LUSD, Amount 1884506218122421946033, Stable: true
  REPAY: LUSD, Amount: 1884506218122421946033

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 91.93s
 
Ran 1 test suites: 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Running 1 test for src/20231107_Multi_MultichainStableDebtTokenUpgrades/AaveV3Polygon_MultichainStableDebtTokenUpgrades_20231107.t.sol:AaveV2Polygon_MultichainStableDebtTokenUpgradesSentinel_20231107_Test
[PASS] test_defaultProposalExecution() (gas: 32334101)
Logs:
  E2E: Collateral DAI, TestAsset DAI
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: DAI, Amount: 1881388253815831656389
  WITHDRAW: DAI, Amount: 940694126907915828194
  WITHDRAW: DAI, Amount: 940694126907915828195
  BORROW: DAI, Amount 1881388253815831656389, Stable: false
  REPAY: DAI, Amount: 1881388253815831656389
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: USDC, Amount: 1872751856
  WITHDRAW: USDC, Amount: 936375928
  WITHDRAW: USDC, Amount: 936375927
  BORROW: USDC, Amount 1872751856, Stable: false
  REPAY: USDC, Amount: 1872751856
  E2E: Collateral DAI, TestAsset USDT
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: USDT, Amount: 1872434738
  WITHDRAW: USDT, Amount: 936217369
  WITHDRAW: USDT, Amount: 936217369
  BORROW: USDT, Amount 1872434738, Stable: false
  REPAY: USDT, Amount: 1872434738
  E2E: Collateral DAI, TestAsset WBTC
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: WBTC, Amount: 5411869
  WITHDRAW: WBTC, Amount: 2705934
  WITHDRAW: WBTC, Amount: 2705934
  BORROW: WBTC, Amount 5411869, Stable: false
  REPAY: WBTC, Amount: 5411869
  E2E: Collateral DAI, TestAsset WETH
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: WETH, Amount: 1000000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  WITHDRAW: WETH, Amount: 499999999999999999
  BORROW: WETH, Amount 1000000000000000000, Stable: false
  REPAY: WETH, Amount: 1000000000000000000
  E2E: Collateral DAI, TestAsset WMATIC
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: WMATIC, Amount: 2621843166953433629898
  WITHDRAW: WMATIC, Amount: 1310921583476716814949
  WITHDRAW: WMATIC, Amount: 1310921583476716814950
  BORROW: WMATIC, Amount 2621843166953433629898, Stable: false
  REPAY: WMATIC, Amount: 2621843166953433629898
  E2E: Collateral DAI, TestAsset AAVE
  SUPPLY: DAI, Amount: 188138825381583165638926
  SUPPLY: AAVE, Amount: 19233395652508604372
  WITHDRAW: AAVE, Amount: 9616697826254302186
  WITHDRAW: AAVE, Amount: 9616697826254302185

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 61.93s

Running 1 test for src/20231107_Multi_MultichainStableDebtTokenUpgrades/AaveV3Polygon_MultichainStableDebtTokenUpgrades_20231107.t.sol:AaveV3Polygon_MultichainStableDebtTokenUpgrades_20231107_Test
[PASS] test_defaultProposalExecution() (gas: 103165303)
Logs:
  0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063
  0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39
  0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
  0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6
  0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619
  0xc2132D05D31c914a87C6611C10748AEb04B58e8F
  0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
  0x172370d5Cd63279eFa6d502DAB29171933a610AF
  0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a
  0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7
  0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3
  0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369
  0xE111178A87A3BFf0c8d18DECBa5798827539Ae99
  0xa3Fa99A148fA48D14Ed51d610c367C61876997F1
  0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6
  0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD
  E2E: TestAsset DAI SKIPPED
  E2E: Collateral LINK, TestAsset LINK
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: LINK, Amount: 7777945262865771487
  WITHDRAW: LINK, Amount: 3888972631432885743
  WITHDRAW: LINK, Amount: 3888972631432885743
  BORROW: LINK, Amount 7777945262865771487, Stable: false
  REPAY: LINK, Amount: 7777945262865771487
  E2E: TestAsset USDC SKIPPED
  E2E: Collateral LINK, TestAsset WBTC
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: WBTC, Amount: 287330
  WITHDRAW: WBTC, Amount: 143665
  WITHDRAW: WBTC, Amount: 143665
  BORROW: WBTC, Amount 287330, Stable: false
  REPAY: WBTC, Amount: 287330
  E2E: Collateral LINK, TestAsset WETH
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: WETH, Amount: 53333333333333333
  WITHDRAW: WETH, Amount: 26666666666666666
  WITHDRAW: WETH, Amount: 26666666666666668
  BORROW: WETH, Amount 53333333333333333, Stable: false
  REPAY: WETH, Amount: 53333333333333333
  E2E: TestAsset USDT SKIPPED
  E2E: Collateral LINK, TestAsset AAVE
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: AAVE, Amount: 1030107231665836484
  WITHDRAW: AAVE, Amount: 515053615832918242
  WITHDRAW: AAVE, Amount: 515053615832918242
  E2E: Collateral LINK, TestAsset WMATIC
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: WMATIC, Amount: 140591998884036949658
  WITHDRAW: WMATIC, Amount: 70295999442018474829
  WITHDRAW: WMATIC, Amount: 70295999442018474830
  BORROW: WMATIC, Amount 140591998884036949658, Stable: false
  REPAY: WMATIC, Amount: 140591998884036949658
  E2E: Collateral LINK, TestAsset CRV
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: CRV, Amount: 179824775142605542307
  WITHDRAW: CRV, Amount: 89912387571302771153
  WITHDRAW: CRV, Amount: 89912387571302771153
  E2E: Collateral LINK, TestAsset SUSHI
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: SUSHI, Amount: 104489935670457634675
  WITHDRAW: SUSHI, Amount: 52244967835228817337
  WITHDRAW: SUSHI, Amount: 52244967835228817338
  BORROW: SUSHI, Amount 104489935670457634675, Stable: false
  REPAY: SUSHI, Amount: 104489935670457634675
  E2E: Collateral LINK, TestAsset GHST
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: GHST, Amount: 115418040449129452504
  WITHDRAW: GHST, Amount: 57709020224564726252
  WITHDRAW: GHST, Amount: 57709020224564726252
  E2E: Collateral LINK, TestAsset BAL
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: BAL, Amount: 27279302030905299592
  WITHDRAW: BAL, Amount: 13639651015452649796
  WITHDRAW: BAL, Amount: 13639651015452649795
  BORROW: BAL, Amount 27279302030905299592, Stable: false
  REPAY: BAL, Amount: 27279302030905299592
  E2E: Collateral LINK, TestAsset DPI
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: DPI, Amount: 1295915885539748741
  WITHDRAW: DPI, Amount: 647957942769874370
  WITHDRAW: DPI, Amount: 647957942769874372
  BORROW: DPI, Amount 1295915885539748741, Stable: false
  REPAY: DPI, Amount: 1295915885539748741
  E2E: TestAsset EURS SKIPPED
  E2E: TestAsset jEUR SKIPPED
  E2E: Collateral LINK, TestAsset agEUR
  Skip: agEUR, supply cap fully utilized
  E2E: TestAsset miMATIC SKIPPED
  E2E: Collateral LINK, TestAsset stMATIC
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: stMATIC, Amount: 128608487290767816590
  WITHDRAW: stMATIC, Amount: 64304243645383908295
  WITHDRAW: stMATIC, Amount: 64304243645383908296
  E2E: Collateral LINK, TestAsset MaticX
  SUPPLY: LINK, Amount: 777794526286577148739
  SUPPLY: MaticX, Amount: 129416925243840252613
  WITHDRAW: MaticX, Amount: 64708462621920126306
  WITHDRAW: MaticX, Amount: 64708462621920126308
  BORROW: MaticX, Amount 129416925243840252613, Stable: false
  REPAY: MaticX, Amount: 129416925243840252613
  E2E: Collateral LINK, TestAsset wstETH
  Skip: wstETH, supply cap fully utilized

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 70.94s
 
Ran 2 test suites: 2 tests passed, 0 failed, 0 skipped (2 total tests)

Please sign in to comment.