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: bdg phase 3 #274

Merged
merged 9 commits into from
Mar 26, 2024
Merged

feat: bdg phase 3 #274

merged 9 commits into from
Mar 26, 2024

Conversation

brotherlymite
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Mar 25, 2024

Foundry report

forge 0.2.0 (563e062 2024-03-26T00:17:52.252605005Z)
Build log
Compiling 465 files with 0.8.19
Solc 0.8.19 finished in 328.77s
Compiler run successful with warnings:
Warning (3628): This contract has a payable fallback function, but no receive ether function. Consider adding a receive ether function.
  --> src/20240218_AaveV1Ethereum_AaveV1DeprecationPhase2/AaveV1Ethereum_AaveV1Deprecation_20240218.t.sol:86:1:
   |
86 | contract AaveV1Ethereum_AaveV1Deprecation_20240218_Test is ProtocolV2TestBase {
   | ^ (Relevant source part starts here and spans across multiple lines).
Note: The payable fallback function is defined here.
   --> src/20240218_AaveV1Ethereum_AaveV1DeprecationPhase2/AaveV1Ethereum_AaveV1Deprecation_20240218.t.sol:232:3:
    |
232 |   fallback() external payable {}
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (9302): Return value of low-level calls not used.
  --> src/20231229_Multi_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1/AaveV2Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229.sol:47:5:
   |
47 |     SAFE.call{value: address(this).balance}('');
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:32:3:
   |
32 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:43:3:
   |
43 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:54:3:
   |
54 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:65:3:
   |
65 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:76:3:
   |
76 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:87:3:
   |
87 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:98:3:
   |
98 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> src/20240218_AaveV1Ethereum_AaveV1DeprecationPhase2/AaveV1Ethereum_AaveV1Deprecation_20240218.t.sol:207:3:
    |
207 |   function _getUsers() internal returns (V1User[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240308_AaveV3Ethereum_GHOBorrowRateIncrease/GhoInterestRateStrategy.sol:67:3:
   |
67 |   function getBaseVariableBorrowRate() external view override returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240308_AaveV3Ethereum_GHOBorrowRateIncrease/GhoInterestRateStrategy.sol:72:3:
   |
72 |   function getMaxVariableBorrowRate() external view override returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240308_AaveV3Ethereum_GHOBorrowRateIncrease/GhoInterestRateStrategy.sol:77:3:
   |
77 |   function calculateInterestRates(
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/BaseTest.sol:91:3:
   |
91 |   function getTrustedRemoteByChainId(uint256 chainId) public view returns (address) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/BaseTest.sol:316:3:
    |
316 |   function _getCurrentForwarderAdaptersByChain() internal returns (ForwarderAdapters[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/BaseTest.sol:341:3:
    |
341 |   function _getCurrentReceiverAdaptersByChain() internal returns (AdaptersByChain[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract                                                                                                 | Size (kB) | Margin (kB) |
|----------------------------------------------------------------------------------------------------------|-----------|-------------|
| AaveGovernanceV2                                                                                         | 0.045     | 24.531      |
| AaveSafetyModule                                                                                         | 0.045     | 24.531      |
| AaveSwapper                                                                                              | 5.572     | 19.004      |
| AaveV1Ethereum_AaveV1Deprecation_20240218                                                                | 0.297     | 24.279      |
| AaveV2Avalanche                                                                                          | 0.045     | 24.531      |
| AaveV2AvalancheAssets                                                                                    | 0.045     | 24.531      |
| AaveV2Avalanche_ChaosLabsRiskParameterUpdatesWBTCEOnV2AndV3Avalanche_20231221                            | 0.336     | 24.24       |
| AaveV2Avalanche_StablecoinIRCurvesUpdates_20231221                                                       | 1.858     | 22.718      |
| AaveV2Ethereum                                                                                           | 0.045     | 24.531      |
| AaveV2EthereumAMM                                                                                        | 0.045     | 24.531      |
| AaveV2EthereumAMMAssets                                                                                  | 0.045     | 24.531      |
| AaveV2EthereumAMM_ARFCDeprecateAaveV2AMMMarketStep2_20240205                                             | 2.894     | 21.682      |
| AaveV2EthereumAssets                                                                                     | 0.045     | 24.531      |
| AaveV2Ethereum_AMPLInterestRateUpdatesOnV2Ethereum_20240121                                              | 1.602     | 22.974      |
| AaveV2Ethereum_ChaosLabsV2EthereumLTReductions_20240201                                                  | 0.926     | 23.65       |
| AaveV2Ethereum_EthereumV2ReserveFactorAdjustment_20240304                                                | 4.904     | 19.672      |
| AaveV2Ethereum_EthereumV2ReserveFactorAdjustment_20240320                                                | 1.778     | 22.798      |
| AaveV2Ethereum_MigrationOfRemainingGovV2Permissions_20240130                                             | 0.977     | 23.599      |
| AaveV2Ethereum_MigrationOfRemainingGovV2Permissions_Part2_20240130                                       | 1.446     | 23.13       |
| AaveV2Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 2.839     | 21.737      |
| AaveV2Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229                         | 3.415     | 21.161      |
| AaveV2Ethereum_V2DeprecationPlan20240102_20240103                                                        | 0.927     | 23.649      |
| AaveV2Polygon                                                                                            | 0.045     | 24.531      |
| AaveV2PolygonAssets                                                                                      | 0.045     | 24.531      |
| AaveV2Polygon_ReserveFactorUpdatesFebruary152024_20240208                                                | 0.831     | 23.745      |
| AaveV2Polygon_ReserveFactorUpdatesFebruary292024_20240229                                                | 0.683     | 23.893      |
| AaveV2Polygon_ReserveFactorUpdatesJan152024_20240108                                                     | 1.134     | 23.442      |
| AaveV2Polygon_ReserveFactorUpdatesJan312024_20240125                                                     | 0.831     | 23.745      |
| AaveV2Polygon_ReserveFactorUpdates_20240102                                                              | 0.995     | 23.581      |
| AaveV2Polygon_ReserveFactorUpdates_20240313                                                              | 0.535     | 24.041      |
| AaveV2Polygon_StablecoinIRCurvesUpdates_20231221                                                         | 1.858     | 22.718      |
| AaveV3Arbitrum                                                                                           | 0.045     | 24.531      |
| AaveV3ArbitrumAssets                                                                                     | 0.045     | 24.531      |
| AaveV3ArbitrumEModes                                                                                     | 0.045     | 24.531      |
| AaveV3Arbitrum_ARBRemoveIsolation_20240315                                                               | 0.193     | 24.383      |
| AaveV3Arbitrum_AaveProtocolEmbassy_20240220                                                              | 0.435     | 24.141      |
| AaveV3Arbitrum_AddFlashborrowers_20240306                                                                | 0.25      | 24.326      |
| AaveV3Arbitrum_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.323     | 24.253      |
| AaveV3Arbitrum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.362     | 21.214      |
| AaveV3Arbitrum_Patch_20240104                                                                            | 0.479     | 24.097      |
| AaveV3Arbitrum_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.212     | 24.364      |
| AaveV3Arbitrum_StablecoinHarmonization_20240312                                                          | 4.469     | 20.107      |
| AaveV3Arbitrum_StablecoinIRCurvesUpdates_20231221                                                        | 4.878     | 19.698      |
| AaveV3Arbitrum_UpdateADIImplementationAndCCIPAdapters_20240313                                           | 0.588     | 23.988      |
| AaveV3Arbitrum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.892     | 20.684      |
| AaveV3Arbitrum_UpdateWETHIROnV3ArbitrumAndOptimism_20240216                                              | 3.622     | 20.954      |
| AaveV3Avalanche                                                                                          | 0.045     | 24.531      |
| AaveV3AvalancheAssets                                                                                    | 0.045     | 24.531      |
| AaveV3AvalancheEModes                                                                                    | 0.045     | 24.531      |
| AaveV3Avalanche_ChaosLabsRiskParameterUpdatesWBTCEOnV2AndV3Avalanche_20231221                            | 3.513     | 21.063      |
| AaveV3Avalanche_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                      | 3.377     | 21.199      |
| AaveV3Avalanche_Patch_20240104                                                                           | 0.479     | 24.097      |
| AaveV3Avalanche_StablecoinHarmonization_20240312                                                         | 3.983     | 20.593      |
| AaveV3Avalanche_StablecoinIRCurvesUpdates_20231221                                                       | 4.628     | 19.948      |
| AaveV3Avalanche_UpdateADIImplementationAndCCIPAdapters_20240313                                          | 3.292     | 21.284      |
| AaveV3BNB                                                                                                | 0.045     | 24.531      |
| AaveV3BNBAssets                                                                                          | 0.045     | 24.531      |
| AaveV3BNBEModes                                                                                          | 0.045     | 24.531      |
| AaveV3BNB_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                            | 3.38      | 21.196      |
| AaveV3BNB_OnboardFdUSDToAaveV3OnBSC_20240201                                                             | 5.014     | 19.562      |
| AaveV3BNB_SetAaveChanInitiativeAsEmissionManagerForFdUSDOnBNBChainAaveV3_20240208                        | 0.212     | 24.364      |
| AaveV3BNB_UpdateADIImplementationAndCCIPAdapters_20240313                                                | 3.084     | 21.492      |
| AaveV3Base                                                                                               | 0.045     | 24.531      |
| AaveV3BaseAssets                                                                                         | 0.045     | 24.531      |
| AaveV3BaseEModes                                                                                         | 0.045     | 24.531      |
| AaveV3Base_Patch_20240104                                                                                | 0.479     | 24.097      |
| AaveV3Base_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                     | 0.212     | 24.364      |
| AaveV3Base_StablecoinIRCurvesUpdates_20231221                                                            | 3.618     | 20.958      |
| AaveV3Base_UpdateADIImplementationAndCCIPAdapters_20240313                                               | 0.588     | 23.988      |
| AaveV3Ethereum                                                                                           | 0.045     | 24.531      |
| AaveV3EthereumAssets                                                                                     | 0.045     | 24.531      |
| AaveV3EthereumEModes                                                                                     | 0.045     | 24.531      |
| AaveV3Ethereum_AaveBGDPhase3_20240325                                                                    | 2.253     | 22.323      |
| AaveV3Ethereum_AaveLiquidityCommiteeFunding_20240306                                                     | 1.964     | 22.612      |
| AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308                                                    | 0.502     | 24.074      |
| AaveV3Ethereum_AddFlashborrowers_20240306                                                                | 1.223     | 23.353      |
| AaveV3Ethereum_AddPYUSDToAaveV3EthereumMarket_20240125                                                   | 4.993     | 19.583      |
| AaveV3Ethereum_AmendSafetyModuleEmissions_20240229                                                       | 2.399     | 22.177      |
| AaveV3Ethereum_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.967     | 23.609      |
| AaveV3Ethereum_ChaosLabsRiskParameterUpdatesIncreaseDebtCeilingForSNXAndMKROnV3Ethereum01312024_20240211 | 3.533     | 21.043      |
| AaveV3Ethereum_CutGauntletServiceProviderStream_20240227                                                 | 0.479     | 24.097      |
| AaveV3Ethereum_FundingUpdate_20240224                                                                    | 10.54     | 14.036      |
| AaveV3Ethereum_GHOBorrowRateIncrease20240229_20240229                                                    | 0.285     | 24.291      |
| AaveV3Ethereum_GHOBorrowRateIncrease_20240308                                                            | 0.233     | 24.343      |
| AaveV3Ethereum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.376     | 21.2        |
| AaveV3Ethereum_MeritApprovals_20240306                                                                   | 0.534     | 24.042      |
| AaveV3Ethereum_OrbitProgram_20240220                                                                     | 2.308     | 22.268      |
| AaveV3Ethereum_Patch_20240104                                                                            | 0.479     | 24.097      |
| AaveV3Ethereum_RegisterADIScrollAdapter_20240122                                                         | 0.63      | 23.946      |
| AaveV3Ethereum_RequestForBountyPayoutJanuary2024_20240125                                                | 0.781     | 23.795      |
| AaveV3Ethereum_RetroactiveBugBountyPreImmunefi_20240205                                                  | 0.782     | 23.794      |
| AaveV3Ethereum_SecurityBudgetRequestDecember2023_20240206                                                | 0.514     | 24.062      |
| AaveV3Ethereum_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.212     | 24.364      |
| AaveV3Ethereum_StableRateBugBounty_20240207                                                              | 0.768     | 23.808      |
| AaveV3Ethereum_StablecoinHarmonization_20240312                                                          | 5.299     | 19.277      |
| AaveV3Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 4.627     | 19.949      |
| AaveV3Ethereum_StkGHOActivation_20240119                                                                 | 1.115     | 23.461      |
| AaveV3Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart2_20240209                         | 3.098     | 21.478      |
| AaveV3Ethereum_UpdateADIImplementationAndCCIPAdapters_20240313                                           | 3.553     | 21.023      |
| AaveV3Ethereum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.905     | 20.671      |
| AaveV3Fantom                                                                                             | 0.045     | 24.531      |
| AaveV3FantomAssets                                                                                       | 0.045     | 24.531      |
| AaveV3FantomEModes                                                                                       | 0.045     | 24.531      |
| AaveV3GenericPatch_20240104                                                                              | 0.479     | 24.097      |
| AaveV3Gnosis                                                                                             | 0.045     | 24.531      |
| AaveV3GnosisAssets                                                                                       | 0.045     | 24.531      |
| AaveV3GnosisEModes                                                                                       | 0.045     | 24.531      |
| AaveV3Gnosis_Patch_20240104                                                                              | 0.479     | 24.097      |
| AaveV3Gnosis_StablecoinHarmonization_20240312                                                            | 3.571     | 21.005      |
| AaveV3Gnosis_StablecoinIRCurvesUpdates_20231221                                                          | 3.87      | 20.706      |
| AaveV3Gnosis_UpdateADIImplementationAndCCIPAdapters_20240313                                             | 0.588     | 23.988      |
| AaveV3Harmony                                                                                            | 0.045     | 24.531      |
| AaveV3HarmonyAssets                                                                                      | 0.045     | 24.531      |
| AaveV3HarmonyEModes                                                                                      | 0.045     | 24.531      |
| AaveV3Metis                                                                                              | 0.045     | 24.531      |
| AaveV3MetisAssets                                                                                        | 0.045     | 24.531      |
| AaveV3MetisEModes                                                                                        | 0.045     | 24.531      |
| AaveV3Metis_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                          | 3.37      | 21.206      |
| AaveV3Metis_StablecoinHarmonization_20240312                                                             | 3.397     | 21.179      |
| AaveV3Metis_StablecoinIRCurvesUpdates_20231221                                                           | 3.869     | 20.707      |
| AaveV3Metis_UpdateADIImplementationAndCCIPAdapters_20240313                                              | 0.588     | 23.988      |
| AaveV3Optimism                                                                                           | 0.045     | 24.531      |
| AaveV3OptimismAssets                                                                                     | 0.045     | 24.531      |
| AaveV3OptimismEModes                                                                                     | 0.045     | 24.531      |
| AaveV3Optimism_AddFlashborrowers_20240306                                                                | 0.25      | 24.326      |
| AaveV3Optimism_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.31      | 24.266      |
| AaveV3Optimism_GauntletRecommendationForMAIMIMATICDeprecationPhase2_20240122                             | 3.375     | 21.201      |
| AaveV3Optimism_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.362     | 21.214      |
| AaveV3Optimism_Patch_20240104                                                                            | 0.479     | 24.097      |
| AaveV3Optimism_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.212     | 24.364      |
| AaveV3Optimism_StablecoinHarmonization_20240312                                                          | 3.749     | 20.827      |
| AaveV3Optimism_StablecoinIRCurvesUpdates_20231221                                                        | 4.878     | 19.698      |
| AaveV3Optimism_UpdateADIImplementationAndCCIPAdapters_20240313                                           | 0.588     | 23.988      |
| AaveV3Optimism_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.892     | 20.684      |
| AaveV3Optimism_UpdateWETHIROnV3ArbitrumAndOptimism_20240216                                              | 3.609     | 20.967      |
| AaveV3Polygon                                                                                            | 0.045     | 24.531      |
| AaveV3PolygonAssets                                                                                      | 0.045     | 24.531      |
| AaveV3PolygonEModes                                                                                      | 0.045     | 24.531      |
| AaveV3Polygon_FreezeAndSetLTVTo0ForDPIBALCRVAndSUSHIOnAaveV3Polygon20240119_20240130                     | 4.355     | 20.221      |
| AaveV3Polygon_FundingUpdate_20240224                                                                     | 2.902     | 21.674      |
| AaveV3Polygon_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                        | 3.361     | 21.215      |
| AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206                                                | 3.294     | 21.282      |
| AaveV3Polygon_Patch_20240104                                                                             | 0.479     | 24.097      |
| AaveV3Polygon_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                  | 0.212     | 24.364      |
| AaveV3Polygon_StablecoinHarmonization_20240312                                                           | 3.975     | 20.601      |
| AaveV3Polygon_StablecoinIRCurvesUpdates_20231221                                                         | 4.375     | 20.201      |
| AaveV3Polygon_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229                          | 3.418     | 21.158      |
| AaveV3Polygon_UpdateADIImplementationAndCCIPAdapters_20240313                                            | 3.292     | 21.284      |
| AaveV3Scroll                                                                                             | 0.045     | 24.531      |
| AaveV3ScrollAssets                                                                                       | 0.045     | 24.531      |
| AaveV3ScrollEModes                                                                                       | 0.045     | 24.531      |
| AaveV3Scroll_AaveV3ScrollActivation_20240122                                                             | 6.6       | 17.976      |
| AaveV3Scroll_UpdateADIImplementationAndCCIPAdapters_20240313                                             | 0.588     | 23.988      |
| AaveV3Scroll_V3PeripheryMaintenance_20240314                                                             | 0.25      | 24.326      |
| Address                                                                                                  | 0.045     | 24.531      |
| BaseCCCImplementationUpdatePayload                                                                       | 0.588     | 23.988      |
| ChainHelpers                                                                                             | 0.045     | 24.531      |
| ChainIds                                                                                                 | 0.045     | 24.531      |
| ConfiguratorInputTypes                                                                                   | 0.045     | 24.531      |
| Create2Utils                                                                                             | 0.123     | 24.453      |
| DataTypes                                                                                                | 0.045     | 24.531      |
| ERC1967Proxy                                                                                             | 0.136     | 24.44       |
| EngineFlags                                                                                              | 0.045     | 24.531      |
| EnumerableSet                                                                                            | 0.045     | 24.531      |
| EnvelopeUtils                                                                                            | 0.045     | 24.531      |
| Errors                                                                                                   | 4.673     | 19.903      |
| GhoInterestRateStrategy                                                                                  | 0.671     | 23.905      |
| Gho_GHOStabilityModule_20240119                                                                          | 4.494     | 20.082      |
| GovHelpers                                                                                               | 0.045     | 24.531      |
| GovV3Helpers                                                                                             | 2.581     | 21.995      |
| GovV3StorageHelpers                                                                                      | 0.045     | 24.531      |
| GovernanceV3Arbitrum                                                                                     | 0.045     | 24.531      |
| GovernanceV3Avalanche                                                                                    | 0.045     | 24.531      |
| GovernanceV3BNB                                                                                          | 0.045     | 24.531      |
| GovernanceV3Base                                                                                         | 0.045     | 24.531      |
| GovernanceV3Ethereum                                                                                     | 0.045     | 24.531      |
| GovernanceV3Gnosis                                                                                       | 0.045     | 24.531      |
| GovernanceV3Metis                                                                                        | 0.045     | 24.531      |
| GovernanceV3Optimism                                                                                     | 0.045     | 24.531      |
| GovernanceV3Polygon                                                                                      | 0.045     | 24.531      |
| GovernanceV3PolygonZkEvm                                                                                 | 0.045     | 24.531      |
| GovernanceV3Scroll                                                                                       | 0.045     | 24.531      |
| IpfsUtils                                                                                                | 0.045     | 24.531      |
| MainnetPayload                                                                                           | 2.583     | 21.993      |
| MiscArbitrum                                                                                             | 0.045     | 24.531      |
| MiscAvalanche                                                                                            | 0.045     | 24.531      |
| MiscBNB                                                                                                  | 0.045     | 24.531      |
| MiscBase                                                                                                 | 0.045     | 24.531      |
| MiscEthereum                                                                                             | 0.045     | 24.531      |
| MiscGnosis                                                                                               | 0.045     | 24.531      |
| MiscMetis                                                                                                | 0.045     | 24.531      |
| MiscOptimism                                                                                             | 0.045     | 24.531      |
| MiscPolygon                                                                                              | 0.045     | 24.531      |
| MiscScroll                                                                                               | 0.045     | 24.531      |
| MockExecutor                                                                                             | 0.396     | 24.18       |
| OrbitProgramData                                                                                         | 0.488     | 24.088      |
| ParaswapClaim                                                                                            | 0.022     | 24.554      |
| ParaswapClaimer                                                                                          | 0.159     | 24.417      |
| Payloads                                                                                                 | 0.484     | 24.092      |
| PayloadsControllerUtils                                                                                  | 0.045     | 24.531      |
| PayloadsToDeploy                                                                                         | 0.045     | 24.531      |
| PolygonPayload                                                                                           | 1.593     | 22.983      |
| PoolAddresses                                                                                            | 0.316     | 24.26       |
| ProxyAdmin                                                                                               | 1.642     | 22.934      |
| ProxyHelpers                                                                                             | 0.045     | 24.531      |
| ReserveConfiguration                                                                                     | 0.13      | 24.446      |
| RewardsDataTypes                                                                                         | 0.045     | 24.531      |
| SafeERC20                                                                                                | 0.045     | 24.531      |
| StataPayloads                                                                                            | 0.045     | 24.531      |
| StorageHelpers                                                                                           | 0.045     | 24.531      |
| StorageSlot                                                                                              | 0.045     | 24.531      |
| TransactionUtils                                                                                         | 0.045     | 24.531      |
| TransparentUpgradeableProxy                                                                              | 2.04      | 22.536      |
| WadRayMath                                                                                               | 0.045     | 24.531      |
Test success 🌈
No files changed, compilation skipped

Ran 4 tests for src/20240325_AaveV3Ethereum_AaveBGDPhase3/AaveV3Ethereum_AaveBGDPhase3_20240325.t.sol:AaveV3Ethereum_AaveBGDPhase3_20240325_Test
[PASS] test_defaultProposalExecution() (gas: 222609719)
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
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: WETH, Amount: 289624212584172036
  WITHDRAW: WETH, Amount: 144812106292086018
  WITHDRAW: WETH, Amount: 144812106292086019
  BORROW: WETH, Amount 289624212584172036, Stable: false
  REPAY: WETH, Amount: 289624212584172036
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: wstETH, Amount: 249378919577578971
  WITHDRAW: wstETH, Amount: 124689459788789485
  WITHDRAW: wstETH, Amount: 124689459788789485
  BORROW: wstETH, Amount 249378919577578971, Stable: false
  REPAY: wstETH, Amount: 249378919577578971
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: WBTC, Amount: 1492389
  WITHDRAW: WBTC, Amount: 746194
  WITHDRAW: WBTC, Amount: 746194
  BORROW: WBTC, Amount 1492389, Stable: false
  REPAY: WBTC, Amount: 1492389
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: USDC, Amount: 999942183
  WITHDRAW: USDC, Amount: 499971091
  WITHDRAW: USDC, Amount: 499971092
  BORROW: USDC, Amount 999942183, Stable: false
  REPAY: USDC, Amount: 999942183
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: DAI, Amount: 999934434299143005193
  WITHDRAW: DAI, Amount: 499967217149571502596
  WITHDRAW: DAI, Amount: 499967217149571502597
  BORROW: DAI, Amount 999934434299143005193, Stable: false
  REPAY: DAI, Amount: 999934434299143005193
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: LINK, Amount: 52751966514579353495
  WITHDRAW: LINK, Amount: 26375983257289676747
  WITHDRAW: LINK, Amount: 26375983257289676748
  BORROW: LINK, Amount 52751966514579353495, Stable: false
  REPAY: LINK, Amount: 52751966514579353495
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: AAVE, Amount: 7938949699104478138
  WITHDRAW: AAVE, Amount: 3969474849552239069
  WITHDRAW: AAVE, Amount: 3969474849552239069
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: cbETH, Amount: 271385620658801835
  WITHDRAW: cbETH, Amount: 135692810329400917
  WITHDRAW: cbETH, Amount: 135692810329400919
  BORROW: cbETH, Amount 271385620658801835, Stable: false
  REPAY: cbETH, Amount: 271385620658801835
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: USDT, Amount: 999943053
  WITHDRAW: USDT, Amount: 499971526
  WITHDRAW: USDT, Amount: 499971526
  BORROW: USDT, Amount 999943053, Stable: false
  REPAY: USDT, Amount: 999943053
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: rETH, Amount: 262870532059240423
  WITHDRAW: rETH, Amount: 131435266029620211
  WITHDRAW: rETH, Amount: 131435266029620212
  BORROW: rETH, Amount 262870532059240423, Stable: false
  REPAY: rETH, Amount: 262870532059240423
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: LUSD, Amount: 1001969350719452068651
  WITHDRAW: LUSD, Amount: 500984675359726034325
  WITHDRAW: LUSD, Amount: 500984675359726034326
  BORROW: LUSD, Amount 1001969350719452068651, Stable: false
  REPAY: LUSD, Amount: 1001969350719452068651
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: CRV, Amount: 1447113312112574301852
  WITHDRAW: CRV, Amount: 723556656056287150926
  WITHDRAW: CRV, Amount: 723556656056287150925
  BORROW: CRV, Amount 1447113312112574301852, Stable: false
  REPAY: CRV, Amount: 1447113312112574301852
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: MKR, Amount: 309974780761811999
  WITHDRAW: MKR, Amount: 154987390380905999
  WITHDRAW: MKR, Amount: 154987390380906001
  BORROW: MKR, Amount 309974780761811999, Stable: false
  REPAY: MKR, Amount: 309974780761811999
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: SNX, Amount: 210900466537140036138
  WITHDRAW: SNX, Amount: 105450233268570018069
  WITHDRAW: SNX, Amount: 105450233268570018070
  BORROW: SNX, Amount 210900466537140036138, Stable: false
  REPAY: SNX, Amount: 210900466537140036138
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: BAL, Amount: 203355152595571278614
  WITHDRAW: BAL, Amount: 101677576297785639307
  WITHDRAW: BAL, Amount: 101677576297785639307
  BORROW: BAL, Amount 203355152595571278614, Stable: false
  REPAY: BAL, Amount: 203355152595571278614
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: UNI, Amount: 82256658383662453629
  WITHDRAW: UNI, Amount: 41128329191831226814
  WITHDRAW: UNI, Amount: 41128329191831226815
  BORROW: UNI, Amount 82256658383662453629, Stable: false
  REPAY: UNI, Amount: 82256658383662453629
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: LDO, Amount: 313344726464028971703
  WITHDRAW: LDO, Amount: 156672363232014485851
  WITHDRAW: LDO, Amount: 156672363232014485853
  BORROW: LDO, Amount 313344726464028971703, Stable: false
  REPAY: LDO, Amount: 313344726464028971703
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: ENS, Amount: 44367135322425648860
  WITHDRAW: ENS, Amount: 22183567661212824430
  WITHDRAW: ENS, Amount: 22183567661212824430
  BORROW: ENS, Amount 44367135322425648860, Stable: false
  REPAY: ENS, Amount: 44367135322425648860
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: 1INCH, Amount: 1752330082071781257897
  WITHDRAW: 1INCH, Amount: 876165041035890628948
  WITHDRAW: 1INCH, Amount: 876165041035890628949
  BORROW: 1INCH, Amount 1752330082071781257897, Stable: false
  REPAY: 1INCH, Amount: 1752330082071781257897
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: FRAX, Amount: 1001692198698950084335
  WITHDRAW: FRAX, Amount: 500846099349475042167
  WITHDRAW: FRAX, Amount: 500846099349475042167
  BORROW: FRAX, Amount 1001692198698950084335, Stable: false
  REPAY: FRAX, Amount: 1001692198698950084335
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 28962421258417203678
  BORROW: GHO, Amount 1000000000000000000000, Stable: false
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: RPL, Amount: 31368825178395065586
  WITHDRAW: RPL, Amount: 15684412589197532793
  WITHDRAW: RPL, Amount: 15684412589197532792
  BORROW: RPL, Amount 31368825178395065586, Stable: false
  REPAY: RPL, Amount: 31368825178395065586
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: sDAI, Amount: 938671776245129103085
  WITHDRAW: sDAI, Amount: 469335888122564551542
  WITHDRAW: sDAI, Amount: 469335888122564551543
  E2E: Collateral WETH, TestAsset STG
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: STG, Amount: 1340541640219455782187
  WITHDRAW: STG, Amount: 670270820109727891093
  WITHDRAW: STG, Amount: 670270820109727891094
  BORROW: STG, Amount 1340541640219455782187, Stable: false
  REPAY: STG, Amount: 1340541640219455782187
  E2E: Collateral WETH, TestAsset KNC
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: KNC, Amount: 1170821923429768276193
  WITHDRAW: KNC, Amount: 585410961714884138096
  WITHDRAW: KNC, Amount: 585410961714884138096
  BORROW: KNC, Amount 1170821923429768276193, Stable: false
  REPAY: KNC, Amount: 1170821923429768276193
  E2E: Collateral WETH, TestAsset FXS
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: FXS, Amount: 132329405535447014342
  WITHDRAW: FXS, Amount: 66164702767723507171
  WITHDRAW: FXS, Amount: 66164702767723507171
  BORROW: FXS, Amount 132329405535447014342, Stable: false
  REPAY: FXS, Amount: 132329405535447014342
  E2E: Collateral WETH, TestAsset crvUSD
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: crvUSD, Amount: 1003489584856860489509
  WITHDRAW: crvUSD, Amount: 501744792428430244754
  WITHDRAW: crvUSD, Amount: 501744792428430244755
  BORROW: crvUSD, Amount 1003489584856860489509, Stable: false
  REPAY: crvUSD, Amount: 1003489584856860489509
  E2E: Collateral WETH, TestAsset PYUSD
  SUPPLY: WETH, Amount: 28962421258417203678
  SUPPLY: PYUSD, Amount: 1000747738
  WITHDRAW: PYUSD, Amount: 500373869
  WITHDRAW: PYUSD, Amount: 500373869
  BORROW: PYUSD, Amount 1000747738, Stable: false
  REPAY: PYUSD, Amount: 1000747738

[PASS] test_validateStreamsConfig() (gas: 1156715)
[PASS] test_validateUpfrontBalances() (gas: 1154144)
[PASS] test_withdrawFromStream() (gas: 1037966)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.04s (1.97s CPU time)

Ran 1 test suite in 2.05s (2.04s CPU time): 4 tests passed, 0 failed, 0 skipped (4 total tests)

sendra
sendra previously approved these changes Mar 26, 2024
@brotherlymite brotherlymite requested a review from kyzia551 March 26, 2024 16:24
@sendra sendra merged commit d8af668 into main Mar 26, 2024
4 checks passed
@sendra sendra deleted the feat/bgd-phase-3 branch March 26, 2024 16:44
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.

4 participants