From c173b1772b4f6c21866eebcfcdb8e21f4eef69ee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 08:05:07 +0200 Subject: [PATCH] chore(cache): automated cache update (#433) Co-authored-by: sakulstra --- src/AaveAddressBook.sol | 4 - src/AaveV3Arbitrum.sol | 21 ++++ src/AaveV3Ethereum.sol | 21 ++++ src/ts/AaveAddressBook.ts | 4 - src/ts/AaveV2Mumbai.ts | 127 ------------------- src/ts/AaveV3Arbitrum.ts | 9 ++ src/ts/AaveV3Ethereum.ts | 9 ++ src/ts/AaveV3Mumbai.ts | 231 ----------------------------------- src/ts/GovernanceV3Mumbai.ts | 19 --- src/ts/MiscMumbai.ts | 8 -- src/ts/tokenlist.ts | 48 +++++++- tokenlist.json | 48 +++++++- 12 files changed, 152 insertions(+), 397 deletions(-) delete mode 100644 src/ts/AaveV2Mumbai.ts delete mode 100644 src/ts/AaveV3Mumbai.ts delete mode 100644 src/ts/GovernanceV3Mumbai.ts delete mode 100644 src/ts/MiscMumbai.ts diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index 8a98a9af..0da30ecd 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -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'; @@ -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'; @@ -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'; diff --git a/src/AaveV3Arbitrum.sol b/src/AaveV3Arbitrum.sol index 4b101a26..d1717592 100644 --- a/src/AaveV3Arbitrum.sol +++ b/src/AaveV3Arbitrum.sol @@ -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 { diff --git a/src/AaveV3Ethereum.sol b/src/AaveV3Ethereum.sol index 7a78fe0f..193b9f70 100644 --- a/src/AaveV3Ethereum.sol +++ b/src/AaveV3Ethereum.sol @@ -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 { diff --git a/src/ts/AaveAddressBook.ts b/src/ts/AaveAddressBook.ts index be8d0cc7..9ec006a0 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -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'; @@ -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'; @@ -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'; diff --git a/src/ts/AaveV2Mumbai.ts b/src/ts/AaveV2Mumbai.ts deleted file mode 100644 index 79dcb838..00000000 --- a/src/ts/AaveV2Mumbai.ts +++ /dev/null @@ -1,127 +0,0 @@ -// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR -// ILendingPoolAddressesProvider https://mumbai.polygonscan.com/address/0x178113104fEcbcD7fF8669a0150721e231F0FD4B -export const POOL_ADDRESSES_PROVIDER = '0x178113104fEcbcD7fF8669a0150721e231F0FD4B'; - -// ILendingPool https://mumbai.polygonscan.com/address/0x9198F13B08E299d85E096929fA9781A1E3d5d827 -export const POOL = '0x9198F13B08E299d85E096929fA9781A1E3d5d827'; - -// https://mumbai.polygonscan.com/address/0x100449c403dFaECC90502C03BE6cfF2715A3EE2E -export const POOL_IMPL = '0x100449c403dFaECC90502C03BE6cfF2715A3EE2E'; - -// ILendingPoolConfigurator https://mumbai.polygonscan.com/address/0xc3c37E2aA3dc66464fa3C29ce2a6EC85beFC45e1 -export const POOL_CONFIGURATOR = '0xc3c37E2aA3dc66464fa3C29ce2a6EC85beFC45e1'; - -// https://mumbai.polygonscan.com/address/0x8C991b1085e5b3cCcb7A3d7fC215f8C801a47D5B -export const POOL_CONFIGURATOR_IMPL = '0x8C991b1085e5b3cCcb7A3d7fC215f8C801a47D5B'; - -// IAaveOracle https://mumbai.polygonscan.com/address/0xC365C653f7229894F93994CD0b30947Ab69Ff1D5 -export const ORACLE = '0xC365C653f7229894F93994CD0b30947Ab69Ff1D5'; - -// ILendingRateOracle https://mumbai.polygonscan.com/address/0xC661e1445F9a8E5FD3C3dbCa0A0A2e8CBc79725D -export const LENDING_RATE_ORACLE = '0xC661e1445F9a8E5FD3C3dbCa0A0A2e8CBc79725D'; - -// IAaveProtocolDataProvider https://mumbai.polygonscan.com/address/0xFA3bD19110d986c5e5E9DD5F69362d05035D045B -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xFA3bD19110d986c5e5E9DD5F69362d05035D045B'; - -// https://mumbai.polygonscan.com/address/0x943E44157dC0302a5CEb172374d1749018a00994 -export const POOL_ADMIN = '0x943E44157dC0302a5CEb172374d1749018a00994'; - -// https://mumbai.polygonscan.com/address/0x943E44157dC0302a5CEb172374d1749018a00994 -export const EMERGENCY_ADMIN = '0x943E44157dC0302a5CEb172374d1749018a00994'; - -// ICollector https://mumbai.polygonscan.com/address/0x943E44157dC0302a5CEb172374d1749018a00994 -export const COLLECTOR = '0x943E44157dC0302a5CEb172374d1749018a00994'; - -// https://mumbai.polygonscan.com/address/0xd41aE58e803Edf4304334acCE4DC4Ec34a63C644 -export const DEFAULT_INCENTIVES_CONTROLLER = '0xd41aE58e803Edf4304334acCE4DC4Ec34a63C644'; - -// https://mumbai.polygonscan.com/address/0x943E44157dC0302a5CEb172374d1749018a00994 -export const EMISSION_MANAGER = '0x943E44157dC0302a5CEb172374d1749018a00994'; - -// https://mumbai.polygonscan.com/address/0x2A7004B21c49253ca8DF923406Fed9a02AA86Ba0 -export const LENDING_POOL_COLLATERAL_MANAGER = '0x2A7004B21c49253ca8DF923406Fed9a02AA86Ba0'; - -// https://mumbai.polygonscan.com/address/0x0b3C23243106A69449e79C14c58BB49E358f9B10 -export const FAUCET = '0x0b3C23243106A69449e79C14c58BB49E358f9B10'; - -// https://mumbai.polygonscan.com/address/0xE6ef11C967898F9525D550014FDEdCFAB63536B5 -export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xE6ef11C967898F9525D550014FDEdCFAB63536B5'; - -// https://mumbai.polygonscan.com/address/0x070a7D8F4d7A7A87452C5BaBaB3158e08411907E -export const UI_INCENTIVE_DATA_PROVIDER = '0x070a7D8F4d7A7A87452C5BaBaB3158e08411907E'; - -// https://mumbai.polygonscan.com/address/0xb36a91b1deF63B603896290F6a888c774328519A -export const UI_POOL_DATA_PROVIDER = '0xb36a91b1deF63B603896290F6a888c774328519A'; - -// https://mumbai.polygonscan.com/address/0xEe7c0172c200e12AFEa3C34837052ec52F3f367A -export const WALLET_BALANCE_PROVIDER = '0xEe7c0172c200e12AFEa3C34837052ec52F3f367A'; - -// https://mumbai.polygonscan.com/address/0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA -export const WETH_GATEWAY = '0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA'; - -export const CHAIN_ID = 80001; -export const ASSETS = { - DAI: { - UNDERLYING: '0x001B3B4d0F3714Ca98ba10F6042DaEbF0B1B7b6F', - decimals: 18, - A_TOKEN: '0x639cB7b21ee2161DF9c882483C9D55c90c20Ca3e', - S_TOKEN: '0x10dec6dF64d0ebD271c8AdD492Af4F5594358919', - V_TOKEN: '0x6D29322ba6549B95e98E9B08033F5ffb857f19c5', - INTEREST_RATE_STRATEGY: '0x1f5Ee28A9BD5810BA9Eb877A555a2C15527D3484', - ORACLE: '0x0000000000000000000000000000000000000000', - }, - USDC: { - UNDERLYING: '0x2058A9D7613eEE744279e3856Ef0eAda5FCbaA7e', - decimals: 6, - A_TOKEN: '0x2271e3Fef9e15046d09E1d78a8FF038c691E9Cf9', - S_TOKEN: '0x83A7bC369cFd55D9F00267318b6D221fb9Fa739F', - V_TOKEN: '0x05771A896327ee702F965FB6E4A35A9A57C84a2a', - INTEREST_RATE_STRATEGY: '0x63Afbf8a706C23B81ECF892d818170d2A423b01d', - ORACLE: '0x0000000000000000000000000000000000000000', - }, - USDT: { - UNDERLYING: '0xBD21A10F619BE90d6066c941b04e340841F1F989', - decimals: 6, - A_TOKEN: '0xF8744C0bD8C7adeA522d6DDE2298b17284A79D1b', - S_TOKEN: '0xdD250d4e7ff5f7414F3EBe8fcBbB13583191BDaC', - V_TOKEN: '0x6C0a86573a63672D8a66C037036e441A59086d68', - INTEREST_RATE_STRATEGY: '0x63Afbf8a706C23B81ECF892d818170d2A423b01d', - ORACLE: '0x0000000000000000000000000000000000000000', - }, - WBTC: { - UNDERLYING: '0x0d787a4a1548f673ed375445535a6c7A1EE56180', - decimals: 8, - A_TOKEN: '0xc9276ECa6798A14f64eC33a526b547DAd50bDa2F', - S_TOKEN: '0x29A36d45e8d9f446EC9529b28907bc850B398154', - V_TOKEN: '0xc156967272b7177DcE40E3b3E7c4269f750F3160', - INTEREST_RATE_STRATEGY: '0x88cf62ff6bDd02ca43840645dE26F8CDb6De2941', - ORACLE: '0x0000000000000000000000000000000000000000', - }, - WETH: { - UNDERLYING: '0x3C68CE8504087f89c640D02d133646d98e64ddd9', - decimals: 18, - A_TOKEN: '0x7aE20397Ca327721F013BB9e140C707F82871b56', - S_TOKEN: '0x35D88812d32b966da90db9F546fbf43553C4F35b', - V_TOKEN: '0x0F2656e068b77cdA65213Ef25705B728d5C73340', - INTEREST_RATE_STRATEGY: '0x50a2bf8f96826E9Bfe7fbb94fFbA5790d44B92D1', - ORACLE: '0x0000000000000000000000000000000000000000', - }, - WMATIC: { - UNDERLYING: '0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889', - decimals: 18, - A_TOKEN: '0xF45444171435d0aCB08a8af493837eF18e86EE27', - S_TOKEN: '0xfeedbD76ac61616f270911CCaBb43a36380f40ae', - V_TOKEN: '0x11b884339E453E3d66A8E22246782D40E62cB5F2', - INTEREST_RATE_STRATEGY: '0x8A3Cc6F77BE0a10b60A34bE2316707555Fd634dF', - ORACLE: '0x0000000000000000000000000000000000000000', - }, - AAVE: { - UNDERLYING: '0x341d1f30e77D3FBfbD43D17183E2acb9dF25574E', - decimals: 18, - A_TOKEN: '0x7ec62b6fC19174255335C8f4346E0C2fcf870a6B', - S_TOKEN: '0x14bD9790e15294608Df4160dcF45B64adBFdCBaA', - V_TOKEN: '0x5A6659794E3Fe10eee90833B36a4819953AaB9A1', - INTEREST_RATE_STRATEGY: '0x624dCF5e81a0aA7fE0096447c63113c984DDC0F8', - ORACLE: '0x0000000000000000000000000000000000000000', - }, -} as const; diff --git a/src/ts/AaveV3Arbitrum.ts b/src/ts/AaveV3Arbitrum.ts index 7b4b81c9..81d715d8 100644 --- a/src/ts/AaveV3Arbitrum.ts +++ b/src/ts/AaveV3Arbitrum.ts @@ -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, diff --git a/src/ts/AaveV3Ethereum.ts b/src/ts/AaveV3Ethereum.ts index ab0b58c5..44e880cf 100644 --- a/src/ts/AaveV3Ethereum.ts +++ b/src/ts/AaveV3Ethereum.ts @@ -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, diff --git a/src/ts/AaveV3Mumbai.ts b/src/ts/AaveV3Mumbai.ts deleted file mode 100644 index 7f7b29d4..00000000 --- a/src/ts/AaveV3Mumbai.ts +++ /dev/null @@ -1,231 +0,0 @@ -// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR -// IPoolAddressesProvider https://mumbai.polygonscan.com/address/0x4CeDCB57Af02293231BAA9D39354D6BFDFD251e0 -export const POOL_ADDRESSES_PROVIDER = '0x4CeDCB57Af02293231BAA9D39354D6BFDFD251e0'; - -// IPool https://mumbai.polygonscan.com/address/0xcC6114B983E4Ed2737E9BD3961c9924e6216c704 -export const POOL = '0xcC6114B983E4Ed2737E9BD3961c9924e6216c704'; - -// https://mumbai.polygonscan.com/address/0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155 -export const POOL_IMPL = '0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155'; - -// IPoolConfigurator https://mumbai.polygonscan.com/address/0x5C12526EaAc2637fEa2322ee4e389698dBFC3845 -export const POOL_CONFIGURATOR = '0x5C12526EaAc2637fEa2322ee4e389698dBFC3845'; - -// https://mumbai.polygonscan.com/address/0xe6c0e5085CaebcFD5d8a144636dCc2379b38333F -export const POOL_CONFIGURATOR_IMPL = '0xe6c0e5085CaebcFD5d8a144636dCc2379b38333F'; - -// IAaveOracle https://mumbai.polygonscan.com/address/0x27848354d8c9f71a41c6f6edfC6E3CACf3b848c8 -export const ORACLE = '0x27848354d8c9f71a41c6f6edfC6E3CACf3b848c8'; - -// IPoolDataProvider https://mumbai.polygonscan.com/address/0x9e2DDb6aA91399546Bd875E2e63E8d6df276922e -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x9e2DDb6aA91399546Bd875E2e63E8d6df276922e'; - -// IACLManager https://mumbai.polygonscan.com/address/0x9c2B4870C8ABA221DAe5c82e1a0f72D85e40C165 -export const ACL_MANAGER = '0x9c2B4870C8ABA221DAe5c82e1a0f72D85e40C165'; - -// https://mumbai.polygonscan.com/address/0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8 -export const ACL_ADMIN = '0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8'; - -// ICollector https://mumbai.polygonscan.com/address/0x742fe7A795439006371705Ceb1c3B075a300ACFc -export const COLLECTOR = '0x742fe7A795439006371705Ceb1c3B075a300ACFc'; - -// https://mumbai.polygonscan.com/address/0xBcEF55508Efb890C71c8a6211B3dE02B00430503 -export const DEFAULT_INCENTIVES_CONTROLLER = '0xBcEF55508Efb890C71c8a6211B3dE02B00430503'; - -// https://mumbai.polygonscan.com/address/0x274032E998ea08EAE819E7985488AD54DC813b69 -export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x274032E998ea08EAE819E7985488AD54DC813b69'; - -// https://mumbai.polygonscan.com/address/0xf24dc19cFb9A25bbc4DDcaAdb116DfD17472207B -export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xf24dc19cFb9A25bbc4DDcaAdb116DfD17472207B'; - -// https://mumbai.polygonscan.com/address/0xd2B0C9778d088Fc79C28Da719bC02158E64796bD -export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0xd2B0C9778d088Fc79C28Da719bC02158E64796bD'; - -// https://mumbai.polygonscan.com/address/0x9060C6E714BA5C3A46665599103989778a736D4B -export const EMISSION_MANAGER = '0x9060C6E714BA5C3A46665599103989778a736D4B'; - -// https://mumbai.polygonscan.com/address/0x2c95d10bA4BBEc79e562e8B3f48687751808C925 -export const FAUCET = '0x2c95d10bA4BBEc79e562e8B3f48687751808C925'; - -// https://mumbai.polygonscan.com/address/0x322bCff7b69F832B1a1F56E6BC600C9229CFb907 -export const UI_INCENTIVE_DATA_PROVIDER = '0x322bCff7b69F832B1a1F56E6BC600C9229CFb907'; - -// https://mumbai.polygonscan.com/address/0xD64dDe119f11C88850FD596BE11CE398CC5893e6 -export const UI_POOL_DATA_PROVIDER = '0xD64dDe119f11C88850FD596BE11CE398CC5893e6'; - -// https://mumbai.polygonscan.com/address/0xD8A70FC58BC069CFE6529EBF0c1Db067f2b5347E -export const WALLET_BALANCE_PROVIDER = '0xD8A70FC58BC069CFE6529EBF0c1Db067f2b5347E'; - -// https://mumbai.polygonscan.com/address/0x8dA9412AbB78db20d0B496573D9066C474eA21B8 -export const WETH_GATEWAY = '0x8dA9412AbB78db20d0B496573D9066C474eA21B8'; - -// https://mumbai.polygonscan.com/address/0x4df6bfA5522aAd4C80e6C95b613B92AC019f2d3e -export const STATIC_A_TOKEN_FACTORY = '0x4df6bfA5522aAd4C80e6C95b613B92AC019f2d3e'; - -export const CHAIN_ID = 80001; -export const ASSETS = { - DAI: { - decimals: 18, - UNDERLYING: '0xc8c0Cf9436F4862a8F60Ce680Ca5a9f0f99b5ded', - A_TOKEN: '0x8903bbBD684B7ef734c01BEb00273Ff52703514F', - S_TOKEN: '0xB4aa9399c955C53592D9aF0796AB77709fe184C2', - V_TOKEN: '0x8584Fa491eAF3B959dE0888b5B5b9EF60660eb02', - INTEREST_RATE_STRATEGY: '0xbE46486f69fc2882e5E4769CFBCe704E3EfecD25', - ORACLE: '0x685b86a6659a1CbcfE168304386e1b54C543Ce16', - STATA_TOKEN: '0xe012Fa4A7CAa676b2587A20650b8358d72984250', - }, - LINK: { - decimals: 18, - UNDERLYING: '0x9DFf9E93B1e513379cf820504D642c6891d8F7CC', - A_TOKEN: '0xaB9F0568d5C6CE1437ba07E6efE529A2A9b82665', - S_TOKEN: '0xe32D202832aE19b06D6D85289f88836D21D51279', - V_TOKEN: '0xC270C1D7B43eE909e5Cb2B59D25033eE79992581', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0xbB96Cf09DaAA98f4dad1f63B0aDeF2C8aaD1BC3E', - STATA_TOKEN: '0xA609025Ee8885C4E557331cCF4e3A1099B182359', - }, - USDC: { - decimals: 6, - UNDERLYING: '0x52D800ca262522580CeBAD275395ca6e7598C014', - A_TOKEN: '0x4086fabeE92a080002eeBA1220B9025a27a40A49', - S_TOKEN: '0x0b03Ad2929926505EDE0958EF6454f291808c4c9', - V_TOKEN: '0x90d909005F13D1Dfd2D8Ab62289309C27E1a066d', - INTEREST_RATE_STRATEGY: '0x8d284fE251BB7Fe6B529FC2f27BAb415FcF46B25', - ORACLE: '0x465C5251Ec08Ba64dCDC05833d81e086322dE11F', - STATA_TOKEN: '0x5eF0fbC8cC652e1128ff50fA8473B7E949C9EaC3', - }, - WBTC: { - decimals: 8, - UNDERLYING: '0x2Fa2e7a6dEB7bb51B625336DBe1dA23511914a8A', - A_TOKEN: '0xdA67e6C1171D4f0D522Db7f127B88405eA1535d4', - S_TOKEN: '0x56073a5443d271f4A05A7580F23458e0cc292566', - V_TOKEN: '0x4ac5719fbd9986b17911815058d3D4f50E6608eA', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0x3E3D70Dc636E98636c68d51Aa4a91D4D1828D277', - STATA_TOKEN: '0x0693e498eF6D6fb27b57dc3D9e3E0a0f9f2fbeC4', - }, - WETH: { - decimals: 18, - UNDERLYING: '0xc199807AF4fEDB02EE567Ed0FeB814A077de4802', - A_TOKEN: '0xAba444af64ad33A6d8575b8A353226997d6A126a', - S_TOKEN: '0x7A3e52bd23036004f48D34c946A600688b6861Fe', - V_TOKEN: '0x6B9f12aD327e2760816A8a6c7A740AeA901fEB21', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0xc24df0548a5aa08262bff6c2bb48048348e4E097', - STATA_TOKEN: '0x666ef6De71Eb3DAd05F996ECAa910360f4e8fD7c', - }, - USDT: { - decimals: 6, - UNDERLYING: '0x1fdE0eCc619726f4cD597887C9F3b4c8740e19e2', - A_TOKEN: '0x5F3a71D07E95C1E54B9Cc055D418a219586A3473', - S_TOKEN: '0xECe1254ce1cCFc9bA552B827dB0F3c95d72639F1', - V_TOKEN: '0x04A2bc818911a729460b3FfB4B9ff841CFEC93a1', - INTEREST_RATE_STRATEGY: '0x8d284fE251BB7Fe6B529FC2f27BAb415FcF46B25', - ORACLE: '0x17E6574DA37DD6F20d80CBf0d1580a420056413e', - STATA_TOKEN: '0x48774b9D6Bd38d6d0CF17D9C6E023b67eDAEeA29', - }, - AAVE: { - decimals: 18, - UNDERLYING: '0x1558c6FadDe1bEaf0f6628BDd1DFf3461185eA24', - A_TOKEN: '0xE05705857b3d78aCe3d872b26D9c951B266ECC8d', - S_TOKEN: '0x792359Ee24BE0268ffEb3c61425e89550E0872B5', - V_TOKEN: '0xe5e880dAd60A9D0f6Cea43a664517F2eb6fe3233', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492', - STATA_TOKEN: '0xC19611D616f191dc7dFFAf192c071B8957379585', - }, - WMATIC: { - decimals: 18, - UNDERLYING: '0xaD3C5a67275dE4b5554CdD1d961e957f408eF75a', - A_TOKEN: '0xaCA5e6a7117F54B34B476aB95Bf3034c304e7a81', - S_TOKEN: '0x0b7F789EDb7B72c98eD7290fB1286239C4965713', - V_TOKEN: '0x4d4ADCd160BFA54B7b288537705434c478843b37', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0x365691299B5DCFFEFF045018C4DD97c17f2DF10E', - STATA_TOKEN: '0x5C0478fd615e02ecC3BB3fbe2fe6153090031696', - }, - CRV: { - decimals: 18, - UNDERLYING: '0x2bbF1f48a678d2f7c291dc5F8fD04805D34F485f', - A_TOKEN: '0xbB814C46ef7BFB51E3b25600675A6A7B03426973', - S_TOKEN: '0xA342ffE4BC6a7159021A0099357dB919FC3965d7', - V_TOKEN: '0xb9bA8eb73F06cC77Ec761485872005b228873DA6', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0x44c4c82FEe3d9c5A3A584e87D4c0dAe14c4D880C', - STATA_TOKEN: '0x81E7EB2067FDc31308b2dC97A070EDe0634Aa7fd', - }, - SUSHI: { - decimals: 18, - UNDERLYING: '0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61', - A_TOKEN: '0x474Af312bbfc1d12b6f6e2140D6D50Ed9dA6F839', - S_TOKEN: '0x5d7ca2fF15be1C22669d25F0CA42541AF8B7c46D', - V_TOKEN: '0x586Ccc2Ca7840E860d741ddfbFf390da0fB42B95', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0x18a8d31dA46eeb9138a16dfC429E74C04ff523F4', - STATA_TOKEN: '0xDEF3d6FcFD68af03cCC4818FFd17F57A54Dd93f8', - }, - GHST: { - decimals: 18, - UNDERLYING: '0x9f86bA35a016acE27BD4C37E42a1940A5b2508EF', - A_TOKEN: '0x9B1330b35DD740242c4622b5f203Bc39Ff40D9c9', - S_TOKEN: '0x7195f1F8EA840AD7A0dF705a929667bFcCF90814', - V_TOKEN: '0xd8Aab78Fe045D67b463f0361578e01c40CbFb4B7', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0x0EFC6aec29cE36fdEB293491f8F77650Eb1A82F4', - STATA_TOKEN: '0x7f178E419181B8C9CF64fee7D58F24b32ec0F1cc', - }, - BAL: { - decimals: 18, - UNDERLYING: '0x00DF377c2C82a65A8bAe2Ff04a9434a721Bc5aEB', - A_TOKEN: '0x27EbCb5ba3e4Ab18911dA0bA3350Ec42ceEa4ceE', - S_TOKEN: '0xf0D2C1971709aE77207A0b9D924a1374642d8E4c', - V_TOKEN: '0x92cCc1f6A3DA79eD405e7b5AFaF3BA54Ba5408F5', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0xdBfA358282bf03c67B059063fBc71b40ddFeDf1f', - STATA_TOKEN: '0xb95140824eC44ec97ab10f459aD0768275Eb3e94', - }, - DPI: { - decimals: 18, - UNDERLYING: '0x55c7852e10fcd07cF63Ad1bb9FC191b6F4d96ebD', - A_TOKEN: '0xeBf20b66BB82a157450C3ad4cab738D629a29749', - S_TOKEN: '0x710Fe3223CcB7C3987C3fD0c0EFA89201a3C8E22', - V_TOKEN: '0xf415b985e0CA9850Ae1C04081DF8DeD8bD5ef8e5', - INTEREST_RATE_STRATEGY: '0x0313912C1C3D946F9253D9b6E9f6aB9137759b4B', - ORACLE: '0xD5D4f4fe4BfC8e8193f38927EfafDbfbB66dd7e0', - STATA_TOKEN: '0x00718266Ae6AbaCe3C14AD0263968eB7F581BC91', - }, - EURS: { - decimals: 2, - UNDERLYING: '0xB516d30421d2A0524769A243BBE5e193E78ab35c', - A_TOKEN: '0x6fD1376295392f1F6F9EcCc89bff0e26dDB2aE74', - S_TOKEN: '0x9a8c655A5Bf29C4B2bBcb45e838CC07DceB680E1', - V_TOKEN: '0x6e87Cad75af55fc5611D3a90d6789B12A87E72e4', - INTEREST_RATE_STRATEGY: '0x8d284fE251BB7Fe6B529FC2f27BAb415FcF46B25', - ORACLE: '0x09Bb4317F42FA4eA4d044922f795bf6ccFeAAA4b', - STATA_TOKEN: '0xB5B6c7a13602CF827Cc2F0383E27F8e2DB8dBE64', - }, - JEUR: { - decimals: 18, - UNDERLYING: '0xd409F17095a370800A9C352124C6a1e82695203E', - A_TOKEN: '0x58B8d2A77D7d5942fA701a1Dd68e7cF8222750f6', - S_TOKEN: '0x0736CBe1647b8E223Bb74D8E1FE53D14ADfc763e', - V_TOKEN: '0xaCD2c77bd160297C151CC22eB6A3C1c77723f02c', - INTEREST_RATE_STRATEGY: '0x8d284fE251BB7Fe6B529FC2f27BAb415FcF46B25', - ORACLE: '0x67cEB95eCD290A25D017B0f4D345E5F7Ba893B5F', - STATA_TOKEN: '0xEf6F8a13a8B2098F13D08A95b32191ddE13693eE', - }, - AGEUR: { - decimals: 18, - UNDERLYING: '0xcDA8dE50b65cB2Affc8B89f35C40A97Eed4B270F', - A_TOKEN: '0xbD3615332c2a12e2fFc41Fe09C4f05e5493e733F', - S_TOKEN: '0xbaF52AEC0fAC8f4bFD8cD05AE1D5729a2b82051b', - V_TOKEN: '0x7511Bc35eDfb9513e67a6431826C766c24401AeF', - INTEREST_RATE_STRATEGY: '0x8d284fE251BB7Fe6B529FC2f27BAb415FcF46B25', - ORACLE: '0xCf9DADD5cFE871f65D7EeFAEbe44481c8597b26e', - STATA_TOKEN: '0xeF5074Dd60e25F8EFd763068C73d34E05815f41f', - }, -} as const; -export const E_MODES = { - NONE: 0, - STABLECOINS: 1, -} as const; diff --git a/src/ts/GovernanceV3Mumbai.ts b/src/ts/GovernanceV3Mumbai.ts deleted file mode 100644 index f37284b7..00000000 --- a/src/ts/GovernanceV3Mumbai.ts +++ /dev/null @@ -1,19 +0,0 @@ -// https://mumbai.polygonscan.com/address/0xe521cB5e23DbF8248c0B0C3C2503feA3C4c7Caff -export const CROSS_CHAIN_CONTROLLER = '0xe521cB5e23DbF8248c0B0C3C2503feA3C4c7Caff'; - -// https://mumbai.polygonscan.com/address/0x05D0215cFC8D4B726085ADDb1ce43bC5C70f9D8f -export const VOTING_MACHINE = '0x05D0215cFC8D4B726085ADDb1ce43bC5C70f9D8f'; - -// IPayloadsControllerCore https://mumbai.polygonscan.com/address/0x92041C9904d1F0b8100D1d7e01B760d2cF1Fb426 -export const PAYLOADS_CONTROLLER = '0x92041C9904d1F0b8100D1d7e01B760d2cF1Fb426'; - -// https://mumbai.polygonscan.com/address/0x858859CCDDa608941bB64D260a836298c49Ff0C7 -export const EXECUTOR_LVL_1 = '0x858859CCDDa608941bB64D260a836298c49Ff0C7'; - -// IVotingStrategy https://mumbai.polygonscan.com/address/0x2FD0ea3cF58cB9cD25c2a186E643629198A37600 -export const VOTING_STRATEGY = '0x2FD0ea3cF58cB9cD25c2a186E643629198A37600'; - -// IDataWarehouse https://mumbai.polygonscan.com/address/0x1F780a6E860792E59F2160b1E9E503bFF8c58Cb1 -export const DATA_WAREHOUSE = '0x1F780a6E860792E59F2160b1E9E503bFF8c58Cb1'; - -export const CHAIN_ID = 80001; diff --git a/src/ts/MiscMumbai.ts b/src/ts/MiscMumbai.ts deleted file mode 100644 index f817068c..00000000 --- a/src/ts/MiscMumbai.ts +++ /dev/null @@ -1,8 +0,0 @@ -// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR -// https://mumbai.polygonscan.com/address/0x49A726CC7B438dBc4fB89a9548B5E8691e1C35A6 -export const TRANSPARENT_PROXY_FACTORY = '0x49A726CC7B438dBc4fB89a9548B5E8691e1C35A6'; - -// https://mumbai.polygonscan.com/address/0xaebfFE29D8E823e8E43695648F418fa8c30AF879 -export const PROXY_ADMIN = '0xaebfFE29D8E823e8E43695648F418fa8c30AF879'; - -export const CHAIN_ID = 80001; diff --git a/src/ts/tokenlist.ts b/src/ts/tokenlist.ts index db08a8c8..9bf5971b 100644 --- a/src/ts/tokenlist.ts +++ b/src/ts/tokenlist.ts @@ -2304,6 +2304,28 @@ export const tokenlist = { underlyingAToken: '0x0C0d01AbF3e6aDfcA0989eBbA9d6e85dD58EaB1E', }, }, + { + chainId: 1, + address: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', + name: 'Wrapped eETH', + decimals: 18, + symbol: 'weETH', + tags: ['underlying'], + logoURI: 'ipfs://Qmc39Z8gPzajG5TFos5uvBDUhrG94qj46UN4FJdZGeqfv4', + }, + { + chainId: 1, + address: '0xBdfa7b7893081B35Fb54027489e2Bc7A38275129', + name: 'Aave Ethereum weETH', + decimals: 18, + symbol: 'aEthweETH', + tags: ['aTokenV3', 'aaveV3'], + logoURI: 'ipfs://QmdHmsCCY3w3FvUgPANzkWbSSVicpWzrzWEJUKgNrfixBR', + extensions: { + pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', + underlying: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', + }, + }, { chainId: 137, address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', @@ -4720,6 +4742,28 @@ export const tokenlist = { underlyingAToken: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', }, }, + { + chainId: 42161, + address: '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', + name: 'Wrapped eETH', + decimals: 18, + symbol: 'weETH', + tags: ['underlying'], + logoURI: 'ipfs://Qmc39Z8gPzajG5TFos5uvBDUhrG94qj46UN4FJdZGeqfv4', + }, + { + chainId: 42161, + address: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77', + name: 'Aave Arbitrum weETH', + decimals: 18, + symbol: 'aArbweETH', + tags: ['aTokenV3', 'aaveV3'], + logoURI: 'ipfs://QmdHmsCCY3w3FvUgPANzkWbSSVicpWzrzWEJUKgNrfixBR', + extensions: { + pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + underlying: '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', + }, + }, { chainId: 10, address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', @@ -5773,6 +5817,6 @@ export const tokenlist = { }, }, ], - version: {major: 3, minor: 0, patch: 14}, - timestamp: '2024-03-17T00:51:09.765Z', + version: {major: 3, minor: 0, patch: 15}, + timestamp: '2024-04-22T06:01:02.747Z', }; diff --git a/tokenlist.json b/tokenlist.json index dc338187..358b784b 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -2304,6 +2304,28 @@ "underlyingAToken": "0x0C0d01AbF3e6aDfcA0989eBbA9d6e85dD58EaB1E" } }, + { + "chainId": 1, + "address": "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee", + "name": "Wrapped eETH", + "decimals": 18, + "symbol": "weETH", + "tags": ["underlying"], + "logoURI": "ipfs://Qmc39Z8gPzajG5TFos5uvBDUhrG94qj46UN4FJdZGeqfv4" + }, + { + "chainId": 1, + "address": "0xBdfa7b7893081B35Fb54027489e2Bc7A38275129", + "name": "Aave Ethereum weETH", + "decimals": 18, + "symbol": "aEthweETH", + "tags": ["aTokenV3", "aaveV3"], + "logoURI": "ipfs://QmdHmsCCY3w3FvUgPANzkWbSSVicpWzrzWEJUKgNrfixBR", + "extensions": { + "pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", + "underlying": "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee" + } + }, { "chainId": 137, "address": "0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE", @@ -4720,6 +4742,28 @@ "underlyingAToken": "0x6533afac2E7BCCB20dca161449A13A32D391fb00" } }, + { + "chainId": 42161, + "address": "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe", + "name": "Wrapped eETH", + "decimals": 18, + "symbol": "weETH", + "tags": ["underlying"], + "logoURI": "ipfs://Qmc39Z8gPzajG5TFos5uvBDUhrG94qj46UN4FJdZGeqfv4" + }, + { + "chainId": 42161, + "address": "0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77", + "name": "Aave Arbitrum weETH", + "decimals": 18, + "symbol": "aArbweETH", + "tags": ["aTokenV3", "aaveV3"], + "logoURI": "ipfs://QmdHmsCCY3w3FvUgPANzkWbSSVicpWzrzWEJUKgNrfixBR", + "extensions": { + "pool": "0x794a61358D6845594F94dc1DB02A252b5b4814aD", + "underlying": "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe" + } + }, { "chainId": 10, "address": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", @@ -5773,6 +5817,6 @@ } } ], - "version": { "major": 3, "minor": 0, "patch": 14 }, - "timestamp": "2024-03-17T00:51:09.765Z" + "version": { "major": 3, "minor": 0, "patch": 15 }, + "timestamp": "2024-04-22T06:01:02.747Z" }