Skip to content

Commit

Permalink
chore(cache): automated cache update (#269)
Browse files Browse the repository at this point in the history
Co-authored-by: sakulstra <[email protected]>
  • Loading branch information
github-actions[bot] and sakulstra authored Oct 18, 2023
1 parent 4002972 commit 4fc7dd7
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/AaveV3Arbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ library AaveV3ArbitrumAssets {
// https://arbiscan.io/address/0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612
address internal constant WETH_ORACLE = 0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612;

// https://arbiscan.io/address/0xdef8F50155A6cf21181E29E400E8CffAE2d50968
// https://arbiscan.io/address/0x9a158802cD924747EF336cA3F9DE3bdb60Cf43D3
address internal constant WETH_INTEREST_RATE_STRATEGY =
0xdef8F50155A6cf21181E29E400E8CffAE2d50968;
0x9a158802cD924747EF336cA3F9DE3bdb60Cf43D3;

// https://arbiscan.io/address/0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
address internal constant USDT_UNDERLYING = 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9;
Expand Down
20 changes: 20 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,26 @@ library AaveV3EthereumAssets {

// https://etherscan.io/address/0x27eFE5db315b71753b2a38ED3d5dd7E9362ba93F
address internal constant STG_INTEREST_RATE_STRATEGY = 0x27eFE5db315b71753b2a38ED3d5dd7E9362ba93F;

// https://etherscan.io/address/0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202
address internal constant KNC_UNDERLYING = 0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202;

uint256 internal constant KNC_DECIMALS = 18;

// https://etherscan.io/address/0x5b502e3796385E1e9755d7043B9C945C3aCCeC9C
address internal constant KNC_A_TOKEN = 0x5b502e3796385E1e9755d7043B9C945C3aCCeC9C;

// https://etherscan.io/address/0x253127Ffc04981cEA8932F406710661c2f2c3fD2
address internal constant KNC_V_TOKEN = 0x253127Ffc04981cEA8932F406710661c2f2c3fD2;

// https://etherscan.io/address/0xdfEE0C9eA1309cB9611F33972E72a72166fcF548
address internal constant KNC_S_TOKEN = 0xdfEE0C9eA1309cB9611F33972E72a72166fcF548;

// https://etherscan.io/address/0xf8fF43E991A81e6eC886a3D281A2C6cC19aE70Fc
address internal constant KNC_ORACLE = 0xf8fF43E991A81e6eC886a3D281A2C6cC19aE70Fc;

// https://etherscan.io/address/0xf6733B9842883BFE0e0a940eA2F572676af31bde
address internal constant KNC_INTEREST_RATE_STRATEGY = 0xf6733B9842883BFE0e0a940eA2F572676af31bde;
}

library AaveV3EthereumEModes {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Optimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ library AaveV3OptimismAssets {
// https://explorer.optimism.io/address/0x13e3Ee699D1909E989722E753853AE30b17e08c5
address internal constant WETH_ORACLE = 0x13e3Ee699D1909E989722E753853AE30b17e08c5;

// https://explorer.optimism.io/address/0xF9336Bb69654fdd665AaC6618309a8cba078D8fE
// https://explorer.optimism.io/address/0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326
address internal constant WETH_INTEREST_RATE_STRATEGY =
0xF9336Bb69654fdd665AaC6618309a8cba078D8fE;
0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326;

// https://explorer.optimism.io/address/0x94b008aA00579c1307B0EF2c499aD98a8ce58e58
address internal constant USDT_UNDERLYING = 0x94b008aA00579c1307B0EF2c499aD98a8ce58e58;
Expand Down
2 changes: 1 addition & 1 deletion src/ts/AaveV3Arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const ASSETS = {
A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8',
S_TOKEN: '0xD8Ad37849950903571df17049516a5CD4cbE55F6',
V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351',
INTEREST_RATE_STRATEGY: '0xdef8F50155A6cf21181E29E400E8CffAE2d50968',
INTEREST_RATE_STRATEGY: '0x9a158802cD924747EF336cA3F9DE3bdb60Cf43D3',
ORACLE: '0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612',
STATA_TOKEN: '0x18468b6eBA332285c6d9BB03Fe7fb52e108c4596',
},
Expand Down
10 changes: 10 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,16 @@ export const ASSETS = {
ORACLE: '0x7A9f34a0Aa917D438e9b6E630067062B7F8f6f3d',
STATA_TOKEN: '0x0000000000000000000000000000000000000000',
},
KNC: {
decimals: 18,
UNDERLYING: '0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202',
A_TOKEN: '0x5b502e3796385E1e9755d7043B9C945C3aCCeC9C',
S_TOKEN: '0xdfEE0C9eA1309cB9611F33972E72a72166fcF548',
V_TOKEN: '0x253127Ffc04981cEA8932F406710661c2f2c3fD2',
INTEREST_RATE_STRATEGY: '0xf6733B9842883BFE0e0a940eA2F572676af31bde',
ORACLE: '0xf8fF43E991A81e6eC886a3D281A2C6cC19aE70Fc',
STATA_TOKEN: '0x0000000000000000000000000000000000000000',
},
} as const;
export const E_MODES = {
NONE: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/ts/AaveV3Optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const ASSETS = {
A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8',
S_TOKEN: '0xD8Ad37849950903571df17049516a5CD4cbE55F6',
V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351',
INTEREST_RATE_STRATEGY: '0xF9336Bb69654fdd665AaC6618309a8cba078D8fE',
INTEREST_RATE_STRATEGY: '0x5f58C25D17C09c9e1892F45DE6dA45ed973A5326',
ORACLE: '0x13e3Ee699D1909E989722E753853AE30b17e08c5',
STATA_TOKEN: '0x6b1440b08f467A2A68E562aC38bB5e2256d5C60E',
},
Expand Down

0 comments on commit 4fc7dd7

Please sign in to comment.