Skip to content

Commit

Permalink
chore(cache): automated cache update (#212)
Browse files Browse the repository at this point in the history
Co-authored-by: sakulstra <sakulstra@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and sakulstra authored Aug 23, 2023
1 parent 4dba081 commit 3ae3927
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 2 deletions.
28 changes: 27 additions & 1 deletion src/AaveV3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ library AaveV3Base {

IAaveOracle internal constant ORACLE = IAaveOracle(0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156);

address internal constant PRICE_ORACLE_SENTINEL = 0x0000000000000000000000000000000000000000;
address internal constant PRICE_ORACLE_SENTINEL = 0xe34949A48cd2E6f5CD41753e449bd2d43993C9AC;

IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x2d8A3C5677189723C4cB8873CfC9C8976FDF38Ac);
Expand Down Expand Up @@ -60,3 +60,29 @@ library AaveV3Base {

address internal constant WETH_GATEWAY = 0x18CD499E3d7ed42FEbA981ac9236A278E4Cdc2ee;
}

library AaveV3BaseAssets {
address internal constant WETH_UNDERLYING = 0x4200000000000000000000000000000000000006;
address internal constant WETH_A_TOKEN = 0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7;
address internal constant WETH_V_TOKEN = 0x24e6e0795b3c7c71D965fCc4f371803d1c1DcA1E;
address internal constant WETH_S_TOKEN = 0xaED3b56FeA82E809665f02AcBcDEc0816c75f4d9;
address internal constant WETH_ORACLE = 0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70;
address internal constant WETH_INTEREST_RATE_STRATEGY =
0xC1F6588f4A1145D0B7F94c86a773bB47F0eC0759;

address internal constant cbETH_UNDERLYING = 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22;
address internal constant cbETH_A_TOKEN = 0xcf3D55c10DB69f28fD1A75Bd73f3D8A2d9c595ad;
address internal constant cbETH_V_TOKEN = 0x1DabC36f19909425f654777249815c073E8Fd79F;
address internal constant cbETH_S_TOKEN = 0xa9dF5c62d16d3f496673F4d736852017b086eCA0;
address internal constant cbETH_ORACLE = 0x80f2c02224a2E548FC67c0bF705eBFA825dd5439;
address internal constant cbETH_INTEREST_RATE_STRATEGY =
0x05295489b6aE0d97ae7C49a42989497294F7F428;

address internal constant USDbC_UNDERLYING = 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA;
address internal constant USDbC_A_TOKEN = 0x0a1d576f3eFeF75b330424287a95A366e8281D54;
address internal constant USDbC_V_TOKEN = 0x7376b2F323dC56fCd4C191B34163ac8a84702DAB;
address internal constant USDbC_S_TOKEN = 0xBBaDd47fbaFa9dE717FE203e4707DEB893C64654;
address internal constant USDbC_ORACLE = 0x7e860098F58bBFC8648a4311b374B1D669a2bc6B;
address internal constant USDbC_INTEREST_RATE_STRATEGY =
0x8BAdED77793c340ab79848A09C7F5f7F16007Ab6;
}
1 change: 1 addition & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ export * as AaveV3ScrollAlphaAssets from './AaveV3ScrollAlphaAssets';
export * as AaveV3Metis from './AaveV3Metis';
export * as AaveV3MetisAssets from './AaveV3MetisAssets';
export * as AaveV3Base from './AaveV3Base';
export * as AaveV3BaseAssets from './AaveV3BaseAssets';
2 changes: 1 addition & 1 deletion src/ts/AaveV3Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const POOL_ADDRESSES_PROVIDER = '0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad6
export const POOL = '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5';
export const POOL_CONFIGURATOR = '0x5731a04B1E775f0fdd454Bf70f3335886e9A96be';
export const ORACLE = '0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156';
export const PRICE_ORACLE_SENTINEL = '0x0000000000000000000000000000000000000000';
export const PRICE_ORACLE_SENTINEL = '0xe34949A48cd2E6f5CD41753e449bd2d43993C9AC';
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x2d8A3C5677189723C4cB8873CfC9C8976FDF38Ac';
export const ACL_MANAGER = '0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33';
export const ACL_ADMIN = '0xA9F30e6ED4098e9439B2ac8aEA2d3fc26BcEbb45';
Expand Down
23 changes: 23 additions & 0 deletions src/ts/AaveV3BaseAssets.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
export const AaveV3BaseAssets_WETH_UNDERLYING = '0x4200000000000000000000000000000000000006';
export const AaveV3BaseAssets_WETH_A_TOKEN = '0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7';
export const AaveV3BaseAssets_WETH_V_TOKEN = '0x24e6e0795b3c7c71D965fCc4f371803d1c1DcA1E';
export const AaveV3BaseAssets_WETH_S_TOKEN = '0xaED3b56FeA82E809665f02AcBcDEc0816c75f4d9';
export const AaveV3BaseAssets_WETH_ORACLE = '0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70';
export const AaveV3BaseAssets_WETH_INTEREST_RATE_STRATEGY =
'0xC1F6588f4A1145D0B7F94c86a773bB47F0eC0759';

export const AaveV3BaseAssets_cbETH_UNDERLYING = '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22';
export const AaveV3BaseAssets_cbETH_A_TOKEN = '0xcf3D55c10DB69f28fD1A75Bd73f3D8A2d9c595ad';
export const AaveV3BaseAssets_cbETH_V_TOKEN = '0x1DabC36f19909425f654777249815c073E8Fd79F';
export const AaveV3BaseAssets_cbETH_S_TOKEN = '0xa9dF5c62d16d3f496673F4d736852017b086eCA0';
export const AaveV3BaseAssets_cbETH_ORACLE = '0x80f2c02224a2E548FC67c0bF705eBFA825dd5439';
export const AaveV3BaseAssets_cbETH_INTEREST_RATE_STRATEGY =
'0x05295489b6aE0d97ae7C49a42989497294F7F428';

export const AaveV3BaseAssets_USDbC_UNDERLYING = '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA';
export const AaveV3BaseAssets_USDbC_A_TOKEN = '0x0a1d576f3eFeF75b330424287a95A366e8281D54';
export const AaveV3BaseAssets_USDbC_V_TOKEN = '0x7376b2F323dC56fCd4C191B34163ac8a84702DAB';
export const AaveV3BaseAssets_USDbC_S_TOKEN = '0xBBaDd47fbaFa9dE717FE203e4707DEB893C64654';
export const AaveV3BaseAssets_USDbC_ORACLE = '0x7e860098F58bBFC8648a4311b374B1D669a2bc6B';
export const AaveV3BaseAssets_USDbC_INTEREST_RATE_STRATEGY =
'0x8BAdED77793c340ab79848A09C7F5f7F16007Ab6';

0 comments on commit 3ae3927

Please sign in to comment.