Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Add v2 deprecation AIP #329

Merged
merged 4 commits into from
Oct 10, 2023
Merged

Conversation

reem
Copy link
Contributor

@reem reem commented Oct 10, 2023

Copy link

@reichiang reichiang left a comment

Choose a reason for hiding this comment

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

lgtm


| description | value before | value after |
| --- | --- | --- |
| ltv | 30 % | 0 % |
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing lt reduction (post sais 40->24)

AaveV2Ethereum.POOL_CONFIGURATOR.configureReserveAsCollateral(
AaveV2EthereumAssets.ONE_INCH_UNDERLYING,
0,
4000,
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be 24% according to the forum post

Suggested change
4000,
2400,


| Asset | Current LT | Rec LT | Current LTV | Rec LTV |
|--------|--------|--------|-------------|---------|
| 1INCH | 40% | 40% | 30% | 0 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
| 1INCH | 40% | 40% | 30% | 0 |
| 1INCH | 40% | 24% | 30% | 0 |

according to forum post


Gauntlet and Chaos have not received any compensation from any third-party in exchange for recommending any of the actions contained in this proposal.

By approving this proposal, you agree that any services provided by Gauntlet shall be governed by the terms of service available at gauntlet.network/tos.
Copy link
Collaborator

Choose a reason for hiding this comment

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

this sentences is duplicated 3 lines below

payloads,
GovHelpers.ipfsHashFile(
vm,
'src/AaveV2Update_20231009/AaveV2Update_20231009.md'
Copy link
Collaborator

Choose a reason for hiding this comment

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

the naming convention of this is not in line with the generator. It's a bit annoying as "new proposals" are usually correctly sorted due to YYYYMMDD folder prefix, but this one is not.

That said, I guess it's acceptable as there#s some inconsistency with old proposals anyways, but in the future plz give the generator a shot which will correctly generate structures & aip references.

@reem
Copy link
Contributor Author

reem commented Oct 10, 2023

Updated for requested changes, thanks for catching the missing 1inch change.

sakulstra
sakulstra previously approved these changes Oct 10, 2023
@github-actions
Copy link
Contributor

Foundry report

forge 0.2.0 (e0722a1 2023-10-10T00:25:42.578508482Z)
Build log
installing solc version "0.8.19"
Successfully installed solc 0.8.19
installing solc version "0.8.21"
Successfully installed solc 0.8.21
installing solc version "0.8.17"
Successfully installed solc 0.8.17
Compiling 120 files with 0.8.17
Compiling 165 files with 0.8.19
Solc 0.8.17 finished in 52.69s
Compiling 482 files with 0.8.21
Solc 0.8.19 finished in 84.47s
Solc 0.8.21 finished in 360.02s
Compiler run successful with warnings:
Warning (2072): Unused local variable.
  --> src/20230817_AaveV3_Eth_SDAIOnboarding/AaveV3_Ethereum_SDAIOnboarding_20230817.t.sol:24:5:
   |
24 |     ReserveConfig[] memory allConfigsBefore = createConfigurationSnapshot(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/20230825_AaveV3_Eth_GhoFreezing/AaveV3_Ethereum_GhoFreezing_20230825.t.sol:62:5:
   |
62 |     ReserveConfig[] memory allConfigsAfter2 = createConfigurationSnapshot(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/AaveV2EthBUSDIR_20230804/AaveV2EthBUSDIR_20230804Test.t.sol:32:5:
   |
32 |     ReserveConfig memory configBUSDBefore = _findReserveConfigBySymbol(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/AaveV3_Met_SetEmissionManager_20232607/AaveV3_Met_SetEmissionManager_20232607.t.sol:28:5:
   |
28 |     ReserveConfig[] memory allConfigsBefore = createConfigurationSnapshot(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/AaveV3_Met_SetEmissionManager_20232607/AaveV3_Met_SetEmissionManager_20232607.t.sol:37:5:
   |
37 |     ReserveConfig[] memory allConfigsAfter = createConfigurationSnapshot(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| Contract                                                               | Size (kB) | Margin (kB) |
|------------------------------------------------------------------------|-----------|-------------|
| AaveAvalancheTreasuryMigration_20230903                                | 3.335     | 21.241      |
| AaveGovernanceV2.0.8.17                                                | 0.086     | 24.49       |
| AaveGovernanceV2.0.8.19                                                | 0.086     | 24.49       |
| AaveGovernanceV2.0.8.21                                                | 0.086     | 24.49       |
| AaveMisc.0.8.17                                                        | 0.086     | 24.49       |
| AaveMisc.0.8.19                                                        | 0.086     | 24.49       |
| AaveMisc.0.8.21                                                        | 0.086     | 24.49       |
| AavePolygonTreasuryMigration_20230801                                  | 4.221     | 20.355      |
| AaveSafetyModule                                                       | 0.086     | 24.49       |
| AaveSwapper                                                            | 5.613     | 18.963      |
| AaveV2Avalanche.0.8.17                                                 | 0.086     | 24.49       |
| AaveV2Avalanche.0.8.19                                                 | 0.086     | 24.49       |
| AaveV2Avalanche.0.8.21                                                 | 0.086     | 24.49       |
| AaveV2AvalancheAssets.0.8.17                                           | 0.086     | 24.49       |
| AaveV2AvalancheAssets.0.8.19                                           | 0.086     | 24.49       |
| AaveV2AvalancheAssets.0.8.21                                           | 0.086     | 24.49       |
| AaveV2CRVRiskParams_20230621                                           | 0.336     | 24.24       |
| AaveV2DelegatesGasRebate_20230703                                      | 2.215     | 22.361      |
| AaveV2EthAGDGrantsPayload                                              | 0.566     | 24.01       |
| AaveV2EthBUSDIR_20230602                                               | 0.972     | 23.604      |
| AaveV2EthBUSDIR_20230804                                               | 2.343     | 22.233      |
| AaveV2EthFEIRiskParams_20230703                                        | 2.251     | 22.325      |
| AaveV2EthRatesUpdates_20230328_Payload                                 | 0.326     | 24.25       |
| AaveV2EthRiskParams_20230702                                           | 4.609     | 19.967      |
| AaveV2Ethereum.0.8.17                                                  | 0.086     | 24.49       |
| AaveV2Ethereum.0.8.19                                                  | 0.086     | 24.49       |
| AaveV2Ethereum.0.8.21                                                  | 0.086     | 24.49       |
| AaveV2EthereumAMM.0.8.17                                               | 0.086     | 24.49       |
| AaveV2EthereumAMM.0.8.19                                               | 0.086     | 24.49       |
| AaveV2EthereumAMM.0.8.21                                               | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets.0.8.17                                         | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets.0.8.19                                         | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets.0.8.21                                         | 0.086     | 24.49       |
| AaveV2EthereumArc                                                      | 0.086     | 24.49       |
| AaveV2EthereumArcAssets                                                | 0.086     | 24.49       |
| AaveV2EthereumAssets.0.8.17                                            | 0.086     | 24.49       |
| AaveV2EthereumAssets.0.8.19                                            | 0.086     | 24.49       |
| AaveV2EthereumAssets.0.8.21                                            | 0.086     | 24.49       |
| AaveV2EthereumRatesUpdates_20230627                                    | 3.273     | 21.303      |
| AaveV2EthereumUpdate20231009Payload                                    | 3.286     | 21.29       |
| AaveV2FreezeReserves_20230619                                          | 1.106     | 23.47       |
| AaveV2FreezeReserves_20230627                                          | 0.281     | 24.295      |
| AaveV2Fuji                                                             | 0.086     | 24.49       |
| AaveV2FujiAssets                                                       | 0.086     | 24.49       |
| AaveV2Goerli                                                           | 0.086     | 24.49       |
| AaveV2GoerliAssets                                                     | 0.086     | 24.49       |
| AaveV2Mumbai                                                           | 0.086     | 24.49       |
| AaveV2MumbaiAssets                                                     | 0.086     | 24.49       |
| AaveV2PolRatesUpdates_20230328_Payload                                 | 0.326     | 24.25       |
| AaveV2Polygon.0.8.17                                                   | 0.086     | 24.49       |
| AaveV2Polygon.0.8.19                                                   | 0.086     | 24.49       |
| AaveV2Polygon.0.8.21                                                   | 0.086     | 24.49       |
| AaveV2PolygonAssets.0.8.17                                             | 0.086     | 24.49       |
| AaveV2PolygonAssets.0.8.19                                             | 0.086     | 24.49       |
| AaveV2PolygonAssets.0.8.21                                             | 0.086     | 24.49       |
| AaveV2PolygonIR_20230519                                               | 0.908     | 23.668      |
| AaveV2PolygonRatesUpdates_20230614                                     | 4.551     | 20.025      |
| AaveV2PolygonReserveFactorUpdate_20230717                              | 2.322     | 22.254      |
| AaveV2PolygonReserveFactorUpdate_20230828                              | 1.903     | 22.673      |
| AaveV2PolygonReserveFactorUpdate_20230920                              | 1.01      | 23.566      |
| AaveV2PriceFeedsUpdate_20230504_Payload                                | 0.63      | 23.946      |
| AaveV2PriceFeedsUpdate_20230613_Payload                                | 0.63      | 23.946      |
| AaveV2_Eth_AURA_OTC_Deal_20230508                                      | 1.67      | 22.906      |
| AaveV2_Eth_CRVAaveV2Ethereum_LTReduction_20230822                      | 0.334     | 24.242      |
| AaveV2_Eth_CRVLTUpdate_20230806                                        | 0.334     | 24.242      |
| AaveV2_Eth_CRVRiskParamsUpdate_20232507                                | 1.225     | 23.351      |
| AaveV2_Eth_CRV_OTC_Deal_20230508                                       | 2.015     | 22.561      |
| AaveV2_Eth_ServiceProviders_20231907                                   | 7.285     | 17.291      |
| AaveV2_Eth_TUSDOffboardingPlan_20233107                                | 1.542     | 23.034      |
| AaveV2_Eth_TreasuryManagement_20230308                                 | 6.704     | 17.872      |
| AaveV2_Ethereum_AaveTreasuryRWAAllocationPartI_20230925                | 1.044     | 23.532      |
| AaveV2_Ethereum_CRVAaveV2EthereumLTReduction_20230919                  | 0.334     | 24.242      |
| AaveV2_Ethereum_ChaosLabsRiskParameterUpdates_20230831                 | 5.232     | 19.344      |
| AaveV2_Ethereum_DAIParamsUpdates_20230817                              | 1.766     | 22.81       |
| AaveV2_Ethereum_TUSDOffboardingPlanPartII_20230925                     | 2.525     | 22.051      |
| AaveV3ACIProposal_20230411                                             | 0.705     | 23.871      |
| AaveV3ARBDFSFlashBorrowActivation                                      | 0.458     | 24.118      |
| AaveV3ARBMAIFixes_20230606                                             | 1.662     | 22.914      |
| AaveV3ARBMAIListing_20230425                                           | 3.596     | 20.98       |
| AaveV3ARBSupplyBorrowUpdate_20230427                                   | 3.019     | 21.557      |
| AaveV3AVASupplyBorrowUpdate_20230427                                   | 2.934     | 21.642      |
| AaveV3ArbCapsUpdates_20230508_Payload                                  | 2.953     | 21.623      |
| AaveV3ArbFraxListing_20230619                                          | 3.746     | 20.83       |
| AaveV3ArbListings_20230523_Payload                                     | 3.741     | 20.835      |
| AaveV3ArbListings_20230524_Payload                                     | 3.743     | 20.833      |
| AaveV3ArbMAICapsUpdates_20230724                                       | 3.306     | 21.27       |
| AaveV3ArbNativeUSDCListing_20230621                                    | 3.748     | 20.828      |
| AaveV3ArbPriceFeedsUpdate_20230504_Payload                             | 2.905     | 21.671      |
| AaveV3ArbPriceFeedsUpdate_20230613_Payload                             | 2.905     | 21.671      |
| AaveV3ArbRatesUpdates_20230307                                         | 4.564     | 20.012      |
| AaveV3ArbSupplyCapsUpdate_20230330                                     | 3.019     | 21.557      |
| AaveV3ArbUpdate20230327Payload                                         | 2.929     | 21.647      |
| AaveV3Arbitrum.0.8.17                                                  | 0.086     | 24.49       |
| AaveV3Arbitrum.0.8.19                                                  | 0.086     | 24.49       |
| AaveV3Arbitrum.0.8.21                                                  | 0.086     | 24.49       |
| AaveV3ArbitrumAssets.0.8.17                                            | 0.086     | 24.49       |
| AaveV3ArbitrumAssets.0.8.19                                            | 0.086     | 24.49       |
| AaveV3ArbitrumAssets.0.8.21                                            | 0.086     | 24.49       |
| AaveV3ArbitrumEModes.0.8.17                                            | 0.086     | 24.49       |
| AaveV3ArbitrumEModes.0.8.19                                            | 0.086     | 24.49       |
| AaveV3ArbitrumEModes.0.8.21                                            | 0.086     | 24.49       |
| AaveV3ArbitrumGoerli                                                   | 0.086     | 24.49       |
| AaveV3ArbitrumGoerliAssets                                             | 0.086     | 24.49       |
| AaveV3ArbitrumGoerliEModes                                             | 0.086     | 24.49       |
| AaveV3ArbwstETHCapsUpdates_20230703                                    | 2.953     | 21.623      |
| AaveV3AvaRatesUpdatesSteward_20230331                                  | 5.105     | 19.471      |
| AaveV3AvaRatesUpdates_20230322                                         | 3.246     | 21.33       |
| AaveV3Avalanche.0.8.17                                                 | 0.086     | 24.49       |
| AaveV3Avalanche.0.8.19                                                 | 0.086     | 24.49       |
| AaveV3Avalanche.0.8.21                                                 | 0.086     | 24.49       |
| AaveV3AvalancheAssets.0.8.17                                           | 0.086     | 24.49       |
| AaveV3AvalancheAssets.0.8.19                                           | 0.086     | 24.49       |
| AaveV3AvalancheAssets.0.8.21                                           | 0.086     | 24.49       |
| AaveV3AvalancheEModes.0.8.17                                           | 0.086     | 24.49       |
| AaveV3AvalancheEModes.0.8.19                                           | 0.086     | 24.49       |
| AaveV3AvalancheEModes.0.8.21                                           | 0.086     | 24.49       |
| AaveV3AvaxMAICapsUpdates_20230724                                      | 3.292     | 21.284      |
| AaveV3AvaxretrofundingPayload                                          | 1.123     | 23.453      |
| AaveV3Base                                                             | 0.086     | 24.49       |
| AaveV3BaseAssets                                                       | 0.086     | 24.49       |
| AaveV3BaseEModes                                                       | 0.086     | 24.49       |
| AaveV3ChaosLabsPaymentCollection_20230626                              | 0.411     | 24.165      |
| AaveV3ETHIsoMode_20230330                                              | 3.549     | 21.027      |
| AaveV3ETHSupplyBorrowUpdate_20230427                                   | 2.932     | 21.644      |
| AaveV3ETHrETHEmode_20230522                                            | 3.03      | 21.546      |
| AaveV3Eth1INCHListing_20230517_Payload                                 | 3.59      | 20.986      |
| AaveV3EthCBETHSupplyCapUpdate_20230328                                 | 2.929     | 21.647      |
| AaveV3EthDFSFlashBorrowActivation                                      | 0.458     | 24.118      |
| AaveV3EthENSListing_20230517_Payload                                   | 3.586     | 20.99       |
| AaveV3EthFraxListing_20230619                                          | 3.548     | 21.028      |
| AaveV3EthNewListings_20230321                                          | 5.149     | 19.427      |
| AaveV3EthRatesUpdates_20230328                                         | 3.24      | 21.336      |
| AaveV3EthRiskParams_20230529                                           | 3.832     | 20.744      |
| AaveV3EthUpdate20230322Payload                                         | 3.033     | 21.543      |
| AaveV3EthUpdate20230327Payload                                         | 3.032     | 21.544      |
| AaveV3Ethereum.0.8.17                                                  | 0.086     | 24.49       |
| AaveV3Ethereum.0.8.19                                                  | 0.086     | 24.49       |
| AaveV3Ethereum.0.8.21                                                  | 0.086     | 24.49       |
| AaveV3EthereumAssets.0.8.17                                            | 0.086     | 24.49       |
| AaveV3EthereumAssets.0.8.19                                            | 0.086     | 24.49       |
| AaveV3EthereumAssets.0.8.21                                            | 0.086     | 24.49       |
| AaveV3EthereumEModes.0.8.17                                            | 0.086     | 24.49       |
| AaveV3EthereumEModes.0.8.19                                            | 0.086     | 24.49       |
| AaveV3EthereumEModes.0.8.21                                            | 0.086     | 24.49       |
| AaveV3Fantom.0.8.17                                                    | 0.086     | 24.49       |
| AaveV3Fantom.0.8.19                                                    | 0.086     | 24.49       |
| AaveV3Fantom.0.8.21                                                    | 0.086     | 24.49       |
| AaveV3FantomAssets.0.8.17                                              | 0.086     | 24.49       |
| AaveV3FantomAssets.0.8.19                                              | 0.086     | 24.49       |
| AaveV3FantomAssets.0.8.21                                              | 0.086     | 24.49       |
| AaveV3FantomEModes.0.8.17                                              | 0.086     | 24.49       |
| AaveV3FantomEModes.0.8.19                                              | 0.086     | 24.49       |
| AaveV3FantomEModes.0.8.21                                              | 0.086     | 24.49       |
| AaveV3FantomTestnet                                                    | 0.086     | 24.49       |
| AaveV3FantomTestnetAssets                                              | 0.086     | 24.49       |
| AaveV3FantomTestnetEModes                                              | 0.086     | 24.49       |
| AaveV3Fuji                                                             | 0.086     | 24.49       |
| AaveV3FujiAssets                                                       | 0.086     | 24.49       |
| AaveV3FujiEModes                                                       | 0.086     | 24.49       |
| AaveV3GoerliGho                                                        | 0.086     | 24.49       |
| AaveV3GoerliGhoAssets                                                  | 0.086     | 24.49       |
| AaveV3GoerliGhoEModes                                                  | 0.086     | 24.49       |
| AaveV3Harmony.0.8.17                                                   | 0.086     | 24.49       |
| AaveV3Harmony.0.8.19                                                   | 0.086     | 24.49       |
| AaveV3Harmony.0.8.21                                                   | 0.086     | 24.49       |
| AaveV3HarmonyAssets.0.8.17                                             | 0.086     | 24.49       |
| AaveV3HarmonyAssets.0.8.19                                             | 0.086     | 24.49       |
| AaveV3HarmonyAssets.0.8.21                                             | 0.086     | 24.49       |
| AaveV3HarmonyEModes.0.8.17                                             | 0.086     | 24.49       |
| AaveV3HarmonyEModes.0.8.19                                             | 0.086     | 24.49       |
| AaveV3HarmonyEModes.0.8.21                                             | 0.086     | 24.49       |
| AaveV3Listings_20230403_Payload                                        | 3.587     | 20.989      |
| AaveV3Listings_20230413_Payload                                        | 4.185     | 20.391      |
| AaveV3LlamaProposal_20230803                                           | 1.385     | 23.191      |
| AaveV3Metis                                                            | 0.086     | 24.49       |
| AaveV3MetisAssets                                                      | 0.086     | 24.49       |
| AaveV3MetisEModes                                                      | 0.086     | 24.49       |
| AaveV3Mumbai                                                           | 0.086     | 24.49       |
| AaveV3MumbaiAssets                                                     | 0.086     | 24.49       |
| AaveV3MumbaiEModes                                                     | 0.086     | 24.49       |
| AaveV3OPEmode_20220622_Payload                                         | 0.88      | 23.696      |
| AaveV3OPListings_20230710_Payload                                      | 3.744     | 20.832      |
| AaveV3OPMAIFixes_20230606                                              | 1.662     | 22.914      |
| AaveV3OPMAIListing_20230425                                            | 3.596     | 20.98       |
| AaveV3OPNewListings_20230327                                           | 3.591     | 20.985      |
| AaveV3OPRiskParams_20230330                                            | 3.184     | 21.392      |
| AaveV3OPSupplyBorrowUpdate_20230427                                    | 3.03      | 21.546      |
| AaveV3OptDFSFlashBorrowActivation                                      | 0.458     | 24.118      |
| AaveV3OptMAICapsUpdates_20230724                                       | 3.306     | 21.27       |
| AaveV3OptPriceFeedsSentinelUpdate_20230504_Payload                     | 3.073     | 21.503      |
| AaveV3OptPriceFeedsUpdate_20230613_Payload                             | 2.905     | 21.671      |
| AaveV3OptRatesUpdates_20230307                                         | 4.143     | 20.433      |
| AaveV3Optimism.0.8.17                                                  | 0.086     | 24.49       |
| AaveV3Optimism.0.8.19                                                  | 0.086     | 24.49       |
| AaveV3Optimism.0.8.21                                                  | 0.086     | 24.49       |
| AaveV3OptimismAssets.0.8.17                                            | 0.086     | 24.49       |
| AaveV3OptimismAssets.0.8.19                                            | 0.086     | 24.49       |
| AaveV3OptimismAssets.0.8.21                                            | 0.086     | 24.49       |
| AaveV3OptimismEModes.0.8.17                                            | 0.086     | 24.49       |
| AaveV3OptimismEModes.0.8.19                                            | 0.086     | 24.49       |
| AaveV3OptimismEModes.0.8.21                                            | 0.086     | 24.49       |
| AaveV3OptimismGoerli                                                   | 0.086     | 24.49       |
| AaveV3OptimismGoerliAssets                                             | 0.086     | 24.49       |
| AaveV3OptimismGoerliEModes                                             | 0.086     | 24.49       |
| AaveV3POLSupplyBorrowUpdate_20230427                                   | 3.03      | 21.546      |
| AaveV3PolCRVRiskParams_20230702                                        | 3.03      | 21.546      |
| AaveV3PolCapsUpdate_20230421                                           | 2.932     | 21.644      |
| AaveV3PolCapsUpdates_20230328                                          | 3.079     | 21.497      |
| AaveV3PolCapsUpdates_20230418_Payload                                  | 2.956     | 21.62       |
| AaveV3PolCapsUpdates_20230503_Payload                                  | 2.956     | 21.62       |
| AaveV3PolCapsUpdates_20230508_Payload                                  | 3.144     | 21.432      |
| AaveV3PolCapsUpdates_20230518_Payload                                  | 2.946     | 21.63       |
| AaveV3PolCapsUpdates_20230610_Payload                                  | 3.081     | 21.495      |
| AaveV3PolMAICapsUpdates_20230724                                       | 3.305     | 21.271      |
| AaveV3PolPriceFeedsUpdate_20230504_Payload                             | 3.05      | 21.526      |
| AaveV3PolPriceFeedsUpdate_20230626_Payload                             | 2.904     | 21.672      |
| AaveV3PolRatesUpdates_20230307                                         | 5.868     | 18.708      |
| AaveV3PolRatesUpdates_20230328                                         | 3.239     | 21.337      |
| AaveV3PolRiskParams_20230423                                           | 3.513     | 21.063      |
| AaveV3Polygon.0.8.17                                                   | 0.086     | 24.49       |
| AaveV3Polygon.0.8.19                                                   | 0.086     | 24.49       |
| AaveV3Polygon.0.8.21                                                   | 0.086     | 24.49       |
| AaveV3PolygonAssets.0.8.17                                             | 0.086     | 24.49       |
| AaveV3PolygonAssets.0.8.19                                             | 0.086     | 24.49       |
| AaveV3PolygonAssets.0.8.21                                             | 0.086     | 24.49       |
| AaveV3PolygonEModes.0.8.17                                             | 0.086     | 24.49       |
| AaveV3PolygonEModes.0.8.19                                             | 0.086     | 24.49       |
| AaveV3PolygonEModes.0.8.21                                             | 0.086     | 24.49       |
| AaveV3PolygonSupplyCapStmatic_20230810                                 | 2.93      | 21.646      |
| AaveV3PriceFeedsUpdate_20230613_Payload                                | 2.905     | 21.671      |
| AaveV3RiskParams_20230516                                              | 3.031     | 21.545      |
| AaveV3RiskSteward_20230404                                             | 0.397     | 24.179      |
| AaveV3ScrollAlpha                                                      | 0.086     | 24.49       |
| AaveV3ScrollAlphaAssets                                                | 0.086     | 24.49       |
| AaveV3ScrollAlphaEModes                                                | 0.086     | 24.49       |
| AaveV3ScrollSepolia                                                    | 0.086     | 24.49       |
| AaveV3ScrollSepoliaAssets                                              | 0.086     | 24.49       |
| AaveV3ScrollSepoliaEModes                                              | 0.086     | 24.49       |
| AaveV3Sepolia                                                          | 0.086     | 24.49       |
| AaveV3SepoliaAssets                                                    | 0.086     | 24.49       |
| AaveV3SepoliaEModes                                                    | 0.086     | 24.49       |
| AaveV3StrategicAssets_20220622Payload                                  | 2.848     | 21.728      |
| AaveV3_Arb_ARBListing_20231207                                         | 3.757     | 20.819      |
| AaveV3_Arb_wstETH_CapsIncrease_20230908                                | 2.963     | 21.613      |
| AaveV3_Arbitrum_AddDebtSwapAdapterAsFlashBorrower_20230809             | 0.291     | 24.285      |
| AaveV3_Arbitrum_FreezeStewards_20230907                                | 0.333     | 24.243      |
| AaveV3_Arbitrum_StataTokenOperationalUpdate_20230815                   | 0.828     | 23.748      |
| AaveV3_Avalanche_AddDebtSwapAdapterAsFlashBorrower_20230809            | 0.291     | 24.285      |
| AaveV3_Avalanche_ChaosLabsRiskParameterUpdatesAaveV3Avalanche_20230918 | 3.361     | 21.215      |
| AaveV3_Avalanche_EnablingUSDTAsCollateralOnAaveV3AVAXMarket_20230926   | 3.317     | 21.259      |
| AaveV3_Avalanche_FreezeStewards_20230907                               | 0.333     | 24.243      |
| AaveV3_Avalanche_StataTokenOperationalUpdate_20230815                  | 0.828     | 23.748      |
| AaveV3_Base_AddDebtSwapAdapterAsFlashBorrower_20230809                 | 0.291     | 24.285      |
| AaveV3_Base_FreezeStewards_20230907                                    | 0.333     | 24.243      |
| AaveV3_Eth_AaveV3ListRPL_20230711                                      | 3.59      | 20.986      |
| AaveV3_Eth_AaveV3USDTRiskParams_20231107                               | 3.011     | 21.565      |
| AaveV3_Eth_BugBounty_20230710                                          | 1.095     | 23.481      |
| AaveV3_Eth_DisableCRVBorrows_20230508                                  | 3.026     | 21.55       |
| AaveV3_Ethereum_AaveBGDPhase2_20230828                                 | 3.272     | 21.304      |
| AaveV3_Ethereum_AaveImmunefiActivation_20230920                        | 0.274     | 24.302      |
| AaveV3_Ethereum_AddDebtSwapAdapterAsFlashBorrower_20230809             | 0.291     | 24.285      |
| AaveV3_Ethereum_ChaosLabsRiskParameterUpdates_AaveV3Ethereum_20230828  | 3.524     | 21.052      |
| AaveV3_Ethereum_ChaosLabsScopeAndCompensationAmendment_20230816        | 2.417     | 22.159      |
| AaveV3_Ethereum_ExpansionOfOrbit_20230925                              | 1.767     | 22.809      |
| AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926                     | 1.747     | 22.829      |
| AaveV3_Ethereum_GHOBorrowRateUpdate_20230904                           | 0.326     | 24.25       |
| AaveV3_Ethereum_GhoFreezing_20230825                                   | 0.587     | 23.989      |
| AaveV3_Ethereum_LUSDCollateralActivation_20230811                      | 3.011     | 21.565      |
| AaveV3_Ethereum_MKRDebtCeiling_20230908                                | 3.032     | 21.544      |
| AaveV3_Ethereum_QuarterlyGasRebateDistributionAugust2023_20230906      | 1.625     | 22.951      |
| AaveV3_Ethereum_SDAIOnboarding_20230817                                | 4.189     | 20.387      |
| AaveV3_Ethereum_SigmaPrimeAuditBudgetExtension_20230830                | 0.413     | 24.163      |
| AaveV3_Ethereum_StataTokenOperationalUpdate_20230815                   | 1.46      | 23.116      |
| AaveV3_Ethereum_VGHOImprovement_20230826                               | 3.835     | 20.741      |
| AaveV3_Met_SetEmissionManager_20232607                                 | 0.364     | 24.212      |
| AaveV3_Metis_FreezeStewards_20230907                                   | 0.333     | 24.243      |
| AaveV3_Opt_RiskParamsUpdate_20232408                                   | 3.194     | 21.382      |
| AaveV3_Opt_wstETH_CapsIncrease_20230908                                | 2.963     | 21.613      |
| AaveV3_Optimism_AddDebtSwapAdapterAsFlashBorrower_20230809             | 0.291     | 24.285      |
| AaveV3_Optimism_FreezeStewards_20230907                                | 0.333     | 24.243      |
| AaveV3_Optimism_OPRiskParametersUpdate_20230924                        | 3.25      | 21.326      |
| AaveV3_Optimism_StataTokenOperationalUpdate_20230815                   | 0.828     | 23.748      |
| AaveV3_Pol_CapsUpdate_20230608                                         | 2.966     | 21.61       |
| AaveV3_Pol_CapsUpdates_20231107_Payload                                | 2.956     | 21.62       |
| AaveV3_Pol_DisableCRVBorrows_20230508                                  | 3.025     | 21.551      |
| AaveV3_Pol_wstETH_CapsIncrease_20230908                                | 2.962     | 21.614      |
| AaveV3_Polygon_AddDebtSwapAdapterAsFlashBorrower_20230809              | 0.291     | 24.285      |
| AaveV3_Polygon_FreezeStewards_20230907                                 | 0.333     | 24.243      |
| AaveV3_Polygon_StataTokenOperationalUpdate_20230815                    | 0.828     | 23.748      |
| AaveV3_Polygon_SupplyCapLSTs_20230831                                  | 3.031     | 21.545      |
| Address.0.8.17                                                         | 0.086     | 24.49       |
| Address.0.8.19                                                         | 0.086     | 24.49       |
| Address.0.8.21                                                         | 0.086     | 24.49       |
| AgdAllowanceModification_20230817                                      | 1.848     | 22.728      |
| COWSwapper                                                             | 3.88      | 20.696      |
| COWTrader                                                              | 4.088     | 20.488      |
| CapsPlusRiskSteward                                                    | 2.609     | 21.967      |
| CapsPlusRiskStewardErrors                                              | 0.556     | 24.02       |
| ChainIds.0.8.17                                                        | 0.086     | 24.49       |
| ChainIds.0.8.19                                                        | 0.086     | 24.49       |
| ChainIds.0.8.21                                                        | 0.086     | 24.49       |
| ConfiguratorInputTypes.0.8.17                                          | 0.086     | 24.49       |
| ConfiguratorInputTypes.0.8.19                                          | 0.086     | 24.49       |
| ConfiguratorInputTypes.0.8.21                                          | 0.086     | 24.49       |
| DataTypes                                                              | 0.086     | 24.49       |
| DataTypes.0.8.17                                                       | 0.086     | 24.49       |
| DataTypes.0.8.19                                                       | 0.086     | 24.49       |
| DataTypes.0.8.21                                                       | 0.086     | 24.49       |
| DeployMainnetProposal                                                  | 0.086     | 24.49       |
| ERC1967Proxy                                                           | 0.177     | 24.399      |
| EngineFlags.0.8.17                                                     | 0.086     | 24.49       |
| EngineFlags.0.8.19                                                     | 0.086     | 24.49       |
| EngineFlags.0.8.21                                                     | 0.086     | 24.49       |
| Errors                                                                 | 4.714     | 19.862      |
| Errors.0.8.17                                                          | 3.952     | 20.624      |
| Errors.0.8.19                                                          | 3.952     | 20.624      |
| Errors.0.8.21                                                          | 3.952     | 20.624      |
| FreezingSteward                                                        | 0.715     | 23.861      |
| GhoInterestRateStrategy                                                | 0.724     | 23.852      |
| GovHelpers.0.8.17                                                      | 0.086     | 24.49       |
| GovHelpers.0.8.19                                                      | 0.086     | 24.49       |
| GovHelpers.0.8.21                                                      | 0.086     | 24.49       |
| GovernanceV3Arbitrum                                                   | 0.086     | 24.49       |
| GovernanceV3Avalanche                                                  | 0.086     | 24.49       |
| GovernanceV3Base                                                       | 0.086     | 24.49       |
| GovernanceV3Binance                                                    | 0.086     | 24.49       |
| GovernanceV3Ethereum                                                   | 0.086     | 24.49       |
| GovernanceV3Fuji                                                       | 0.086     | 24.49       |
| GovernanceV3Goerli                                                     | 0.086     | 24.49       |
| GovernanceV3Metis                                                      | 0.086     | 24.49       |
| GovernanceV3Mumbai                                                     | 0.086     | 24.49       |
| GovernanceV3Optimism                                                   | 0.086     | 24.49       |
| GovernanceV3Polygon                                                    | 0.086     | 24.49       |
| MockExecutor.0.8.17                                                    | 0.437     | 24.139      |
| MockExecutor.0.8.19                                                    | 0.437     | 24.139      |
| MockExecutor.0.8.21                                                    | 0.437     | 24.139      |
| MockReceiver                                                           | 0.899     | 23.677      |
| PayloadsControllerUtils                                                | 0.086     | 24.49       |
| ProxyAdmin                                                             | 1.683     | 22.893      |
| ProxyHelpers.0.8.17                                                    | 0.086     | 24.49       |
| ProxyHelpers.0.8.19                                                    | 0.086     | 24.49       |
| ProxyHelpers.0.8.21                                                    | 0.086     | 24.49       |
| ReserveConfiguration.0.8.17                                            | 0.171     | 24.405      |
| ReserveConfiguration.0.8.19                                            | 0.171     | 24.405      |
| ReserveConfiguration.0.8.21                                            | 0.171     | 24.405      |
| RewardsDataTypes                                                       | 0.086     | 24.49       |
| SafeERC20.0.8.17                                                       | 0.086     | 24.49       |
| SafeERC20.0.8.19                                                       | 0.086     | 24.49       |
| SafeERC20.0.8.21                                                       | 0.086     | 24.49       |
| StdStyle.0.8.17                                                        | 0.086     | 24.49       |
| StdStyle.0.8.19                                                        | 0.086     | 24.49       |
| StdStyle.0.8.21                                                        | 0.086     | 24.49       |
| StorageHelpers.0.8.17                                                  | 0.086     | 24.49       |
| StorageHelpers.0.8.19                                                  | 0.086     | 24.49       |
| StorageHelpers.0.8.21                                                  | 0.086     | 24.49       |
| StorageSlot                                                            | 0.086     | 24.49       |
| SwapFor80BAL20WETHPayload                                              | 5.788     | 18.788      |
| TokenAddresses                                                         | 3.399     | 21.177      |
| TokenLogicFunding_20230919                                             | 1.219     | 23.357      |
| TransparentUpgradeableProxy                                            | 2.081     | 22.495      |
| WadRayMath.0.8.17                                                      | 0.086     | 24.49       |
| WadRayMath.0.8.19                                                      | 0.086     | 24.49       |
| WadRayMath.0.8.21                                                      | 0.086     | 24.49       |
| console                                                                | 0.086     | 24.49       |
| console.0.8.17                                                         | 0.086     | 24.49       |
| console.0.8.19                                                         | 0.086     | 24.49       |
| console.0.8.21                                                         | 0.086     | 24.49       |
| console2.0.8.17                                                        | 0.086     | 24.49       |
| console2.0.8.19                                                        | 0.086     | 24.49       |
| console2.0.8.21                                                        | 0.086     | 24.49       |
| safeconsole.0.8.17                                                     | 0.086     | 24.49       |
| safeconsole.0.8.19                                                     | 0.086     | 24.49       |
| safeconsole.0.8.21                                                     | 0.086     | 24.49       |
| stdError.0.8.17                                                        | 0.591     | 23.985      |
| stdError.0.8.19                                                        | 0.591     | 23.985      |
| stdError.0.8.21                                                        | 0.591     | 23.985      |
| stdJson.0.8.17                                                         | 0.086     | 24.49       |
| stdJson.0.8.19                                                         | 0.086     | 24.49       |
| stdJson.0.8.21                                                         | 0.086     | 24.49       |
| stdMath.0.8.17                                                         | 0.086     | 24.49       |
| stdMath.0.8.19                                                         | 0.086     | 24.49       |
| stdMath.0.8.21                                                         | 0.086     | 24.49       |
| stdStorage.0.8.17                                                      | 0.086     | 24.49       |
| stdStorage.0.8.19                                                      | 0.086     | 24.49       |
| stdStorage.0.8.21                                                      | 0.086     | 24.49       |
| stdStorageSafe.0.8.17                                                  | 0.086     | 24.49       |
| stdStorageSafe.0.8.19                                                  | 0.086     | 24.49       |
| stdStorageSafe.0.8.21                                                  | 0.086     | 24.49       |
Test success 🌈
No files changed, compilation skipped

Running 1 test for src/AaveV2Update_20231009/AaveV2Update_20231009_Test.t.sol:AaveV2EthereumUpdate_20231009_Test
[PASS] testEthereum20231009UpdatePayload() (gas: 211668080)
Logs:
  E2E: Collateral AAVE, TestAsset USDT
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: USDT, Amount: 1578111901
  WITHDRAW: USDT, Amount: 789055950
  WITHDRAW: USDT, Amount: 789055951
  BORROW: USDT, Amount 1578111901, Stable: false
  REPAY: USDT, Amount: 1578111901
  BORROW: USDT, Amount 1578111901, Stable: true
  REPAY: USDT, Amount: 1578111901
  E2E: Collateral AAVE, TestAsset WBTC
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: WBTC, Amount: 5799405
  WITHDRAW: WBTC, Amount: 2899702
  WITHDRAW: WBTC, Amount: 2899703
  BORROW: WBTC, Amount 5799405, Stable: false
  REPAY: WBTC, Amount: 5799405
  BORROW: WBTC, Amount 5799405, Stable: true
  REPAY: WBTC, Amount: 5799405
  E2E: Collateral AAVE, TestAsset WETH
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: WETH, Amount: 1000000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  WITHDRAW: WETH, Amount: 500000000000000001
  BORROW: WETH, Amount 1000000000000000000, Stable: false
  REPAY: WETH, Amount: 1000000000000000000
  BORROW: WETH, Amount 1000000000000000000, Stable: true
  REPAY: WETH, Amount: 1000000000000000000
  E2E: Collateral AAVE, TestAsset AAVE
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: AAVE, Amount: 24952347254830088238
  WITHDRAW: AAVE, Amount: 12476173627415044119
  WITHDRAW: AAVE, Amount: 12476173627415044120
  E2E: Collateral AAVE, TestAsset DAI
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: DAI, Amount: 1585428354547354855992
  WITHDRAW: DAI, Amount: 792714177273677427996
  WITHDRAW: DAI, Amount: 792714177273677427997
  BORROW: DAI, Amount 1585428354547354855992, Stable: false
  REPAY: DAI, Amount: 1585428354547354855992
  E2E: Collateral AAVE, TestAsset sUSD
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: sUSD, Amount: 1574588035971054136789
  WITHDRAW: sUSD, Amount: 787294017985527068394
  WITHDRAW: sUSD, Amount: 787294017985527068396
  BORROW: sUSD, Amount 1574588035971054136789, Stable: false
  REPAY: sUSD, Amount: 1574588035971054136789
  E2E: Collateral AAVE, TestAsset USDC
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: USDC, Amount: 1584303403
  WITHDRAW: USDC, Amount: 792151701
  WITHDRAW: USDC, Amount: 792151702
  BORROW: USDC, Amount 1584303403, Stable: false
  REPAY: USDC, Amount: 1584303403
  BORROW: USDC, Amount 1584303403, Stable: true
  REPAY: USDC, Amount: 1584303403
  E2E: Collateral AAVE, TestAsset GUSD
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: GUSD, Amount: 157785
  WITHDRAW: GUSD, Amount: 78892
  WITHDRAW: GUSD, Amount: 78893
  BORROW: GUSD, Amount 157785, Stable: false
  REPAY: GUSD, Amount: 157785
  E2E: Collateral AAVE, TestAsset USDP
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: USDP, Amount: 1566469515793503508550
  WITHDRAW: USDP, Amount: 783234757896751754275
  WITHDRAW: USDP, Amount: 783234757896751754274
  BORROW: USDP, Amount 1566469515793503508550, Stable: false
  REPAY: USDP, Amount: 1566469515793503508550
  E2E: Collateral AAVE, TestAsset FRAX
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: FRAX, Amount: 1570291897630064274444
  WITHDRAW: FRAX, Amount: 785145948815032137222
  WITHDRAW: FRAX, Amount: 785145948815032137222
  BORROW: FRAX, Amount 1570291897630064274444, Stable: false
  REPAY: FRAX, Amount: 1570291897630064274444
  E2E: Collateral AAVE, TestAsset stETH
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: stETH, Amount: 1000000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  WITHDRAW: stETH, Amount: 499999999999999999
  E2E: Collateral AAVE, TestAsset LUSD
  SUPPLY: AAVE, Amount: 2495234725483008823898
  SUPPLY: LUSD, Amount: 1587000594847908270175
  WITHDRAW: LUSD, Amount: 793500297423954135087
  WITHDRAW: LUSD, Amount: 793500297423954135087
  BORROW: LUSD, Amount 1587000594847908270175, Stable: false
  REPAY: LUSD, Amount: 1587000594847908270175
  BORROW: LUSD, Amount 1587000594847908270175, Stable: true
  REPAY: LUSD, Amount: 1587000594847908270175

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

@sakulstra sakulstra merged commit 24c7c4e into bgd-labs:main Oct 10, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants