Skip to content

Commit

Permalink
Increase MaticX supplyCap (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rozengarden authored Feb 20, 2024
1 parent d92dec6 commit 76cbbd6
Show file tree
Hide file tree
Showing 6 changed files with 202 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Reserve changes

### Reserves altered

#### MaticX ([0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6](https://polygonscan.com/address/0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6))

| description | value before | value after |
| --- | --- | --- |
| supplyCap | 62,000,000 MaticX | 75,000,000 MaticX |


## Raw diff

```json
{
"reserves": {
"0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6": {
"supplyCap": {
"from": 62000000,
"to": 75000000
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {AaveV3PolygonAssets} from 'aave-address-book/AaveV3Polygon.sol';
import {AaveV3PayloadPolygon} from 'aave-helpers/v3-config-engine/AaveV3PayloadPolygon.sol';
import {EngineFlags} from 'aave-helpers/v3-config-engine/EngineFlags.sol';
import {IAaveV3ConfigEngine} from 'aave-helpers/v3-config-engine/IAaveV3ConfigEngine.sol';

/**
* @title MaticX Supply Cap Increase in Polygon V3
* @author Aave Chan Initiative (ACI)
* - Snapshot: https://snapshot.org/#/aave.eth/proposal/0x73b2f1d14eb6710deabe84639ea8b06929738ef1973fee21c26945d17bf57a5b
* - Discussion: https://governance.aave.com/t/arfc-maticx-supply-cap-increase-in-polygon-v3/16449
*/
contract AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206 is AaveV3PayloadPolygon {
function capsUpdates() public pure override returns (IAaveV3ConfigEngine.CapsUpdate[] memory) {
IAaveV3ConfigEngine.CapsUpdate[] memory capsUpdate = new IAaveV3ConfigEngine.CapsUpdate[](1);

capsUpdate[0] = IAaveV3ConfigEngine.CapsUpdate({
asset: AaveV3PolygonAssets.MaticX_UNDERLYING,
supplyCap: 75_000_000,
borrowCap: EngineFlags.KEEP_CURRENT
});

return capsUpdate;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {AaveV3Polygon} from 'aave-address-book/AaveV3Polygon.sol';

import 'forge-std/Test.sol';
import {ProtocolV3TestBase, ReserveConfig} from 'aave-helpers/ProtocolV3TestBase.sol';
import {AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206} from './AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206.sol';

/**
* @dev Test for AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206
* command: make test-contract filter=AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206
*/
contract AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206_Test is ProtocolV3TestBase {
AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206 internal proposal;

function setUp() public {
vm.createSelectFork(vm.rpcUrl('polygon'), 53201815);
proposal = new AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206();
}

/**
* @dev executes the generic test suite including e2e and config snapshots
*/
function test_defaultProposalExecution() public {
defaultTest(
'AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206',
AaveV3Polygon.POOL,
address(proposal)
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: "MaticX Supply Cap Increase in Polygon V3"
author: "Aave Chan Initiative (ACI)"
discussions: "https://governance.aave.com/t/arfc-maticx-supply-cap-increase-in-polygon-v3/16449"
---

## Simple Summary

This proposal aims to increase the MaticX Supply Cap on Polygon V3 to match market demand.

## Motivation

Increasing the supply cap of Polygon MaticX in the Aave market is a strategic move to accommodate growing demand, and follow a previous DAO decision to maintain aggressive supply caps for correlated assets.

Deposits of MaticX have been over 95% of the supply cap for some time. Increasing the Supply Cap will enable users to continue depositing MaticX and enter the recursive MaticX/wMATIC yield strategy.

The DAO has previously voted to allow assets with correlated borrow supply caps to be up to 75% of cumulative supply. Since this exceeds the supply cap increase allowable by risk stewards, this proposal will increase supply caps through the typical ARFC process. Current circulating supply is over 100M, so this proposal will increase the supply cap to 75M.

## Specification

Increase the supply cap for MaticX on Polygon V3 to the following.

| Parameter | Current Value | Proposed Value |
| --------- | ------------- | -------------- |
| SupplyCap | 62M | 75M |

Useful Links

- [Previous ARFC MaticX Supply Cap Increase ](https://governance-v2.aave.com/governance/proposal/278/)
- [MaticX in Polygon V3 Market](https://app.aave.com/reserve-overview/?underlyingAsset=0xfa68fb4628dff1028cfec22b4162fccd0d45efb6&marketName=proto_polygon_v3)

## References

- Implementation: [AaveV3Polygon](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20240206_AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3/AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206.sol)
- Tests: [AaveV3Polygon](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20240206_AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3/AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206.t.sol)
- [Snapshot](https://snapshot.org/#/aave.eth/proposal/0x73b2f1d14eb6710deabe84639ea8b06929738ef1973fee21c26945d17bf57a5b)
- [Discussion](https://governance.aave.com/t/arfc-maticx-supply-cap-increase-in-polygon-v3/16449)

## Copyright

Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {GovV3Helpers, IPayloadsControllerCore, PayloadsControllerUtils} from 'aave-helpers/GovV3Helpers.sol';
import {EthereumScript, PolygonScript} from 'aave-helpers/ScriptUtils.sol';
import {AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206} from './AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206.sol';

/**
* @dev Deploy Polygon
* deploy-command: make deploy-ledger contract=src/20240206_AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3/MaticXSupplyCapIncreaseInPolygonV3_20240206.s.sol:DeployPolygon chain=polygon
* verify-command: npx catapulta-verify -b broadcast/MaticXSupplyCapIncreaseInPolygonV3_20240206.s.sol/137/run-latest.json
*/
contract DeployPolygon is PolygonScript {
function run() external broadcast {
// deploy payloads
address payload0 = GovV3Helpers.deployDeterministic(
type(AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206).creationCode
);

// compose action
IPayloadsControllerCore.ExecutionAction[]
memory actions = new IPayloadsControllerCore.ExecutionAction[](1);
actions[0] = GovV3Helpers.buildAction(payload0);

// register action at payloadsController
GovV3Helpers.createPayload(actions);
}
}

/**
* @dev Create Proposal
* command: make deploy-ledger contract=src/20240206_AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3/MaticXSupplyCapIncreaseInPolygonV3_20240206.s.sol:CreateProposal chain=mainnet
*/
contract CreateProposal is EthereumScript {
function run() external {
// create payloads
PayloadsControllerUtils.Payload[] memory payloads = new PayloadsControllerUtils.Payload[](1);

// compose actions for validation
IPayloadsControllerCore.ExecutionAction[]
memory actionsPolygon = new IPayloadsControllerCore.ExecutionAction[](1);
actionsPolygon[0] = GovV3Helpers.buildAction(
type(AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206).creationCode
);
payloads[0] = GovV3Helpers.buildPolygonPayload(vm, actionsPolygon);

// create proposal
vm.startBroadcast();
GovV3Helpers.createProposal(
vm,
payloads,
GovV3Helpers.ipfsHashFile(
vm,
'src/20240206_AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3/MaticXSupplyCapIncreaseInPolygonV3.md'
)
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import {ConfigFile} from '../../generator/types';
export const config: ConfigFile = {
rootOptions: {
pools: ['AaveV3Polygon'],
title: 'MaticX Supply Cap Increase in Polygon V3',
shortName: 'MaticXSupplyCapIncreaseInPolygonV3',
date: '20240206',
author: 'Aave Chan Initiative (ACI)',
discussion: 'https://governance.aave.com/t/arfc-maticx-supply-cap-increase-in-polygon-v3/16449',
snapshot:
'https://snapshot.org/#/aave.eth/proposal/0x73b2f1d14eb6710deabe84639ea8b06929738ef1973fee21c26945d17bf57a5b',
},
poolOptions: {
AaveV3Polygon: {
configs: {CAPS_UPDATE: [{asset: 'MaticX', supplyCap: '75000000', borrowCap: ''}]},
cache: {blockNumber: 53201815},
},
},
};

1 comment on commit 76cbbd6

@github-actions
Copy link

Choose a reason for hiding this comment

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

Foundry report

forge 0.2.0 (a436a0d 2024-02-20T00:16:37.237839814Z)
Build log
Compiling 292 files with 0.8.19
Solc 0.8.19 finished in 143.67s
Compiler run successful with warnings:
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 (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> lib/aave-helpers/src/GovV3Helpers.sol:847:5:
    |
847 |     address votingPortal
    |     ^^^^^^^^^^^^^^^^^^^^

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/20240115_AaveV1Ethereum_AaveV1Deprecation/AaveV1Ethereum_AaveV1Deprecation_20240115.t.sol:217:3:
    |
217 |   function _getUsers() internal returns (V1User[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract                                                                                                 | Size (kB) | Margin (kB) |
|----------------------------------------------------------------------------------------------------------|-----------|-------------|
| AaveGovernanceV2                                                                                         | 0.086     | 24.49       |
| AaveSafetyModule                                                                                         | 0.086     | 24.49       |
| AaveV1Ethereum_AaveV1Deprecation_20240115                                                                | 1.272     | 23.304      |
| AaveV2Avalanche                                                                                          | 0.086     | 24.49       |
| AaveV2AvalancheAssets                                                                                    | 0.086     | 24.49       |
| AaveV2Avalanche_ChaosLabsRiskParameterUpdatesWBTCEOnV2AndV3Avalanche_20231221                            | 0.377     | 24.199      |
| AaveV2Avalanche_StablecoinIRCurvesUpdates_20231221                                                       | 1.899     | 22.677      |
| AaveV2Ethereum                                                                                           | 0.086     | 24.49       |
| AaveV2EthereumAMM                                                                                        | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets                                                                                  | 0.086     | 24.49       |
| AaveV2EthereumAMM_ARFCDeprecateAaveV2AMMMarketStep2_20240205                                             | 2.935     | 21.641      |
| AaveV2EthereumAssets                                                                                     | 0.086     | 24.49       |
| AaveV2Ethereum_AMPLInterestRateUpdatesOnV2Ethereum_20240121                                              | 1.643     | 22.933      |
| AaveV2Ethereum_ChaosLabsV2EthereumLTReductions_20240201                                                  | 0.967     | 23.609      |
| AaveV2Ethereum_MigrationOfRemainingGovV2Permissions_20240130                                             | 1.018     | 23.558      |
| AaveV2Ethereum_MigrationOfRemainingGovV2Permissions_Part2_20240130                                       | 1.487     | 23.089      |
| AaveV2Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 2.88      | 21.696      |
| AaveV2Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229                         | 3.456     | 21.12       |
| AaveV2Ethereum_V2DeprecationPlan20240102_20240103                                                        | 0.968     | 23.608      |
| AaveV2Polygon                                                                                            | 0.086     | 24.49       |
| AaveV2PolygonAssets                                                                                      | 0.086     | 24.49       |
| AaveV2Polygon_ReserveFactorUpdatesFebruary152024_20240208                                                | 0.872     | 23.704      |
| AaveV2Polygon_ReserveFactorUpdatesJan152024_20240108                                                     | 1.175     | 23.401      |
| AaveV2Polygon_ReserveFactorUpdatesJan312024_20240125                                                     | 0.872     | 23.704      |
| AaveV2Polygon_ReserveFactorUpdates_20240102                                                              | 1.036     | 23.54       |
| AaveV2Polygon_StablecoinIRCurvesUpdates_20231221                                                         | 1.899     | 22.677      |
| AaveV3Arbitrum                                                                                           | 0.086     | 24.49       |
| AaveV3ArbitrumAssets                                                                                     | 0.086     | 24.49       |
| AaveV3ArbitrumEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Arbitrum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.403     | 21.173      |
| AaveV3Arbitrum_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Arbitrum_StablecoinIRCurvesUpdates_20231221                                                        | 4.919     | 19.657      |
| AaveV3Arbitrum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.933     | 20.643      |
| AaveV3Avalanche                                                                                          | 0.086     | 24.49       |
| AaveV3AvalancheAssets                                                                                    | 0.086     | 24.49       |
| AaveV3AvalancheEModes                                                                                    | 0.086     | 24.49       |
| AaveV3Avalanche_ChaosLabsRiskParameterUpdatesWBTCEOnV2AndV3Avalanche_20231221                            | 3.554     | 21.022      |
| AaveV3Avalanche_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                      | 3.418     | 21.158      |
| AaveV3Avalanche_Patch_20240104                                                                           | 0.52      | 24.056      |
| AaveV3Avalanche_StablecoinIRCurvesUpdates_20231221                                                       | 4.669     | 19.907      |
| AaveV3BNB                                                                                                | 0.086     | 24.49       |
| AaveV3BNBAssets                                                                                          | 0.086     | 24.49       |
| AaveV3BNBEModes                                                                                          | 0.086     | 24.49       |
| AaveV3BNB_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                            | 3.421     | 21.155      |
| AaveV3BNB_OnboardFdUSDToAaveV3OnBSC_20240201                                                             | 5.055     | 19.521      |
| AaveV3BNB_SetAaveChanInitiativeAsEmissionManagerForFdUSDOnBNBChainAaveV3_20240208                        | 0.253     | 24.323      |
| AaveV3Base                                                                                               | 0.086     | 24.49       |
| AaveV3BaseAssets                                                                                         | 0.086     | 24.49       |
| AaveV3BaseEModes                                                                                         | 0.086     | 24.49       |
| AaveV3Base_Patch_20240104                                                                                | 0.52      | 24.056      |
| AaveV3Base_StablecoinIRCurvesUpdates_20231221                                                            | 3.659     | 20.917      |
| AaveV3Ethereum                                                                                           | 0.086     | 24.49       |
| AaveV3EthereumAssets                                                                                     | 0.086     | 24.49       |
| AaveV3EthereumEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Ethereum_AddPYUSDToAaveV3EthereumMarket_20240125                                                   | 5.034     | 19.542      |
| AaveV3Ethereum_ChaosLabsRiskParameterUpdatesIncreaseDebtCeilingForSNXAndMKROnV3Ethereum01312024_20240211 | 3.574     | 21.002      |
| AaveV3Ethereum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.417     | 21.159      |
| AaveV3Ethereum_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Ethereum_RegisterADIScrollAdapter_20240122                                                         | 0.671     | 23.905      |
| AaveV3Ethereum_RequestForBountyPayoutJanuary2024_20240125                                                | 0.822     | 23.754      |
| AaveV3Ethereum_RetroactiveBugBountyPreImmunefi_20240205                                                  | 0.823     | 23.753      |
| AaveV3Ethereum_SecurityBudgetRequestDecember2023_20240206                                                | 0.555     | 24.021      |
| AaveV3Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 4.668     | 19.908      |
| AaveV3Ethereum_StkGHOActivation_20240119                                                                 | 1.156     | 23.42       |
| AaveV3Ethereum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.946     | 20.63       |
| AaveV3Fantom                                                                                             | 0.086     | 24.49       |
| AaveV3FantomAssets                                                                                       | 0.086     | 24.49       |
| AaveV3FantomEModes                                                                                       | 0.086     | 24.49       |
| AaveV3GenericPatch_20240104                                                                              | 0.52      | 24.056      |
| AaveV3Gnosis                                                                                             | 0.086     | 24.49       |
| AaveV3GnosisAssets                                                                                       | 0.086     | 24.49       |
| AaveV3GnosisEModes                                                                                       | 0.086     | 24.49       |
| AaveV3Gnosis_Patch_20240104                                                                              | 0.52      | 24.056      |
| AaveV3Gnosis_StablecoinIRCurvesUpdates_20231221                                                          | 3.911     | 20.665      |
| AaveV3Harmony                                                                                            | 0.086     | 24.49       |
| AaveV3HarmonyAssets                                                                                      | 0.086     | 24.49       |
| AaveV3HarmonyEModes                                                                                      | 0.086     | 24.49       |
| AaveV3Metis                                                                                              | 0.086     | 24.49       |
| AaveV3MetisAssets                                                                                        | 0.086     | 24.49       |
| AaveV3MetisEModes                                                                                        | 0.086     | 24.49       |
| AaveV3Metis_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                          | 3.411     | 21.165      |
| AaveV3Metis_StablecoinIRCurvesUpdates_20231221                                                           | 3.91      | 20.666      |
| AaveV3Optimism                                                                                           | 0.086     | 24.49       |
| AaveV3OptimismAssets                                                                                     | 0.086     | 24.49       |
| AaveV3OptimismEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Optimism_GauntletRecommendationForMAIMIMATICDeprecationPhase2_20240122                             | 3.416     | 21.16       |
| AaveV3Optimism_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.403     | 21.173      |
| AaveV3Optimism_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Optimism_StablecoinIRCurvesUpdates_20231221                                                        | 4.919     | 19.657      |
| AaveV3Optimism_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.933     | 20.643      |
| AaveV3Polygon                                                                                            | 0.086     | 24.49       |
| AaveV3PolygonAssets                                                                                      | 0.086     | 24.49       |
| AaveV3PolygonEModes                                                                                      | 0.086     | 24.49       |
| AaveV3Polygon_FreezeAndSetLTVTo0ForDPIBALCRVAndSUSHIOnAaveV3Polygon20240119_20240130                     | 4.396     | 20.18       |
| AaveV3Polygon_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                        | 3.402     | 21.174      |
| AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206                                                | 3.335     | 21.241      |
| AaveV3Polygon_Patch_20240104                                                                             | 0.52      | 24.056      |
| AaveV3Polygon_StablecoinIRCurvesUpdates_20231221                                                         | 4.416     | 20.16       |
| AaveV3Polygon_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229                          | 3.459     | 21.117      |
| AaveV3Scroll                                                                                             | 0.086     | 24.49       |
| AaveV3ScrollAssets                                                                                       | 0.086     | 24.49       |
| AaveV3ScrollEModes                                                                                       | 0.086     | 24.49       |
| AaveV3Scroll_AaveV3ScrollActivation_20240122                                                             | 6.641     | 17.935      |
| Address                                                                                                  | 0.086     | 24.49       |
| ChainHelpers                                                                                             | 0.086     | 24.49       |
| ChainIds                                                                                                 | 0.086     | 24.49       |
| ConfiguratorInputTypes                                                                                   | 0.086     | 24.49       |
| Create2Utils                                                                                             | 0.164     | 24.412      |
| DataTypes                                                                                                | 0.086     | 24.49       |
| EngineFlags                                                                                              | 0.086     | 24.49       |
| EnumerableSet                                                                                            | 0.086     | 24.49       |
| EnvelopeUtils                                                                                            | 0.086     | 24.49       |
| Errors                                                                                                   | 4.714     | 19.862      |
| Gho_GHOStabilityModule_20240119                                                                          | 4.535     | 20.041      |
| GovHelpers                                                                                               | 0.086     | 24.49       |
| GovV3Helpers                                                                                             | 2.622     | 21.954      |
| GovV3StorageHelpers                                                                                      | 0.086     | 24.49       |
| GovernanceV3Arbitrum                                                                                     | 0.086     | 24.49       |
| GovernanceV3Avalanche                                                                                    | 0.086     | 24.49       |
| GovernanceV3BNB                                                                                          | 0.086     | 24.49       |
| GovernanceV3Base                                                                                         | 0.086     | 24.49       |
| GovernanceV3Ethereum                                                                                     | 0.086     | 24.49       |
| GovernanceV3Gnosis                                                                                       | 0.086     | 24.49       |
| GovernanceV3Metis                                                                                        | 0.086     | 24.49       |
| GovernanceV3Optimism                                                                                     | 0.086     | 24.49       |
| GovernanceV3Polygon                                                                                      | 0.086     | 24.49       |
| GovernanceV3PolygonZkEvm                                                                                 | 0.086     | 24.49       |
| GovernanceV3Scroll                                                                                       | 0.086     | 24.49       |
| IpfsUtils                                                                                                | 0.086     | 24.49       |
| MainnetPayload                                                                                           | 2.624     | 21.952      |
| MiscEthereum                                                                                             | 0.086     | 24.49       |
| MiscPolygon                                                                                              | 0.086     | 24.49       |
| MiscScroll                                                                                               | 0.086     | 24.49       |
| MockERC20                                                                                                | 3.701     | 20.875      |
| MockERC721                                                                                               | 3.962     | 20.614      |
| MockExecutor                                                                                             | 0.437     | 24.139      |
| ParaswapClaim                                                                                            | 0.063     | 24.513      |
| ParaswapClaimer                                                                                          | 0.2       | 24.376      |
| PayloadsControllerUtils                                                                                  | 0.086     | 24.49       |
| PayloadsToDeploy                                                                                         | 0.086     | 24.49       |
| PolygonPayload                                                                                           | 1.634     | 22.942      |
| PoolAddresses                                                                                            | 0.357     | 24.219      |
| ProxyHelpers                                                                                             | 0.086     | 24.49       |
| ReserveConfiguration                                                                                     | 0.171     | 24.405      |
| RewardsDataTypes                                                                                         | 0.086     | 24.49       |
| SafeERC20                                                                                                | 0.086     | 24.49       |
| StdStyle                                                                                                 | 0.086     | 24.49       |
| StorageHelpers                                                                                           | 0.086     | 24.49       |
| TransactionUtils                                                                                         | 0.086     | 24.49       |
| WadRayMath                                                                                               | 0.086     | 24.49       |
| console                                                                                                  | 0.086     | 24.49       |
| console2                                                                                                 | 0.086     | 24.49       |
| safeconsole                                                                                              | 0.086     | 24.49       |
| stdError                                                                                                 | 0.591     | 23.985      |
| stdJson                                                                                                  | 0.086     | 24.49       |
| stdMath                                                                                                  | 0.086     | 24.49       |
| stdStorage                                                                                               | 0.086     | 24.49       |
| stdStorageSafe                                                                                           | 0.086     | 24.49       |
Test success 🌈
No files changed, compilation skipped

Ran 1 test for src/20240206_AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3/AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206.t.sol:AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206_Test
[PASS] test_defaultProposalExecution() (gas: 128901048)
Logs:
  0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063
  0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39
  0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
  0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6
  0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619
  0xc2132D05D31c914a87C6611C10748AEb04B58e8F
  0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
  0x172370d5Cd63279eFa6d502DAB29171933a610AF
  0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a
  0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7
  0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3
  0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369
  0xE111178A87A3BFf0c8d18DECBa5798827539Ae99
  0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c
  0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4
  0xa3Fa99A148fA48D14Ed51d610c367C61876997F1
  0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6
  0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD
  0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359
  E2E: Collateral DAI, TestAsset DAI
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: DAI, Amount: 1000175890932179333057
  WITHDRAW: DAI, Amount: 500087945466089666528
  WITHDRAW: DAI, Amount: 500087945466089666529
  BORROW: DAI, Amount 1000175890932179333057, Stable: false
  REPAY: DAI, Amount: 1000175890932179333057
  E2E: Collateral DAI, TestAsset LINK
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: LINK, Amount: 53369065075172967258
  WITHDRAW: LINK, Amount: 26684532537586483629
  WITHDRAW: LINK, Amount: 26684532537586483630
  BORROW: LINK, Amount 53369065075172967258, Stable: false
  REPAY: LINK, Amount: 53369065075172967258
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: USDC, Amount: 999915727
  WITHDRAW: USDC, Amount: 499957863
  WITHDRAW: USDC, Amount: 499957865
  BORROW: USDC, Amount 999915727, Stable: false
  REPAY: USDC, Amount: 999915727
  E2E: Collateral DAI, TestAsset WBTC
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: WBTC, Amount: 2313769
  WITHDRAW: WBTC, Amount: 1156884
  WITHDRAW: WBTC, Amount: 1156886
  BORROW: WBTC, Amount 2313769, Stable: false
  REPAY: WBTC, Amount: 2313769
  E2E: Collateral DAI, TestAsset WETH
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: WETH, Amount: 424379696928390679
  WITHDRAW: WETH, Amount: 212189848464195339
  WITHDRAW: WETH, Amount: 212189848464195340
  BORROW: WETH, Amount 424379696928390679, Stable: false
  REPAY: WETH, Amount: 424379696928390679
  E2E: Collateral DAI, TestAsset USDT
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: USDT, Amount: 1000531562
  WITHDRAW: USDT, Amount: 500265781
  WITHDRAW: USDT, Amount: 500265782
  BORROW: USDT, Amount 1000531562, Stable: false
  REPAY: USDT, Amount: 1000531562
  E2E: Collateral DAI, TestAsset AAVE
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: AAVE, Amount: 11849703105688686969
  WITHDRAW: AAVE, Amount: 5924851552844343484
  WITHDRAW: AAVE, Amount: 5924851552844343485
  E2E: Collateral DAI, TestAsset WMATIC
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: WMATIC, Amount: 1253446979192780145399
  WITHDRAW: WMATIC, Amount: 626723489596390072699
  WITHDRAW: WMATIC, Amount: 626723489596390072700
  BORROW: WMATIC, Amount 1253446979192780145399, Stable: false
  REPAY: WMATIC, Amount: 1253446979192780145399
  E2E: Collateral DAI, TestAsset CRV
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: CRV, Amount: 2120013228034537644301
  WITHDRAW: CRV, Amount: 1060006614017268822150
  WITHDRAW: CRV, Amount: 1060006614017268822151
  BORROW: CRV, Amount 2120013228034537644301, Stable: false
  REPAY: CRV, Amount: 2120013228034537644301
  E2E: Collateral DAI, TestAsset SUSHI
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: SUSHI, Amount: 939055310357780073246
  WITHDRAW: SUSHI, Amount: 469527655178890036623
  WITHDRAW: SUSHI, Amount: 469527655178890036622
  BORROW: SUSHI, Amount 939055310357780073246, Stable: false
  REPAY: SUSHI, Amount: 939055310357780073246
  E2E: Collateral DAI, TestAsset GHST
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: GHST, Amount: 1106791733394679109809
  WITHDRAW: GHST, Amount: 553395866697339554904
  WITHDRAW: GHST, Amount: 553395866697339554905
  E2E: Collateral DAI, TestAsset BAL
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: BAL, Amount: 278048015733691749830
  WITHDRAW: BAL, Amount: 139024007866845874915
  WITHDRAW: BAL, Amount: 139024007866845874914
  BORROW: BAL, Amount 278048015733691749830, Stable: false
  REPAY: BAL, Amount: 278048015733691749830
  E2E: Collateral DAI, TestAsset DPI
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: DPI, Amount: 10525707108882991724
  WITHDRAW: DPI, Amount: 5262853554441495862
  WITHDRAW: DPI, Amount: 5262853554441495861
  BORROW: DPI, Amount 10525707108882991724, Stable: false
  REPAY: DPI, Amount: 10525707108882991724
  E2E: Collateral DAI, TestAsset EURS
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: EURS, Amount: 93024
  WITHDRAW: EURS, Amount: 46512
  WITHDRAW: EURS, Amount: 46513
  BORROW: EURS, Amount 93024, Stable: false
  REPAY: EURS, Amount: 93024
  E2E: TestAsset jEUR SKIPPED
  E2E: Collateral DAI, TestAsset agEUR
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: agEUR, Amount: 930241211546153917710
  WITHDRAW: agEUR, Amount: 465120605773076958855
  WITHDRAW: agEUR, Amount: 465120605773076958854
  E2E: TestAsset miMATIC SKIPPED
  E2E: Collateral DAI, TestAsset stMATIC
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: stMATIC, Amount: 1134128205232021479299
  WITHDRAW: stMATIC, Amount: 567064102616010739649
  WITHDRAW: stMATIC, Amount: 567064102616010739649
  E2E: Collateral DAI, TestAsset MaticX
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: MaticX, Amount: 1140923375529053300003
  WITHDRAW: MaticX, Amount: 570461687764526650001
  WITHDRAW: MaticX, Amount: 570461687764526650001
  BORROW: MaticX, Amount 1140923375529053300003, Stable: false
  REPAY: MaticX, Amount: 1140923375529053300003
  E2E: Collateral DAI, TestAsset wstETH
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: wstETH, Amount: 367087159368530375
  WITHDRAW: wstETH, Amount: 183543579684265187
  WITHDRAW: wstETH, Amount: 183543579684265189
  BORROW: wstETH, Amount 367087159368530375, Stable: false
  REPAY: wstETH, Amount: 367087159368530375
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100017589093217933305751
  SUPPLY: USDC, Amount: 999915727
  WITHDRAW: USDC, Amount: 499957863
  WITHDRAW: USDC, Amount: 499957864
  BORROW: USDC, Amount 999915727, Stable: false
  REPAY: USDC, Amount: 999915727

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

Ran 1 test suite in 122.79s: 1 tests passed, 0 failed, 0 skipped (1 total tests)

Please sign in to comment.