Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update stable price cap adapters #511

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

brotherlymite
Copy link
Contributor

@brotherlymite brotherlymite commented Nov 2, 2024

This proposal updates the stablecoin CAPO feed to the latest version for it to work with the RiskStewards as currently its missing a getter. It also updates aToken, variableDebtToken for WMATIC to rename the symbol to WPOL and migrates MATIC on ethereum collector to POL. We also add new CAPO feed for sDAI as it was using non-CAPO feed before

TODO:

  • Add forum post

Copy link

github-actions bot commented Nov 2, 2024

Foundry report

forge 0.2.0 (c4a31a6 2024-11-08T00:20:26.993960697Z)
Build log
Compiling 352 files with Solc 0.8.20
Solc 0.8.20 finished in 177.83s
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/swaps/AaveSwapper.sol:146:5:
    |
146 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
   --> lib/aave-helpers/src/swaps/AaveSwapper.sol:145:3:
    |
145 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> lib/aave-helpers/src/ProtocolV2TestBase.sol:663:3:
    |
663 |   function _logReserveConfig(ReserveConfig memory config) internal view {
    |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract                                                            | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
|---------------------------------------------------------------------|------------------|-------------------|--------------------|---------------------|
| AaveGovernanceV2                                                    |               44 |                94 |             24,532 |              49,058 |
| AaveSafetyModule                                                    |               44 |                94 |             24,532 |              49,058 |
| AaveSwapper                                                         |            5,555 |             5,992 |             19,021 |              43,160 |
| AaveV2Avalanche                                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV2AvalancheAssets                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV2Avalanche_ReserveFactorUpdatesMidOctober_20241004             |              988 |             1,017 |             23,588 |              48,135 |
| AaveV2Avalanche_UpdateLegacyGuardian_20241016                       |              348 |               486 |             24,228 |              48,666 |
| AaveV2Ethereum                                                      |               44 |                94 |             24,532 |              49,058 |
| AaveV2EthereumAMM                                                   |               44 |                94 |             24,532 |              49,058 |
| AaveV2EthereumAMMAssets                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV2EthereumAMM_UpdateLegacyGuardian_20241016                     |              348 |               486 |             24,228 |              48,666 |
| AaveV2EthereumAssets                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV2Ethereum_ReserveFactorUpdatesMidOctober_20241004              |              988 |             1,017 |             23,588 |              48,135 |
| AaveV2Ethereum_UpdateLegacyGuardian_20241016                        |              348 |               486 |             24,228 |              48,666 |
| AaveV2Polygon                                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV2PolygonAssets                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV2Polygon_ReserveFactorUpdatesMidOctober_20241004               |            2,384 |             2,454 |             22,192 |              46,698 |
| AaveV2Polygon_UpdateLegacyGuardian_20241016                         |              348 |               486 |             24,228 |              48,666 |
| AaveV3Arbitrum                                                      |               44 |                94 |             24,532 |              49,058 |
| AaveV3ArbitrumAssets                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3ArbitrumEModes                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3ArbitrumExternalLibraries                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV3Arbitrum_GHOCCIP150Upgrade_20241021                           |              817 |               846 |             23,759 |              48,306 |
| AaveV3Arbitrum_GHOStewardV2Upgrade_20241007                         |            1,360 |             1,389 |             23,216 |              47,763 |
| AaveV3Arbitrum_ReserveFactorUpdatesMidOctober_20241004              |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Arbitrum_RiskStewardPhase2_20240805                           |              307 |               336 |             24,269 |              48,816 |
| AaveV3Arbitrum_UpdateLegacyGuardian_20241016                        |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101                  |            3,755 |             3,825 |             20,821 |              45,327 |
| AaveV3Avalanche                                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV3AvalancheAssets                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV3AvalancheEModes                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV3AvalancheExternalLibraries                                    |               44 |                94 |             24,532 |              49,058 |
| AaveV3Avalanche_RiskStewardPhase2_20240805                          |              178 |               206 |             24,398 |              48,946 |
| AaveV3Avalanche_UpdateLegacyGuardian_20241016                       |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Avalanche_UpdatePriceCapAdaptersCAPO_20241101                 |            4,254 |             4,324 |             20,322 |              44,828 |
| AaveV3BNB                                                           |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNBAssets                                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNBEModes                                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNBExternalLibraries                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNB_OnboardWstETHToAaveV3OnBNBChain_20241030                  |            5,561 |             5,632 |             19,015 |              43,520 |
| AaveV3BNB_RiskStewardPhase2_20240805                                |              178 |               206 |             24,398 |              48,946 |
| AaveV3BNB_UpdateLegacyGuardian_20241016                             |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3BNB_UpdatePriceCapAdaptersCAPO_20241101                       |            3,325 |             3,395 |             21,251 |              45,757 |
| AaveV3Base                                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3BaseAssets                                                    |               44 |                94 |             24,532 |              49,058 |
| AaveV3BaseEModes                                                    |               44 |                94 |             24,532 |              49,058 |
| AaveV3BaseExternalLibraries                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3Base_IncreaseCbBTCSupplyCaps_20241004                         |            3,146 |             3,216 |             21,430 |              45,936 |
| AaveV3Base_ReserveFactorUpdatesMidOctober_20241004                  |            3,223 |             3,293 |             21,353 |              45,859 |
| AaveV3Base_RiskStewardPhase2_20240805                               |              178 |               206 |             24,398 |              48,946 |
| AaveV3Base_UpdateLegacyGuardian_20241016                            |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Base_UpdatePriceCapAdaptersCAPO_20241101                      |            3,203 |             3,273 |             21,373 |              45,879 |
| AaveV3Ethereum                                                      |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumAssets                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEModes                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFi                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFiAssets                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFiEModes                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFiExternalLibraries                              |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFi_RiskStewardPhase2_20240805                    |              178 |               206 |             24,398 |              48,946 |
| AaveV3EthereumEtherFi_UpdatePriceCapAdaptersCAPO_20241101           |            3,333 |             3,403 |             21,243 |              45,749 |
| AaveV3EthereumExternalLibraries                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLido                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLidoAssets                                            |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLidoEModes                                            |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLidoExternalLibraries                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLido_OnboardEzETHToLidoInstance_20241021              |            6,194 |             6,265 |             18,382 |              42,887 |
| AaveV3EthereumLido_RiskStewardPhase2_20240805                       |              178 |               206 |             24,398 |              48,946 |
| AaveV3EthereumLido_UpdatePriceCapAdaptersCAPO_20241101              |            3,108 |             3,178 |             21,468 |              45,974 |
| AaveV3EthereumLido_WstETHSlope1UoptimalUpdate_20241001              |            3,250 |             3,320 |             21,326 |              45,832 |
| AaveV3Ethereum_AaveBGDPhase4_20241025                               |            1,407 |             1,436 |             23,169 |              47,716 |
| AaveV3Ethereum_AaveCertoraContinuousSecurityServices_20241014       |            1,567 |             1,596 |             23,009 |              47,556 |
| AaveV3Ethereum_ChaosLabsAaveRiskManagementServiceRenewal_20241012   |            1,255 |             1,284 |             23,321 |              47,868 |
| AaveV3Ethereum_FixUSDSBorrowRateToMatchSkySavingsRate_20241022      |            3,238 |             3,308 |             21,338 |              45,844 |
| AaveV3Ethereum_GHOCCIP150Upgrade_20241021                           |              817 |               846 |             23,759 |              48,306 |
| AaveV3Ethereum_GHOStewardV2Upgrade_20241007                         |            2,895 |             2,924 |             21,681 |              46,228 |
| AaveV3Ethereum_IncreaseCbBTCSupplyCaps_20241004                     |            3,150 |             3,220 |             21,426 |              45,932 |
| AaveV3Ethereum_IncreaseUSDSBorrowRateToMatchSkySavingsRate_20241016 |            3,239 |             3,309 |             21,337 |              45,843 |
| AaveV3Ethereum_RenewLlamaRiskAsRiskServiceProvider_20241013         |            1,068 |             1,097 |             23,508 |              48,055 |
| AaveV3Ethereum_RiskStewardPhase2_20240805                           |              307 |               336 |             24,269 |              48,816 |
| AaveV3Ethereum_StkGHOIncentivesQ4_20241029                          |            1,458 |             1,487 |             23,118 |              47,665 |
| AaveV3Ethereum_UpdateLegacyGuardian_20241016                        |            1,062 |             1,413 |             23,514 |              47,739 |
| AaveV3Ethereum_UpdatePriceCapAdaptersCAPO_20241101                  |            7,182 |             7,253 |             17,394 |              41,899 |
| AaveV3Gnosis                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3GnosisAssets                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3GnosisEModes                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3GnosisExternalLibraries                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV3Gnosis_ReserveFactorUpdatesMidOctober_20241004                |            3,225 |             3,295 |             21,351 |              45,857 |
| AaveV3Gnosis_RiskStewardPhase2_20240805                             |              178 |               206 |             24,398 |              48,946 |
| AaveV3Gnosis_UpdateLegacyGuardian_20241016                          |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Gnosis_UpdatePriceCapAdaptersCAPO_20241101                    |            3,425 |             3,495 |             21,151 |              45,657 |
| AaveV3Metis                                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3MetisAssets                                                   |               44 |                94 |             24,532 |              49,058 |
| AaveV3MetisEModes                                                   |               44 |                94 |             24,532 |              49,058 |
| AaveV3MetisExternalLibraries                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3Metis_RiskStewardPhase2_20240805                              |              178 |               206 |             24,398 |              48,946 |
| AaveV3Metis_UpdateLegacyGuardian_20241016                           |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Metis_UpdatePriceCapAdaptersCAPO_20241101                     |            3,315 |             3,385 |             21,261 |              45,767 |
| AaveV3Optimism                                                      |               44 |                94 |             24,532 |              49,058 |
| AaveV3OptimismAssets                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3OptimismEModes                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3OptimismExternalLibraries                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV3Optimism_ReserveFactorUpdatesMidOctober_20241004              |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Optimism_RiskStewardPhase2_20240805                           |              178 |               206 |             24,398 |              48,946 |
| AaveV3Optimism_UpdateLegacyGuardian_20241016                        |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Optimism_UpdatePriceCapAdaptersCAPO_20241101                  |            3,755 |             3,825 |             20,821 |              45,327 |
| AaveV3Polygon                                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV3PolygonAssets                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3PolygonEModes                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3PolygonExternalLibraries                                      |               44 |                94 |             24,532 |              49,058 |
| AaveV3Polygon_ReserveFactorUpdatesMidOctober_20241004               |            3,226 |             3,296 |             21,350 |              45,856 |
| AaveV3Polygon_RiskStewardPhase2_20240805                            |              178 |               206 |             24,398 |              48,946 |
| AaveV3Polygon_UpdateLegacyGuardian_20241016                         |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Polygon_UpdatePriceCapAdaptersCAPO_20241101                   |            5,798 |             5,868 |             18,778 |              43,284 |
| AaveV3Scroll                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3ScrollAssets                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3ScrollEModes                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3ScrollExternalLibraries                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV3Scroll_RiskStewardPhase2_20240805                             |              178 |               206 |             24,398 |              48,946 |
| AaveV3Scroll_UpdateLegacyGuardian_20241016                          |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Scroll_UpdatePriceCapAdaptersCAPO_20241101                    |            3,097 |             3,167 |             21,479 |              45,985 |
| Address                                                             |               44 |                94 |             24,532 |              49,058 |
| CCIPUtils                                                           |            4,968 |             5,021 |             19,608 |              44,131 |
| ChainHelpers                                                        |               44 |                94 |             24,532 |              49,058 |
| ChainIds                                                            |               44 |                94 |             24,532 |              49,058 |
| Client                                                              |              109 |               160 |             24,467 |              48,992 |
| CollectorUtils                                                      |               44 |                94 |             24,532 |              49,058 |
| ConfiguratorInputTypes                                              |               44 |                94 |             24,532 |              49,058 |
| Create2Utils                                                        |              121 |               172 |             24,455 |              48,980 |
| Create2UtilsZkSync                                                  |              104 |               155 |             24,472 |              48,997 |
| DataTypes                                                           |               44 |                94 |             24,532 |              49,058 |
| ERC1967Proxy                                                        |              129 |             1,179 |             24,447 |              47,973 |
| EngineFlags                                                         |               44 |                94 |             24,532 |              49,058 |
| Errors                                                              |            4,652 |             4,705 |             19,924 |              44,447 |
| GovV3Helpers                                                        |            2,517 |             2,570 |             22,059 |              46,582 |
| GovV3StorageHelpers                                                 |               44 |                94 |             24,532 |              49,058 |
| GovernanceGuardians                                                 |              292 |               345 |             24,284 |              48,807 |
| GovernanceV3Arbitrum                                                |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Avalanche                                               |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3BNB                                                     |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Base                                                    |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Ethereum                                                |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Gnosis                                                  |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Metis                                                   |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Optimism                                                |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Polygon                                                 |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3PolygonZkEvm                                            |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Scroll                                                  |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3ZkSync                                                  |               44 |                94 |             24,532 |              49,058 |
| IpfsUtils                                                           |               44 |                94 |             24,532 |              49,058 |
| MiscArbitrum                                                        |               44 |                94 |             24,532 |              49,058 |
| MiscAvalanche                                                       |               44 |                94 |             24,532 |              49,058 |
| MiscBNB                                                             |               44 |                94 |             24,532 |              49,058 |
| MiscBase                                                            |               44 |                94 |             24,532 |              49,058 |
| MiscEthereum                                                        |               44 |                94 |             24,532 |              49,058 |
| MiscGnosis                                                          |               44 |                94 |             24,532 |              49,058 |
| MiscMetis                                                           |               44 |                94 |             24,532 |              49,058 |
| MiscOptimism                                                        |               44 |                94 |             24,532 |              49,058 |
| MiscPolygon                                                         |               44 |                94 |             24,532 |              49,058 |
| MiscScroll                                                          |               44 |                94 |             24,532 |              49,058 |
| Payloads                                                            |               44 |                94 |             24,532 |              49,058 |
| PayloadsControllerUtils                                             |               44 |                94 |             24,532 |              49,058 |
| PriceFeeds                                                          |            2,280 |             2,333 |             22,296 |              46,819 |
| ProtocolGuardians                                                   |              292 |               345 |             24,284 |              48,807 |
| ProxyAdmin                                                          |            1,592 |             1,714 |             22,984 |              47,438 |
| ProxyHelpers                                                        |               44 |                94 |             24,532 |              49,058 |
| RateLimiter                                                         |               44 |                94 |             24,532 |              49,058 |
| RenewalV2BasePayload                                                |              348 |               595 |             24,228 |              48,557 |
| RenewalV3BasePayload                                                |            1,062 |             1,509 |             23,514 |              47,643 |
| ReserveConfiguration                                                |              128 |               179 |             24,448 |              48,973 |
| RewardsDataTypes                                                    |               44 |                94 |             24,532 |              49,058 |
| SafeERC20                                                           |               44 |                94 |             24,532 |              49,058 |
| StorageHelpers                                                      |               44 |                94 |             24,532 |              49,058 |
| StorageSlot                                                         |               44 |                94 |             24,532 |              49,058 |
| TestNetChainIds                                                     |               44 |                94 |             24,532 |              49,058 |
| TokenImpls                                                          |              229 |               281 |             24,347 |              48,871 |
| TransparentUpgradeableProxy                                         |            2,000 |             3,429 |             22,576 |              45,723 |
| WadRayMath                                                          |               44 |                94 |             24,532 |              49,058 |
Test success 🌈
No files changed, compilation skipped
2024-11-08T13:46:27.339422Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.4", "diff-snapshots", "./reports/AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101_before.json", "./reports/AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101_after.json", "-o", "./diffs/AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101_before_AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]
"

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 48804409)
Logs:
  0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1
  0xf97f4df75117a78c1A5a0DBb814Af92458539FB4
  0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
  0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f
  0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
  0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
  0xD22a58f79e9481D1a88e00c343885A588b34b68B
  0x5979D7b546E38E414F7E9822514be443A4800529
  0x3F56e0c36d275367b8C502090EDF38289b3dEa0d
  0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8
  0x93b346b6BC2548dA6A1E7d98E9a421B42541425b
  0xaf88d065e77c8cC2239327C5EDb3A432268e5831
  0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F
  0x912CE59144191C1204E64559FE8253a0e49E6548
  0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe
  0x7dfF72693f6A4149b17e7C6314655f6A9F7c8B33
  E2E: Collateral DAI, TestAsset DAI
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: DAI, Amount: 1000020380415352864891
  WITHDRAW: DAI, Amount: 500010190207676432445
  WITHDRAW: DAI, Amount: 500010190207676432446
  BORROW: DAI, Amount 1000020380415352864891
  REPAY: DAI, Amount: 1000020380415352864891
  E2E: Collateral DAI, TestAsset LINK
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: LINK, Amount: 94415493506952096033
  WITHDRAW: LINK, Amount: 47207746753476048016
  WITHDRAW: LINK, Amount: 47207746753476048018
  BORROW: LINK, Amount 94415493506952096033
  REPAY: LINK, Amount: 94415493506952096033
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: USDC, Amount: 1000000000
  WITHDRAW: USDC, Amount: 500000000
  WITHDRAW: USDC, Amount: 500000000
  BORROW: USDC, Amount 1000000000
  REPAY: USDC, Amount: 1000000000
  E2E: Collateral DAI, TestAsset WBTC
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: WBTC, Amount: 1454446
  WITHDRAW: WBTC, Amount: 727223
  WITHDRAW: WBTC, Amount: 727222
  BORROW: WBTC, Amount 1454446
  REPAY: WBTC, Amount: 1454446
  E2E: Collateral DAI, TestAsset WETH
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: WETH, Amount: 409619328264853959
  WITHDRAW: WETH, Amount: 204809664132426979
  WITHDRAW: WETH, Amount: 204809664132426979
  BORROW: WETH, Amount 409619328264853959
  REPAY: WETH, Amount: 409619328264853959
  E2E: Collateral DAI, TestAsset USDT
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: USDT, Amount: 1000480230
  WITHDRAW: USDT, Amount: 500240115
  WITHDRAW: USDT, Amount: 500240114
  BORROW: USDT, Amount 1000480230
  REPAY: USDT, Amount: 1000480230
  E2E: Collateral DAI, TestAsset AAVE
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: AAVE, Amount: 7674474429295742321
  WITHDRAW: AAVE, Amount: 3837237214647871160
  WITHDRAW: AAVE, Amount: 3837237214647871160
  E2E: TestAsset EURS SKIPPED
  E2E: Collateral DAI, TestAsset wstETH
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: wstETH, Amount: 345988049619958896
  WITHDRAW: wstETH, Amount: 172994024809979448
  WITHDRAW: wstETH, Amount: 172994024809979448
  BORROW: wstETH, Amount 345988049619958896
  REPAY: wstETH, Amount: 345988049619958896
  E2E: TestAsset MAI SKIPPED
  E2E: Collateral DAI, TestAsset rETH
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: rETH, Amount: 365748434896097570
  WITHDRAW: rETH, Amount: 182874217448048785
  WITHDRAW: rETH, Amount: 182874217448048785
  BORROW: rETH, Amount 365748434896097570
  REPAY: rETH, Amount: 365748434896097570
  E2E: Collateral DAI, TestAsset LUSD
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: LUSD, Amount: 1001661646488743712056
  WITHDRAW: LUSD, Amount: 500830823244371856028
  WITHDRAW: LUSD, Amount: 500830823244371856028
  BORROW: LUSD, Amount 1001661646488743712056
  REPAY: LUSD, Amount: 1001661646488743712056
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: USDC, Amount: 1000000000
  WITHDRAW: USDC, Amount: 500000000
  WITHDRAW: USDC, Amount: 500000001
  BORROW: USDC, Amount 1000000000
  REPAY: USDC, Amount: 1000000000
  E2E: Collateral DAI, TestAsset FRAX
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: FRAX, Amount: 1003313523175368508528
  WITHDRAW: FRAX, Amount: 501656761587684254264
  WITHDRAW: FRAX, Amount: 501656761587684254264
  BORROW: FRAX, Amount 1003313523175368508528
  REPAY: FRAX, Amount: 1003313523175368508528
  E2E: Collateral DAI, TestAsset ARB
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: ARB, Amount: 2065688907250568064449
  WITHDRAW: ARB, Amount: 1032844453625284032224
  WITHDRAW: ARB, Amount: 1032844453625284032224
  BORROW: ARB, Amount 2065688907250568064449
  REPAY: ARB, Amount: 2065688907250568064449
  E2E: Collateral DAI, TestAsset weETH
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: weETH, Amount: 389393435644206556
  WITHDRAW: weETH, Amount: 194696717822103278
  WITHDRAW: weETH, Amount: 194696717822103278
  BORROW: weETH, Amount 389393435644206556
  REPAY: weETH, Amount: 389393435644206556
  E2E: Collateral DAI, TestAsset GHO
  SUPPLY: DAI, Amount: 100002038041535286489138
  SUPPLY: GHO, Amount: 1000000000000000000000
  WITHDRAW: GHO, Amount: 500000000000000000000
  WITHDRAW: GHO, Amount: 500000000000000000000
  BORROW: GHO, Amount 1000000000000000000000
  REPAY: GHO, Amount: 1000000000000000000000

[PASS] test_priceFeeds() (gas: 573288)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 85.80s (95.16s CPU time)

Ran 1 test suite in 85.81s (85.80s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3Avalanche_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3Avalanche_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 27765955)
Logs:
  0xd586E7F844cEa2F87f50152665BCbc2C279D8d70
  0x5947BB275c521040051D82396192181b413227A3
  0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
  0x50b7545627a5162F82A992c33b87aDc75187B218
  0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB
  0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
  0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
  0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64
  0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b
  0x152b9d0FdC40C096757F570A51E494bd4b943E50
  E2E: Collateral DAI.e, TestAsset DAI.e
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: DAI.e, Amount: 1000120014401728207384
  WITHDRAW: DAI.e, Amount: 500060007200864103692
  WITHDRAW: DAI.e, Amount: 500060007200864103692
  BORROW: DAI.e, Amount 1000120014401728207384
  REPAY: DAI.e, Amount: 1000120014401728207384
  E2E: Collateral DAI.e, TestAsset LINK.e
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: LINK.e, Amount: 94629044681942317919
  WITHDRAW: LINK.e, Amount: 47314522340971158959
  WITHDRAW: LINK.e, Amount: 47314522340971158961
  BORROW: LINK.e, Amount 94629044681942317919
  REPAY: LINK.e, Amount: 94629044681942317919
  E2E: Collateral DAI.e, TestAsset USDC
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: USDC, Amount: 999959661
  WITHDRAW: USDC, Amount: 499979830
  WITHDRAW: USDC, Amount: 499979830
  BORROW: USDC, Amount 999959661
  REPAY: USDC, Amount: 999959661
  E2E: TestAsset WBTC.e SKIPPED
  E2E: Collateral DAI.e, TestAsset WETH.e
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: WETH.e, Amount: 409702473983787782
  WITHDRAW: WETH.e, Amount: 204851236991893891
  WITHDRAW: WETH.e, Amount: 204851236991893890
  BORROW: WETH.e, Amount 409702473983787782
  REPAY: WETH.e, Amount: 409702473983787782
  E2E: Collateral DAI.e, TestAsset USDt
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: USDt, Amount: 1000608890
  WITHDRAW: USDt, Amount: 500304445
  WITHDRAW: USDt, Amount: 500304445
  BORROW: USDt, Amount 1000608890
  REPAY: USDt, Amount: 1000608890
  E2E: Collateral DAI.e, TestAsset AAVE.e
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: AAVE.e, Amount: 7649210135983037674
  WITHDRAW: AAVE.e, Amount: 3824605067991518837
  WITHDRAW: AAVE.e, Amount: 3824605067991518837
  E2E: Collateral DAI.e, TestAsset WAVAX
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: WAVAX, Amount: 42919430717168832868
  WITHDRAW: WAVAX, Amount: 21459715358584416434
  WITHDRAW: WAVAX, Amount: 21459715358584416435
  BORROW: WAVAX, Amount 42919430717168832868
  REPAY: WAVAX, Amount: 42919430717168832868
  E2E: Collateral DAI.e, TestAsset sAVAX
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: sAVAX, Amount: 36537886047082050586
  WITHDRAW: sAVAX, Amount: 18268943023541025293
  WITHDRAW: sAVAX, Amount: 18268943023541025292
  E2E: Collateral DAI.e, TestAsset FRAX
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: FRAX, Amount: 1003758966917620126435
  WITHDRAW: FRAX, Amount: 501879483458810063217
  WITHDRAW: FRAX, Amount: 501879483458810063218
  BORROW: FRAX, Amount 1003758966917620126435
  REPAY: FRAX, Amount: 1003758966917620126435
  E2E: TestAsset MAI SKIPPED
  E2E: Collateral DAI.e, TestAsset BTC.b
  SUPPLY: DAI.e, Amount: 100012001440172820738488
  SUPPLY: BTC.b, Amount: 1453483
  WITHDRAW: BTC.b, Amount: 726741
  WITHDRAW: BTC.b, Amount: 726743
  BORROW: BTC.b, Amount 1453483
  REPAY: BTC.b, Amount: 1453483

[PASS] test_priceFeeds() (gas: 583986)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 68.72s (81.02s CPU time)

Ran 1 test suite in 68.72s (68.72s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3BNB_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3BNB_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 14150849)
Logs:
  0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82
  0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
  0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c
  0x2170Ed0880ac9A755fd29B2688956BD959F933F8
  0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
  0x55d398326f99059fF775485246999027B3197955
  0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409
  E2E: Collateral WBNB, TestAsset Cake
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: Cake, Amount: 624104924320163130042
  WITHDRAW: Cake, Amount: 312052462160081565021
  WITHDRAW: Cake, Amount: 312052462160081565021
  BORROW: Cake, Amount 624104924320163130042
  REPAY: Cake, Amount: 624104924320163130042
  E2E: Collateral WBNB, TestAsset WBNB
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: WBNB, Amount: 1783798571193352282
  WITHDRAW: WBNB, Amount: 891899285596676141
  WITHDRAW: WBNB, Amount: 891899285596676142
  BORROW: WBNB, Amount 1783798571193352282
  REPAY: WBNB, Amount: 1783798571193352282
  E2E: Collateral WBNB, TestAsset BTCB
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: BTCB, Amount: 14530729790791783
  WITHDRAW: BTCB, Amount: 7265364895395891
  WITHDRAW: BTCB, Amount: 7265364895395893
  BORROW: BTCB, Amount 14530729790791783
  REPAY: BTCB, Amount: 14530729790791783
  E2E: Collateral WBNB, TestAsset ETH
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: ETH, Amount: 409529175373043365
  WITHDRAW: ETH, Amount: 204764587686521682
  WITHDRAW: ETH, Amount: 204764587686521684
  BORROW: ETH, Amount 409529175373043365
  REPAY: ETH, Amount: 409529175373043365
  E2E: Collateral WBNB, TestAsset USDC
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: USDC, Amount: 999946042911524494138
  WITHDRAW: USDC, Amount: 499973021455762247069
  WITHDRAW: USDC, Amount: 499973021455762247068
  BORROW: USDC, Amount 999946042911524494138
  REPAY: USDC, Amount: 999946042911524494138
  E2E: Collateral WBNB, TestAsset USDT
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: USDT, Amount: 1000432927344979266327
  WITHDRAW: USDT, Amount: 500216463672489633163
  WITHDRAW: USDT, Amount: 500216463672489633165
  BORROW: USDT, Amount 1000432927344979266327
  REPAY: USDT, Amount: 1000432927344979266327
  E2E: Collateral WBNB, TestAsset FDUSD
  SUPPLY: WBNB, Amount: 178379857119335228250
  SUPPLY: FDUSD, Amount: 1001373975217656394161
  WITHDRAW: FDUSD, Amount: 500686987608828197080
  WITHDRAW: FDUSD, Amount: 500686987608828197081
  BORROW: FDUSD, Amount 1001373975217656394161
  REPAY: FDUSD, Amount: 1001373975217656394161

[PASS] test_priceFeeds() (gas: 315449)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 31.43s (36.62s CPU time)

Ran 1 test suite in 31.44s (31.43s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3Base_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3Base_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 14366737)
Logs:
  0x4200000000000000000000000000000000000006
  0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22
  0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA
  0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452
  0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A
  0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: WETH, Amount: 409219180567916950
  WITHDRAW: WETH, Amount: 204609590283958475
  WITHDRAW: WETH, Amount: 204609590283958474
  BORROW: WETH, Amount 409219180567916950
  REPAY: WETH, Amount: 409219180567916950
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: cbETH, Amount: 377013205868248677
  WITHDRAW: cbETH, Amount: 188506602934124338
  WITHDRAW: cbETH, Amount: 188506602934124340
  BORROW: cbETH, Amount 377013205868248677
  REPAY: cbETH, Amount: 377013205868248677
  E2E: Collateral WETH, TestAsset USDbC
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: USDbC, Amount: 1000020000
  WITHDRAW: USDbC, Amount: 500010000
  WITHDRAW: USDbC, Amount: 500010000
  BORROW: USDbC, Amount 1000020000
  REPAY: USDbC, Amount: 1000020000
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: wstETH, Amount: 345650061855663201
  WITHDRAW: wstETH, Amount: 172825030927831600
  WITHDRAW: wstETH, Amount: 172825030927831601
  BORROW: wstETH, Amount 345650061855663201
  REPAY: wstETH, Amount: 345650061855663201
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: USDC, Amount: 1000020000
  WITHDRAW: USDC, Amount: 500010000
  WITHDRAW: USDC, Amount: 500009999
  BORROW: USDC, Amount 1000020000
  REPAY: USDC, Amount: 1000020000
  E2E: Collateral WETH, TestAsset weETH
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: weETH, Amount: 389013046157410395
  WITHDRAW: weETH, Amount: 194506523078705197
  WITHDRAW: weETH, Amount: 194506523078705199
  BORROW: weETH, Amount 389013046157410395
  REPAY: weETH, Amount: 389013046157410395
  E2E: Collateral WETH, TestAsset cbBTC
  SUPPLY: WETH, Amount: 40921918056791695057
  SUPPLY: cbBTC, Amount: 1452235
  WITHDRAW: cbBTC, Amount: 726117
  WITHDRAW: cbBTC, Amount: 726118
  BORROW: cbBTC, Amount 1452235
  REPAY: cbBTC, Amount: 1452235

[PASS] test_priceFeeds() (gas: 217046)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 37.02s (39.91s CPU time)

Ran 1 test suite in 37.03s (37.02s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3EthereumEtherFi_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3EthereumEtherFi_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 7178042)
Logs:
  0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
  0x853d955aCEf822Db058eb8505911ED77F175b99e
  E2E: Collateral weETH, TestAsset weETH
  SUPPLY: weETH, Amount: 37750577975815774984
  SUPPLY: weETH, Amount: 377505779758157749
  WITHDRAW: weETH, Amount: 188752889879078874
  WITHDRAW: weETH, Amount: 188752889879078875
  E2E: Collateral weETH, TestAsset USDC
  SUPPLY: weETH, Amount: 37750577975815774984
  SUPPLY: USDC, Amount: 1000050522
  WITHDRAW: USDC, Amount: 500025261
  WITHDRAW: USDC, Amount: 500025260
  BORROW: USDC, Amount 1000050522
  REPAY: USDC, Amount: 1000050522
  E2E: Collateral weETH, TestAsset PYUSD
  SUPPLY: weETH, Amount: 37750577975815774984
  SUPPLY: PYUSD, Amount: 1000934001
  WITHDRAW: PYUSD, Amount: 500467000
  WITHDRAW: PYUSD, Amount: 500467001
  BORROW: PYUSD, Amount 1000934001
  REPAY: PYUSD, Amount: 1000934001
  E2E: Collateral weETH, TestAsset FRAX
  SUPPLY: weETH, Amount: 37750577975815774984
  SUPPLY: FRAX, Amount: 1003244291389495350063
  WITHDRAW: FRAX, Amount: 501622145694747675031
  WITHDRAW: FRAX, Amount: 501622145694747675032
  BORROW: FRAX, Amount 1003244291389495350063
  REPAY: FRAX, Amount: 1003244291389495350063

[PASS] test_priceFeeds() (gas: 315232)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 22.46s (27.12s CPU time)

Ran 1 test suite in 22.46s (22.46s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3EthereumLido_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3EthereumLido_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 10931481)
Logs:
  0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
  0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  0xdC035D45d973E3EC169d2276DDab16f1e407384F
  0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  0xbf5495Efe5DB9ce00f80364C8B423567e58d2110
  E2E: Collateral wstETH, TestAsset wstETH
  SUPPLY: wstETH, Amount: 33544846065789978701
  SUPPLY: wstETH, Amount: 335448460657899787
  WITHDRAW: wstETH, Amount: 167724230328949893
  WITHDRAW: wstETH, Amount: 167724230328949894
  BORROW: wstETH, Amount 335448460657899787
  REPAY: wstETH, Amount: 335448460657899787
  E2E: Collateral wstETH, TestAsset WETH
  SUPPLY: wstETH, Amount: 33544846065789978701
  SUPPLY: WETH, Amount: 396981760223234299
  WITHDRAW: WETH, Amount: 198490880111617149
  WITHDRAW: WETH, Amount: 198490880111617149
  BORROW: WETH, Amount 396981760223234299
  REPAY: WETH, Amount: 396981760223234299
  E2E: Collateral wstETH, TestAsset USDS
  SUPPLY: wstETH, Amount: 33544846065789978701
  SUPPLY: USDS, Amount: 1000322493968830611300
  WITHDRAW: USDS, Amount: 500161246984415305650
  WITHDRAW: USDS, Amount: 500161246984415305649
  BORROW: USDS, Amount 1000322493968830611300
  REPAY: USDS, Amount: 1000322493968830611300
  E2E: Collateral wstETH, TestAsset USDC
  SUPPLY: wstETH, Amount: 33544846065789978701
  SUPPLY: USDC, Amount: 1000050522
  WITHDRAW: USDC, Amount: 500025261
  WITHDRAW: USDC, Amount: 500025261
  BORROW: USDC, Amount 1000050522
  REPAY: USDC, Amount: 1000050522
  E2E: Collateral wstETH, TestAsset ezETH
  SUPPLY: wstETH, Amount: 33544846065789978701
  SUPPLY: ezETH, Amount: 386946191888615560
  WITHDRAW: ezETH, Amount: 193473095944307780
  WITHDRAW: ezETH, Amount: 193473095944307780

[PASS] test_priceFeeds() (gas: 174324)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 36.24s (36.94s CPU time)

Ran 1 test suite in 36.24s (36.24s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 3 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3Ethereum_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3Ethereum_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 226583658)
Logs:
  0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
  0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
  0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  0x6B175474E89094C44Da98b954EedeAC495271d0F
  0x514910771AF9Ca656af840dff83E8264EcF986CA
  0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
  0xdAC17F958D2ee523a2206206994597C13D831ec7
  0xae78736Cd615f374D3085123A210448E74Fc6393
  0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
  0xD533a949740bb3306d119CC777fa900bA034cd52
  0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
  0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
  0xba100000625a3754423978a60c9317c58a424e3D
  0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
  0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
  0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
  0x111111111117dC0aa78b770fA6A738034120C302
  0x853d955aCEf822Db058eb8505911ED77F175b99e
  0xD33526068D116cE69F19A9ee46F0bd304F21A51f
  0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
  0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202
  0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0
  0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E
  0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
  0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee
  0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38
  0x4c9EDD5852cd905f086C759E8383e09bff1E68B3
  0xA35b1B31Ce002FBF2058D22F30f95D405200A15b
  0x18084fbA666a33d37592fA2633fD49a74DD93a88
  0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
  0xdC035D45d973E3EC169d2276DDab16f1e407384F
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: WETH, Amount: 396981760223234299
  WITHDRAW: WETH, Amount: 198490880111617149
  WITHDRAW: WETH, Amount: 198490880111617150
  BORROW: WETH, Amount 396981760223234299
  REPAY: WETH, Amount: 396981760223234299
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: wstETH, Amount: 335448460657899787
  WITHDRAW: wstETH, Amount: 167724230328949893
  WITHDRAW: wstETH, Amount: 167724230328949894
  BORROW: wstETH, Amount 335448460657899787
  REPAY: wstETH, Amount: 335448460657899787
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: WBTC, Amount: 1428943
  WITHDRAW: WBTC, Amount: 714471
  WITHDRAW: WBTC, Amount: 714471
  BORROW: WBTC, Amount 1428943
  REPAY: WBTC, Amount: 1428943
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: USDC, Amount: 1000050522
  WITHDRAW: USDC, Amount: 500025261
  WITHDRAW: USDC, Amount: 500025261
  BORROW: USDC, Amount 1000050522
  REPAY: USDC, Amount: 1000050522
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: DAI, Amount: 1000322493968830611300
  WITHDRAW: DAI, Amount: 500161246984415305650
  WITHDRAW: DAI, Amount: 500161246984415305650
  BORROW: DAI, Amount 1000322493968830611300
  REPAY: DAI, Amount: 1000322493968830611300
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: LINK, Amount: 88166239207350243030
  WITHDRAW: LINK, Amount: 44083119603675121515
  WITHDRAW: LINK, Amount: 44083119603675121515
  BORROW: LINK, Amount 88166239207350243030
  REPAY: LINK, Amount: 88166239207350243030
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: AAVE, Amount: 6979023126320958004
  WITHDRAW: AAVE, Amount: 3489511563160479002
  WITHDRAW: AAVE, Amount: 3489511563160479002
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: cbETH, Amount: 365832857539511632
  WITHDRAW: cbETH, Amount: 182916428769755816
  WITHDRAW: cbETH, Amount: 182916428769755815
  BORROW: cbETH, Amount 365832857539511632
  REPAY: cbETH, Amount: 365832857539511632
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: USDT, Amount: 1000900810
  WITHDRAW: USDT, Amount: 500450405
  WITHDRAW: USDT, Amount: 500450404
  BORROW: USDT, Amount 1000900810
  REPAY: USDT, Amount: 1000900810
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: rETH, Amount: 354542692054226163
  WITHDRAW: rETH, Amount: 177271346027113081
  WITHDRAW: rETH, Amount: 177271346027113082
  BORROW: rETH, Amount 354542692054226163
  REPAY: rETH, Amount: 354542692054226163
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: LUSD, Amount: 1002191783408396328686
  WITHDRAW: LUSD, Amount: 501095891704198164343
  WITHDRAW: LUSD, Amount: 501095891704198164343
  BORROW: LUSD, Amount 1002191783408396328686
  REPAY: LUSD, Amount: 1002191783408396328686
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: CRV, Amount: 3940405310090195877547
  WITHDRAW: CRV, Amount: 1970202655045097938773
  WITHDRAW: CRV, Amount: 1970202655045097938773
  BORROW: CRV, Amount 3940405310090195877547
  REPAY: CRV, Amount: 3940405310090195877547
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: MKR, Amount: 783629925579638765
  WITHDRAW: MKR, Amount: 391814962789819382
  WITHDRAW: MKR, Amount: 391814962789819383
  BORROW: MKR, Amount 783629925579638765
  REPAY: MKR, Amount: 783629925579638765
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: SNX, Amount: 713638342360858364198
  WITHDRAW: SNX, Amount: 356819171180429182099
  WITHDRAW: SNX, Amount: 356819171180429182099
  BORROW: SNX, Amount 713638342360858364198
  REPAY: SNX, Amount: 713638342360858364198
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: BAL, Amount: 538714734386700210637
  WITHDRAW: BAL, Amount: 269357367193350105318
  WITHDRAW: BAL, Amount: 269357367193350105318
  BORROW: BAL, Amount 538714734386700210637
  REPAY: BAL, Amount: 538714734386700210637
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: UNI, Amount: 128521323615407650360
  WITHDRAW: UNI, Amount: 64260661807703825180
  WITHDRAW: UNI, Amount: 64260661807703825180
  BORROW: UNI, Amount 128521323615407650360
  REPAY: UNI, Amount: 128521323615407650360
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: LDO, Amount: 961134258374437281121
  WITHDRAW: LDO, Amount: 480567129187218640560
  WITHDRAW: LDO, Amount: 480567129187218640560
  BORROW: LDO, Amount 961134258374437281121
  REPAY: LDO, Amount: 961134258374437281121
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: ENS, Amount: 60302761180578464825
  WITHDRAW: ENS, Amount: 30151380590289232412
  WITHDRAW: ENS, Amount: 30151380590289232413
  BORROW: ENS, Amount 60302761180578464825
  REPAY: ENS, Amount: 60302761180578464825
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: 1INCH, Amount: 4117598616486864860413
  WITHDRAW: 1INCH, Amount: 2058799308243432430206
  WITHDRAW: 1INCH, Amount: 2058799308243432430207
  BORROW: 1INCH, Amount 4117598616486864860413
  REPAY: 1INCH, Amount: 4117598616486864860413
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: FRAX, Amount: 1003244291389495350063
  WITHDRAW: FRAX, Amount: 501622145694747675031
  WITHDRAW: FRAX, Amount: 501622145694747675032
  BORROW: FRAX, Amount 1003244291389495350063
  REPAY: FRAX, Amount: 1003244291389495350063
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 39698176022323429971
  BORROW: GHO, Amount 1000000000000000000000
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: RPL, Amount: 98313427256607266939
  WITHDRAW: RPL, Amount: 49156713628303633469
  WITHDRAW: RPL, Amount: 49156713628303633469
  BORROW: RPL, Amount 98313427256607266939
  REPAY: RPL, Amount: 98313427256607266939
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: sDAI, Amount: 896188122074981998941
  WITHDRAW: sDAI, Amount: 448094061037490999470
  WITHDRAW: sDAI, Amount: 448094061037490999471
  E2E: TestAsset STG SKIPPED
  E2E: TestAsset KNC SKIPPED
  E2E: TestAsset FXS SKIPPED
  E2E: Collateral WETH, TestAsset crvUSD
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: crvUSD, Amount: 1001729164849780393920
  WITHDRAW: crvUSD, Amount: 500864582424890196960
  WITHDRAW: crvUSD, Amount: 500864582424890196960
  BORROW: crvUSD, Amount 1001729164849780393920
  REPAY: crvUSD, Amount: 1001729164849780393920
  E2E: Collateral WETH, TestAsset PYUSD
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: PYUSD, Amount: 1000934001
  WITHDRAW: PYUSD, Amount: 500467000
  WITHDRAW: PYUSD, Amount: 500467001
  BORROW: PYUSD, Amount 1000934001
  REPAY: PYUSD, Amount: 1000934001
  E2E: Collateral WETH, TestAsset weETH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: weETH, Amount: 377505779758157749
  WITHDRAW: weETH, Amount: 188752889879078874
  WITHDRAW: weETH, Amount: 188752889879078875
  BORROW: weETH, Amount 377505779758157749
  REPAY: weETH, Amount: 377505779758157749
  E2E: Collateral WETH, TestAsset osETH
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: osETH, Amount: 385256619913976563
  WITHDRAW: osETH, Amount: 192628309956988281
  WITHDRAW: osETH, Amount: 192628309956988282
  BORROW: osETH, Amount 385256619913976563
  REPAY: osETH, Amount: 385256619913976563
  E2E: Collateral WETH, TestAsset USDe
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: USDe, Amount: 999796721330619058533
  WITHDRAW: USDe, Amount: 499898360665309529266
  WITHDRAW: USDe, Amount: 499898360665309529267
  BORROW: USDe, Amount 999796721330619058533
  REPAY: USDe, Amount: 999796721330619058533
  E2E: Collateral WETH, TestAsset ETHx
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: ETHx, Amount: 380275896266930344
  WITHDRAW: ETHx, Amount: 190137948133465172
  WITHDRAW: ETHx, Amount: 190137948133465172
  BORROW: ETHx, Amount 380275896266930344
  REPAY: ETHx, Amount: 380275896266930344
  E2E: Collateral WETH, TestAsset sUSDe
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: sUSDe, Amount: 898268738813354119391
  WITHDRAW: sUSDe, Amount: 449134369406677059695
  WITHDRAW: sUSDe, Amount: 449134369406677059696
  E2E: Collateral WETH, TestAsset tBTC
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: tBTC, Amount: 14263709457367127
  WITHDRAW: tBTC, Amount: 7131854728683563
  WITHDRAW: tBTC, Amount: 7131854728683565
  BORROW: tBTC, Amount 14263709457367127
  REPAY: tBTC, Amount: 14263709457367127
  E2E: Collateral WETH, TestAsset cbBTC
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: cbBTC, Amount: 1426370
  WITHDRAW: cbBTC, Amount: 713185
  WITHDRAW: cbBTC, Amount: 713186
  BORROW: cbBTC, Amount 1426370
  REPAY: cbBTC, Amount: 1426370
  E2E: Collateral WETH, TestAsset USDS
  SUPPLY: WETH, Amount: 39698176022323429971
  SUPPLY: USDS, Amount: 1000322493968830611300
  WITHDRAW: USDS, Amount: 500161246984415305650
  WITHDRAW: USDS, Amount: 500161246984415305650
  BORROW: USDS, Amount 1000322493968830611300
  REPAY: USDS, Amount: 1000322493968830611300

[PASS] test_maticPolMigration() (gas: 538932)
[PASS] test_priceFeeds() (gas: 1525231)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 136.35s (158.48s CPU time)

Ran 1 test suite in 136.37s (136.35s CPU time): 3 tests passed, 0 failed, 0 skipped (3 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3Gnosis_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3Gnosis_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 16363493)
Logs:
  0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1
  0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6
  0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
  0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83
  0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
  0xcB444e90D8198415266c6a2724b7900fb12FC56E
  0x2a22f9c3b484c3629090FeED35F17Ff8F88f76F0
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: WETH, Amount: 409222232225432343
  WITHDRAW: WETH, Amount: 204611116112716171
  WITHDRAW: WETH, Amount: 204611116112716172
  BORROW: WETH, Amount 409222232225432343
  REPAY: WETH, Amount: 409222232225432343
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: wstETH, Amount: 345680400966553642
  WITHDRAW: wstETH, Amount: 172840200483276821
  WITHDRAW: wstETH, Amount: 172840200483276821
  BORROW: wstETH, Amount 345680400966553642
  REPAY: wstETH, Amount: 345680400966553642
  E2E: Collateral WETH, TestAsset GNO
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: GNO, Amount: 4842239826454124619
  WITHDRAW: GNO, Amount: 2421119913227062309
  WITHDRAW: GNO, Amount: 2421119913227062310
  BORROW: GNO, Amount 4842239826454124619
  REPAY: GNO, Amount: 4842239826454124619
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: USDC, Amount: 1000040391
  WITHDRAW: USDC, Amount: 500020195
  WITHDRAW: USDC, Amount: 500020197
  BORROW: USDC, Amount 1000040391
  REPAY: USDC, Amount: 1000040391
  E2E: Collateral WETH, TestAsset WXDAI
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: WXDAI, Amount: 999912007743318587964
  WITHDRAW: WXDAI, Amount: 499956003871659293982
  WITHDRAW: WXDAI, Amount: 499956003871659293982
  BORROW: WXDAI, Amount 999912007743318587964
  REPAY: WXDAI, Amount: 999912007743318587964
  E2E: Collateral WETH, TestAsset EURe
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: EURe, Amount: 917692187686406225623
  WITHDRAW: EURe, Amount: 458846093843203112811
  WITHDRAW: EURe, Amount: 458846093843203112812
  BORROW: EURe, Amount 917692187686406225623
  REPAY: EURe, Amount: 917692187686406225623
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: sDAI, Amount: 891137001789697174804
  WITHDRAW: sDAI, Amount: 445568500894848587402
  WITHDRAW: sDAI, Amount: 445568500894848587402
  E2E: Collateral WETH, TestAsset USDC.e
  SUPPLY: WETH, Amount: 40922223222543234328
  SUPPLY: USDC.e, Amount: 1000040391
  WITHDRAW: USDC.e, Amount: 500020195
  WITHDRAW: USDC.e, Amount: 500020196
  BORROW: USDC.e, Amount 1000040391
  REPAY: USDC.e, Amount: 1000040391

[PASS] test_priceFeeds() (gas: 348696)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 133.73s (152.00s CPU time)

Ran 1 test suite in 133.73s (133.73s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241101_Multi_UpdatePriceCapAdaptersCAPO/AaveV3Metis_UpdatePriceCapAdaptersCAPO_20241101.t.sol:AaveV3Metis_UpdatePriceCapAdaptersCAPO_20241101_Test
[PASS] test_defaultProposalExecution() (gas: 9721457)
Logs:
  0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0
  0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000
  0xEA32A96608495e54156Ae48931A7c20f0dcc1a21
  0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC
  0x420000000000000000000000000000000000000A
  E2E: Collateral m.DAI, TestAsset m.DAI
  SUPPLY: m.DAI, Amount: 99987001689780328557287
  SUPPLY: m.DAI, Amount: 999870016897803285572
  WITHDRAW: m.DAI, Amount: 499935008448901642786
  WITHDRAW: m.DAI, Amount: 499935008448901642787
  BORROW: m.DAI, Amount 999870016897803285572
  REPAY: m.DAI, Amount: 999870016897803285572
  E2E: Collateral m.DAI, TestAsset Metis
  SUPPLY: m.DAI, Amount: 99987001689780328557287
  SUPPLY: Metis, Amount: 27770227538888935806
  WITHDRAW: Metis, Amount: 13885113769444467903
  WITHDRAW: Metis, Amount: 13885113769444467904
  BORROW: Metis, Amount 27770227538888935806
  REPAY: Metis, Amount: 27770227538888935806
  E2E: Collateral m.DAI, TestAsset m.USDC
  SUPPLY: m.DAI, Amount: 99987001689780328557287
  SUPPLY: m.USDC, Amount: 1000019860
  WITHDRAW: m.USDC, Amount: 500009930
  WITHDRAW: m.USDC, Amount: 500009931
  BORROW: m.USDC, Amount 1000019860
  REPAY: m.USDC, Amount: 1000019860
  E2E: Collateral m.DAI, TestAsset m.USDT
  SUPPLY: m.DAI, Amount: 99987001689780328557287
  SUPPLY: m.USDT, Amount: 1000590348
  WITHDRAW: m.USDT, Amount: 500295174
  WITHDRAW: m.USDT, Amount: 500295174
  BORROW: m.USDT, Amount 1000590348
  REPAY: m.USDT, Amount: 1000590348
  E2E: Collateral m.DAI, TestAsset WETH
  SUPPLY: m.DAI, Amount: 99987001689780328557287
  SUPPLY: WETH, Amount: 410338898896598700
  WITHDRAW: WETH, Amount: 205169449448299350
  WITHDRAW: WETH, Amount: 205169449448299350
  BORROW: WETH, Amount 410338898896598700
  REPAY: WETH, Amount: 410338898896598700

[PASS] test_priceFeeds() (gas: 315285)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 32.35s (39.58s CPU time)

Ran 1 test suite in 32.36s (32.35s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests

@brotherlymite brotherlymite marked this pull request as ready for review November 8, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants