Skip to content

Commit

Permalink
Centrifuge AIP (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Zeller authored Mar 11, 2024
1 parent 73cddc0 commit ea76865
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IProposalGenericExecutor} from 'aave-helpers/interfaces/IProposalGenericExecutor.sol';

/**
* @title Activation of A-C Prime Foundation
* @author @Khan
* - Snapshot: https://snapshot.org/#/aave.eth/proposal/0x71db494e4b49e7533c5ccaa566686b2d045b0761cb3296a2d77af4b500566eb0
* - Discussion: https://governance.aave.com/t/arfc-aave-treasury-rwa-allocation/14790
*/
contract AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308 is IProposalGenericExecutor {
event Decision(string agreed);

function execute() external {
// This AIP payload serves as a DAO resolution providing binding approval from the Aave DAO to approve and ratify the following documents:
// 1. The Articles of Association
// 2. The Memorandum of Association

emit Decision(
'The Aave DAO approves and ratifies the following documents: \n\n 1) The articles of Association: https://cloudflare-ipfs.com/ipfs/QmXvgvLb87tFr8JmJjx7pAThAU1gAsHFLqdMa12zt2f6R6) \n\n 2) The Memorandum Of Association: https://cloudflare-ipfs.com/ipfs/QmaB3Z4oN4Bcc4SEZ8WH2duKLpPqRYKqYC5TMqpQaddfrB \n\n'
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

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

function setUp() public {
vm.createSelectFork(vm.rpcUrl('mainnet'), 19390425);
proposal = new AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308();
}

/**
* @dev executes the generic test suite including e2e and config snapshots
*/
function test_defaultProposalExecution() public {
defaultTest(
'AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308',
AaveV3Ethereum.POOL,
address(proposal)
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: "Activation of A-C Prime Foundation"
author: "@Khan"
discussions: "https://governance.aave.com/t/arfc-aave-treasury-rwa-allocation/14790"
snapshot: "https://snapshot.org/#/aave.eth/proposal/0x71db494e4b49e7533c5ccaa566686b2d045b0761cb3296a2d77af4b500566eb0"
---

## Simple Summary

Following [AIP-331](https://governance-v2.aave.com/governance/proposal/331/) giving mandate to Centrifuge to create a Association to represent the Aave DAO off-chain, this AIP proposes the activation of the A-C Prime Foundation.

## Motivation

The A-C Prime Foundation is a Cayman island foundation company created by Centrifuge on behalf of the Aave DAO. It is the legal entity that will represent the Aave DAO off-chain. It will be the entity that will be able to sign contracts, hold assets, and enter into agreements on behalf of the Aave DAO.

This AIP proposes the activation of the A-C Prime Foundation. and the pre-approval of a investment in the Anemoy Liquid Treasury Fund 1 with an initial investment of the equivalent of $1m in shares.

## Specification

This AIP does not require any on-chain changes. It is a proposal to activate the A-C Prime Foundation.

To explicitly convey the Aave DAO approval via its governance, an event is created on-chain casting the following message:

```
'The Aave DAO approves and ratify the following documents :

the articles of Association : https://centrifuge.mypinata.cloud/ipfs/QmSn1Jx4PCPCvJDwx5JHqAcrCYFtCdVGtXc2Dcmk8NFauM

The Memorandum Of association : https://centrifuge.mypinata.cloud/ipfs/QmeNnARf9CqLQ9krQn8b4UCnBaWhUhLryEBqrVqW9cuTjV'

```

## References

- Implementation: [AaveV3Ethereum](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20240308_AaveV3Ethereum_ActivationOfACPrimeFoundation/AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308.sol)
- Tests: [AaveV3Ethereum](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20240308_AaveV3Ethereum_ActivationOfACPrimeFoundation/AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308.t.sol)
- [Snapshot](https://snapshot.org/#/aave.eth/proposal/0x71db494e4b49e7533c5ccaa566686b2d045b0761cb3296a2d77af4b500566eb0)
- [Discussion](https://governance.aave.com/t/arfc-aave-treasury-rwa-allocation/14790)

## 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} from 'aave-helpers/ScriptUtils.sol';
import {AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308} from './AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308.sol';

/**
* @dev Deploy Ethereum
* deploy-command: make deploy-ledger contract=src/20240308_AaveV3Ethereum_ActivationOfACPrimeFoundation/ActivationOfACPrimeFoundation_20240308.s.sol:DeployEthereum chain=mainnet
* verify-command: npx catapulta-verify -b broadcast/ActivationOfACPrimeFoundation_20240308.s.sol/1/run-latest.json
*/
contract DeployEthereum is EthereumScript {
function run() external broadcast {
// deploy payloads
address payload0 = GovV3Helpers.deployDeterministic(
type(AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308).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/20240308_AaveV3Ethereum_ActivationOfACPrimeFoundation/ActivationOfACPrimeFoundation_20240308.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 actionsEthereum = new IPayloadsControllerCore.ExecutionAction[](1);
actionsEthereum[0] = GovV3Helpers.buildAction(
type(AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308).creationCode
);
payloads[0] = GovV3Helpers.buildMainnetPayload(vm, actionsEthereum);

// create proposal
vm.startBroadcast();
GovV3Helpers.createProposal(
vm,
payloads,
GovV3Helpers.ipfsHashFile(
vm,
'src/20240308_AaveV3Ethereum_ActivationOfACPrimeFoundation/ActivationOfACPrimeFoundation.md'
)
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {ConfigFile} from '../../generator/types';
export const config: ConfigFile = {
rootOptions: {
pools: ['AaveV3Ethereum'],
title: 'Activation of A-C Prime Foundation',
shortName: 'ActivationOfACPrimeFoundation',
date: '20240308',
author: '@Khan',
discussion: 'https://governance.aave.com/t/arfc-aave-treasury-rwa-allocation/14790',
snapshot:
'https://snapshot.org/#/aave.eth/proposal/0x71db494e4b49e7533c5ccaa566686b2d045b0761cb3296a2d77af4b500566eb0',
},
poolOptions: {AaveV3Ethereum: {configs: {OTHERS: {}}, cache: {blockNumber: 19390425}}},
};

1 comment on commit ea76865

@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 (9f6bb3b 2024-03-11T00:16:01.716842530Z)
Build log
Compiling 372 files with 0.8.19
Solc 0.8.19 finished in 203.10s
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 (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/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).

| Contract                                                                                                 | Size (kB) | Margin (kB) |
|----------------------------------------------------------------------------------------------------------|-----------|-------------|
| AaveGovernanceV2                                                                                         | 0.086     | 24.49       |
| AaveSafetyModule                                                                                         | 0.086     | 24.49       |
| AaveSwapper                                                                                              | 5.613     | 18.963      |
| AaveV1Ethereum_AaveV1Deprecation_20240218                                                                | 0.338     | 24.238      |
| 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_EthereumV2ReserveFactorAdjustment_20240304                                                | 4.945     | 19.631      |
| 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_ReserveFactorUpdatesFebruary292024_20240229                                                | 0.724     | 23.852      |
| 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_AaveProtocolEmbassy_20240220                                                              | 0.476     | 24.1        |
| AaveV3Arbitrum_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.364     | 24.212      |
| AaveV3Arbitrum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.403     | 21.173      |
| AaveV3Arbitrum_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Arbitrum_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.253     | 24.323      |
| AaveV3Arbitrum_StablecoinIRCurvesUpdates_20231221                                                        | 4.919     | 19.657      |
| AaveV3Arbitrum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.933     | 20.643      |
| AaveV3Arbitrum_UpdateWETHIROnV3ArbitrumAndOptimism_20240216                                              | 3.663     | 20.913      |
| 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_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                     | 0.253     | 24.323      |
| AaveV3Base_StablecoinIRCurvesUpdates_20231221                                                            | 3.659     | 20.917      |
| AaveV3Ethereum                                                                                           | 0.086     | 24.49       |
| AaveV3EthereumAssets                                                                                     | 0.086     | 24.49       |
| AaveV3EthereumEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308                                                    | 0.543     | 24.033      |
| AaveV3Ethereum_AddPYUSDToAaveV3EthereumMarket_20240125                                                   | 5.034     | 19.542      |
| AaveV3Ethereum_AmendSafetyModuleEmissions_20240229                                                       | 2.44      | 22.136      |
| AaveV3Ethereum_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 1.008     | 23.568      |
| AaveV3Ethereum_ChaosLabsRiskParameterUpdatesIncreaseDebtCeilingForSNXAndMKROnV3Ethereum01312024_20240211 | 3.574     | 21.002      |
| AaveV3Ethereum_CutGauntletServiceProviderStream_20240227                                                 | 0.52      | 24.056      |
| AaveV3Ethereum_FundingUpdate_20240224                                                                    | 10.581    | 13.995      |
| AaveV3Ethereum_GHOBorrowRateIncrease20240229_20240229                                                    | 0.326     | 24.25       |
| AaveV3Ethereum_GHOBorrowRateIncrease_20240308                                                            | 0.274     | 24.302      |
| AaveV3Ethereum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.417     | 21.159      |
| AaveV3Ethereum_MeritApprovals_20240306                                                                   | 0.575     | 24.001      |
| AaveV3Ethereum_OrbitProgram_20240220                                                                     | 2.349     | 22.227      |
| 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_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.253     | 24.323      |
| AaveV3Ethereum_StableRateBugBounty_20240207                                                              | 0.809     | 23.767      |
| AaveV3Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 4.668     | 19.908      |
| AaveV3Ethereum_StkGHOActivation_20240119                                                                 | 1.156     | 23.42       |
| AaveV3Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart2_20240209                         | 3.139     | 21.437      |
| 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_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.351     | 24.225      |
| AaveV3Optimism_GauntletRecommendationForMAIMIMATICDeprecationPhase2_20240122                             | 3.416     | 21.16       |
| AaveV3Optimism_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.403     | 21.173      |
| AaveV3Optimism_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Optimism_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.253     | 24.323      |
| AaveV3Optimism_StablecoinIRCurvesUpdates_20231221                                                        | 4.919     | 19.657      |
| AaveV3Optimism_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.933     | 20.643      |
| AaveV3Optimism_UpdateWETHIROnV3ArbitrumAndOptimism_20240216                                              | 3.65      | 20.926      |
| AaveV3Polygon                                                                                            | 0.086     | 24.49       |
| AaveV3PolygonAssets                                                                                      | 0.086     | 24.49       |
| AaveV3PolygonEModes                                                                                      | 0.086     | 24.49       |
| AaveV3Polygon_FreezeAndSetLTVTo0ForDPIBALCRVAndSUSHIOnAaveV3Polygon20240119_20240130                     | 4.396     | 20.18       |
| AaveV3Polygon_FundingUpdate_20240224                                                                     | 2.943     | 21.633      |
| AaveV3Polygon_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                        | 3.402     | 21.174      |
| AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206                                                | 3.335     | 21.241      |
| AaveV3Polygon_Patch_20240104                                                                             | 0.52      | 24.056      |
| AaveV3Polygon_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                  | 0.253     | 24.323      |
| 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      |
| GhoInterestRateStrategy                                                                                  | 0.712     | 23.864      |
| 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      |
| OrbitProgramData                                                                                         | 0.529     | 24.047      |
| 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/20240308_AaveV3Ethereum_ActivationOfACPrimeFoundation/AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308.t.sol:AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308_Test
[PASS] test_defaultProposalExecution() (gas: 245557600)
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: 25304935506949342707
  SUPPLY: WETH, Amount: 253049355069493427
  WITHDRAW: WETH, Amount: 126524677534746713
  WITHDRAW: WETH, Amount: 126524677534746715
  BORROW: WETH, Amount 253049355069493427, Stable: false
  REPAY: WETH, Amount: 253049355069493427
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: wstETH, Amount: 218235770709347034
  WITHDRAW: wstETH, Amount: 109117885354673517
  WITHDRAW: wstETH, Amount: 109117885354673517
  BORROW: wstETH, Amount 218235770709347034, Stable: false
  REPAY: wstETH, Amount: 218235770709347034
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: WBTC, Amount: 1476884
  WITHDRAW: WBTC, Amount: 738442
  WITHDRAW: WBTC, Amount: 738443
  BORROW: WBTC, Amount 1476884, Stable: false
  REPAY: WBTC, Amount: 1476884
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: USDC, Amount: 1000032361
  WITHDRAW: USDC, Amount: 500016180
  WITHDRAW: USDC, Amount: 500016181
  BORROW: USDC, Amount 1000032361, Stable: false
  REPAY: USDC, Amount: 1000032361
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: DAI, Amount: 1000168398353230733458
  WITHDRAW: DAI, Amount: 500084199176615366729
  WITHDRAW: DAI, Amount: 500084199176615366730
  BORROW: DAI, Amount 1000168398353230733458, Stable: false
  REPAY: DAI, Amount: 1000168398353230733458
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: LINK, Amount: 49927031643253385177
  WITHDRAW: LINK, Amount: 24963515821626692588
  WITHDRAW: LINK, Amount: 24963515821626692588
  BORROW: LINK, Amount 49927031643253385177, Stable: false
  REPAY: LINK, Amount: 49927031643253385177
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: AAVE, Amount: 7501951254895715436
  WITHDRAW: AAVE, Amount: 3750975627447857718
  WITHDRAW: AAVE, Amount: 3750975627447857718
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: cbETH, Amount: 239071498098615754
  WITHDRAW: cbETH, Amount: 119535749049307877
  WITHDRAW: cbETH, Amount: 119535749049307877
  BORROW: cbETH, Amount 239071498098615754, Stable: false
  REPAY: cbETH, Amount: 239071498098615754
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: USDT, Amount: 999520230
  WITHDRAW: USDT, Amount: 499760115
  WITHDRAW: USDT, Amount: 499760115
  BORROW: USDT, Amount 999520230, Stable: false
  REPAY: USDT, Amount: 999520230
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: rETH, Amount: 229983524447244149
  WITHDRAW: rETH, Amount: 114991762223622074
  WITHDRAW: rETH, Amount: 114991762223622075
  BORROW: rETH, Amount 229983524447244149, Stable: false
  REPAY: rETH, Amount: 229983524447244149
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: LUSD, Amount: 1002981412397421956637
  WITHDRAW: LUSD, Amount: 501490706198710978318
  WITHDRAW: LUSD, Amount: 501490706198710978319
  BORROW: LUSD, Amount 1002981412397421956637, Stable: false
  REPAY: LUSD, Amount: 1002981412397421956637
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: CRV, Amount: 1294041070275488403450
  WITHDRAW: CRV, Amount: 647020535137744201725
  WITHDRAW: CRV, Amount: 647020535137744201725
  BORROW: CRV, Amount 1294041070275488403450, Stable: false
  REPAY: CRV, Amount: 1294041070275488403450
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: MKR, Amount: 483182865729167419
  WITHDRAW: MKR, Amount: 241591432864583709
  WITHDRAW: MKR, Amount: 241591432864583710
  BORROW: MKR, Amount 483182865729167419, Stable: false
  REPAY: MKR, Amount: 483182865729167419
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: SNX, Amount: 227694127003412315264
  WITHDRAW: SNX, Amount: 113847063501706157632
  WITHDRAW: SNX, Amount: 113847063501706157633
  BORROW: SNX, Amount 227694127003412315264, Stable: false
  REPAY: SNX, Amount: 227694127003412315264
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: BAL, Amount: 172648639904228346472
  WITHDRAW: BAL, Amount: 86324319952114173236
  WITHDRAW: BAL, Amount: 86324319952114173235
  BORROW: BAL, Amount 172648639904228346472, Stable: false
  REPAY: BAL, Amount: 172648639904228346472
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: UNI, Amount: 66292729971836978852
  WITHDRAW: UNI, Amount: 33146364985918489426
  WITHDRAW: UNI, Amount: 33146364985918489425
  BORROW: UNI, Amount 66292729971836978852, Stable: false
  REPAY: UNI, Amount: 66292729971836978852
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: LDO, Amount: 285897783897349955975
  WITHDRAW: LDO, Amount: 142948891948674977987
  WITHDRAW: LDO, Amount: 142948891948674977988
  BORROW: LDO, Amount 285897783897349955975, Stable: false
  REPAY: LDO, Amount: 285897783897349955975
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: ENS, Amount: 39249548630190752806
  WITHDRAW: ENS, Amount: 19624774315095376403
  WITHDRAW: ENS, Amount: 19624774315095376403
  BORROW: ENS, Amount 39249548630190752806, Stable: false
  REPAY: ENS, Amount: 39249548630190752806
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: 1INCH, Amount: 1630154227750379503979
  WITHDRAW: 1INCH, Amount: 815077113875189751989
  WITHDRAW: 1INCH, Amount: 815077113875189751990
  BORROW: 1INCH, Amount 1630154227750379503979, Stable: false
  REPAY: 1INCH, Amount: 1630154227750379503979
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: FRAX, Amount: 1002025865834768760436
  WITHDRAW: FRAX, Amount: 501012932917384380218
  WITHDRAW: FRAX, Amount: 501012932917384380218
  BORROW: FRAX, Amount 1002025865834768760436, Stable: false
  REPAY: FRAX, Amount: 1002025865834768760436
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 25304935506949342707
  BORROW: GHO, Amount 1000000000000000000000, Stable: false
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: RPL, Amount: 28723376719684613394
  WITHDRAW: RPL, Amount: 14361688359842306697
  WITHDRAW: RPL, Amount: 14361688359842306696
  BORROW: RPL, Amount 28723376719684613394, Stable: false
  REPAY: RPL, Amount: 28723376719684613394
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: sDAI, Amount: 944458109179187418654
  WITHDRAW: sDAI, Amount: 472229054589593709327
  WITHDRAW: sDAI, Amount: 472229054589593709328
  E2E: Collateral WETH, TestAsset STG
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: STG, Amount: 1379406484702995920529
  WITHDRAW: STG, Amount: 689703242351497960264
  WITHDRAW: STG, Amount: 689703242351497960264
  BORROW: STG, Amount 1379406484702995920529, Stable: false
  REPAY: STG, Amount: 1379406484702995920529
  E2E: Collateral WETH, TestAsset KNC
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: KNC, Amount: 1166086315224965161713
  WITHDRAW: KNC, Amount: 583043157612482580856
  WITHDRAW: KNC, Amount: 583043157612482580856
  BORROW: KNC, Amount 1166086315224965161713, Stable: false
  REPAY: KNC, Amount: 1166086315224965161713
  E2E: Collateral WETH, TestAsset FXS
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: FXS, Amount: 116205458473913177235
  WITHDRAW: FXS, Amount: 58102729236956588617
  WITHDRAW: FXS, Amount: 58102729236956588619
  BORROW: FXS, Amount 116205458473913177235, Stable: false
  REPAY: FXS, Amount: 116205458473913177235
  E2E: Collateral WETH, TestAsset crvUSD
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: crvUSD, Amount: 1006625346306801326563
  WITHDRAW: crvUSD, Amount: 503312673153400663281
  WITHDRAW: crvUSD, Amount: 503312673153400663282
  BORROW: crvUSD, Amount 1006625346306801326563, Stable: false
  REPAY: crvUSD, Amount: 1006625346306801326563
  E2E: Collateral WETH, TestAsset PYUSD
  SUPPLY: WETH, Amount: 25304935506949342707
  SUPPLY: PYUSD, Amount: 1000350122
  WITHDRAW: PYUSD, Amount: 500175061
  WITHDRAW: PYUSD, Amount: 500175060
  BORROW: PYUSD, Amount 1000350122, Stable: false
  REPAY: PYUSD, Amount: 1000350122

Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 43.64s (43.40s CPU time)

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

Please sign in to comment.