Skip to content

Commit

Permalink
feat: add EtherFi caps (#566)
Browse files Browse the repository at this point in the history
Co-authored-by: kartojal <david@catapulta.sh>
  • Loading branch information
kartojal and kartojal committed Sep 2, 2024
1 parent 52ad748 commit d9fee6c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ address,name,chainId
0x8Cb4b66f7B13F2Ae4D3c91338fC007dbF8C14208,AaveV3EthereumEtherFi AAVE_PROTOCOL_DATA_PROVIDER,1
0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A,AaveV3EthereumEtherFi ACL_ADMIN,1
0x3cE8E2eb6501d4705477643E96881B1bef6A2DB3,AaveV3EthereumEtherFi ACL_MANAGER,1
0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA,AaveV3EthereumEtherFi CAPS_PLUS_RISK_STEWARD,1
0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c,AaveV3EthereumEtherFi COLLECTOR,1
0x482548b76D4C577A0b5cb2A1f97EFB2893E957ed,AaveV3EthereumEtherFi CONFIG_ENGINE,1
0xaFFA06528Bd92625de2e7A0cfa0119319265Ea4b,AaveV3EthereumEtherFi DEFAULT_A_TOKEN_IMPL_REV_1,1
Expand Down
3 changes: 1 addition & 2 deletions scripts/configs/pools/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ export const etherFiEthereumMainnetProtoV3Pool: PoolConfig = {
WETH_GATEWAY: '0xAB911dFB2bB9e264EE836F30D3367618f8Aef965',
CONFIG_ENGINE: '0x482548b76D4C577A0b5cb2A1f97EFB2893E957ed',
STATIC_A_TOKEN_FACTORY: '0x1Ff525426800279843B71C0F818594DeCdC3b522',
// CAPS_PLUS_RISK_STEWARD: '',
// RISK_STEWARD: '',
CAPS_PLUS_RISK_STEWARD: '0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA',
},
initial: {
COLLECTOR: '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c',
Expand Down
3 changes: 3 additions & 0 deletions src/AaveV3EthereumEtherFi.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ library AaveV3EthereumEtherFi {

// https://etherscan.io/address/0x1Ff525426800279843B71C0F818594DeCdC3b522
address internal constant STATIC_A_TOKEN_FACTORY = 0x1Ff525426800279843B71C0F818594DeCdC3b522;

// https://etherscan.io/address/0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA
address internal constant CAPS_PLUS_RISK_STEWARD = 0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA;
}

library AaveV3EthereumEtherFiAssets {}
Expand Down
3 changes: 3 additions & 0 deletions src/ts/AaveV3EthereumEtherFi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const CONFIG_ENGINE = '0x482548b76D4C577A0b5cb2A1f97EFB2893E957ed';
// https://etherscan.io/address/0x1Ff525426800279843B71C0F818594DeCdC3b522
export const STATIC_A_TOKEN_FACTORY = '0x1Ff525426800279843B71C0F818594DeCdC3b522';

// https://etherscan.io/address/0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA
export const CAPS_PLUS_RISK_STEWARD = '0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA';

export const CHAIN_ID = 1;
export const ASSETS = {} as const;
export const E_MODES = {
Expand Down

0 comments on commit d9fee6c

Please sign in to comment.