Skip to content

Commit

Permalink
chore(cache): automated cache update (#433)
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 Apr 22, 2024
1 parent 64e51f9 commit c173b17
Show file tree
Hide file tree
Showing 12 changed files with 152 additions and 397 deletions.
4 changes: 0 additions & 4 deletions src/AaveAddressBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {GovernanceV3Avalanche} from './GovernanceV3Avalanche.sol';
import {GovernanceV3Fuji} from './GovernanceV3Fuji.sol';
import {GovernanceV3Optimism} from './GovernanceV3Optimism.sol';
import {GovernanceV3Polygon} from './GovernanceV3Polygon.sol';
import {GovernanceV3Mumbai} from './GovernanceV3Mumbai.sol';
import {GovernanceV3Metis} from './GovernanceV3Metis.sol';
import {GovernanceV3Base} from './GovernanceV3Base.sol';
import {GovernanceV3BNB} from './GovernanceV3BNB.sol';
Expand All @@ -20,13 +19,11 @@ import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol';
import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol';
import {AaveV2Ethereum} from './AaveV2Ethereum.sol';
import {AaveV2Polygon} from './AaveV2Polygon.sol';
import {AaveV2Mumbai} from './AaveV2Mumbai.sol';
import {AaveV2Fuji} from './AaveV2Fuji.sol';
import {AaveV2Avalanche} from './AaveV2Avalanche.sol';
import {AaveV3Ethereum} from './AaveV3Ethereum.sol';
import {AaveV3Sepolia} from './AaveV3Sepolia.sol';
import {AaveV3Polygon} from './AaveV3Polygon.sol';
import {AaveV3Mumbai} from './AaveV3Mumbai.sol';
import {AaveV3Avalanche} from './AaveV3Avalanche.sol';
import {AaveV3Fuji} from './AaveV3Fuji.sol';
import {AaveV3Base} from './AaveV3Base.sol';
Expand Down Expand Up @@ -60,6 +57,5 @@ import {MiscBNB} from './MiscBNB.sol';
import {MiscScroll} from './MiscScroll.sol';
import {MiscPolygonZkEvm} from './MiscPolygonZkEvm.sol';
import {MiscSepolia} from './MiscSepolia.sol';
import {MiscMumbai} from './MiscMumbai.sol';
import {AaveGovernanceV2} from './AaveGovernanceV2.sol';
import {AaveSafetyModule} from './AaveSafetyModule.sol';
21 changes: 21 additions & 0 deletions src/AaveV3Arbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,27 @@ library AaveV3ArbitrumAssets {

// https://arbiscan.io/address/0x9b5637d7952BC9fa2D693aAE51f3103760Bf2693
address internal constant ARB_STATA_TOKEN = 0x9b5637d7952BC9fa2D693aAE51f3103760Bf2693;

// https://arbiscan.io/address/0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe
address internal constant weETH_UNDERLYING = 0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe;

uint8 internal constant weETH_DECIMALS = 18;

// https://arbiscan.io/address/0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77
address internal constant weETH_A_TOKEN = 0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77;

// https://arbiscan.io/address/0x3ca5FA07689F266e907439aFd1fBB59c44fe12f6
address internal constant weETH_V_TOKEN = 0x3ca5FA07689F266e907439aFd1fBB59c44fe12f6;

// https://arbiscan.io/address/0x40B4BAEcc69B882e8804f9286b12228C27F8c9BF
address internal constant weETH_S_TOKEN = 0x40B4BAEcc69B882e8804f9286b12228C27F8c9BF;

// https://arbiscan.io/address/0x517276B5972C4Db7E88B9F76Ee500E888a2D73C3
address internal constant weETH_ORACLE = 0x517276B5972C4Db7E88B9F76Ee500E888a2D73C3;

// https://arbiscan.io/address/0x0fc12Ad84210695dE8C0D5D8B6f720C37cEaB02f
address internal constant weETH_INTEREST_RATE_STRATEGY =
0x0fc12Ad84210695dE8C0D5D8B6f720C37cEaB02f;
}

library AaveV3ArbitrumEModes {
Expand Down
21 changes: 21 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,27 @@ library AaveV3EthereumAssets {

// https://etherscan.io/address/0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152
address internal constant PYUSD_STATA_TOKEN = 0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152;

// https://etherscan.io/address/0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee
address internal constant weETH_UNDERLYING = 0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee;

uint8 internal constant weETH_DECIMALS = 18;

// https://etherscan.io/address/0xBdfa7b7893081B35Fb54027489e2Bc7A38275129
address internal constant weETH_A_TOKEN = 0xBdfa7b7893081B35Fb54027489e2Bc7A38275129;

// https://etherscan.io/address/0x77ad9BF13a52517AD698D65913e8D381300c8Bf3
address internal constant weETH_V_TOKEN = 0x77ad9BF13a52517AD698D65913e8D381300c8Bf3;

// https://etherscan.io/address/0xBad6eF8e76E26F39e985474aD0974FDcabF85d37
address internal constant weETH_S_TOKEN = 0xBad6eF8e76E26F39e985474aD0974FDcabF85d37;

// https://etherscan.io/address/0xf112aF6F0A332B815fbEf3Ff932c057E570b62d3
address internal constant weETH_ORACLE = 0xf112aF6F0A332B815fbEf3Ff932c057E570b62d3;

// https://etherscan.io/address/0x48AF11111764E710fcDcE2750db848C63edab57B
address internal constant weETH_INTEREST_RATE_STRATEGY =
0x48AF11111764E710fcDcE2750db848C63edab57B;
}

library AaveV3EthereumEModes {
Expand Down
4 changes: 0 additions & 4 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export * as GovernanceV3Avalanche from './GovernanceV3Avalanche';
export * as GovernanceV3Fuji from './GovernanceV3Fuji';
export * as GovernanceV3Optimism from './GovernanceV3Optimism';
export * as GovernanceV3Polygon from './GovernanceV3Polygon';
export * as GovernanceV3Mumbai from './GovernanceV3Mumbai';
export * as GovernanceV3Metis from './GovernanceV3Metis';
export * as GovernanceV3Base from './GovernanceV3Base';
export * as GovernanceV3BNB from './GovernanceV3BNB';
Expand All @@ -17,13 +16,11 @@ export * as AaveV2EthereumAMM from './AaveV2EthereumAMM';
export * as AaveV2EthereumArc from './AaveV2EthereumArc';
export * as AaveV2Ethereum from './AaveV2Ethereum';
export * as AaveV2Polygon from './AaveV2Polygon';
export * as AaveV2Mumbai from './AaveV2Mumbai';
export * as AaveV2Fuji from './AaveV2Fuji';
export * as AaveV2Avalanche from './AaveV2Avalanche';
export * as AaveV3Ethereum from './AaveV3Ethereum';
export * as AaveV3Sepolia from './AaveV3Sepolia';
export * as AaveV3Polygon from './AaveV3Polygon';
export * as AaveV3Mumbai from './AaveV3Mumbai';
export * as AaveV3Avalanche from './AaveV3Avalanche';
export * as AaveV3Fuji from './AaveV3Fuji';
export * as AaveV3Base from './AaveV3Base';
Expand Down Expand Up @@ -57,7 +54,6 @@ export * as MiscBNB from './MiscBNB';
export * as MiscScroll from './MiscScroll';
export * as MiscPolygonZkEvm from './MiscPolygonZkEvm';
export * as MiscSepolia from './MiscSepolia';
export * as MiscMumbai from './MiscMumbai';
export * as AaveGovernanceV2 from './AaveGovernanceV2';
export * as AaveSafetyModule from './AaveSafetyModule';
export {tokenlist} from './tokenlist';
Expand Down
127 changes: 0 additions & 127 deletions src/ts/AaveV2Mumbai.ts

This file was deleted.

9 changes: 9 additions & 0 deletions src/ts/AaveV3Arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,15 @@ export const ASSETS = {
ORACLE: '0xb2A824043730FE05F3DA2efaFa1CBbe83fa548D6',
STATA_TOKEN: '0x9b5637d7952BC9fa2D693aAE51f3103760Bf2693',
},
weETH: {
decimals: 18,
UNDERLYING: '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe',
A_TOKEN: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77',
S_TOKEN: '0x40B4BAEcc69B882e8804f9286b12228C27F8c9BF',
V_TOKEN: '0x3ca5FA07689F266e907439aFd1fBB59c44fe12f6',
INTEREST_RATE_STRATEGY: '0x0fc12Ad84210695dE8C0D5D8B6f720C37cEaB02f',
ORACLE: '0x517276B5972C4Db7E88B9F76Ee500E888a2D73C3',
},
} as const;
export const E_MODES = {
NONE: 0,
Expand Down
9 changes: 9 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,15 @@ export const ASSETS = {
ORACLE: '0x150bAe7Ce224555D39AfdBc6Cb4B8204E594E022',
STATA_TOKEN: '0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152',
},
weETH: {
decimals: 18,
UNDERLYING: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee',
A_TOKEN: '0xBdfa7b7893081B35Fb54027489e2Bc7A38275129',
S_TOKEN: '0xBad6eF8e76E26F39e985474aD0974FDcabF85d37',
V_TOKEN: '0x77ad9BF13a52517AD698D65913e8D381300c8Bf3',
INTEREST_RATE_STRATEGY: '0x48AF11111764E710fcDcE2750db848C63edab57B',
ORACLE: '0xf112aF6F0A332B815fbEf3Ff932c057E570b62d3',
},
} as const;
export const E_MODES = {
NONE: 0,
Expand Down
Loading

0 comments on commit c173b17

Please sign in to comment.