Skip to content

Commit

Permalink
Mainnet WeETH Supply Cap Increase 20240414
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalovadya committed Apr 14, 2024
1 parent d35044b commit fc2e11e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/aave-address-book
Submodule aave-address-book updated 453 files
2 changes: 1 addition & 1 deletion lib/aave-helpers
Submodule aave-helpers updated 733 files
37 changes: 37 additions & 0 deletions src/MainnetWeETHSupplyCapsIncrease_20240414.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol';
import {IAaveV3ConfigEngine} from 'aave-helpers/v3-config-engine/IAaveV3ConfigEngine.sol';
import {EngineFlags} from 'aave-helpers/v3-config-engine/EngineFlags.sol';
import {CapsPlusRiskStewardMainnet} from '../scripts/CapsPlusRiskStewardMainnet.s.sol';

/**
* @title Update Supply Caps for weETH Ethereum V3
* @author @ChaosLabsInc
* - Discussion: https://governance.aave.com/t/arfc-chaos-labs-risk-stewards-increase-supply-cap-for-weeth-on-v3-ethereum-04-14-2024/17363
*/
contract MainnetWeETHSupplyCapsIncrease_20240414 is CapsPlusRiskStewardMainnet {
/**
* @return string name identifier used for the diff
*/
function name() internal pure override returns (string memory) {
return 'mainnetWeETHSupplyCapsIncrease_20240414';
}

/**
* @return IAaveV3ConfigEngine.CapsUpdate[] capUpdates to be performed
*/
function capsUpdates() internal pure override returns (IAaveV3ConfigEngine.CapsUpdate[] memory) {
IAaveV3ConfigEngine.CapsUpdate[] memory capUpdates = new IAaveV3ConfigEngine.CapsUpdate[](1);

// weETH
capUpdates[0] = IAaveV3ConfigEngine.CapsUpdate(
0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee,
16_000,
EngineFlags.KEEP_CURRENT
);

return capUpdates;
}
}

0 comments on commit fc2e11e

Please sign in to comment.