diff --git a/README.md b/README.md index c41c4529..91938cfd 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ import { AaveV2Avalanche } from "@bgd-labs/aave-address-book"; // import specifi console.log(AaveV2Avalanche.POOL_ADDRESSES_PROVIDER); // "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb" -// in addition the chainId of the respecitve addresses is exported alongside +// in addition the chainId of the respective addresses is exported alongside console.log(AaveV2Avalanche.CHAIN_ID); // 43114 ``` @@ -106,3 +106,11 @@ b) Adding an address that **cannot be obtained via onchain calls** so it needs t To achieve an addition here, you need to alter the [additionalAddresses section](https://github.com/bgd-labs/aave-address-book/blob/main/scripts/config.ts#L46) on the pool type and add your address to the respective pools. Additional addresses will currently be exported as type `address`. There's currently no possibility to define a custom type. In any case you need to run `yarn generate:addresses` afterwards and commit the altered artifacts. + +### Troubleshooting + +#### Error generating the addresses + +This repository will try to use public rpcs. +For some networks they are not very reliable though, therefore you can set `RPC_` in your .env to use a private rpc. +Check https://github.com/bgd-labs/aave-address-book/blob/main/scripts/clients.ts#L39 for the chain naming convention. diff --git a/package.json b/package.json index 2835291d..66ab3cea 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,18 @@ }, "types": "./dist/AaveAddressBook.d.ts", "default": "./dist/AaveAddressBook.js" + }, + "./abis": { + "require": { + "types": "./dist/abis/index.d.ts", + "default": "./dist/abis/index.js" + }, + "import": { + "types": "./dist/abis/index.mts", + "default": "./dist/abis/index.mjs" + }, + "types": "./dist/abis/index.d.ts", + "default": "./dist/abis/index.js" } }, "sideEffects": false, @@ -52,7 +64,7 @@ "homepage": "https://github.com/bgd-labs/aave-address-book#readme", "devDependencies": { "@bgd-labs/js-utils": "1.4.2", - "@bgd-labs/react-web3-icons": "^1.4.4", + "@bgd-labs/react-web3-icons": "^1.5.3", "@types/node": "^22.4.1", "@uniswap/token-lists": "^1.0.0-beta.33", "ajv": "^8.12.0", diff --git a/safe.csv b/safe.csv index bee8f877..0d6048fc 100644 --- a/safe.csv +++ b/safe.csv @@ -20,223 +20,185 @@ address,name,chainId 0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d,AaveV2Ethereum AAVE_PROTOCOL_DATA_PROVIDER,1 0xdAC17F958D2ee523a2206206994597C13D831ec7,AaveV2Ethereum ASSETS USDT UNDERLYING,1 0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811,AaveV2Ethereum ASSETS USDT A_TOKEN,1 -0xe91D55AB2240594855aBd11b3faAE801Fd4c4687,AaveV2Ethereum ASSETS USDT S_TOKEN,1 0x531842cEbbdD378f8ee36D171d6cC9C4fcf475Ec,AaveV2Ethereum ASSETS USDT V_TOKEN,1 0xa8850b94E4A0B881c3b08aE065D189D87F34F175,AaveV2Ethereum ASSETS USDT INTEREST_RATE_STRATEGY,1 0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74,AaveV2Ethereum ASSETS USDT ORACLE,1 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599,AaveV2Ethereum ASSETS WBTC UNDERLYING,1 0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656,AaveV2Ethereum ASSETS WBTC A_TOKEN,1 -0x51B039b9AFE64B78758f8Ef091211b5387eA717c,AaveV2Ethereum ASSETS WBTC S_TOKEN,1 0x9c39809Dec7F95F5e0713634a4D0701329B3b4d2,AaveV2Ethereum ASSETS WBTC V_TOKEN,1 0x32f3A6134590fc2d9440663d35a2F0a6265F04c4,AaveV2Ethereum ASSETS WBTC INTEREST_RATE_STRATEGY,1 0xFD858c8bC5ac5e10f01018bC78471bb0DC392247,AaveV2Ethereum ASSETS WBTC ORACLE,1 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,AaveV2Ethereum ASSETS WETH UNDERLYING,1 0x030bA81f1c18d280636F32af80b9AAd02Cf0854e,AaveV2Ethereum ASSETS WETH A_TOKEN,1 -0x4e977830ba4bd783C0BB7F15d3e243f73FF57121,AaveV2Ethereum ASSETS WETH S_TOKEN,1 0xF63B34710400CAd3e044cFfDcAb00a0f32E33eCf,AaveV2Ethereum ASSETS WETH V_TOKEN,1 0xb8975328Aa52c00B9Ec1e11e518C4900f2e6C62a,AaveV2Ethereum ASSETS WETH INTEREST_RATE_STRATEGY,1 -0x0000000000000000000000000000000000000000,AaveV2Ethereum ASSETS WETH ORACLE,1 0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e,AaveV2Ethereum ASSETS YFI UNDERLYING,1 0x5165d24277cD063F5ac44Efd447B27025e888f37,AaveV2Ethereum ASSETS YFI A_TOKEN,1 -0xca823F78C2Dd38993284bb42Ba9b14152082F7BD,AaveV2Ethereum ASSETS YFI S_TOKEN,1 0x7EbD09022Be45AD993BAA1CEc61166Fcc8644d97,AaveV2Ethereum ASSETS YFI V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS YFI INTEREST_RATE_STRATEGY,1 0x7c5d4F8345e66f68099581Db340cd65B078C41f4,AaveV2Ethereum ASSETS YFI ORACLE,1 0xE41d2489571d322189246DaFA5ebDe1F4699F498,AaveV2Ethereum ASSETS ZRX UNDERLYING,1 0xDf7FF54aAcAcbFf42dfe29DD6144A69b629f8C9e,AaveV2Ethereum ASSETS ZRX A_TOKEN,1 -0x071B4323a24E73A5afeEbe34118Cd21B8FAAF7C3,AaveV2Ethereum ASSETS ZRX S_TOKEN,1 0x85791D117A392097590bDeD3bD5abB8d5A20491A,AaveV2Ethereum ASSETS ZRX V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS ZRX INTEREST_RATE_STRATEGY,1 0x2Da4983a622a8498bb1a21FaE9D8F6C664939962,AaveV2Ethereum ASSETS ZRX ORACLE,1 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984,AaveV2Ethereum ASSETS UNI UNDERLYING,1 0xB9D7CB55f463405CDfBe4E90a6D2Df01C2B92BF1,AaveV2Ethereum ASSETS UNI A_TOKEN,1 -0xD939F7430dC8D5a427f156dE1012A56C18AcB6Aa,AaveV2Ethereum ASSETS UNI S_TOKEN,1 0x5BdB050A92CADcCfCDcCCBFC17204a1C9cC0Ab73,AaveV2Ethereum ASSETS UNI V_TOKEN,1 0x87cCa171a2125efca9868F9Bc1FfD7B7c80dC5a3,AaveV2Ethereum ASSETS UNI INTEREST_RATE_STRATEGY,1 0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e,AaveV2Ethereum ASSETS UNI ORACLE,1 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9,AaveV2Ethereum ASSETS AAVE UNDERLYING,1 0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B,AaveV2Ethereum ASSETS AAVE A_TOKEN,1 -0x079D6a3E844BcECf5720478A718Edb6575362C5f,AaveV2Ethereum ASSETS AAVE S_TOKEN,1 0xF7DBA49d571745D9d7fcb56225B05BEA803EBf3C,AaveV2Ethereum ASSETS AAVE V_TOKEN,1 0xd4cA26F2496195C4F886D464D8578368236bB747,AaveV2Ethereum ASSETS AAVE INTEREST_RATE_STRATEGY,1 0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012,AaveV2Ethereum ASSETS AAVE ORACLE,1 0x0D8775F648430679A709E98d2b0Cb6250d2887EF,AaveV2Ethereum ASSETS BAT UNDERLYING,1 0x05Ec93c0365baAeAbF7AefFb0972ea7ECdD39CF1,AaveV2Ethereum ASSETS BAT A_TOKEN,1 -0x277f8676FAcf4dAA5a6EA38ba511B7F65AA02f9F,AaveV2Ethereum ASSETS BAT S_TOKEN,1 0xfc218A6Dfe6901CB34B1a5281FC6f1b8e7E56877,AaveV2Ethereum ASSETS BAT V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS BAT INTEREST_RATE_STRATEGY,1 0x0d16d4528239e9ee52fa531af613AcdB23D88c94,AaveV2Ethereum ASSETS BAT ORACLE,1 0x4Fabb145d64652a948d72533023f6E7A623C7C53,AaveV2Ethereum ASSETS BUSD UNDERLYING,1 0xA361718326c15715591c299427c62086F69923D9,AaveV2Ethereum ASSETS BUSD A_TOKEN,1 -0x4A7A63909A72D268b1D8a93a9395d098688e0e5C,AaveV2Ethereum ASSETS BUSD S_TOKEN,1 0xbA429f7011c9fa04cDd46a2Da24dc0FF0aC6099c,AaveV2Ethereum ASSETS BUSD V_TOKEN,1 0x65A3De6d805c2A25A8E53e69da6A5a11848f25b3,AaveV2Ethereum ASSETS BUSD INTEREST_RATE_STRATEGY,1 0x378E959C0eCBbA793217913cE1D8745f6d6B7aC7,AaveV2Ethereum ASSETS BUSD ORACLE,1 0x6B175474E89094C44Da98b954EedeAC495271d0F,AaveV2Ethereum ASSETS DAI UNDERLYING,1 0x028171bCA77440897B824Ca71D1c56caC55b68A3,AaveV2Ethereum ASSETS DAI A_TOKEN,1 -0x778A13D3eeb110A4f7bb6529F99c000119a08E92,AaveV2Ethereum ASSETS DAI S_TOKEN,1 0x6C3c78838c761c6Ac7bE9F59fe808ea2A6E4379d,AaveV2Ethereum ASSETS DAI V_TOKEN,1 0xA939B1f36E9a14B044B8149933184a18E0dFC17D,AaveV2Ethereum ASSETS DAI INTEREST_RATE_STRATEGY,1 0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58,AaveV2Ethereum ASSETS DAI ORACLE,1 0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c,AaveV2Ethereum ASSETS ENJ UNDERLYING,1 0xaC6Df26a590F08dcC95D5a4705ae8abbc88509Ef,AaveV2Ethereum ASSETS ENJ A_TOKEN,1 -0x943DcCA156b5312Aa24c1a08769D67FEce4ac14C,AaveV2Ethereum ASSETS ENJ S_TOKEN,1 0x38995F292a6E31b78203254fE1cdd5Ca1010A446,AaveV2Ethereum ASSETS ENJ V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS ENJ INTEREST_RATE_STRATEGY,1 0x24D9aB51950F3d62E9144fdC2f3135DAA6Ce8D1B,AaveV2Ethereum ASSETS ENJ ORACLE,1 0xdd974D5C2e2928deA5F71b9825b8b646686BD200,AaveV2Ethereum ASSETS KNC UNDERLYING,1 0x39C6b3e42d6A679d7D776778Fe880BC9487C2EDA,AaveV2Ethereum ASSETS KNC A_TOKEN,1 -0x9915dfb872778B2890a117DA1F35F335eb06B54f,AaveV2Ethereum ASSETS KNC S_TOKEN,1 0x6B05D1c608015Ccb8e205A690cB86773A96F39f1,AaveV2Ethereum ASSETS KNC V_TOKEN,1 0xeB65a3163Fd8900F4fE9a044e18966706b69A74D,AaveV2Ethereum ASSETS KNC INTEREST_RATE_STRATEGY,1 0x656c0544eF4C98A6a98491833A89204Abb045d6b,AaveV2Ethereum ASSETS KNC ORACLE,1 0x514910771AF9Ca656af840dff83E8264EcF986CA,AaveV2Ethereum ASSETS LINK UNDERLYING,1 0xa06bC25B5805d5F8d82847D191Cb4Af5A3e873E0,AaveV2Ethereum ASSETS LINK A_TOKEN,1 -0xFB4AEc4Cc858F2539EBd3D37f2a43eAe5b15b98a,AaveV2Ethereum ASSETS LINK S_TOKEN,1 0x0b8f12b1788BFdE65Aa1ca52E3e9F3Ba401be16D,AaveV2Ethereum ASSETS LINK V_TOKEN,1 0xED6547b83276B076B771B88FcCbD68BDeDb3927f,AaveV2Ethereum ASSETS LINK INTEREST_RATE_STRATEGY,1 0xDC530D9457755926550b59e8ECcdaE7624181557,AaveV2Ethereum ASSETS LINK ORACLE,1 0x0F5D2fB29fb7d3CFeE444a200298f468908cC942,AaveV2Ethereum ASSETS MANA UNDERLYING,1 0xa685a61171bb30d4072B338c80Cb7b2c865c873E,AaveV2Ethereum ASSETS MANA A_TOKEN,1 -0xD86C74eA2224f4B8591560652b50035E4e5c0a3b,AaveV2Ethereum ASSETS MANA S_TOKEN,1 0x0A68976301e46Ca6Ce7410DB28883E309EA0D352,AaveV2Ethereum ASSETS MANA V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS MANA INTEREST_RATE_STRATEGY,1 0x82A44D92D6c329826dc557c5E1Be6ebeC5D5FeB9,AaveV2Ethereum ASSETS MANA ORACLE,1 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2,AaveV2Ethereum ASSETS MKR UNDERLYING,1 0xc713e5E149D5D0715DcD1c156a020976e7E56B88,AaveV2Ethereum ASSETS MKR A_TOKEN,1 -0xC01C8E4b12a89456a9fD4e4e75B72546Bf53f0B5,AaveV2Ethereum ASSETS MKR S_TOKEN,1 0xba728eAd5e496BE00DCF66F650b6d7758eCB50f8,AaveV2Ethereum ASSETS MKR V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS MKR INTEREST_RATE_STRATEGY,1 0x24551a8Fb2A7211A25a17B1481f043A8a8adC7f2,AaveV2Ethereum ASSETS MKR ORACLE,1 0x408e41876cCCDC0F92210600ef50372656052a38,AaveV2Ethereum ASSETS REN UNDERLYING,1 0xCC12AbE4ff81c9378D670De1b57F8e0Dd228D77a,AaveV2Ethereum ASSETS REN A_TOKEN,1 -0x3356Ec1eFA75d9D150Da1EC7d944D9EDf73703B7,AaveV2Ethereum ASSETS REN S_TOKEN,1 0xcd9D82d33bd737De215cDac57FE2F7f04DF77FE0,AaveV2Ethereum ASSETS REN V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS REN INTEREST_RATE_STRATEGY,1 0x3147D7203354Dc06D9fd350c7a2437bcA92387a4,AaveV2Ethereum ASSETS REN ORACLE,1 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F,AaveV2Ethereum ASSETS SNX UNDERLYING,1 0x35f6B052C598d933D69A4EEC4D04c73A191fE6c2,AaveV2Ethereum ASSETS SNX A_TOKEN,1 -0x8575c8ae70bDB71606A53AeA1c6789cB0fBF3166,AaveV2Ethereum ASSETS SNX S_TOKEN,1 0x267EB8Cf715455517F9BD5834AeAE3CeA1EBdbD8,AaveV2Ethereum ASSETS SNX V_TOKEN,1 0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5,AaveV2Ethereum ASSETS SNX INTEREST_RATE_STRATEGY,1 0x79291A9d692Df95334B1a0B3B4AE6bC606782f8c,AaveV2Ethereum ASSETS SNX ORACLE,1 0x57Ab1ec28D129707052df4dF418D58a2D46d5f51,AaveV2Ethereum ASSETS sUSD UNDERLYING,1 0x6C5024Cd4F8A59110119C56f8933403A539555EB,AaveV2Ethereum ASSETS sUSD A_TOKEN,1 -0x30B0f7324feDF89d8eff397275F8983397eFe4af,AaveV2Ethereum ASSETS sUSD S_TOKEN,1 0xdC6a3Ab17299D9C2A412B0e0a4C1f55446AE0817,AaveV2Ethereum ASSETS sUSD V_TOKEN,1 0x2Ce27f7a2DC17614421b9229158DE54A56d013E8,AaveV2Ethereum ASSETS sUSD INTEREST_RATE_STRATEGY,1 0x00753D870Ceda60b38A9efeb47a724160BD8A749,AaveV2Ethereum ASSETS sUSD ORACLE,1 0x0000000000085d4780B73119b644AE5ecd22b376,AaveV2Ethereum ASSETS TUSD UNDERLYING,1 0x101cc05f4A51C0319f570d5E146a8C625198e636,AaveV2Ethereum ASSETS TUSD A_TOKEN,1 -0x7f38d60D94652072b2C44a18c0e14A481EC3C0dd,AaveV2Ethereum ASSETS TUSD S_TOKEN,1 0x01C0eb1f8c6F1C1bF74ae028697ce7AA2a8b0E92,AaveV2Ethereum ASSETS TUSD V_TOKEN,1 0x65A3De6d805c2A25A8E53e69da6A5a11848f25b3,AaveV2Ethereum ASSETS TUSD INTEREST_RATE_STRATEGY,1 0x65f05c3bC078bf24EdeaCFD48D6312c103AC4a61,AaveV2Ethereum ASSETS TUSD ORACLE,1 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,AaveV2Ethereum ASSETS USDC UNDERLYING,1 0xBcca60bB61934080951369a648Fb03DF4F96263C,AaveV2Ethereum ASSETS USDC A_TOKEN,1 -0xE4922afAB0BbaDd8ab2a88E0C79d884Ad337fcA6,AaveV2Ethereum ASSETS USDC S_TOKEN,1 0x619beb58998eD2278e08620f97007e1116D5D25b,AaveV2Ethereum ASSETS USDC V_TOKEN,1 0x6a8C8119b2BA9460162B8C999f5A8C84f28a033f,AaveV2Ethereum ASSETS USDC INTEREST_RATE_STRATEGY,1 0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d,AaveV2Ethereum ASSETS USDC ORACLE,1 0xD533a949740bb3306d119CC777fa900bA034cd52,AaveV2Ethereum ASSETS CRV UNDERLYING,1 0x8dAE6Cb04688C62d939ed9B68d32Bc62e49970b1,AaveV2Ethereum ASSETS CRV A_TOKEN,1 -0x9288059a74f589C919c7Cf1Db433251CdFEB874B,AaveV2Ethereum ASSETS CRV S_TOKEN,1 0x00ad8eBF64F141f1C81e9f8f792d3d1631c6c684,AaveV2Ethereum ASSETS CRV V_TOKEN,1 0x35FE8C9924718f286463e659be35b4122eEe907F,AaveV2Ethereum ASSETS CRV INTEREST_RATE_STRATEGY,1 0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e,AaveV2Ethereum ASSETS CRV ORACLE,1 0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd,AaveV2Ethereum ASSETS GUSD UNDERLYING,1 0xD37EE7e4f452C6638c96536e68090De8cBcdb583,AaveV2Ethereum ASSETS GUSD A_TOKEN,1 -0xf8aC64ec6Ff8E0028b37EB89772d21865321bCe0,AaveV2Ethereum ASSETS GUSD S_TOKEN,1 0x279AF5b99540c1A3A7E3CDd326e19659401eF99e,AaveV2Ethereum ASSETS GUSD V_TOKEN,1 0x11Ef01bc8d774a5FE6F4Bcd4bafd187D27CD99AF,AaveV2Ethereum ASSETS GUSD INTEREST_RATE_STRATEGY,1 0xEc6f4Cd64d28Ef32507e2dc399948aAe9Bbedd7e,AaveV2Ethereum ASSETS GUSD ORACLE,1 0xba100000625a3754423978a60c9317c58a424e3D,AaveV2Ethereum ASSETS BAL UNDERLYING,1 0x272F97b7a56a387aE942350bBC7Df5700f8a4576,AaveV2Ethereum ASSETS BAL A_TOKEN,1 -0xe569d31590307d05DA3812964F1eDd551D665a0b,AaveV2Ethereum ASSETS BAL S_TOKEN,1 0x13210D4Fe0d5402bd7Ecbc4B5bC5cFcA3b71adB0,AaveV2Ethereum ASSETS BAL V_TOKEN,1 0xb873ec463CAC50112B0e14d060fbc4192406279f,AaveV2Ethereum ASSETS BAL INTEREST_RATE_STRATEGY,1 0xC1438AA3823A6Ba0C159CfA8D98dF5A994bA120b,AaveV2Ethereum ASSETS BAL ORACLE,1 0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272,AaveV2Ethereum ASSETS xSUSHI UNDERLYING,1 0xF256CC7847E919FAc9B808cC216cAc87CCF2f47a,AaveV2Ethereum ASSETS xSUSHI A_TOKEN,1 -0x73Bfb81D7dbA75C904f430eA8BAe82DB0D41187B,AaveV2Ethereum ASSETS xSUSHI S_TOKEN,1 0xfAFEDF95E21184E3d880bd56D4806c4b8d31c69A,AaveV2Ethereum ASSETS xSUSHI V_TOKEN,1 0x6855E5544Cd803BF24c9612b3F12C009116B0ee1,AaveV2Ethereum ASSETS xSUSHI INTEREST_RATE_STRATEGY,1 0xF05D9B6C08757EAcb1fbec18e36A1B7566a13DEB,AaveV2Ethereum ASSETS xSUSHI ORACLE,1 0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5,AaveV2Ethereum ASSETS renFIL UNDERLYING,1 0x514cd6756CCBe28772d4Cb81bC3156BA9d1744aa,AaveV2Ethereum ASSETS renFIL A_TOKEN,1 -0xcAad05C49E14075077915cB5C820EB3245aFb950,AaveV2Ethereum ASSETS renFIL S_TOKEN,1 0x348e2eBD5E962854871874E444F4122399c02755,AaveV2Ethereum ASSETS renFIL V_TOKEN,1 0x311C866D55456e465e314A3E9830276B438A73f0,AaveV2Ethereum ASSETS renFIL INTEREST_RATE_STRATEGY,1 0x0606Be69451B1C9861Ac6b3626b99093b713E801,AaveV2Ethereum ASSETS renFIL ORACLE,1 0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919,AaveV2Ethereum ASSETS RAI UNDERLYING,1 0xc9BC48c72154ef3e5425641a3c747242112a46AF,AaveV2Ethereum ASSETS RAI A_TOKEN,1 -0x9C72B8476C33AE214ee3e8C20F0bc28496a62032,AaveV2Ethereum ASSETS RAI S_TOKEN,1 0xB5385132EE8321977FfF44b60cDE9fE9AB0B4e6b,AaveV2Ethereum ASSETS RAI V_TOKEN,1 0xc83cDb49F234EC6666D7857B3EAa1302b109394C,AaveV2Ethereum ASSETS RAI INTEREST_RATE_STRATEGY,1 0x4ad7B025127e89263242aB68F0f9c4E5C033B489,AaveV2Ethereum ASSETS RAI ORACLE,1 0xD46bA6D942050d489DBd938a2C909A5d5039A161,AaveV2Ethereum ASSETS AMPL UNDERLYING,1 0x1E6bb68Acec8fefBD87D192bE09bb274170a0548,AaveV2Ethereum ASSETS AMPL A_TOKEN,1 -0x18152C9f77DAdc737006e9430dB913159645fa87,AaveV2Ethereum ASSETS AMPL S_TOKEN,1 0xf013D90E4e4E3Baf420dFea60735e75dbd42f1e1,AaveV2Ethereum ASSETS AMPL V_TOKEN,1 0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5,AaveV2Ethereum ASSETS AMPL INTEREST_RATE_STRATEGY,1 0x492575FDD11a0fCf2C6C719867890a7648d526eB,AaveV2Ethereum ASSETS AMPL ORACLE,1 0x8E870D67F660D95d5be530380D0eC0bd388289E1,AaveV2Ethereum ASSETS USDP UNDERLYING,1 0x2e8F4bdbE3d47d7d7DE490437AeA9915D930F1A3,AaveV2Ethereum ASSETS USDP A_TOKEN,1 -0x2387119bc85A74e0BBcbe190d80676CB16F10D4F,AaveV2Ethereum ASSETS USDP S_TOKEN,1 0xFDb93B3b10936cf81FA59A02A7523B6e2149b2B7,AaveV2Ethereum ASSETS USDP V_TOKEN,1 0x2Ce27f7a2DC17614421b9229158DE54A56d013E8,AaveV2Ethereum ASSETS USDP INTEREST_RATE_STRATEGY,1 0x776292E6eb3eD2D28C0CFa77BaB9378A771424Be,AaveV2Ethereum ASSETS USDP ORACLE,1 0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b,AaveV2Ethereum ASSETS DPI UNDERLYING,1 0x6F634c6135D2EBD550000ac92F494F9CB8183dAe,AaveV2Ethereum ASSETS DPI A_TOKEN,1 -0xa3953F07f389d719F99FC378ebDb9276177d8A6e,AaveV2Ethereum ASSETS DPI S_TOKEN,1 0x4dDff5885a67E4EffeC55875a3977D7E60F82ae0,AaveV2Ethereum ASSETS DPI V_TOKEN,1 0xA12D7bB07379ad6de4497B80088e28D4C00932D1,AaveV2Ethereum ASSETS DPI INTEREST_RATE_STRATEGY,1 0x2fe9EcF3024B5A63f50Ec0eFC53b8fF2C09F2E93,AaveV2Ethereum ASSETS DPI ORACLE,1 0x853d955aCEf822Db058eb8505911ED77F175b99e,AaveV2Ethereum ASSETS FRAX UNDERLYING,1 0xd4937682df3C8aEF4FE912A96A74121C0829E664,AaveV2Ethereum ASSETS FRAX A_TOKEN,1 -0x3916e3B6c84b161df1b2733dFfc9569a1dA710c2,AaveV2Ethereum ASSETS FRAX S_TOKEN,1 0xfE8F19B17fFeF0fDbfe2671F248903055AFAA8Ca,AaveV2Ethereum ASSETS FRAX V_TOKEN,1 0x2Ce27f7a2DC17614421b9229158DE54A56d013E8,AaveV2Ethereum ASSETS FRAX INTEREST_RATE_STRATEGY,1 0x1f7e2ccd6702a5c587160390A52111aF6020ac92,AaveV2Ethereum ASSETS FRAX ORACLE,1 0x956F47F50A910163D8BF957Cf5846D573E7f87CA,AaveV2Ethereum ASSETS FEI UNDERLYING,1 0x683923dB55Fead99A79Fa01A27EeC3cB19679cC3,AaveV2Ethereum ASSETS FEI A_TOKEN,1 -0xd89cF9E8A858F8B4b31Faf793505e112d6c17449,AaveV2Ethereum ASSETS FEI S_TOKEN,1 0xC2e10006AccAb7B45D9184FcF5b7EC7763f5BaAe,AaveV2Ethereum ASSETS FEI V_TOKEN,1 0x795dC59EA6472Dfa4298A454C6E8Dcb005643A13,AaveV2Ethereum ASSETS FEI INTEREST_RATE_STRATEGY,1 0xac3AF0f4A52C577Cc2C241dF51a01FDe3D06D93B,AaveV2Ethereum ASSETS FEI ORACLE,1 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84,AaveV2Ethereum ASSETS stETH UNDERLYING,1 0x1982b2F5814301d4e9a8b0201555376e62F82428,AaveV2Ethereum ASSETS stETH A_TOKEN,1 -0x66457616Dd8489dF5D0AFD8678F4A260088aAF55,AaveV2Ethereum ASSETS stETH S_TOKEN,1 0xA9DEAc9f00Dc4310c35603FCD9D34d1A750f81Db,AaveV2Ethereum ASSETS stETH V_TOKEN,1 0xff04ed5f7a6C3a0F1e5Ea20617F8C6f513D5A77c,AaveV2Ethereum ASSETS stETH INTEREST_RATE_STRATEGY,1 0xADE6CBA6c45aa8E9d0337cAc3D2619eabc39D901,AaveV2Ethereum ASSETS stETH ORACLE,1 0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72,AaveV2Ethereum ASSETS ENS UNDERLYING,1 0x9a14e23A58edf4EFDcB360f68cd1b95ce2081a2F,AaveV2Ethereum ASSETS ENS A_TOKEN,1 -0x34441FFD1948E49dC7a607882D0c38Efd0083815,AaveV2Ethereum ASSETS ENS S_TOKEN,1 0x176808047cc9b7A2C9AE202c593ED42dDD7C0D13,AaveV2Ethereum ASSETS ENS V_TOKEN,1 0x6855E5544Cd803BF24c9612b3F12C009116B0ee1,AaveV2Ethereum ASSETS ENS INTEREST_RATE_STRATEGY,1 0xd4641b75015E6536E8102D98479568D05D7123Db,AaveV2Ethereum ASSETS ENS ORACLE,1 0xa693B19d2931d498c5B318dF961919BB4aee87a5,AaveV2Ethereum ASSETS UST UNDERLYING,1 0xc2e2152647F4C26028482Efaf64b2Aa28779EFC4,AaveV2Ethereum ASSETS UST A_TOKEN,1 -0x7FDbfB0412700D94403c42cA3CAEeeA183F07B26,AaveV2Ethereum ASSETS UST S_TOKEN,1 0xaf32001cf2E66C4C3af4205F6EA77112AA4160FE,AaveV2Ethereum ASSETS UST V_TOKEN,1 0xc83cDb49F234EC6666D7857B3EAa1302b109394C,AaveV2Ethereum ASSETS UST INTEREST_RATE_STRATEGY,1 0x51d08b4912d33d051b57d784c7CAfC0cD42c0f45,AaveV2Ethereum ASSETS UST ORACLE,1 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B,AaveV2Ethereum ASSETS CVX UNDERLYING,1 0x952749E07d7157bb9644A894dFAF3Bad5eF6D918,AaveV2Ethereum ASSETS CVX A_TOKEN,1 -0xB01Eb1cE1Da06179136D561766fc2d609C5F55Eb,AaveV2Ethereum ASSETS CVX S_TOKEN,1 0x4Ae5E4409C6Dbc84A00f9f89e4ba096603fb7d50,AaveV2Ethereum ASSETS CVX V_TOKEN,1 0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069,AaveV2Ethereum ASSETS CVX INTEREST_RATE_STRATEGY,1 0xC9CbF687f43176B302F03f5e58470b77D07c61c6,AaveV2Ethereum ASSETS CVX ORACLE,1 0x111111111117dC0aa78b770fA6A738034120C302,AaveV2Ethereum ASSETS ONE_INCH UNDERLYING,1 0xB29130CBcC3F791f077eAdE0266168E808E5151e,AaveV2Ethereum ASSETS ONE_INCH A_TOKEN,1 -0x1278d6ED804d59d2d18a5Aa5638DfD591A79aF0a,AaveV2Ethereum ASSETS ONE_INCH S_TOKEN,1 0xD7896C1B9b4455aFf31473908eB15796ad2295DA,AaveV2Ethereum ASSETS ONE_INCH V_TOKEN,1 0x6855E5544Cd803BF24c9612b3F12C009116B0ee1,AaveV2Ethereum ASSETS ONE_INCH INTEREST_RATE_STRATEGY,1 0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8,AaveV2Ethereum ASSETS ONE_INCH ORACLE,1 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0,AaveV2Ethereum ASSETS LUSD UNDERLYING,1 0xce1871f791548600cb59efbefFC9c38719142079,AaveV2Ethereum ASSETS LUSD A_TOKEN,1 -0x39f010127274b2dBdB770B45e1de54d974974526,AaveV2Ethereum ASSETS LUSD S_TOKEN,1 0x411066489AB40442d6Fc215aD7c64224120D33F2,AaveV2Ethereum ASSETS LUSD V_TOKEN,1 0xe706615371Ba37a3134FEb28D0b4Aac74e5976bb,AaveV2Ethereum ASSETS LUSD INTEREST_RATE_STRATEGY,1 0x3a1b874ec865c466046cf131516d26Cc228dF0b3,AaveV2Ethereum ASSETS LUSD ORACLE,1 @@ -267,139 +229,115 @@ address,name,chainId 0xc443AD9DDE3cecfB9dfC5736578f447aFE3590ba,AaveV2EthereumAMM AAVE_PROTOCOL_DATA_PROVIDER,1 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,AaveV2EthereumAMM ASSETS WETH UNDERLYING,1 0xf9Fb4AD91812b704Ba883B11d2B576E890a6730A,AaveV2EthereumAMM ASSETS WETH A_TOKEN,1 -0x118Ee405c6be8f9BA7cC7a98064EB5DA462235CF,AaveV2EthereumAMM ASSETS WETH S_TOKEN,1 0xA4C273d9A0C1fe2674F0E845160d6232768a3064,AaveV2EthereumAMM ASSETS WETH V_TOKEN,1 0xdb838A27f91b112D722c854636F2c23720ea007E,AaveV2EthereumAMM ASSETS WETH INTEREST_RATE_STRATEGY,1 -0x0000000000000000000000000000000000000000,AaveV2EthereumAMM ASSETS WETH ORACLE,1 0x6B175474E89094C44Da98b954EedeAC495271d0F,AaveV2EthereumAMM ASSETS DAI UNDERLYING,1 0x79bE75FFC64DD58e66787E4Eae470c8a1FD08ba4,AaveV2EthereumAMM ASSETS DAI A_TOKEN,1 -0x8da51a5a3129343468a63A96ccae1ff1352a3dfE,AaveV2EthereumAMM ASSETS DAI S_TOKEN,1 0x3F4fA4937E72991367DC32687BC3278f095E7EAa,AaveV2EthereumAMM ASSETS DAI V_TOKEN,1 0xA57cDBfE9FA29Ad842f53100d68789999c04AA36,AaveV2EthereumAMM ASSETS DAI INTEREST_RATE_STRATEGY,1 0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58,AaveV2EthereumAMM ASSETS DAI ORACLE,1 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,AaveV2EthereumAMM ASSETS USDC UNDERLYING,1 0xd24946147829DEaA935bE2aD85A3291dbf109c80,AaveV2EthereumAMM ASSETS USDC A_TOKEN,1 -0xE5971a8a741892F3b3ac3E9c94d02588190cE220,AaveV2EthereumAMM ASSETS USDC S_TOKEN,1 0xCFDC74b97b69319683fec2A4Ef95c4Ab739F1B12,AaveV2EthereumAMM ASSETS USDC V_TOKEN,1 0xA57cDBfE9FA29Ad842f53100d68789999c04AA36,AaveV2EthereumAMM ASSETS USDC INTEREST_RATE_STRATEGY,1 0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d,AaveV2EthereumAMM ASSETS USDC ORACLE,1 0xdAC17F958D2ee523a2206206994597C13D831ec7,AaveV2EthereumAMM ASSETS USDT UNDERLYING,1 0x17a79792Fe6fE5C95dFE95Fe3fCEE3CAf4fE4Cb7,AaveV2EthereumAMM ASSETS USDT A_TOKEN,1 -0x04A0577a89E1b9E8f6c87ee26cCe6a168fFfC5b5,AaveV2EthereumAMM ASSETS USDT S_TOKEN,1 0xDcFE9BfC246b02Da384de757464a35eFCa402797,AaveV2EthereumAMM ASSETS USDT V_TOKEN,1 0x2223cd25f60F3e4035fcEfE44612773AFEbFd8ab,AaveV2EthereumAMM ASSETS USDT INTEREST_RATE_STRATEGY,1 0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74,AaveV2EthereumAMM ASSETS USDT ORACLE,1 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599,AaveV2EthereumAMM ASSETS WBTC UNDERLYING,1 0x13B2f6928D7204328b0E8E4BCd0379aA06EA21FA,AaveV2EthereumAMM ASSETS WBTC A_TOKEN,1 -0x55E575d092c934503D7635A837584E2900e01d2b,AaveV2EthereumAMM ASSETS WBTC S_TOKEN,1 0x3b99fdaFdfE70d65101a4ba8cDC35dAFbD26375f,AaveV2EthereumAMM ASSETS WBTC V_TOKEN,1 0xd102F58BF7B2509A2d8664be7C4A90102526B5c6,AaveV2EthereumAMM ASSETS WBTC INTEREST_RATE_STRATEGY,1 0xFD858c8bC5ac5e10f01018bC78471bb0DC392247,AaveV2EthereumAMM ASSETS WBTC ORACLE,1 0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11,AaveV2EthereumAMM ASSETS UNI_DAI_WETH UNDERLYING,1 0x9303EabC860a743aABcc3A1629014CaBcc3F8D36,AaveV2EthereumAMM ASSETS UNI_DAI_WETH A_TOKEN,1 -0xE9562bf0A11315A1e39f9182F446eA58002f010E,AaveV2EthereumAMM ASSETS UNI_DAI_WETH S_TOKEN,1 0x23bcc861b989762275165d08B127911F09c71628,AaveV2EthereumAMM ASSETS UNI_DAI_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_DAI_WETH INTEREST_RATE_STRATEGY,1 0x66A6b87A18DB78086acda75b7720DC47CdABcC05,AaveV2EthereumAMM ASSETS UNI_DAI_WETH ORACLE,1 0xBb2b8038a1640196FbE3e38816F3e67Cba72D940,AaveV2EthereumAMM ASSETS UNI_WBTC_WETH UNDERLYING,1 0xc58F53A8adff2fB4eb16ED56635772075E2EE123,AaveV2EthereumAMM ASSETS UNI_WBTC_WETH A_TOKEN,1 -0xeef7d082D9bE2F5eC73C072228706286dea1f492,AaveV2EthereumAMM ASSETS UNI_WBTC_WETH S_TOKEN,1 0x02aAeB4C7736177242Ee0f71f6f6A0F057Aba87d,AaveV2EthereumAMM ASSETS UNI_WBTC_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_WBTC_WETH INTEREST_RATE_STRATEGY,1 0x7004BB6F2013F13C54899309cCa029B49707E547,AaveV2EthereumAMM ASSETS UNI_WBTC_WETH ORACLE,1 0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f,AaveV2EthereumAMM ASSETS UNI_AAVE_WETH UNDERLYING,1 0xe59d2FF6995a926A574390824a657eEd36801E55,AaveV2EthereumAMM ASSETS UNI_AAVE_WETH A_TOKEN,1 -0x997b26eFf106f138e71160022CaAb0AFC5814643,AaveV2EthereumAMM ASSETS UNI_AAVE_WETH S_TOKEN,1 0x859ED7D9E92d1fe42fF95C3BC3a62F7cB59C373E,AaveV2EthereumAMM ASSETS UNI_AAVE_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_AAVE_WETH INTEREST_RATE_STRATEGY,1 0xB525547968610395B60085bDc8033FFeaEaa5F64,AaveV2EthereumAMM ASSETS UNI_AAVE_WETH ORACLE,1 0xB6909B960DbbE7392D405429eB2b3649752b4838,AaveV2EthereumAMM ASSETS UNI_BAT_WETH UNDERLYING,1 0xA1B0edF4460CC4d8bFAA18Ed871bFF15E5b57Eb4,AaveV2EthereumAMM ASSETS UNI_BAT_WETH A_TOKEN,1 -0x27c67541a4ea26a436e311b2E6fFeC82083a6983,AaveV2EthereumAMM ASSETS UNI_BAT_WETH S_TOKEN,1 0x3Fbef89A21Dc836275bC912849627b33c61b09b4,AaveV2EthereumAMM ASSETS UNI_BAT_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_BAT_WETH INTEREST_RATE_STRATEGY,1 0xB394D8a1CE721630Cbea8Ec110DCEf0D283EDE3a,AaveV2EthereumAMM ASSETS UNI_BAT_WETH ORACLE,1 0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5,AaveV2EthereumAMM ASSETS UNI_DAI_USDC UNDERLYING,1 0xE340B25fE32B1011616bb8EC495A4d503e322177,AaveV2EthereumAMM ASSETS UNI_DAI_USDC A_TOKEN,1 -0x6Bb2BdD21920FcB2Ad855AB5d523222F31709d1f,AaveV2EthereumAMM ASSETS UNI_DAI_USDC S_TOKEN,1 0x925E3FDd927E20e33C3177C4ff6fb72aD1133C87,AaveV2EthereumAMM ASSETS UNI_DAI_USDC V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_DAI_USDC INTEREST_RATE_STRATEGY,1 0x3B148Fa5E8297DB64262442052b227328730EA81,AaveV2EthereumAMM ASSETS UNI_DAI_USDC ORACLE,1 0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE,AaveV2EthereumAMM ASSETS UNI_CRV_WETH UNDERLYING,1 0x0ea20e7fFB006d4Cfe84df2F72d8c7bD89247DB0,AaveV2EthereumAMM ASSETS UNI_CRV_WETH A_TOKEN,1 -0xd6035f8803eE9f173b1D3EBc3BDE0Ea6B5165636,AaveV2EthereumAMM ASSETS UNI_CRV_WETH S_TOKEN,1 0xF3f1a76cA6356a908CdCdE6b2AC2eaace3739Cd0,AaveV2EthereumAMM ASSETS UNI_CRV_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_CRV_WETH INTEREST_RATE_STRATEGY,1 0x10F7078e2f29802D2AC78045F61A69aE0883535A,AaveV2EthereumAMM ASSETS UNI_CRV_WETH ORACLE,1 0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974,AaveV2EthereumAMM ASSETS UNI_LINK_WETH UNDERLYING,1 0xb8db81B84d30E2387de0FF330420A4AAA6688134,AaveV2EthereumAMM ASSETS UNI_LINK_WETH A_TOKEN,1 -0xeb32b3A1De9a1915D2b452B673C53883b9Fa6a97,AaveV2EthereumAMM ASSETS UNI_LINK_WETH S_TOKEN,1 0xeDe4052ed8e1F422F4E5062c679f6B18693fEcdc,AaveV2EthereumAMM ASSETS UNI_LINK_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_LINK_WETH INTEREST_RATE_STRATEGY,1 0x30adCEfA5d483284FD79E1eFd54ED3e0A8eaA632,AaveV2EthereumAMM ASSETS UNI_LINK_WETH ORACLE,1 0xC2aDdA861F89bBB333c90c492cB837741916A225,AaveV2EthereumAMM ASSETS UNI_MKR_WETH UNDERLYING,1 0x370adc71f67f581158Dc56f539dF5F399128Ddf9,AaveV2EthereumAMM ASSETS UNI_MKR_WETH A_TOKEN,1 -0x6E7E38bB73E19b62AB5567940Caaa514e9d85982,AaveV2EthereumAMM ASSETS UNI_MKR_WETH S_TOKEN,1 0xf36C394775285F89bBBDF09533421E3e81e8447c,AaveV2EthereumAMM ASSETS UNI_MKR_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_MKR_WETH INTEREST_RATE_STRATEGY,1 0xEBF4A448ff3D835F8FA883941a3E9D5E74B40B5E,AaveV2EthereumAMM ASSETS UNI_MKR_WETH ORACLE,1 0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c,AaveV2EthereumAMM ASSETS UNI_REN_WETH UNDERLYING,1 0xA9e201A4e269d6cd5E9F0FcbcB78520cf815878B,AaveV2EthereumAMM ASSETS UNI_REN_WETH A_TOKEN,1 -0x312edeADf68E69A0f53518bF27EAcD1AbcC2897e,AaveV2EthereumAMM ASSETS UNI_REN_WETH S_TOKEN,1 0x2A8d5B1c1de15bfcd5EC41368C0295c60D8Da83c,AaveV2EthereumAMM ASSETS UNI_REN_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_REN_WETH INTEREST_RATE_STRATEGY,1 0xe2f7C06906A9dB063C28EB5c71B6Ab454e5222dD,AaveV2EthereumAMM ASSETS UNI_REN_WETH ORACLE,1 0x43AE24960e5534731Fc831386c07755A2dc33D47,AaveV2EthereumAMM ASSETS UNI_SNX_WETH UNDERLYING,1 0x38E491A71291CD43E8DE63b7253E482622184894,AaveV2EthereumAMM ASSETS UNI_SNX_WETH A_TOKEN,1 -0xef62A0C391D89381ddf8A8C90Ba772081107D287,AaveV2EthereumAMM ASSETS UNI_SNX_WETH S_TOKEN,1 0xfd15008efA339A2390B48d2E0Ca8Abd523b406d3,AaveV2EthereumAMM ASSETS UNI_SNX_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_SNX_WETH INTEREST_RATE_STRATEGY,1 0x29bfee7E90572Abf1088a58a145a10D051b78E46,AaveV2EthereumAMM ASSETS UNI_SNX_WETH ORACLE,1 0xd3d2E2692501A5c9Ca623199D38826e513033a17,AaveV2EthereumAMM ASSETS UNI_UNI_WETH UNDERLYING,1 0x3D26dcd840fCC8e4B2193AcE8A092e4a65832F9f,AaveV2EthereumAMM ASSETS UNI_UNI_WETH A_TOKEN,1 -0x6febCE732191Dc915D6fB7Dc5FE3AEFDDb85Bd1B,AaveV2EthereumAMM ASSETS UNI_UNI_WETH S_TOKEN,1 0x0D878FbB01fbEEa7ddEFb896d56f1D3167af919F,AaveV2EthereumAMM ASSETS UNI_UNI_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_UNI_WETH INTEREST_RATE_STRATEGY,1 0xC2E93e8121237A885A00627975eB06C7BF9808d6,AaveV2EthereumAMM ASSETS UNI_UNI_WETH ORACLE,1 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc,AaveV2EthereumAMM ASSETS UNI_USDC_WETH UNDERLYING,1 0x391E86e2C002C70dEe155eAceB88F7A3c38f5976,AaveV2EthereumAMM ASSETS UNI_USDC_WETH A_TOKEN,1 -0xfAB4C9775A4316Ec67a8223ecD0F70F87fF532Fc,AaveV2EthereumAMM ASSETS UNI_USDC_WETH S_TOKEN,1 0x26625d1dDf520fC8D975cc68eC6E0391D9d3Df61,AaveV2EthereumAMM ASSETS UNI_USDC_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_USDC_WETH INTEREST_RATE_STRATEGY,1 0x71c4a2173CE3620982DC8A7D870297533360Da4E,AaveV2EthereumAMM ASSETS UNI_USDC_WETH ORACLE,1 0x004375Dff511095CC5A197A54140a24eFEF3A416,AaveV2EthereumAMM ASSETS UNI_WBTC_USDC UNDERLYING,1 0x2365a4890eD8965E564B7E2D27C38Ba67Fec4C6F,AaveV2EthereumAMM ASSETS UNI_WBTC_USDC A_TOKEN,1 -0xc66bfA05cCe646f05F71DeE333e3229cE24Bbb7e,AaveV2EthereumAMM ASSETS UNI_WBTC_USDC S_TOKEN,1 0x36dA0C5dC23397CBf9D13BbD74E93C04f99633Af,AaveV2EthereumAMM ASSETS UNI_WBTC_USDC V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_WBTC_USDC INTEREST_RATE_STRATEGY,1 0x11f4ba2227F21Dc2A9F0b0e6Ea740369d580a212,AaveV2EthereumAMM ASSETS UNI_WBTC_USDC ORACLE,1 0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28,AaveV2EthereumAMM ASSETS UNI_YFI_WETH UNDERLYING,1 0x5394794Be8b6eD5572FCd6b27103F46b5F390E8f,AaveV2EthereumAMM ASSETS UNI_YFI_WETH A_TOKEN,1 -0x9B054B76d6DE1c4892ba025456A9c4F9be5B1766,AaveV2EthereumAMM ASSETS UNI_YFI_WETH S_TOKEN,1 0xDf70Bdf01a3eBcd0D918FF97390852A914a92Df7,AaveV2EthereumAMM ASSETS UNI_YFI_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS UNI_YFI_WETH INTEREST_RATE_STRATEGY,1 0x664223b8Bb0934aE0970e601F452f75AaCe9Aa2A,AaveV2EthereumAMM ASSETS UNI_YFI_WETH ORACLE,1 0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5,AaveV2EthereumAMM ASSETS BPT_WBTC_WETH UNDERLYING,1 0x358bD0d980E031E23ebA9AA793926857703783BD,AaveV2EthereumAMM ASSETS BPT_WBTC_WETH A_TOKEN,1 -0x46406eCd20FDE1DF4d80F15F07c434fa95CB6b33,AaveV2EthereumAMM ASSETS BPT_WBTC_WETH S_TOKEN,1 0xF655DF3832859cfB0AcfD88eDff3452b9Aa6Db24,AaveV2EthereumAMM ASSETS BPT_WBTC_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS BPT_WBTC_WETH INTEREST_RATE_STRATEGY,1 0x4CA8D8fC2b4fCe8A2dcB71Da884bba042d48E067,AaveV2EthereumAMM ASSETS BPT_WBTC_WETH ORACLE,1 0x59A19D8c652FA0284f44113D0ff9aBa70bd46fB4,AaveV2EthereumAMM ASSETS BPT_BAL_WETH UNDERLYING,1 0xd109b2A304587569c84308c55465cd9fF0317bFB,AaveV2EthereumAMM ASSETS BPT_BAL_WETH A_TOKEN,1 -0x6474d116476b8eDa1B21472a599Ff76A829AbCbb,AaveV2EthereumAMM ASSETS BPT_BAL_WETH S_TOKEN,1 0xF41A5Cc7a61519B08056176d7B4b87AB34dF55AD,AaveV2EthereumAMM ASSETS BPT_BAL_WETH V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS BPT_BAL_WETH INTEREST_RATE_STRATEGY,1 0x2e4e78936b100be6Ef85BCEf7FB25bC770B02B85,AaveV2EthereumAMM ASSETS BPT_BAL_WETH ORACLE,1 0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e,AaveV2EthereumAMM ASSETS GUNI_DAI_USDC UNDERLYING,1 0xd145c6ae8931ed5Bca9b5f5B7dA5991F5aB63B5c,AaveV2EthereumAMM ASSETS GUNI_DAI_USDC A_TOKEN,1 -0x460Fd61bBDe7235C3F345901ad677854c9330c86,AaveV2EthereumAMM ASSETS GUNI_DAI_USDC S_TOKEN,1 0x40533CC601Ec5b79B00D76348ADc0c81d93d926D,AaveV2EthereumAMM ASSETS GUNI_DAI_USDC V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS GUNI_DAI_USDC INTEREST_RATE_STRATEGY,1 0x7843eA2E3e60b24cc12B56C5627Adc7F9f0749D6,AaveV2EthereumAMM ASSETS GUNI_DAI_USDC ORACLE,1 0xD2eeC91055F07fE24C9cCB25828ecfEFd4be0c41,AaveV2EthereumAMM ASSETS GUNI_USDC_USDT UNDERLYING,1 0xCa5DFDABBfFD58cfD49A9f78Ca52eC8e0591a3C5,AaveV2EthereumAMM ASSETS GUNI_USDC_USDT A_TOKEN,1 -0xFEaeCde9Eb0cd43FDE13427C6C7ef406780a8136,AaveV2EthereumAMM ASSETS GUNI_USDC_USDT S_TOKEN,1 0x0B7c7d9c5548A23D0455d1edeC541cc2AD955a9d,AaveV2EthereumAMM ASSETS GUNI_USDC_USDT V_TOKEN,1 0x52E39422cd86a12a13773D86af5FdBF5665989aD,AaveV2EthereumAMM ASSETS GUNI_USDC_USDT INTEREST_RATE_STRATEGY,1 0x399e3bb2BBd49c570aa6edc6ac390E0D0aCbbD5e,AaveV2EthereumAMM ASSETS GUNI_USDC_USDT ORACLE,1 @@ -423,6 +361,25 @@ address,name,chainId 0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922,AaveV2EthereumAMM WALLET_BALANCE_PROVIDER,1 0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC,AaveV2EthereumAMM WETH_GATEWAY,1 0x71B53fC437cCD988b1b89B1D4605c3c3d0C810ea,AaveV2EthereumArc AAVE_PROTOCOL_DATA_PROVIDER,1 +0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,AaveV2EthereumArc ASSETS USDC UNDERLYING,1 +0xd35f648C3C7f17cd1Ba92e5eac991E3EfcD4566d,AaveV2EthereumArc ASSETS USDC A_TOKEN,1 +0xe8D876034F96081063cD57Cd87b94a156b4E03E1,AaveV2EthereumArc ASSETS USDC V_TOKEN,1 +0x81D7Bb11D682005B3Fca0Ef48381263BeC9b2d1C,AaveV2EthereumArc ASSETS USDC INTEREST_RATE_STRATEGY,1 +0x986b5E1e1755e3C2440e960477f25201B0a8bbD4,AaveV2EthereumArc ASSETS USDC ORACLE,1 +0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599,AaveV2EthereumArc ASSETS WBTC UNDERLYING,1 +0xe6d6E7dA65A2C18109Ff56B7CBBdc7B706Fc13F8,AaveV2EthereumArc ASSETS WBTC A_TOKEN,1 +0xc371FB4513c23Fc962fe23B12cFBD75E1D37ED91,AaveV2EthereumArc ASSETS WBTC V_TOKEN,1 +0x1205ACe6831E5518E00A16f1820cD73ce198bEF6,AaveV2EthereumArc ASSETS WBTC INTEREST_RATE_STRATEGY,1 +0xdeb288F737066589598e9214E782fa5A8eD689e8,AaveV2EthereumArc ASSETS WBTC ORACLE,1 +0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,AaveV2EthereumArc ASSETS WETH UNDERLYING,1 +0x319190E3Bbc595602A9E63B2bCfB61c6634355b1,AaveV2EthereumArc ASSETS WETH A_TOKEN,1 +0x932167279A4ed3b879bA7eDdC85Aa83551f3989D,AaveV2EthereumArc ASSETS WETH V_TOKEN,1 +0xC2B0945C6D0A842eC2a1345f08c4ef2060452B6A,AaveV2EthereumArc ASSETS WETH INTEREST_RATE_STRATEGY,1 +0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9,AaveV2EthereumArc ASSETS AAVE UNDERLYING,1 +0x89eFaC495C65d43619c661df654ec64fc10C0A75,AaveV2EthereumArc ASSETS AAVE A_TOKEN,1 +0x0ac4c7790BC96923b71BfCee44a6923fd085E0c8,AaveV2EthereumArc ASSETS AAVE V_TOKEN,1 +0x5E4b5f5eb05E244632e0eA584525F11Dd03f5B38,AaveV2EthereumArc ASSETS AAVE INTEREST_RATE_STRATEGY,1 +0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012,AaveV2EthereumArc ASSETS AAVE ORACLE,1 0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c,AaveV2EthereumArc COLLECTOR,1 0x33B09130b035d6D7e57d76fEa0873d9545FA7557,AaveV2EthereumArc EMERGENCY_ADMIN,1 0x837696219C9a3775a856BEBC02DB1fA918C8a46e,AaveV2EthereumArc LENDING_POOL_COLLATERAL_MANAGER,1 @@ -510,11 +467,11 @@ address,name,chainId 0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB,AaveV3Ethereum ASSETS CRV INTEREST_RATE_STRATEGY,1 0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f,AaveV3Ethereum ASSETS CRV ORACLE,1 0x149EE12310D499F701B6A5714eDAd2C832008fd2,AaveV3Ethereum ASSETS CRV STATIC_A_TOKEN,1 -0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2,AaveV3Ethereum ASSETS MRK UNDERLYING,1 -0x8A458A9dc9048e005d22849F470891b840296619,AaveV3Ethereum ASSETS MRK A_TOKEN,1 -0x6Efc73E54E41b27d2134fF9f98F15550f30DF9B1,AaveV3Ethereum ASSETS MRK V_TOKEN,1 -0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB,AaveV3Ethereum ASSETS MRK INTEREST_RATE_STRATEGY,1 -0xec1D1B3b0443256cc3860e24a46F108e699484Aa,AaveV3Ethereum ASSETS MRK ORACLE,1 +0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2,AaveV3Ethereum ASSETS MKR UNDERLYING,1 +0x8A458A9dc9048e005d22849F470891b840296619,AaveV3Ethereum ASSETS MKR A_TOKEN,1 +0x6Efc73E54E41b27d2134fF9f98F15550f30DF9B1,AaveV3Ethereum ASSETS MKR V_TOKEN,1 +0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB,AaveV3Ethereum ASSETS MKR INTEREST_RATE_STRATEGY,1 +0xec1D1B3b0443256cc3860e24a46F108e699484Aa,AaveV3Ethereum ASSETS MKR ORACLE,1 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F,AaveV3Ethereum ASSETS SNX UNDERLYING,1 0xC7B4c17861357B8ABB91F25581E7263E08DCB59c,AaveV3Ethereum ASSETS SNX A_TOKEN,1 0x8d0de040e8aAd872eC3c33A3776dE9152D3c34ca,AaveV3Ethereum ASSETS SNX V_TOKEN,1 @@ -654,13 +611,6 @@ address,name,chainId 0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6,AaveV3Ethereum DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1 0x21714092D90c7265F52fdfDae068EC11a23C6248,AaveV3Ethereum DELEGATION_AWARE_A_TOKEN_IMPL_REV_1,1 0x223d844fc4B006D67c0cDbd39371A9F73f69d974,AaveV3Ethereum EMISSION_MANAGER,1 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Ethereum EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,1 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Ethereum EXTERNAL_LIBRARIES BORROW_LOGIC,1 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Ethereum EXTERNAL_LIBRARIES BRIDGE_LOGIC,1 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Ethereum EXTERNAL_LIBRARIES E_MODE_LOGIC,1 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Ethereum EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,1 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Ethereum EXTERNAL_LIBRARIES POOL_LOGIC,1 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Ethereum EXTERNAL_LIBRARIES SUPPLY_LOGIC,1 0x2eE68ACb6A1319de1b49DC139894644E424fefD6,AaveV3Ethereum FREEZING_STEWARD,1 0x54586bE62E3c3580375aE3723C145253060Ca0C2,AaveV3Ethereum ORACLE,1 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2,AaveV3Ethereum POOL,1 @@ -710,13 +660,6 @@ address,name,chainId 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb,AaveV3EthereumEtherFi DEFAULT_INCENTIVES_CONTROLLER,1 0xBb077DaFFeb23B2126E7358b0b122ba6838FB881,AaveV3EthereumEtherFi DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1 0x223d844fc4B006D67c0cDbd39371A9F73f69d974,AaveV3EthereumEtherFi EMISSION_MANAGER,1 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,1 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES BORROW_LOGIC,1 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES BRIDGE_LOGIC,1 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES E_MODE_LOGIC,1 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,1 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES POOL_LOGIC,1 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3EthereumEtherFi EXTERNAL_LIBRARIES SUPPLY_LOGIC,1 0x43b64f28A678944E0655404B0B98E443851cC34F,AaveV3EthereumEtherFi ORACLE,1 0x0AA97c284e98396202b6A04024F5E2c65026F3c0,AaveV3EthereumEtherFi POOL,1 0xeBa440B438Ad808101d1c451C1C5322c90BEFCdA,AaveV3EthereumEtherFi POOL_ADDRESSES_PROVIDER,1 @@ -763,13 +706,6 @@ address,name,chainId 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb,AaveV3EthereumLido DEFAULT_INCENTIVES_CONTROLLER,1 0x3E59212c34588a63350142EFad594a20C88C2CEd,AaveV3EthereumLido DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1 0x223d844fc4B006D67c0cDbd39371A9F73f69d974,AaveV3EthereumLido EMISSION_MANAGER,1 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3EthereumLido EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,1 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3EthereumLido EXTERNAL_LIBRARIES BORROW_LOGIC,1 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3EthereumLido EXTERNAL_LIBRARIES BRIDGE_LOGIC,1 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3EthereumLido EXTERNAL_LIBRARIES E_MODE_LOGIC,1 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3EthereumLido EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,1 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3EthereumLido EXTERNAL_LIBRARIES POOL_LOGIC,1 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3EthereumLido EXTERNAL_LIBRARIES SUPPLY_LOGIC,1 0xE3C061981870C0C7b1f3C4F4bB36B95f1F260BE6,AaveV3EthereumLido ORACLE,1 0x4e033931ad43597d96D6bcc25c280717730B58B1,AaveV3EthereumLido POOL,1 0xcfBf336fe147D643B9Cb705648500e101504B16d,AaveV3EthereumLido POOL_ADDRESSES_PROVIDER,1 @@ -927,13 +863,6 @@ address,name,chainId 0x929EC64c34a17401F460460D4B9390518E5B473e,AaveV3Optimism DEFAULT_INCENTIVES_CONTROLLER,10 0x04a8D477eE202aDCE1682F5902e1160455205b12,AaveV3Optimism DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2,10 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73,AaveV3Optimism EMISSION_MANAGER,10 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Optimism EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,10 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Optimism EXTERNAL_LIBRARIES BORROW_LOGIC,10 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Optimism EXTERNAL_LIBRARIES BRIDGE_LOGIC,10 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Optimism EXTERNAL_LIBRARIES E_MODE_LOGIC,10 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Optimism EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,10 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Optimism EXTERNAL_LIBRARIES POOL_LOGIC,10 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Optimism EXTERNAL_LIBRARIES SUPPLY_LOGIC,10 0x3829943c53F2d00e20B58475aF19716724bF90Ba,AaveV3Optimism FREEZING_STEWARD,10 0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC,AaveV3Optimism L2_ENCODER,10 0xD81eb3728a631871a7eBBaD631b5f424909f0c77,AaveV3Optimism ORACLE,10 @@ -1021,13 +950,6 @@ address,name,chainId 0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4,AaveV3BNB DEFAULT_INCENTIVES_CONTROLLER,56 0x777fBA024bA1228fDa76149A4ff8B23475ed057D,AaveV3BNB DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,56 0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85,AaveV3BNB EMISSION_MANAGER,56 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3BNB EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,56 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3BNB EXTERNAL_LIBRARIES BORROW_LOGIC,56 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3BNB EXTERNAL_LIBRARIES BRIDGE_LOGIC,56 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3BNB EXTERNAL_LIBRARIES E_MODE_LOGIC,56 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3BNB EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,56 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3BNB EXTERNAL_LIBRARIES POOL_LOGIC,56 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3BNB EXTERNAL_LIBRARIES SUPPLY_LOGIC,56 0x83f15Bc50d1A212576B202f80489502a7cc10412,AaveV3BNB FREEZING_STEWARD,56 0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697,AaveV3BNB ORACLE,56 0x6807dc923806fE8Fd134338EABCA509979a7e0cB,AaveV3BNB POOL,56 @@ -1115,13 +1037,6 @@ address,name,chainId 0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d,AaveV3Gnosis DEFAULT_INCENTIVES_CONTROLLER,100 0xBeC519531F0E78BcDdB295242fA4EC5251B38574,AaveV3Gnosis DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,100 0x41585C50524fb8c3899B43D7D797d9486AAc94DB,AaveV3Gnosis EMISSION_MANAGER,100 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Gnosis EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,100 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Gnosis EXTERNAL_LIBRARIES BORROW_LOGIC,100 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Gnosis EXTERNAL_LIBRARIES BRIDGE_LOGIC,100 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Gnosis EXTERNAL_LIBRARIES E_MODE_LOGIC,100 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Gnosis EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,100 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Gnosis EXTERNAL_LIBRARIES POOL_LOGIC,100 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Gnosis EXTERNAL_LIBRARIES SUPPLY_LOGIC,100 0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5,AaveV3Gnosis FREEZING_STEWARD,100 0xeb0a051be10228213BAEb449db63719d6742F7c4,AaveV3Gnosis ORACLE,100 0xb50201558B00496A145fE76f7424749556E326D8,AaveV3Gnosis POOL,100 @@ -1150,79 +1065,65 @@ address,name,chainId 0x7551b5D2763519d4e37e8B81929D336De671d46d,AaveV2Polygon AAVE_PROTOCOL_DATA_PROVIDER,137 0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063,AaveV2Polygon ASSETS DAI UNDERLYING,137 0x27F8D03b3a2196956ED754baDc28D73be8830A6e,AaveV2Polygon ASSETS DAI A_TOKEN,137 -0x2238101B7014C279aaF6b408A284E49cDBd5DB55,AaveV2Polygon ASSETS DAI S_TOKEN,137 0x75c4d1Fb84429023170086f06E682DcbBF537b7d,AaveV2Polygon ASSETS DAI V_TOKEN,137 0x5c9B09Bb260BCa51f4C5476013eE5949F2C4f397,AaveV2Polygon ASSETS DAI INTEREST_RATE_STRATEGY,137 0x08EDd9E1DF3b0b8498864C60a2FD6cDb13148885,AaveV2Polygon ASSETS DAI ORACLE,137 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174,AaveV2Polygon ASSETS USDC UNDERLYING,137 0x1a13F4Ca1d028320A707D99520AbFefca3998b7F,AaveV2Polygon ASSETS USDC A_TOKEN,137 -0xdeb05676dB0DB85cecafE8933c903466Bf20C572,AaveV2Polygon ASSETS USDC S_TOKEN,137 0x248960A9d75EdFa3de94F7193eae3161Eb349a12,AaveV2Polygon ASSETS USDC V_TOKEN,137 0xf98258ea0C095157c2c390E9f6d914847d7fbACf,AaveV2Polygon ASSETS USDC INTEREST_RATE_STRATEGY,137 0xB611AA5E98112C7c3711Ca3a5187dC025B83C8e4,AaveV2Polygon ASSETS USDC ORACLE,137 0xc2132D05D31c914a87C6611C10748AEb04B58e8F,AaveV2Polygon ASSETS USDT UNDERLYING,137 0x60D55F02A771d515e077c9C2403a1ef324885CeC,AaveV2Polygon ASSETS USDT A_TOKEN,137 -0xe590cfca10e81FeD9B0e4496381f02256f5d2f61,AaveV2Polygon ASSETS USDT S_TOKEN,137 0x8038857FD47108A07d1f6Bf652ef1cBeC279A2f3,AaveV2Polygon ASSETS USDT V_TOKEN,137 0xDC220F1d8EA6910BDBbb48c4AdFb7cE565500D08,AaveV2Polygon ASSETS USDT INTEREST_RATE_STRATEGY,137 0xf840c80932908EF206056dF0882bC595e7150607,AaveV2Polygon ASSETS USDT ORACLE,137 0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6,AaveV2Polygon ASSETS WBTC UNDERLYING,137 0x5c2ed810328349100A66B82b78a1791B101C9D61,AaveV2Polygon ASSETS WBTC A_TOKEN,137 -0x2551B15dB740dB8348bFaDFe06830210eC2c2F13,AaveV2Polygon ASSETS WBTC S_TOKEN,137 0xF664F50631A6f0D72ecdaa0e49b0c019Fa72a8dC,AaveV2Polygon ASSETS WBTC V_TOKEN,137 0xbbEA829b9E104733Cf69b6e96E7Ff810cBcfae38,AaveV2Polygon ASSETS WBTC INTEREST_RATE_STRATEGY,137 0xA338e0492B2F944E9F8C0653D3AD1484f2657a37,AaveV2Polygon ASSETS WBTC ORACLE,137 0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619,AaveV2Polygon ASSETS WETH UNDERLYING,137 0x28424507fefb6f7f8E9D3860F56504E4e5f5f390,AaveV2Polygon ASSETS WETH A_TOKEN,137 -0xc478cBbeB590C76b01ce658f8C4dda04f30e2C6f,AaveV2Polygon ASSETS WETH S_TOKEN,137 0xeDe17e9d79fc6f9fF9250D9EEfbdB88Cc18038b5,AaveV2Polygon ASSETS WETH V_TOKEN,137 0x9C9f4C39952848FBA513d44B356c7855F504B1cd,AaveV2Polygon ASSETS WETH INTEREST_RATE_STRATEGY,137 -0x0000000000000000000000000000000000000000,AaveV2Polygon ASSETS WETH ORACLE,137 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270,AaveV2Polygon ASSETS WPOL UNDERLYING,137 0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4,AaveV2Polygon ASSETS WPOL A_TOKEN,137 -0xb9A6E29fB540C5F1243ef643EB39b0AcbC2e68E3,AaveV2Polygon ASSETS WPOL S_TOKEN,137 0x59e8E9100cbfCBCBAdf86b9279fa61526bBB8765,AaveV2Polygon ASSETS WPOL V_TOKEN,137 0x79715aB77F637C95a8c28804F56f98946B332851,AaveV2Polygon ASSETS WPOL INTEREST_RATE_STRATEGY,137 0x327e23A4855b6F663a28c5161541d69Af8973302,AaveV2Polygon ASSETS WPOL ORACLE,137 0xD6DF932A45C0f255f85145f286eA0b292B21C90B,AaveV2Polygon ASSETS AAVE UNDERLYING,137 0x1d2a0E5EC8E5bBDCA5CB219e649B565d8e5c3360,AaveV2Polygon ASSETS AAVE A_TOKEN,137 -0x17912140e780B29Ba01381F088f21E8d75F954F9,AaveV2Polygon ASSETS AAVE S_TOKEN,137 0x1c313e9d0d826662F5CE692134D938656F681350,AaveV2Polygon ASSETS AAVE V_TOKEN,137 0xae9b3Eb616ed753dcE96C75B6AE30A60Ff9290B4,AaveV2Polygon ASSETS AAVE INTEREST_RATE_STRATEGY,137 0xbE23a3AA13038CfC28aFd0ECe4FdE379fE7fBfc4,AaveV2Polygon ASSETS AAVE ORACLE,137 0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7,AaveV2Polygon ASSETS GHST UNDERLYING,137 0x080b5BF8f360F624628E0fb961F4e67c9e3c7CF1,AaveV2Polygon ASSETS GHST A_TOKEN,137 -0x6A01Db46Ae51B19A6B85be38f1AA102d8735d05b,AaveV2Polygon ASSETS GHST S_TOKEN,137 0x36e988a38542C3482013Bb54ee46aC1fb1efedcd,AaveV2Polygon ASSETS GHST V_TOKEN,137 0x964a4edc8009cA560dE2cCe1bA6300d48ecc203e,AaveV2Polygon ASSETS GHST INTEREST_RATE_STRATEGY,137 0xe638249AF9642CdA55A92245525268482eE4C67b,AaveV2Polygon ASSETS GHST ORACLE,137 0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3,AaveV2Polygon ASSETS BAL UNDERLYING,137 0xc4195D4060DaEac44058Ed668AA5EfEc50D77ff6,AaveV2Polygon ASSETS BAL A_TOKEN,137 -0xbC30bbe0472E0E86b6f395f9876B950A13B23923,AaveV2Polygon ASSETS BAL S_TOKEN,137 0x773E0e32e7b6a00b7cA9daa85dfba9D61B7f2574,AaveV2Polygon ASSETS BAL V_TOKEN,137 0xd9b99ccEe49a285dE83d16e0CEA1b4044e233bBE,AaveV2Polygon ASSETS BAL INTEREST_RATE_STRATEGY,137 0x03CD157746c61F44597dD54C6f6702105258C722,AaveV2Polygon ASSETS BAL ORACLE,137 0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369,AaveV2Polygon ASSETS DPI UNDERLYING,137 0x81fB82aAcB4aBE262fc57F06fD4c1d2De347D7B1,AaveV2Polygon ASSETS DPI A_TOKEN,137 -0xA742710c0244a8Ebcf533368e3f0B956B6E53F7B,AaveV2Polygon ASSETS DPI S_TOKEN,137 0x43150AA0B7e19293D935A412C8607f9172d3d3f3,AaveV2Polygon ASSETS DPI V_TOKEN,137 0x6405F880E431403588e92b241Ca15603047ef8a4,AaveV2Polygon ASSETS DPI INTEREST_RATE_STRATEGY,137 0xC70aAF9092De3a4E5000956E672cDf5E996B4610,AaveV2Polygon ASSETS DPI ORACLE,137 0x172370d5Cd63279eFa6d502DAB29171933a610AF,AaveV2Polygon ASSETS CRV UNDERLYING,137 0x3Df8f92b7E798820ddcCA2EBEA7BAbda2c90c4aD,AaveV2Polygon ASSETS CRV A_TOKEN,137 -0x807c97744e6C9452e7C2914d78f49d171a9974a0,AaveV2Polygon ASSETS CRV S_TOKEN,137 0x780BbcBCda2cdb0d2c61fd9BC68c9046B18f3229,AaveV2Polygon ASSETS CRV V_TOKEN,137 0xE66886B0e34Dc1C40B2d7BB1ff9137339648deEa,AaveV2Polygon ASSETS CRV INTEREST_RATE_STRATEGY,137 0x1CF68C76803c9A415bE301f50E82e44c64B7F1D4,AaveV2Polygon ASSETS CRV ORACLE,137 0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a,AaveV2Polygon ASSETS SUSHI UNDERLYING,137 0x21eC9431B5B55c5339Eb1AE7582763087F98FAc2,AaveV2Polygon ASSETS SUSHI A_TOKEN,137 -0x7Ed588DCb30Ea11A54D8a5E9645960262A97cd54,AaveV2Polygon ASSETS SUSHI S_TOKEN,137 0x9CB9fEaFA73bF392C905eEbf5669ad3d073c3DFC,AaveV2Polygon ASSETS SUSHI V_TOKEN,137 0x835699Bf98f6a7fDe5713c42c118Fb80fA059737,AaveV2Polygon ASSETS SUSHI INTEREST_RATE_STRATEGY,137 0x17414Eb5159A082e8d41D243C1601c2944401431,AaveV2Polygon ASSETS SUSHI ORACLE,137 0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39,AaveV2Polygon ASSETS LINK UNDERLYING,137 0x0Ca2e42e8c21954af73Bc9af1213E4e81D6a669A,AaveV2Polygon ASSETS LINK A_TOKEN,137 -0x9fb7F546E60DDFaA242CAeF146FA2f4172088117,AaveV2Polygon ASSETS LINK S_TOKEN,137 0xCC71e4A38c974e19bdBC6C0C19b63b8520b1Bb09,AaveV2Polygon ASSETS LINK V_TOKEN,137 0xE41515721DF4c6eb221d6Ed25e9Ebe0108e822aA,AaveV2Polygon ASSETS LINK INTEREST_RATE_STRATEGY,137 0xb77fa460604b9C6435A235D057F7D319AC83cb53,AaveV2Polygon ASSETS LINK ORACLE,137 @@ -1387,13 +1288,6 @@ address,name,chainId 0x929EC64c34a17401F460460D4B9390518E5B473e,AaveV3Polygon DEFAULT_INCENTIVES_CONTROLLER,137 0x79b5e91037AE441dE0d9e6fd3Fd85b96B83d4E93,AaveV3Polygon DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2,137 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73,AaveV3Polygon EMISSION_MANAGER,137 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Polygon EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,137 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Polygon EXTERNAL_LIBRARIES BORROW_LOGIC,137 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Polygon EXTERNAL_LIBRARIES BRIDGE_LOGIC,137 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Polygon EXTERNAL_LIBRARIES E_MODE_LOGIC,137 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Polygon EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,137 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Polygon EXTERNAL_LIBRARIES POOL_LOGIC,137 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Polygon EXTERNAL_LIBRARIES SUPPLY_LOGIC,137 0xa7b40ed4dfAC9255EA9Dd218A3874f380D9FbBEB,AaveV3Polygon FREEZING_STEWARD,137 0xb023e699F5a33916Ea823A16485e259257cA8Bd1,AaveV3Polygon ORACLE,137 0x794a61358D6845594F94dc1DB02A252b5b4814aD,AaveV3Polygon POOL,137 @@ -1467,13 +1361,6 @@ address,name,chainId 0x37c972C9dDfC2138EBe33eC19dba063AB9f8966e,AaveV3ZkSync DEFAULT_INCENTIVES_CONTROLLER,324 0x52E97425D1Fa6885fAaC9260B711fA5047A88d06,AaveV3ZkSync DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,324 0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f,AaveV3ZkSync EMISSION_MANAGER,324 -0xcE53459E8734Df93399A425183Ee1860Ca8c2D0b,AaveV3ZkSync EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,324 -0xc3Ba0a556e0813BBf0741CdaD6086ca1023cd6d3,AaveV3ZkSync EXTERNAL_LIBRARIES BORROW_LOGIC,324 -0x345A778167524995d6788a9a0e1D0eeb7CbFE496,AaveV3ZkSync EXTERNAL_LIBRARIES BRIDGE_LOGIC,324 -0xA2C266Cd25296A7174134B0a6d894e250c830504,AaveV3ZkSync EXTERNAL_LIBRARIES E_MODE_LOGIC,324 -0x0C0191Dd96eD7Ef86D1cC319eb68f127C196A6ee,AaveV3ZkSync EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,324 -0xd60e89f5b8BD0E46029FD127741DA136b3A574D7,AaveV3ZkSync EXTERNAL_LIBRARIES POOL_LOGIC,324 -0x20EA931cE718b5f3bcdCfc3B7D2685f6a853a55D,AaveV3ZkSync EXTERNAL_LIBRARIES SUPPLY_LOGIC,324 0xC7F58Fca663a8d377B6D0c9703C697f56dC40088,AaveV3ZkSync ORACLE,324 0x78e30497a3c7527d953c6B1E3541b021A98Ac43c,AaveV3ZkSync POOL,324 0x2A3948BB219D6B2Fa83D64100006391a96bE6cb7,AaveV3ZkSync POOL_ADDRESSES_PROVIDER,324 @@ -1536,13 +1423,6 @@ address,name,chainId 0x30C1b8F0490fa0908863d6Cbd2E36400b4310A6B,AaveV3Metis DEFAULT_INCENTIVES_CONTROLLER,1088 0xE7fA271BD76FC9c6F2F968976E9f4f553256E02f,AaveV3Metis DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1088 0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2,AaveV3Metis EMISSION_MANAGER,1088 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Metis EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,1088 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Metis EXTERNAL_LIBRARIES BORROW_LOGIC,1088 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Metis EXTERNAL_LIBRARIES BRIDGE_LOGIC,1088 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Metis EXTERNAL_LIBRARIES E_MODE_LOGIC,1088 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Metis EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,1088 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Metis EXTERNAL_LIBRARIES POOL_LOGIC,1088 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Metis EXTERNAL_LIBRARIES SUPPLY_LOGIC,1088 0x2C77153fF4a1e83A8d8D750735FB101ECB55949f,AaveV3Metis FREEZING_STEWARD,1088 0x9f3A1B399A9074eBA63Dc4fc274bE2A2b2d80cB9,AaveV3Metis L2_ENCODER,1088 0x38D36e85E47eA6ff0d18B0adF12E5fC8984A6f8e,AaveV3Metis ORACLE,1088 @@ -1572,12 +1452,9 @@ address,name,chainId 0xe59470B3BE3293534603487E00A44C72f2CD466d,AaveV3PolygonZkEvm ACL_ADMIN,1101 0x41585C50524fb8c3899B43D7D797d9486AAc94DB,AaveV3PolygonZkEvm ACL_MANAGER,1101 0xAe13e4DA0952f0B8fE04E21df53716fCF799a923,AaveV3PolygonZkEvm CAPS_PLUS_RISK_STEWARD,1101 -0xe892E40C92c2E4D281Be59b2E6300F271d824E75,AaveV3PolygonZkEvm COLLECTOR,1101 0x1D0f881Ce1a646E2f27Dec3c57Fa056cB838BCC2,AaveV3PolygonZkEvm CONFIG_ENGINE,1101 0xb9Ef6e27ef85fE393B9F8B8C23e794ff4596C7dF,AaveV3PolygonZkEvm DEBT_SWAP_ADAPTER,1101 -0xDe090EfCD6ef4b86792e2D84E55a5fa8d49D25D2,AaveV3PolygonZkEvm DEFAULT_A_TOKEN_IMPL_REV_1,1101 0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d,AaveV3PolygonZkEvm DEFAULT_INCENTIVES_CONTROLLER,1101 -0x988B5d3863bdEE83339Be41cD31344Dfd9FD197c,AaveV3PolygonZkEvm DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,1101 0xeb0a051be10228213BAEb449db63719d6742F7c4,AaveV3PolygonZkEvm EMISSION_MANAGER,1101 0x33AE1f41546a2e05368Bf789b3d868813c0Ae658,AaveV3PolygonZkEvm FREEZING_STEWARD,1101 0x777fBA024bA1228fDa76149A4ff8B23475ed057D,AaveV3PolygonZkEvm L2_ENCODER,1101 @@ -1657,13 +1534,6 @@ address,name,chainId 0xf9cc4F0D883F1a1eb2c253bdb46c254Ca51E1F44,AaveV3Base DEFAULT_INCENTIVES_CONTROLLER,8453 0x2425A746911128c2eAA7bEBDc9Bc452eE52208a1,AaveV3Base DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,8453 0x6533A273F3aC84Df91DCD654D6EBAbA73687e246,AaveV3Base EMISSION_MANAGER,8453 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Base EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,8453 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Base EXTERNAL_LIBRARIES BORROW_LOGIC,8453 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Base EXTERNAL_LIBRARIES BRIDGE_LOGIC,8453 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Base EXTERNAL_LIBRARIES E_MODE_LOGIC,8453 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Base EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,8453 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Base EXTERNAL_LIBRARIES POOL_LOGIC,8453 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Base EXTERNAL_LIBRARIES SUPPLY_LOGIC,8453 0x4A4c73d563395ad827511F70097d4Ef82E653805,AaveV3Base FREEZING_STEWARD,8453 0x39e97c588B2907Fb67F44fea256Ae3BA064207C5,AaveV3Base L2_ENCODER,8453 0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156,AaveV3Base ORACLE,8453 @@ -1810,13 +1680,6 @@ address,name,chainId 0x929EC64c34a17401F460460D4B9390518E5B473e,AaveV3Arbitrum DEFAULT_INCENTIVES_CONTROLLER,42161 0x5E76E98E0963EcDC6A065d1435F84065b7523f39,AaveV3Arbitrum DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2,42161 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73,AaveV3Arbitrum EMISSION_MANAGER,42161 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Arbitrum EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,42161 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Arbitrum EXTERNAL_LIBRARIES BORROW_LOGIC,42161 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Arbitrum EXTERNAL_LIBRARIES BRIDGE_LOGIC,42161 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Arbitrum EXTERNAL_LIBRARIES E_MODE_LOGIC,42161 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Arbitrum EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,42161 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Arbitrum EXTERNAL_LIBRARIES POOL_LOGIC,42161 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Arbitrum EXTERNAL_LIBRARIES SUPPLY_LOGIC,42161 0xe59470B3BE3293534603487E00A44C72f2CD466d,AaveV3Arbitrum FREEZING_STEWARD,42161 0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC,AaveV3Arbitrum L2_ENCODER,42161 0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7,AaveV3Arbitrum ORACLE,42161 @@ -1856,43 +1719,36 @@ address,name,chainId 0x65285E9dfab318f57051ab2b139ccCf232945451,AaveV2Avalanche AAVE_PROTOCOL_DATA_PROVIDER,43114 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB,AaveV2Avalanche ASSETS WETHe UNDERLYING,43114 0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21,AaveV2Avalanche ASSETS WETHe A_TOKEN,43114 -0x60F6A45006323B97d97cB0a42ac39e2b757ADA63,AaveV2Avalanche ASSETS WETHe S_TOKEN,43114 0x4e575CacB37bc1b5afEc68a0462c4165A5268983,AaveV2Avalanche ASSETS WETHe V_TOKEN,43114 0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647,AaveV2Avalanche ASSETS WETHe INTEREST_RATE_STRATEGY,43114 0x976B3D034E162d8bD72D6b9C989d545b839003b0,AaveV2Avalanche ASSETS WETHe ORACLE,43114 0xd586E7F844cEa2F87f50152665BCbc2C279D8d70,AaveV2Avalanche ASSETS DAIe UNDERLYING,43114 0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a,AaveV2Avalanche ASSETS DAIe A_TOKEN,43114 -0x3676E4EE689D527dDb89812B63fAD0B7501772B3,AaveV2Avalanche ASSETS DAIe S_TOKEN,43114 0x1852DC24d1a8956a0B356AA18eDe954c7a0Ca5ae,AaveV2Avalanche ASSETS DAIe V_TOKEN,43114 0xd814D29bBd27b97d58255632C498c34b25DC72bD,AaveV2Avalanche ASSETS DAIe INTEREST_RATE_STRATEGY,43114 0xf82da795727633aFA9BB0f1B08A87c0F6A38723f,AaveV2Avalanche ASSETS DAIe ORACLE,43114 0xc7198437980c041c805A1EDcbA50c1Ce5db95118,AaveV2Avalanche ASSETS USDTe UNDERLYING,43114 0x532E6537FEA298397212F09A61e03311686f548e,AaveV2Avalanche ASSETS USDTe A_TOKEN,43114 -0x9c7B81A867499B7387ed05017a13d4172a0c17bF,AaveV2Avalanche ASSETS USDTe S_TOKEN,43114 0xfc1AdA7A288d6fCe0d29CcfAAa57Bc9114bb2DbE,AaveV2Avalanche ASSETS USDTe V_TOKEN,43114 0xd814D29bBd27b97d58255632C498c34b25DC72bD,AaveV2Avalanche ASSETS USDTe INTEREST_RATE_STRATEGY,43114 0x39185f2236A6022b682e8BB93C040d125DA093CF,AaveV2Avalanche ASSETS USDTe ORACLE,43114 0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664,AaveV2Avalanche ASSETS USDCe UNDERLYING,43114 0x46A51127C3ce23fb7AB1DE06226147F446e4a857,AaveV2Avalanche ASSETS USDCe A_TOKEN,43114 -0x5B14679135dbE8B02015ec3Ca4924a12E4C6C85a,AaveV2Avalanche ASSETS USDCe S_TOKEN,43114 0x848c080d2700CBE1B894a3374AD5E887E5cCb89c,AaveV2Avalanche ASSETS USDCe V_TOKEN,43114 0x6b410D0d53Efc7d4cAF23b9df2F38558998A1716,AaveV2Avalanche ASSETS USDCe INTEREST_RATE_STRATEGY,43114 0xD8277249e871BE9A402fa286C2C5ec16046dC512,AaveV2Avalanche ASSETS USDCe ORACLE,43114 0x63a72806098Bd3D9520cC43356dD78afe5D386D9,AaveV2Avalanche ASSETS AAVEe UNDERLYING,43114 0xD45B7c061016102f9FA220502908f2c0f1add1D7,AaveV2Avalanche ASSETS AAVEe A_TOKEN,43114 -0x66904E4F3f44e3925D22ceca401b6F2DA085c98f,AaveV2Avalanche ASSETS AAVEe S_TOKEN,43114 0x8352E3fd18B8d84D3c8a1b538d788899073c7A8E,AaveV2Avalanche ASSETS AAVEe V_TOKEN,43114 0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647,AaveV2Avalanche ASSETS AAVEe INTEREST_RATE_STRATEGY,43114 0x3CA13391E9fb38a75330fb28f8cc2eB3D9ceceED,AaveV2Avalanche ASSETS AAVEe ORACLE,43114 0x50b7545627a5162F82A992c33b87aDc75187B218,AaveV2Avalanche ASSETS WBTCe UNDERLYING,43114 0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D,AaveV2Avalanche ASSETS WBTCe A_TOKEN,43114 -0x3484408989985d68C9700dc1CFDFeAe6d2f658CF,AaveV2Avalanche ASSETS WBTCe S_TOKEN,43114 0x2dc0E35eC3Ab070B8a175C829e23650Ee604a9eB,AaveV2Avalanche ASSETS WBTCe V_TOKEN,43114 0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647,AaveV2Avalanche ASSETS WBTCe INTEREST_RATE_STRATEGY,43114 0x2779D32d5166BAaa2B2b658333bA7e6Ec0C65743,AaveV2Avalanche ASSETS WBTCe ORACLE,43114 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7,AaveV2Avalanche ASSETS WAVAX UNDERLYING,43114 0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B,AaveV2Avalanche ASSETS WAVAX A_TOKEN,43114 -0x2920CD5b8A160b2Addb00Ec5d5f4112255d4ae75,AaveV2Avalanche ASSETS WAVAX S_TOKEN,43114 0x66A0FE52Fb629a6cB4D10B8580AFDffE888F5Fd4,AaveV2Avalanche ASSETS WAVAX V_TOKEN,43114 0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647,AaveV2Avalanche ASSETS WAVAX INTEREST_RATE_STRATEGY,43114 0x0A77230d17318075983913bC2145DB16C7366156,AaveV2Avalanche ASSETS WAVAX ORACLE,43114 @@ -2005,13 +1861,6 @@ address,name,chainId 0x929EC64c34a17401F460460D4B9390518E5B473e,AaveV3Avalanche DEFAULT_INCENTIVES_CONTROLLER,43114 0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24,AaveV3Avalanche DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2,43114 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73,AaveV3Avalanche EMISSION_MANAGER,43114 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Avalanche EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,43114 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Avalanche EXTERNAL_LIBRARIES BORROW_LOGIC,43114 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Avalanche EXTERNAL_LIBRARIES BRIDGE_LOGIC,43114 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Avalanche EXTERNAL_LIBRARIES E_MODE_LOGIC,43114 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Avalanche EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,43114 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Avalanche EXTERNAL_LIBRARIES POOL_LOGIC,43114 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Avalanche EXTERNAL_LIBRARIES SUPPLY_LOGIC,43114 0x6d4F341d8Bb3Dc5ABe822Aa940F1884508C13f99,AaveV3Avalanche FREEZING_STEWARD,43114 0xEBd36016B3eD09D4693Ed4251c67Bd858c3c7C9C,AaveV3Avalanche ORACLE,43114 0x794a61358D6845594F94dc1DB02A252b5b4814aD,AaveV3Avalanche POOL,43114 @@ -2081,13 +1930,6 @@ address,name,chainId 0xa3f3100C4f1D0624DB9DB97b40C13885Ce297799,AaveV3Scroll DEFAULT_INCENTIVES_CONTROLLER,534352 0x49bA16C08130FF8cFADE263B49387A8555bc057B,AaveV3Scroll DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,534352 0x6091546836DAe0487A50E300da3F237727441D90,AaveV3Scroll EMISSION_MANAGER,534352 -0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0,AaveV3Scroll EXTERNAL_LIBRARIES FLASHLOAN_LOGIC,534352 -0x4c52FE2162200bf26c314d7bbd8611699139d553,AaveV3Scroll EXTERNAL_LIBRARIES BORROW_LOGIC,534352 -0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604,AaveV3Scroll EXTERNAL_LIBRARIES BRIDGE_LOGIC,534352 -0x88F864670De467aA73CD45325F9652C578C8AB85,AaveV3Scroll EXTERNAL_LIBRARIES E_MODE_LOGIC,534352 -0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad,AaveV3Scroll EXTERNAL_LIBRARIES LIQUIDATION_LOGIC,534352 -0xA58FB47bE9074828215A173564C0CD10f6F249bf,AaveV3Scroll EXTERNAL_LIBRARIES POOL_LOGIC,534352 -0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba,AaveV3Scroll EXTERNAL_LIBRARIES SUPPLY_LOGIC,534352 0xc68D0C511076283075bD5cc9aA61E43673135f37,AaveV3Scroll FREEZING_STEWARD,534352 0x8714E5ED2d8edD4E88eFf66637C3FE8eCf2B8C40,AaveV3Scroll L2_ENCODER,534352 0x04421D8C506E2fA2371a08EfAaBf791F624054F3,AaveV3Scroll ORACLE,534352 diff --git a/scripts/checks/utils.ts b/scripts/checks/utils.ts new file mode 100644 index 00000000..1820bdde --- /dev/null +++ b/scripts/checks/utils.ts @@ -0,0 +1,13 @@ +import * as addressBook from '../../src/ts/AaveAddressBook'; + +export function getGovernance(chainId: number) { + for (const [name, lib] of Object.entries(addressBook)) { + if (name.startsWith('GovernanceV3') && lib.CHAIN_ID === chainId) return lib; + } +} + +export function getMisc(chainId: number) { + for (const [name, lib] of Object.entries(addressBook)) { + if (name.startsWith('Misc') && lib.CHAIN_ID === chainId) return lib; + } +} diff --git a/scripts/checks/wethGateway.ts b/scripts/checks/wethGateway.ts new file mode 100644 index 00000000..17f014db --- /dev/null +++ b/scripts/checks/wethGateway.ts @@ -0,0 +1,33 @@ +import {getContract} from 'viem'; +import {CHAIN_ID_CLIENT_MAP} from '../clients'; +import {IOwnable_ABI} from '../../src/ts/abis/IOwnable'; +import {getGovernance} from './utils'; + +export async function check(addresses: Record) { + if (addresses.WETH_GATEWAY) { + const client = CHAIN_ID_CLIENT_MAP[addresses.CHAIN_ID]; + // on testnets owners are usually not governance + if (!client.chain?.testnet) { + const gateway = getContract({ + abi: IOwnable_ABI, + address: addresses.WETH_GATEWAY, + client, + }); + const owner = await gateway.read.owner(); + const governance = getGovernance(addresses.CHAIN_ID); + if (!governance) { + console.log( + 'SANITY_GATEWAY: Skipped due to missing governance on chainId: ${addresses.CHAIN_ID}', + ); + } else { + const l1Executor = (governance as any).EXECUTOR_LVL_1; + // prettier would be to check against executor lvl_1 + if (owner !== l1Executor) { + throw new Error( + `SANITY_GATEWAY: OWNER MISMATCH ${addresses.POOL}.${addresses.WETH_GATEWAY}:${owner} != ${l1Executor}`, + ); + } + } + } + } +} diff --git a/scripts/configs/abis.ts b/scripts/configs/abis.ts index 4873d05f..7c0fc4a4 100644 --- a/scripts/configs/abis.ts +++ b/scripts/configs/abis.ts @@ -21,6 +21,7 @@ export const ABI_INTERFACES = [ 'IAToken', 'IDefaultInterestRateStrategy', 'lib/aave-v3-origin/src/contracts/interfaces/IAaveOracle.sol:IAaveOracle', + 'lib/aave-v3-origin/src/contracts/rewards/interfaces/IRewardsController.sol:IRewardsController', 'IExecutor', 'ICrossChainController', 'IWithGuardian', @@ -35,6 +36,7 @@ export const ABI_INTERFACES = [ 'IStakeToken', 'IStataTokenFactory', 'IStataTokenV2', + 'lib/aave-v3-origin/src/contracts/helpers/interfaces/IWrappedTokenGatewayV3.sol:IWrappedTokenGatewayV3', ]; /** diff --git a/scripts/configs/types.ts b/scripts/configs/types.ts index b668b1ff..78923cae 100644 --- a/scripts/configs/types.ts +++ b/scripts/configs/types.ts @@ -81,6 +81,7 @@ export type ReserveData = { symbol: string; UNDERLYING: Hex; decimals: number; + id: number; A_TOKEN: Hex; V_TOKEN: Hex; INTEREST_RATE_STRATEGY: Hex; @@ -89,6 +90,15 @@ export type ReserveData = { STATA_TOKEN?: Hex; }; +export type EMode = { + label: string; + ltv: number; + liquidationThreshold: number; + liquidationBonus: number; + collateralBitmap: bigint; + borrowableBitmap: bigint; +}; + /** * @dev config for addresses that belong more to a network then to a specific pool */ diff --git a/scripts/generateABIs.ts b/scripts/generateABIs.ts index 50b2aefc..da9d33ab 100644 --- a/scripts/generateABIs.ts +++ b/scripts/generateABIs.ts @@ -15,7 +15,6 @@ export async function generateABIs(removeExisting: boolean) { } else { mkdirSync('./src/ts/abis'); } - const imports: string[] = []; for (const INTERFACE_PATH of ABI_INTERFACES) { const {stdout, stderr} = await awaitableExec(`forge inspect ${INTERFACE_PATH} abi`); const INTERFACE = diff --git a/scripts/generateAddresses.ts b/scripts/generateAddresses.ts index 83a37e8d..aebe3e8e 100644 --- a/scripts/generateAddresses.ts +++ b/scripts/generateAddresses.ts @@ -163,6 +163,8 @@ async function main() { const abis = generateABIImports(); + writeFileSync('./src/ts/abis/index.ts', abis.join('\n')); + const imports = [ governanceNames, v1Library, @@ -172,7 +174,6 @@ async function main() { govImports, smImports, tokenListImports, - abis, ].flat(); const jsExports = imports.map((f) => f.js).flat(); diff --git a/scripts/generator/abis.ts b/scripts/generator/abis.ts index 3b5104a8..87e313d4 100644 --- a/scripts/generator/abis.ts +++ b/scripts/generator/abis.ts @@ -6,14 +6,11 @@ export function generateABIImports() { const INTERFACE = INTERFACE_PATH.split(':').length > 1 ? INTERFACE_PATH.split(':')[1] : INTERFACE_PATH; const varName = `${INTERFACE}_ABI`; - jsExports.push(`export {${varName}} from './abis/${INTERFACE}';`); + jsExports.push(`export {${varName}} from './${INTERFACE}';`); } for (const INTERFACE of DOWNLOAD_ABI_INTERFACES) { const varName = `${INTERFACE.name}_ABI`; - jsExports.push(`export {${varName}} from './abis/${INTERFACE.name}';`); + jsExports.push(`export {${varName}} from './${INTERFACE.name}';`); } - return { - solidity: [], - js: jsExports, - }; + return jsExports; } diff --git a/scripts/generator/generateTokenList.ts b/scripts/generator/generateTokenList.ts index ef1cdd22..6a00141e 100644 --- a/scripts/generator/generateTokenList.ts +++ b/scripts/generator/generateTokenList.ts @@ -167,19 +167,13 @@ export async function generateTokenList(pools: TokenListParams) { filepath: path, }), ); - writeFileSync( - `./src/ts/tokenlist.ts`, - await prettier.format(`export const tokenlist = ${JSON.stringify(tokenList)}`, { - filepath: `./src/ts/tokenlist.ts`, - }), - ); } if (validator.errors) { console.log(validator.errors); throw new Error('error creating tokenlist'); } return { - js: [`export {tokenlist} from './tokenlist';`], + js: [], solidity: [], }; } diff --git a/scripts/generator/protocol-v2-generator/fetchPoolAddresses.ts b/scripts/generator/protocol-v2-generator/fetchPoolAddresses.ts new file mode 100644 index 00000000..7f84f0f0 --- /dev/null +++ b/scripts/generator/protocol-v2-generator/fetchPoolAddresses.ts @@ -0,0 +1,68 @@ +import {Address, Client, getContract, zeroAddress} from 'viem'; +import {PoolConfig} from '../../configs/types'; +import {bytes32toAddress, getImplementationStorageSlot} from '../utils'; +import {ILendingPoolAddressesProvider_ABI} from '../../../src/ts/abis/ILendingPoolAddressesProvider'; +import {mainnetAmmV2Pool} from '../../configs/pools/ethereum'; + +export async function fetchPoolAddresses(client: Client, poolConfig: PoolConfig) { + const addressProviderContract = getContract({ + address: poolConfig.POOL_ADDRESSES_PROVIDER, + abi: ILendingPoolAddressesProvider_ABI, + client, + }); + + const [ + POOL, + LENDING_RATE_ORACLE, + POOL_CONFIGURATOR, + ORACLE, + POOL_ADMIN, + EMERGENCY_ADMIN, + AAVE_PROTOCOL_DATA_PROVIDER, + LENDING_POOL_COLLATERAL_MANAGER, + ] = await Promise.all([ + addressProviderContract.read.getLendingPool(), + addressProviderContract.read.getLendingRateOracle(), + addressProviderContract.read.getLendingPoolConfigurator(), + addressProviderContract.read.getPriceOracle(), + addressProviderContract.read.getPoolAdmin(), + addressProviderContract.read.getEmergencyAdmin(), + addressProviderContract.read.getAddress([ + poolConfig.name === mainnetAmmV2Pool.name + ? '0x1000000000000000000000000000000000000000000000000000000000000000' + : '0x0100000000000000000000000000000000000000000000000000000000000000', + ]), + addressProviderContract.read.getLendingPoolCollateralManager(), + ]); + + const [POOL_IMPL, POOL_CONFIGURATOR_IMPL] = await Promise.all([ + getImplementationStorageSlot(client, POOL), + getImplementationStorageSlot(client, POOL_CONFIGURATOR), + ]); + + return { + POOL_ADDRESSES_PROVIDER: { + value: poolConfig.POOL_ADDRESSES_PROVIDER, + type: 'ILendingPoolAddressesProvider', + }, + POOL: {value: POOL, type: 'ILendingPool'}, + POOL_IMPL: bytes32toAddress(POOL_IMPL), + POOL_CONFIGURATOR: { + value: POOL_CONFIGURATOR, + type: 'ILendingPoolConfigurator', + }, + POOL_CONFIGURATOR_IMPL: bytes32toAddress(POOL_CONFIGURATOR_IMPL), + ORACLE: { + value: ORACLE, + type: 'IAaveOracle', + }, + LENDING_RATE_ORACLE: {value: LENDING_RATE_ORACLE, type: 'ILendingRateOracle'}, + AAVE_PROTOCOL_DATA_PROVIDER: { + value: AAVE_PROTOCOL_DATA_PROVIDER, + type: 'IAaveProtocolDataProvider', + }, + LENDING_POOL_COLLATERAL_MANAGER, + POOL_ADMIN, + EMERGENCY_ADMIN, + }; +} diff --git a/scripts/generator/protocol-v2-generator/fetchTokens.ts b/scripts/generator/protocol-v2-generator/fetchTokens.ts new file mode 100644 index 00000000..ff44c217 --- /dev/null +++ b/scripts/generator/protocol-v2-generator/fetchTokens.ts @@ -0,0 +1,82 @@ +import {Address, Client, getContract, zeroAddress} from 'viem'; +import {fetchPoolAddresses} from './fetchPoolAddresses'; +import {ILendingPool_ABI} from '../../../src/ts/abis/ILendingPool'; +import {ReserveData} from '../../configs/types'; +import {IERC20Detailed_ABI} from '../../../src/ts/abis/IERC20Detailed'; +import {IAaveOracle_ABI} from '../../../src/ts/abis/IAaveOracle'; +import {A_TOKEN_V2_ABI} from '../../abi/aToken_v2_abi'; +import {INCENTIVES_CONTROLLER_ABI} from '../../abi/incentivesController_abi'; + +export async function fetchTokens( + client: Client, + poolAddresses: Awaited>, +) { + const poolContract = getContract({ + address: poolAddresses.POOL.value, + abi: ILendingPool_ABI, + client, + }); + const reserves = await poolContract.read.getReservesList(); + const oracleContract = getContract({ + address: poolAddresses.ORACLE.value, + abi: IAaveOracle_ABI, + client, + }); + const reservesData: ReserveData[] = await Promise.all( + reserves.map(async (reserve) => { + const erc20Contract = getContract({address: reserve, abi: IERC20Detailed_ABI, client}); + const [data, symbol, decimals, oracle] = await Promise.all([ + poolContract.read.getReserveData([reserve]), + reserve === '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2' + ? 'MKR' + : erc20Contract.read.symbol(), + erc20Contract.read.decimals(), + oracleContract.read.getSourceOfAsset([reserve]), + ]); + return { + symbol: reserve === '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2' ? 'MKR' : symbol, + decimals: decimals, + id: data.id, + UNDERLYING: reserve, + A_TOKEN: data.aTokenAddress, + V_TOKEN: data.variableDebtTokenAddress, + INTEREST_RATE_STRATEGY: data.interestRateStrategyAddress, + ORACLE: oracle, + }; + }), + ); + return reservesData; +} + +export async function inferAdditionalTokenInfo( + client: Client, + reservesData: Awaited>, +) { + if (reservesData.length > 0) { + const aTokenContract = getContract({ + address: reservesData[0].A_TOKEN, + abi: A_TOKEN_V2_ABI, + client, + }); + const DEFAULT_INCENTIVES_CONTROLLER = await aTokenContract.read.getIncentivesController(); + const COLLECTOR = await aTokenContract.read.RESERVE_TREASURY_ADDRESS(); + + let EMISSION_MANAGER: Address = zeroAddress; + try { + const incentivesControllerContract = getContract({ + address: DEFAULT_INCENTIVES_CONTROLLER, + abi: INCENTIVES_CONTROLLER_ABI, + client, + }); + EMISSION_MANAGER = await incentivesControllerContract.read.EMISSION_MANAGER(); + } catch (e) { + console.log(`old version of incentives controller deployed`); + } + + return { + COLLECTOR: {value: COLLECTOR, type: 'ICollector'}, + DEFAULT_INCENTIVES_CONTROLLER, + EMISSION_MANAGER, + }; + } +} diff --git a/scripts/generator/protocol-v3-generator/fetchEModes.ts b/scripts/generator/protocol-v3-generator/fetchEModes.ts new file mode 100644 index 00000000..fc2948da --- /dev/null +++ b/scripts/generator/protocol-v3-generator/fetchEModes.ts @@ -0,0 +1,79 @@ +import {Address, Client, getContract} from 'viem'; +import {IPool_ABI} from '../../../src/ts/abis/IPool'; +import {Addresses, EMode, ReserveData} from '../../configs/types'; +import {bitMapToIndexes, generateSolidityConstants, wrapIntoSolidityLibrary} from '../utils'; + +/** + * As eModes are stores in a mapping there is no easy way to fetch "all eModes" + * Therefore we fetch one after another and simply assume there is no gap > n + */ +export async function fetchEModes( + client: Client, + poolAddress: Address, + reserveData: ReserveData[], +) { + const poolContract = getContract({address: poolAddress, abi: IPool_ABI, client}); + + const eModes = new Map< + number, + EMode & {collateralAssets: Address[]; borrowableAssets: Address[]} + >(); + let i = 1; + let emptyCount = 0; + while (true) { + const eModeData = await poolContract.read.getEModeCategoryCollateralConfig([i]); + if (eModeData.liquidationThreshold == 0) { + emptyCount++; + } else { + const [label, collateralBitmap, borrowableBitmap] = await Promise.all([ + poolContract.read.getEModeCategoryLabel([i]), + poolContract.read.getEModeCategoryCollateralBitmap([i]), + poolContract.read.getEModeCategoryBorrowableBitmap([i]), + ]); + eModes.set(i, { + label, + collateralBitmap, + collateralAssets: bitMapToIndexes(collateralBitmap).map( + (id) => reserveData.find((r) => r.id === id)!.UNDERLYING, + ), + borrowableBitmap, + borrowableAssets: bitMapToIndexes(borrowableBitmap).map( + (id) => reserveData.find((r) => r.id === id)!.UNDERLYING, + ), + ...eModeData, + }); + } + if (emptyCount > 2) break; + i++; + } + return eModes; +} + +export function generateEmodeLibrary( + chainId: number, + eModes: Map, + libraryName: string, +) { + const sorted = Array.from(eModes).sort(([keyA], [keyB]) => keyA - keyB); + const formatted = sorted.reduce((acc, [value, eMode]) => { + acc[eMode.label.toUpperCase().replace('-', '_').replace(' ', '_')] = { + value, + type: 'uint8', + }; + return acc; + }, {} as Addresses); + return { + solidity: wrapIntoSolidityLibrary( + generateSolidityConstants({ + chainId, + addresses: {NONE: {value: 0, type: 'uint8'}, ...formatted}, + }), + libraryName, + ), + js: `export const E_MODES = ${JSON.stringify( + Object.fromEntries(eModes), + (key, value) => (typeof value === 'bigint' ? value.toString() : value), // return everything else unchanged + 2, + )} as const;\n`, + }; +} diff --git a/scripts/generator/protocol-v3-generator/fetchExternalPoolLibraries.ts b/scripts/generator/protocol-v3-generator/fetchExternalPoolLibraries.ts new file mode 100644 index 00000000..efb53987 --- /dev/null +++ b/scripts/generator/protocol-v3-generator/fetchExternalPoolLibraries.ts @@ -0,0 +1,32 @@ +import {Address, Client, getContract} from 'viem'; +import {IPool_ABI} from '../../../src/ts/abis/IPool'; + +export async function fetchExternalPoolLibraries(client: Client, poolAddress: Address) { + const poolContract = getContract({address: poolAddress, abi: IPool_ABI, client}); + const [ + FLASHLOAN_LOGIC, + BORROW_LOGIC, + BRIDGE_LOGIC, + E_MODE_LOGIC, + LIQUIDATION_LOGIC, + POOL_LOGIC, + SUPPLY_LOGIC, + ] = await Promise.all([ + poolContract.read.getFlashLoanLogic(), + poolContract.read.getBorrowLogic(), + poolContract.read.getBridgeLogic(), + poolContract.read.getEModeLogic(), + poolContract.read.getLiquidationLogic(), + poolContract.read.getPoolLogic(), + poolContract.read.getSupplyLogic(), + ]); + return { + FLASHLOAN_LOGIC, + BORROW_LOGIC, + BRIDGE_LOGIC, + E_MODE_LOGIC, + LIQUIDATION_LOGIC, + POOL_LOGIC, + SUPPLY_LOGIC, + }; +} diff --git a/scripts/generator/protocol-v3-generator/fetchPoolAddresses.ts b/scripts/generator/protocol-v3-generator/fetchPoolAddresses.ts new file mode 100644 index 00000000..cde537ed --- /dev/null +++ b/scripts/generator/protocol-v3-generator/fetchPoolAddresses.ts @@ -0,0 +1,75 @@ +import {Address, Client, getContract, zeroAddress} from 'viem'; +import {PoolConfig} from '../../configs/types'; +import {IPoolAddressesProvider_ABI} from '../../../src/ts/abis/IPoolAddressesProvider'; +import {IRewardsController_ABI} from '../../../src/ts/abis/IRewardsController'; +import {bytes32toAddress, getImplementationStorageSlot} from '../utils'; + +export async function fetchPoolAddresses(client: Client, poolConfig: PoolConfig) { + const addressProviderContract = getContract({ + address: poolConfig.POOL_ADDRESSES_PROVIDER, + abi: IPoolAddressesProvider_ABI, + client, + }); + + const [ + POOL, + POOL_CONFIGURATOR, + ORACLE, + PRICE_ORACLE_SENTINEL, + ACL_ADMIN, + ACL_MANAGER, + AAVE_PROTOCOL_DATA_PROVIDER, + ] = await Promise.all([ + addressProviderContract.read.getPool(), + addressProviderContract.read.getPoolConfigurator(), + addressProviderContract.read.getPriceOracle(), + addressProviderContract.read.getPriceOracleSentinel(), + addressProviderContract.read.getACLAdmin(), + addressProviderContract.read.getACLManager(), + addressProviderContract.read.getPoolDataProvider(), + ]); + + const [POOL_IMPL, POOL_CONFIGURATOR_IMPL, DEFAULT_INCENTIVES_CONTROLLER] = await Promise.all([ + getImplementationStorageSlot(client, POOL), + getImplementationStorageSlot(client, POOL_CONFIGURATOR), + addressProviderContract.read.getAddress([ + '0x703c2c8634bed68d98c029c18f310e7f7ec0e5d6342c590190b3cb8b3ba54532', + ]), + ]); + + let EMISSION_MANAGER: Address = zeroAddress; + try { + const incentivesControllerContract = getContract({ + address: DEFAULT_INCENTIVES_CONTROLLER, + abi: IRewardsController_ABI, + client, + }); + EMISSION_MANAGER = await incentivesControllerContract.read.getEmissionManager(); + } catch (e) { + console.log(`old version of incentives controller deployed on ${poolConfig.name}`); + } + + return { + POOL_ADDRESSES_PROVIDER: { + value: poolConfig.POOL_ADDRESSES_PROVIDER, + type: 'IPoolAddressesProvider', + }, + POOL: {value: POOL, type: 'IPool'}, + POOL_CONFIGURATOR: { + value: POOL_CONFIGURATOR, + type: 'IPoolConfigurator', + }, + ORACLE: { + value: ORACLE, + type: 'IAaveOracle', + }, + PRICE_ORACLE_SENTINEL, + ACL_ADMIN, + ACL_MANAGER: {value: ACL_MANAGER, type: 'IACLManager'}, + AAVE_PROTOCOL_DATA_PROVIDER: {value: AAVE_PROTOCOL_DATA_PROVIDER, type: 'IPoolDataProvider'}, + POOL_IMPL: bytes32toAddress(POOL_IMPL), + POOL_CONFIGURATOR_IMPL: bytes32toAddress(POOL_CONFIGURATOR_IMPL), + DEFAULT_INCENTIVES_CONTROLLER, + EMISSION_MANAGER, + }; +} diff --git a/scripts/generator/protocol-v3-generator/fetchTokens.ts b/scripts/generator/protocol-v3-generator/fetchTokens.ts new file mode 100644 index 00000000..8b7cdc0c --- /dev/null +++ b/scripts/generator/protocol-v3-generator/fetchTokens.ts @@ -0,0 +1,126 @@ +import {Client, getContract} from 'viem'; +import {IAaveOracle_ABI} from '../../../src/ts/abis/IAaveOracle'; +import {IPool_ABI} from '../../../src/ts/abis/IPool'; +import {IStaticATokenFactory_ABI} from '../../../src/ts/abis/IStaticATokenFactory'; +import {IStataTokenFactory_ABI} from '../../../src/ts/abis/IStataTokenFactory'; +import {PoolConfig, ReserveData} from '../../configs/types'; +import {IERC20Detailed_ABI} from '../../../src/ts/abis/IERC20Detailed'; +import {fetchPoolAddresses} from './fetchPoolAddresses'; +import {bytes32toAddress, getImplementationStorageSlot} from '../utils'; +import {IAToken_ABI} from '../../../src/ts/abis/IAToken'; + +export async function fetchTokens( + client: Client, + poolConfig: PoolConfig, + poolAddresses: Awaited>, +) { + const staticATokenFactoryContract = poolConfig.additionalAddresses.STATIC_A_TOKEN_FACTORY + ? getContract({ + address: poolConfig.additionalAddresses.STATIC_A_TOKEN_FACTORY, + abi: IStaticATokenFactory_ABI, + client, + }) + : null; + const stataTokenFactoryContract = poolConfig.additionalAddresses.STATA_FACTORY + ? getContract({ + address: poolConfig.additionalAddresses.STATA_FACTORY, + abi: IStataTokenFactory_ABI, + client, + }) + : null; + const poolContract = getContract({address: poolAddresses.POOL.value, abi: IPool_ABI, client}); + const oracleContract = getContract({ + address: poolAddresses.ORACLE.value, + abi: IAaveOracle_ABI, + client, + }); + + const reserves = await poolContract.read.getReservesList(); + const reservesData: ReserveData[] = await Promise.all( + reserves.map(async (reserve) => { + const erc20Contract = getContract({address: reserve, abi: IERC20Detailed_ABI, client}); + const [data, symbol, decimals, oracle] = await Promise.all([ + poolContract.read.getReserveData([reserve]), + reserve === '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2' + ? 'MKR' + : erc20Contract.read.symbol(), + erc20Contract.read.decimals(), + oracleContract.read.getSourceOfAsset([reserve]), + ]); + const result: ReserveData = { + symbol: reserve === '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2' ? 'MKR' : symbol, + decimals: decimals, + id: data.id, + UNDERLYING: reserve, + A_TOKEN: data.aTokenAddress, + V_TOKEN: data.variableDebtTokenAddress, + INTEREST_RATE_STRATEGY: data.interestRateStrategyAddress, + ORACLE: oracle, + }; + if (staticATokenFactoryContract) + result.STATIC_A_TOKEN = await staticATokenFactoryContract.read.getStaticAToken([reserve]); + if (stataTokenFactoryContract) + result.STATA_TOKEN = await stataTokenFactoryContract.read.getStataToken([reserve]); + return result; + }), + ); + return reservesData; +} + +export async function inferAdditionalTokenInfo( + client: Client, + reservesData: Awaited>, +) { + if (reservesData.length > 0) { + const aTokenContract = getContract({ + address: reservesData[0].A_TOKEN, + abi: [ + { + inputs: [], + name: 'ATOKEN_REVISION', + outputs: [{internalType: 'uint256', name: '', type: 'uint256'}], + stateMutability: 'view', + type: 'function', + }, + ...IAToken_ABI, + ] as const, + client, + }); + const variableDebtTokenContract = getContract({ + address: reservesData[0].V_TOKEN, + abi: [ + { + inputs: [], + name: 'DEBT_TOKEN_REVISION', + outputs: [{internalType: 'uint256', name: '', type: 'uint256'}], + stateMutability: 'view', + type: 'function', + }, + ] as const, + client, + }); + + const [COLLECTOR, aTokenImplSlot, aTokenImplRevision, vTokenImplSlot] = await Promise.all([ + aTokenContract.read.RESERVE_TREASURY_ADDRESS(), + getImplementationStorageSlot(client, reservesData[0].A_TOKEN), + aTokenContract.read.ATOKEN_REVISION(), + getImplementationStorageSlot(client, reservesData[0].V_TOKEN), + ]); + const defaultATokenImplementation = bytes32toAddress(aTokenImplSlot); + + const aTokenRevision = Number(aTokenImplRevision); + + const defaultVariableDebtTokenImplementation = bytes32toAddress(vTokenImplSlot); + + const variableDebtTokenRevision = Number( + await variableDebtTokenContract.read.DEBT_TOKEN_REVISION(), + ); + + return { + COLLECTOR: {value: COLLECTOR, type: 'ICollector'}, + [`DEFAULT_A_TOKEN_IMPL_REV_${aTokenRevision}`]: defaultATokenImplementation, + [`DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_${variableDebtTokenRevision}`]: + defaultVariableDebtTokenImplementation, + }; + } +} diff --git a/scripts/generator/protocolV2Generator.ts b/scripts/generator/protocolV2Generator.ts index 16894c8c..d7702d6d 100644 --- a/scripts/generator/protocolV2Generator.ts +++ b/scripts/generator/protocolV2Generator.ts @@ -2,22 +2,16 @@ import {Hex, Client, getContract} from 'viem'; import {AddressInfo, PoolConfig, ReserveData} from '../configs/types'; import {appendFileSync, writeFileSync} from 'fs'; import { - bytes32toAddress, generateJsConstants, generateSolidityConstants, - getImplementationStorageSlot, prefixWithGeneratedWarning, prefixWithPragma, wrapIntoSolidityLibrary, } from './utils'; -import {ADDRESS_PROVIDER_V2_ABI} from '../abi/address_provider_v2_abi'; -import {LENDING_POOL_V2_ABI} from '../abi/lending_pool_v2_abi'; -import {A_TOKEN_V2_ABI} from '../abi/aToken_v2_abi'; -import {INCENTIVES_CONTROLLER_ABI} from '../abi/incentivesController_abi'; import {generateAssetsLibrary} from './assetsLibraryGenerator'; -import {UI_POOL_DATA_PROVIDER_V2_ABI} from '../abi/uiPoolData_provider_v2_abi'; -import {mainnetAmmV2Pool} from '../configs/pools/ethereum'; +import {fetchPoolAddresses} from './protocol-v2-generator/fetchPoolAddresses'; import {CHAIN_ID_CLIENT_MAP} from '../clients'; +import {fetchTokens, inferAdditionalTokenInfo} from './protocol-v2-generator/fetchTokens'; export interface PoolV2Addresses { POOL_ADDRESSES_PROVIDER: AddressInfo; @@ -37,181 +31,16 @@ export interface PoolV2Addresses { reservesData: ReserveData[]; } -async function getAdditionalTokenInfo( - client: Client, - pool: Hex, - reservesData: PoolV2Addresses['reservesData'], -): Promise<{ - COLLECTOR: AddressInfo; - [key: `DEFAULT_A_TOKEN_IMPL_REV_${number}`]: Hex; - [key: `DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_${number}`]: Hex; - [key: `DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_${number}`]: Hex; -}> { - if (reservesData.length > 0) { - const aTokenContract = getContract({ - address: reservesData[0].A_TOKEN, - abi: A_TOKEN_V2_ABI, - client, - }); - const COLLECTOR = await aTokenContract.read.RESERVE_TREASURY_ADDRESS(); - - return { - COLLECTOR: {value: COLLECTOR, type: 'ICollector'}, - }; - } else { - const lendingPoolContract = getContract({ - address: pool, - abi: LENDING_POOL_V2_ABI, - client, - }); - const reserves = await lendingPoolContract.read.getReservesList(); - const data = await lendingPoolContract.read.getReserveData([reserves[0]]); - const aTokenContract = getContract({ - address: data.aTokenAddress, - abi: A_TOKEN_V2_ABI, - client, - }); - const collector = await aTokenContract.read.RESERVE_TREASURY_ADDRESS(); - return { - COLLECTOR: {value: collector, type: 'ICollector'}, - }; - } -} - -export async function getPoolV2Addresses(pool: PoolConfig): Promise { - const client = CHAIN_ID_CLIENT_MAP[pool.chainId]; - const addressProviderContract = getContract({ - address: pool.POOL_ADDRESSES_PROVIDER, - abi: ADDRESS_PROVIDER_V2_ABI, - client, - }); - try { - const [ - POOL, - LENDING_RATE_ORACLE, - POOL_CONFIGURATOR, - ORACLE, - POOL_ADMIN, - EMERGENCY_ADMIN, - AAVE_PROTOCOL_DATA_PROVIDER, - LENDING_POOL_COLLATERAL_MANAGER, - ] = await Promise.all([ - addressProviderContract.read.getLendingPool(), - addressProviderContract.read.getLendingRateOracle(), - addressProviderContract.read.getLendingPoolConfigurator(), - addressProviderContract.read.getPriceOracle(), - addressProviderContract.read.getPoolAdmin(), - addressProviderContract.read.getEmergencyAdmin(), - addressProviderContract.read.getAddress([ - pool.name === mainnetAmmV2Pool.name - ? '0x1000000000000000000000000000000000000000000000000000000000000000' - : '0x0100000000000000000000000000000000000000000000000000000000000000', - ]), - addressProviderContract.read.getLendingPoolCollateralManager(), - ]); - - const [POOL_IMPL, POOL_CONFIGURATOR_IMPL] = await Promise.all([ - getImplementationStorageSlot(client, POOL), - getImplementationStorageSlot(client, POOL_CONFIGURATOR), - ]); - - let reservesData: PoolV2Addresses['reservesData'] = []; - // workaround, fix before merge - // didn't find all the ui pool data provider addresses, so currently there are gaps - if (pool.additionalAddresses.UI_POOL_DATA_PROVIDER) { - const uiPoolDataProvider = getContract({ - address: pool.additionalAddresses.UI_POOL_DATA_PROVIDER, - abi: UI_POOL_DATA_PROVIDER_V2_ABI, - client, - }); - reservesData = ( - await uiPoolDataProvider.read.getReservesData([pool.POOL_ADDRESSES_PROVIDER]) - )[0].map((reserve) => { - return { - symbol: reserve.symbol, - UNDERLYING: reserve.underlyingAsset, - decimals: Number(reserve.decimals), - A_TOKEN: reserve.aTokenAddress, - S_TOKEN: reserve.stableDebtTokenAddress, - V_TOKEN: reserve.variableDebtTokenAddress, - INTEREST_RATE_STRATEGY: reserve.interestRateStrategyAddress, - ORACLE: reserve.priceOracle, - }; - }); - } - - const {COLLECTOR, ...rest} = await getAdditionalTokenInfo(client, POOL, reservesData); - - // Note: needed as i didn't find an upto date uipooldataprovider for arc - const lendingPoolContract = getContract({ - address: POOL, - abi: LENDING_POOL_V2_ABI, - client, - }); - const reserves = await lendingPoolContract.read.getReservesList(); - const data = await lendingPoolContract.read.getReserveData([reserves[0]]); - - /** - * While the reserve treasury address is per token in most cases it will be the same address, so for the sake of the address-book we assume it always is. - */ - const aTokenContract = getContract({ - address: data.aTokenAddress, - abi: A_TOKEN_V2_ABI, - client, - }); - - const DEFAULT_INCENTIVES_CONTROLLER = await aTokenContract.read.getIncentivesController(); - - let EMISSION_MANAGER: Hex = '0x0000000000000000000000000000000000000000'; - try { - const incentivesControllerContract = getContract({ - address: DEFAULT_INCENTIVES_CONTROLLER, - abi: INCENTIVES_CONTROLLER_ABI, - client, - }); - EMISSION_MANAGER = await incentivesControllerContract.read.EMISSION_MANAGER(); - } catch (e) { - console.log(`old version of incentives controller deployed on ${pool.name}`); - } - - return { - POOL_ADDRESSES_PROVIDER: { - value: pool.POOL_ADDRESSES_PROVIDER, - type: 'ILendingPoolAddressesProvider', - }, - POOL: {value: POOL, type: 'ILendingPool'}, - POOL_IMPL: bytes32toAddress(POOL_IMPL), - POOL_CONFIGURATOR: { - value: POOL_CONFIGURATOR, - type: 'ILendingPoolConfigurator', - }, - POOL_CONFIGURATOR_IMPL: bytes32toAddress(POOL_CONFIGURATOR_IMPL), - ORACLE: { - value: ORACLE, - type: 'IAaveOracle', - }, - LENDING_RATE_ORACLE: {value: LENDING_RATE_ORACLE, type: 'ILendingRateOracle'}, - AAVE_PROTOCOL_DATA_PROVIDER: { - value: AAVE_PROTOCOL_DATA_PROVIDER, - type: 'IAaveProtocolDataProvider', - }, - POOL_ADMIN, - EMERGENCY_ADMIN, - COLLECTOR, - DEFAULT_INCENTIVES_CONTROLLER, - ...rest, - EMISSION_MANAGER, - LENDING_POOL_COLLATERAL_MANAGER, - reservesData, - }; - } catch (error: any) { - throw new Error(JSON.stringify({message: error.message, pool, stack: error.stack})); +export async function generateProtocolV2Library(poolConfig: PoolConfig) { + const client = CHAIN_ID_CLIENT_MAP[poolConfig.chainId]; + if (!client) { + throw new Error(`client for chain not found for chainId: ${poolConfig.chainId}`); } -} + const poolAddresses = await fetchPoolAddresses(client, poolConfig); + const reservesData = await fetchTokens(client, poolAddresses); + const additionalTokenInfo = await inferAdditionalTokenInfo(client, reservesData); -export async function generateProtocolV2Library(config: PoolConfig) { - const {reservesData, ...addresses} = await getPoolV2Addresses(config); - const name = `AaveV2${config.name}`; + const name = `AaveV2${poolConfig.name}`; writeFileSync( `./src/${name}.sol`, @@ -221,8 +50,12 @@ export async function generateProtocolV2Library(config: PoolConfig) { `import {ICollector} from './common/ICollector.sol';` + wrapIntoSolidityLibrary( generateSolidityConstants({ - chainId: config.chainId, - addresses: {...addresses, ...config.additionalAddresses}, + chainId: poolConfig.chainId, + addresses: { + ...poolAddresses, + ...additionalTokenInfo, + ...poolConfig.additionalAddresses, + }, }), name, ), @@ -233,11 +66,12 @@ export async function generateProtocolV2Library(config: PoolConfig) { `./src/ts/${name}.ts`, prefixWithGeneratedWarning( generateJsConstants({ - chainId: config.chainId, + chainId: poolConfig.chainId, addresses: { - ...addresses, - ...config.additionalAddresses, - CHAIN_ID: {value: config.chainId, type: 'uint256'}, + ...poolAddresses, + ...additionalTokenInfo, + ...poolConfig.additionalAddresses, + CHAIN_ID: {value: poolConfig.chainId, type: 'uint256'}, }, }).join('\n'), ), @@ -245,14 +79,14 @@ export async function generateProtocolV2Library(config: PoolConfig) { // generate assets library const assetsLibraryName = name + 'Assets'; - const assetsLibrary = generateAssetsLibrary(config.chainId, reservesData, assetsLibraryName); + const assetsLibrary = generateAssetsLibrary(poolConfig.chainId, reservesData, assetsLibraryName); appendFileSync(`./src/${name}.sol`, assetsLibrary.solidity); appendFileSync(`./src/ts/${name}.ts`, assetsLibrary.js); return { - pool: (addresses.POOL as any).value, + pool: poolAddresses.POOL.value, name, reservesData, - chainId: config.chainId, + chainId: poolConfig.chainId, js: [`export * as ${name} from './${name}';`], solidity: [`import {${name}} from './${name}.sol';`], }; diff --git a/scripts/generator/protocolV3Generator.ts b/scripts/generator/protocolV3Generator.ts index 9efc3271..f11617c8 100644 --- a/scripts/generator/protocolV3Generator.ts +++ b/scripts/generator/protocolV3Generator.ts @@ -1,27 +1,19 @@ -import {Hex, Client, getContract, zeroAddress} from 'viem'; -import {AddressInfo, Addresses, PoolConfig, ReserveData} from '../configs/types'; -import {REWARDS_CONTROLLER_ABI} from '../abi/rewardsController_v3_abi'; +import {AddressInfo, Addresses, EMode, PoolConfig, ReserveData} from '../configs/types'; import {appendFileSync, writeFileSync} from 'fs'; import { - addressOrZero, - bytes32toAddress, generateJsConstants, generateJsObject, generateSolidityConstants, - getImplementationStorageSlot, prefixWithGeneratedWarning, prefixWithPragma, wrapIntoSolidityLibrary, } from './utils'; import {generateAssetsLibrary} from './assetsLibraryGenerator'; -import {IPoolAddressesProvider_ABI} from '../../src/ts/abis/IPoolAddressesProvider'; -import {IStaticATokenFactory_ABI} from '../../src/ts/abis/IStaticATokenFactory'; -import {IStataTokenFactory_ABI} from '../../src/ts/abis/IStataTokenFactory'; -import {IAaveOracle_ABI} from '../../src/ts/abis/IAaveOracle'; -import {IERC20Detailed_ABI} from '../../src/ts/abis/IERC20Detailed'; -import {IAToken_ABI} from '../../src/ts/abis/IAToken'; -import {IPool_ABI} from '../../src/ts/abis/IPool'; +import {fetchPoolAddresses} from './protocol-v3-generator/fetchPoolAddresses'; import {CHAIN_ID_CLIENT_MAP} from '../clients'; +import {fetchExternalPoolLibraries} from './protocol-v3-generator/fetchExternalPoolLibraries'; +import {fetchEModes, generateEmodeLibrary} from './protocol-v3-generator/fetchEModes'; +import {fetchTokens, inferAdditionalTokenInfo} from './protocol-v3-generator/fetchTokens'; export interface PoolV3Addresses { POOL_ADDRESSES_PROVIDER: AddressInfo; @@ -39,287 +31,10 @@ export interface PoolV3Addresses { DEFAULT_INCENTIVES_CONTROLLER: AddressInfo; [key: `DEFAULT_A_TOKEN_IMPL_REV_${number}`]: AddressInfo; [key: `DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_${number}`]: AddressInfo; - [key: `DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_${number}`]: AddressInfo; reservesData: ReserveData[]; externalLibraries: null | Record; } -async function getAdditionalTokenInfo( - client: Client, - pool: PoolConfig, - reservesData: PoolV3Addresses['reservesData'], -): Promise<{ - COLLECTOR: AddressInfo; - [key: `DEFAULT_A_TOKEN_IMPL_REV_${number}`]: AddressInfo; - [key: `DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_${number}`]: AddressInfo; -}> { - if (reservesData.length > 0) { - const aTokenContract = getContract({ - address: reservesData[0].A_TOKEN, - abi: [ - { - inputs: [], - name: 'ATOKEN_REVISION', - outputs: [{internalType: 'uint256', name: '', type: 'uint256'}], - stateMutability: 'view', - type: 'function', - }, - ...IAToken_ABI, - ] as const, - client, - }); - const variableDebtTokenContract = getContract({ - address: reservesData[0].V_TOKEN, - abi: [ - { - inputs: [], - name: 'DEBT_TOKEN_REVISION', - outputs: [{internalType: 'uint256', name: '', type: 'uint256'}], - stateMutability: 'view', - type: 'function', - }, - ] as const, - client, - }); - - const [COLLECTOR, aTokenImplSlot, aTokenImplRevision, vTokenImplSlot] = await Promise.all([ - aTokenContract.read.RESERVE_TREASURY_ADDRESS(), - getImplementationStorageSlot(client, reservesData[0].A_TOKEN), - aTokenContract.read.ATOKEN_REVISION(), - getImplementationStorageSlot(client, reservesData[0].V_TOKEN), - ]); - const defaultATokenImplementation = bytes32toAddress(aTokenImplSlot); - - const aTokenRevision = Number(aTokenImplRevision); - - const defaultVariableDebtTokenImplementation = bytes32toAddress(vTokenImplSlot); - - const variableDebtTokenRevision = Number( - await variableDebtTokenContract.read.DEBT_TOKEN_REVISION(), - ); - - return { - COLLECTOR: {value: COLLECTOR, type: 'ICollector'}, - [`DEFAULT_A_TOKEN_IMPL_REV_${aTokenRevision}`]: defaultATokenImplementation, - [`DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_${variableDebtTokenRevision}`]: - defaultVariableDebtTokenImplementation, - }; - } - return { - COLLECTOR: {value: addressOrZero(pool.initial?.COLLECTOR), type: 'ICollector'}, - DEFAULT_A_TOKEN_IMPL_REV_1: addressOrZero(pool.initial?.DEFAULT_A_TOKEN_IMPL), - DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1: addressOrZero( - pool.initial?.DEFAULT_VARIABLE_DEBT_TOKEN_IMPL, - ), - }; -} - -export async function getPoolV3Addresses( - pool: PoolConfig, -): Promise}> { - const client = CHAIN_ID_CLIENT_MAP[pool.chainId]; - const addressProviderContract = getContract({ - address: pool.POOL_ADDRESSES_PROVIDER, - abi: IPoolAddressesProvider_ABI, - client, - }); - if (!client) { - console.log(client, pool.chainId, pool.POOL_ADDRESSES_PROVIDER); - throw new Error('client for chain not found'); - } - try { - const [ - POOL, - POOL_CONFIGURATOR, - ORACLE, - PRICE_ORACLE_SENTINEL, - ACL_ADMIN, - ACL_MANAGER, - AAVE_PROTOCOL_DATA_PROVIDER, - ] = await Promise.all([ - addressProviderContract.read.getPool(), - addressProviderContract.read.getPoolConfigurator(), - addressProviderContract.read.getPriceOracle(), - addressProviderContract.read.getPriceOracleSentinel(), - addressProviderContract.read.getACLAdmin(), - addressProviderContract.read.getACLManager(), - addressProviderContract.read.getPoolDataProvider(), - ]); - - const [POOL_IMPL, POOL_CONFIGURATOR_IMPL, DEFAULT_INCENTIVES_CONTROLLER] = await Promise.all([ - getImplementationStorageSlot(client, POOL), - getImplementationStorageSlot(client, POOL_CONFIGURATOR), - addressProviderContract.read.getAddress([ - '0x703c2c8634bed68d98c029c18f310e7f7ec0e5d6342c590190b3cb8b3ba54532', - ]), - ]); - - let EMISSION_MANAGER: Hex = zeroAddress; - try { - const incentivesControllerContract = getContract({ - address: DEFAULT_INCENTIVES_CONTROLLER, - abi: REWARDS_CONTROLLER_ABI, - client, - }); - EMISSION_MANAGER = await incentivesControllerContract.read.getEmissionManager(); - } catch (e) { - console.log(`old version of incentives controller deployed on ${pool.name}`); - } - - const eModes = new Map(); - const staticATokenFactoryContract = pool.additionalAddresses.STATIC_A_TOKEN_FACTORY - ? getContract({ - address: pool.additionalAddresses.STATIC_A_TOKEN_FACTORY, - abi: IStaticATokenFactory_ABI, - client, - }) - : null; - const stataTokenFactoryContract = pool.additionalAddresses.STATA_FACTORY - ? getContract({ - address: pool.additionalAddresses.STATA_FACTORY, - abi: IStataTokenFactory_ABI, - client, - }) - : null; - const poolContract = getContract({address: POOL, abi: IPool_ABI, client}); - const oracleContract = getContract({address: ORACLE, abi: IAaveOracle_ABI, client}); - - let i = 1; - let emptyCount = 0; - while (true) { - const eModeData = await poolContract.read.getEModeCategoryData([i]); - if (eModeData.liquidationThreshold == 0) { - emptyCount++; - } else { - eModes.set(i, eModeData.label); - } - if (emptyCount > 2) break; - i++; - } - const reserves = await poolContract.read.getReservesList(); - const reservesData: PoolV3Addresses['reservesData'] = await Promise.all( - reserves.map(async (reserve) => { - const erc20Contract = getContract({address: reserve, abi: IERC20Detailed_ABI, client}); - const [data, symbol, decimals, oracle] = await Promise.all([ - poolContract.read.getReserveData([reserve]), - reserve === '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2' - ? 'MRK' - : erc20Contract.read.symbol(), - erc20Contract.read.decimals(), - oracleContract.read.getSourceOfAsset([reserve]), - ]); - const result: ReserveData = { - symbol: reserve === '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2' ? 'MRK' : symbol, - decimals: decimals, - UNDERLYING: reserve, - A_TOKEN: data.aTokenAddress, - V_TOKEN: data.variableDebtTokenAddress, - INTEREST_RATE_STRATEGY: data.interestRateStrategyAddress, - ORACLE: oracle, - }; - if (staticATokenFactoryContract) - result.STATIC_A_TOKEN = (await staticATokenFactoryContract.read.getStaticAToken([ - reserve, - ])) as Hex; - if (stataTokenFactoryContract) - result.STATA_TOKEN = (await stataTokenFactoryContract.read.getStataToken([ - reserve, - ])) as Hex; - return result; - }), - ); - - const {COLLECTOR, ...rest} = await getAdditionalTokenInfo(client, pool, reservesData); - - // fetching libraries on 3.1+ - let externalLibraries: null | Record = null; - try { - const [ - FLASHLOAN_LOGIC, - BORROW_LOGIC, - BRIDGE_LOGIC, - E_MODE_LOGIC, - LIQUIDATION_LOGIC, - POOL_LOGIC, - SUPPLY_LOGIC, - ] = await Promise.all([ - poolContract.read.getFlashLoanLogic(), - poolContract.read.getBorrowLogic(), - poolContract.read.getBridgeLogic(), - poolContract.read.getEModeLogic(), - poolContract.read.getLiquidationLogic(), - poolContract.read.getPoolLogic(), - poolContract.read.getSupplyLogic(), - ]); - externalLibraries = { - FLASHLOAN_LOGIC, - BORROW_LOGIC, - BRIDGE_LOGIC, - E_MODE_LOGIC, - LIQUIDATION_LOGIC, - POOL_LOGIC, - SUPPLY_LOGIC, - }; - } catch (e) { - // might fail on fantom/harmony and testnets - } - - return { - eModes, - externalLibraries, - POOL_ADDRESSES_PROVIDER: { - value: pool.POOL_ADDRESSES_PROVIDER, - type: 'IPoolAddressesProvider', - }, - POOL: {value: POOL, type: 'IPool'}, - POOL_IMPL: bytes32toAddress(POOL_IMPL), - POOL_CONFIGURATOR: { - value: POOL_CONFIGURATOR, - type: 'IPoolConfigurator', - }, - POOL_CONFIGURATOR_IMPL: bytes32toAddress(POOL_CONFIGURATOR_IMPL), - ORACLE: { - value: ORACLE, - type: 'IAaveOracle', - }, - PRICE_ORACLE_SENTINEL, - AAVE_PROTOCOL_DATA_PROVIDER: {value: AAVE_PROTOCOL_DATA_PROVIDER, type: 'IPoolDataProvider'}, - ACL_MANAGER: {value: ACL_MANAGER, type: 'IACLManager'}, - ACL_ADMIN, - COLLECTOR, - DEFAULT_INCENTIVES_CONTROLLER, - ...rest, - EMISSION_MANAGER, - reservesData, - }; - } catch (error: any) { - throw new Error(JSON.stringify({message: error.message, pool, stack: error.stack})); - } -} - -function generateEmodes(chainId: number, eModes: Map, libraryName: string) { - const eModeZero = eModes.get(0); - if (!eModeZero) eModes.set(0, 'NONE'); - const sorted = Array.from(eModes).sort(([keyA], [keyB]) => keyA - keyB); - const formatted = sorted.reduce((acc, [value, label]) => { - acc[label.toUpperCase().replace('-', '_').replace(' ', '_')] = { - value, - type: 'uint8', - }; - return acc; - }, {} as Addresses); - return { - solidity: wrapIntoSolidityLibrary( - generateSolidityConstants({ - chainId, - addresses: formatted, - }), - libraryName, - ), - js: `export const E_MODES = ${generateJsObject({addresses: formatted})} as const;\n`, - }; -} - function generateExternalLibraries( chainId: number, libraries: Record, @@ -337,9 +52,15 @@ function generateExternalLibraries( }; } -export async function generateProtocolV3Library(config: PoolConfig) { - const {reservesData, eModes, externalLibraries, ...addresses} = await getPoolV3Addresses(config); - const name = `AaveV3${config.name}`; +export async function generateProtocolV3Library(poolConfig: PoolConfig) { + const client = CHAIN_ID_CLIENT_MAP[poolConfig.chainId]; + if (!client) { + throw new Error(`client for chain not found for chainId: ${poolConfig.chainId}`); + } + const poolAddresses = await fetchPoolAddresses(client, poolConfig); + const reservesData = await fetchTokens(client, poolConfig, poolAddresses); + const additionalTokenInfo = await inferAdditionalTokenInfo(client, reservesData); + const name = `AaveV3${poolConfig.name}`; // generate main library writeFileSync( @@ -350,8 +71,12 @@ export async function generateProtocolV3Library(config: PoolConfig) { `import {ICollector} from './common/ICollector.sol';` + wrapIntoSolidityLibrary( generateSolidityConstants({ - chainId: config.chainId, - addresses: {...addresses, ...config.additionalAddresses}, + chainId: poolConfig.chainId, + addresses: { + ...poolAddresses, + ...additionalTokenInfo, + ...poolConfig.additionalAddresses, + }, }), name, ), @@ -362,11 +87,12 @@ export async function generateProtocolV3Library(config: PoolConfig) { `./src/ts/${name}.ts`, prefixWithGeneratedWarning( generateJsConstants({ - chainId: config.chainId, + chainId: poolConfig.chainId, addresses: { - ...addresses, - ...config.additionalAddresses, - CHAIN_ID: {value: config.chainId, type: 'uint256'}, + ...poolAddresses, + ...additionalTokenInfo, + ...poolConfig.additionalAddresses, + CHAIN_ID: {value: poolConfig.chainId, type: 'uint256'}, }, }).join('\n'), ), @@ -374,33 +100,48 @@ export async function generateProtocolV3Library(config: PoolConfig) { // generate assets library const assetsLibraryName = name + 'Assets'; - const assetsLibrary = generateAssetsLibrary(config.chainId, reservesData, assetsLibraryName); + const assetsLibrary = generateAssetsLibrary(poolConfig.chainId, reservesData, assetsLibraryName); appendFileSync(`./src/${name}.sol`, assetsLibrary.solidity); appendFileSync(`./src/ts/${name}.ts`, assetsLibrary.js); // generate emodes library - const eModesLibraryName = name + 'EModes'; - const eModesLibrary = generateEmodes(config.chainId, eModes, eModesLibraryName); - appendFileSync(`./src/${name}.sol`, eModesLibrary.solidity); - appendFileSync(`./src/ts/${name}.ts`, eModesLibrary.js); + try { + const eModes = await fetchEModes(client, poolAddresses.POOL.value, reservesData); + const eModesLibraryName = name + 'EModes'; + const eModesLibrary = generateEmodeLibrary(poolConfig.chainId, eModes, eModesLibraryName); + appendFileSync(`./src/${name}.sol`, eModesLibrary.solidity); + appendFileSync(`./src/ts/${name}.ts`, eModesLibrary.js); + } catch (e) { + // can fail due to pre 3.2 deployments + console.log(e.message); + } // generate externalLibraries library - if (externalLibraries) { - const externalLibraryName = name + 'ExternalLibraries'; - const externalLibrary = generateExternalLibraries( - config.chainId, - externalLibraries, - externalLibraryName, + try { + const externalPoolLibraries = await fetchExternalPoolLibraries( + client, + poolAddresses.POOL.value, ); - appendFileSync(`./src/${name}.sol`, externalLibrary.solidity); - appendFileSync(`./src/ts/${name}.ts`, externalLibrary.js); + if (externalPoolLibraries) { + const externalLibraryName = name + 'ExternalLibraries'; + const externalLibrary = generateExternalLibraries( + poolConfig.chainId, + externalPoolLibraries, + externalLibraryName, + ); + appendFileSync(`./src/${name}.sol`, externalLibrary.solidity); + appendFileSync(`./src/ts/${name}.ts`, externalLibrary.js); + } + } catch (e) { + // can fail due to pre 3.1 deployments + console.log(e.message); } return { - pool: (addresses.POOL as any).value, + pool: poolAddresses.POOL.value, name, reservesData, - chainId: config.chainId, + chainId: poolConfig.chainId, js: [`export * as ${name} from './${name}';`], solidity: [`import {${name}} from './${name}.sol';`], }; diff --git a/scripts/generator/utils.ts b/scripts/generator/utils.ts index 56e6b43f..1e4a81fe 100644 --- a/scripts/generator/utils.ts +++ b/scripts/generator/utils.ts @@ -94,9 +94,9 @@ export function generateJsConstants({chainId, addresses}: {chainId: number; addr .map((key) => addressToJsConstant(chainId, key, addresses[key])); } -export function generateJsObject({addresses}: {addresses: Addresses}) { +export function generateJsObject(object: any) { return JSON.stringify( - addresses, + object, function (key, value) { if (!key) return value; return typeof value === 'object' ? value.value : value; @@ -120,3 +120,12 @@ export function addressOrZero(address?: Hex): Hex { if (address) return address; return zeroAddress; } + +export function bitMapToIndexes(bitmap: bigint) { + const reserveIndexes: number[] = []; + for (let i = 0; bitmap != 0n; i++) { + if (bitmap & 0x1n) reserveIndexes.push(i); + bitmap = bitmap >> 1n; + } + return reserveIndexes; +} diff --git a/scripts/sanity.ts b/scripts/sanity.ts index c7d97cca..bacb0494 100644 --- a/scripts/sanity.ts +++ b/scripts/sanity.ts @@ -3,9 +3,10 @@ */ import * as addressBook from '../src/ts/AaveAddressBook'; import {check as stataCheck} from './checks/stataFactory'; +import {check as wethCheck} from './checks/wethGateway'; async function sanity() { - const sanitySuites = [stataCheck]; + const sanitySuites = [stataCheck, wethCheck]; for (const key of Object.keys(addressBook)) { for (const suite of sanitySuites) { await suite(addressBook[key]); diff --git a/src/AaveV2Avalanche.sol b/src/AaveV2Avalanche.sol index 989068c1..6e927f28 100644 --- a/src/AaveV2Avalanche.sol +++ b/src/AaveV2Avalanche.sol @@ -34,6 +34,10 @@ library AaveV2Avalanche { IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IAaveProtocolDataProvider(0x65285E9dfab318f57051ab2b139ccCf232945451); + // https://snowtrace.io/address/0x69A45013F047A65422deFdD0C43f09530D7025c0 + address internal constant LENDING_POOL_COLLATERAL_MANAGER = + 0x69A45013F047A65422deFdD0C43f09530D7025c0; + // https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090 address internal constant POOL_ADMIN = 0x3C06dce358add17aAf230f2234bCCC4afd50d090; @@ -50,10 +54,6 @@ library AaveV2Avalanche { // https://snowtrace.io/address/0x5CfCd7E6D055Ba4f7B998914336254aDE3F69f26 address internal constant EMISSION_MANAGER = 0x5CfCd7E6D055Ba4f7B998914336254aDE3F69f26; - // https://snowtrace.io/address/0x69A45013F047A65422deFdD0C43f09530D7025c0 - address internal constant LENDING_POOL_COLLATERAL_MANAGER = - 0x69A45013F047A65422deFdD0C43f09530D7025c0; - // https://snowtrace.io/address/0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4 address internal constant DEBT_SWAP_ADAPTER = 0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4; diff --git a/src/AaveV2Ethereum.sol b/src/AaveV2Ethereum.sol index 0ba0e2bd..405093f2 100644 --- a/src/AaveV2Ethereum.sol +++ b/src/AaveV2Ethereum.sol @@ -34,6 +34,10 @@ library AaveV2Ethereum { IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IAaveProtocolDataProvider(0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d); + // https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 + address internal constant LENDING_POOL_COLLATERAL_MANAGER = + 0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3; + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A address internal constant POOL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; @@ -50,10 +54,6 @@ library AaveV2Ethereum { // https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5 address internal constant EMISSION_MANAGER = 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5; - // https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 - address internal constant LENDING_POOL_COLLATERAL_MANAGER = - 0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3; - // https://etherscan.io/address/0xAf5c88245CD02Ff3DF332EF1E1FfD5bc5D1d87cd address internal constant DEBT_SWAP_ADAPTER = 0xAf5c88245CD02Ff3DF332EF1E1FfD5bc5D1d87cd; diff --git a/src/AaveV2EthereumAMM.sol b/src/AaveV2EthereumAMM.sol index 01be7103..dc216870 100644 --- a/src/AaveV2EthereumAMM.sol +++ b/src/AaveV2EthereumAMM.sol @@ -34,6 +34,10 @@ library AaveV2EthereumAMM { IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IAaveProtocolDataProvider(0xc443AD9DDE3cecfB9dfC5736578f447aFE3590ba); + // https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 + address internal constant LENDING_POOL_COLLATERAL_MANAGER = + 0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3; + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A address internal constant POOL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; @@ -43,10 +47,6 @@ library AaveV2EthereumAMM { // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); - // https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 - address internal constant LENDING_POOL_COLLATERAL_MANAGER = - 0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3; - // https://etherscan.io/address/0xcfC26009618ec2Ca8787180116a37Caa354a465C address internal constant CONFIG_ENGINE = 0xcfC26009618ec2Ca8787180116a37Caa354a465C; diff --git a/src/AaveV2EthereumArc.sol b/src/AaveV2EthereumArc.sol index 1747092c..6ffbed1f 100644 --- a/src/AaveV2EthereumArc.sol +++ b/src/AaveV2EthereumArc.sol @@ -34,6 +34,10 @@ library AaveV2EthereumArc { IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IAaveProtocolDataProvider(0x71B53fC437cCD988b1b89B1D4605c3c3d0C810ea); + // https://etherscan.io/address/0x837696219C9a3775a856BEBC02DB1fA918C8a46e + address internal constant LENDING_POOL_COLLATERAL_MANAGER = + 0x837696219C9a3775a856BEBC02DB1fA918C8a46e; + // https://etherscan.io/address/0xAce1d11d836cb3F51Ef658FD4D353fFb3c301218 address internal constant POOL_ADMIN = 0xAce1d11d836cb3F51Ef658FD4D353fFb3c301218; @@ -43,12 +47,77 @@ library AaveV2EthereumArc { // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); - // https://etherscan.io/address/0x837696219C9a3775a856BEBC02DB1fA918C8a46e - address internal constant LENDING_POOL_COLLATERAL_MANAGER = - 0x837696219C9a3775a856BEBC02DB1fA918C8a46e; - // https://etherscan.io/address/0xF4a1F5fEA79C3609514A417425971FadC10eCfBE address internal constant PERMISSION_MANAGER = 0xF4a1F5fEA79C3609514A417425971FadC10eCfBE; } -library AaveV2EthereumArcAssets {} +library AaveV2EthereumArcAssets { + // https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 + address internal constant USDC_UNDERLYING = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; + + uint8 internal constant USDC_DECIMALS = 6; + + // https://etherscan.io/address/0xd35f648C3C7f17cd1Ba92e5eac991E3EfcD4566d + address internal constant USDC_A_TOKEN = 0xd35f648C3C7f17cd1Ba92e5eac991E3EfcD4566d; + + // https://etherscan.io/address/0xe8D876034F96081063cD57Cd87b94a156b4E03E1 + address internal constant USDC_V_TOKEN = 0xe8D876034F96081063cD57Cd87b94a156b4E03E1; + + // https://etherscan.io/address/0x986b5E1e1755e3C2440e960477f25201B0a8bbD4 + address internal constant USDC_ORACLE = 0x986b5E1e1755e3C2440e960477f25201B0a8bbD4; + + // https://etherscan.io/address/0x81D7Bb11D682005B3Fca0Ef48381263BeC9b2d1C + address internal constant USDC_INTEREST_RATE_STRATEGY = + 0x81D7Bb11D682005B3Fca0Ef48381263BeC9b2d1C; + + // https://etherscan.io/address/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 + address internal constant WBTC_UNDERLYING = 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599; + + uint8 internal constant WBTC_DECIMALS = 8; + + // https://etherscan.io/address/0xe6d6E7dA65A2C18109Ff56B7CBBdc7B706Fc13F8 + address internal constant WBTC_A_TOKEN = 0xe6d6E7dA65A2C18109Ff56B7CBBdc7B706Fc13F8; + + // https://etherscan.io/address/0xc371FB4513c23Fc962fe23B12cFBD75E1D37ED91 + address internal constant WBTC_V_TOKEN = 0xc371FB4513c23Fc962fe23B12cFBD75E1D37ED91; + + // https://etherscan.io/address/0xdeb288F737066589598e9214E782fa5A8eD689e8 + address internal constant WBTC_ORACLE = 0xdeb288F737066589598e9214E782fa5A8eD689e8; + + // https://etherscan.io/address/0x1205ACe6831E5518E00A16f1820cD73ce198bEF6 + address internal constant WBTC_INTEREST_RATE_STRATEGY = + 0x1205ACe6831E5518E00A16f1820cD73ce198bEF6; + + // https://etherscan.io/address/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 + address internal constant WETH_UNDERLYING = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; + + uint8 internal constant WETH_DECIMALS = 18; + + // https://etherscan.io/address/0x319190E3Bbc595602A9E63B2bCfB61c6634355b1 + address internal constant WETH_A_TOKEN = 0x319190E3Bbc595602A9E63B2bCfB61c6634355b1; + + // https://etherscan.io/address/0x932167279A4ed3b879bA7eDdC85Aa83551f3989D + address internal constant WETH_V_TOKEN = 0x932167279A4ed3b879bA7eDdC85Aa83551f3989D; + + // https://etherscan.io/address/0xC2B0945C6D0A842eC2a1345f08c4ef2060452B6A + address internal constant WETH_INTEREST_RATE_STRATEGY = + 0xC2B0945C6D0A842eC2a1345f08c4ef2060452B6A; + + // https://etherscan.io/address/0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9 + address internal constant AAVE_UNDERLYING = 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9; + + uint8 internal constant AAVE_DECIMALS = 18; + + // https://etherscan.io/address/0x89eFaC495C65d43619c661df654ec64fc10C0A75 + address internal constant AAVE_A_TOKEN = 0x89eFaC495C65d43619c661df654ec64fc10C0A75; + + // https://etherscan.io/address/0x0ac4c7790BC96923b71BfCee44a6923fd085E0c8 + address internal constant AAVE_V_TOKEN = 0x0ac4c7790BC96923b71BfCee44a6923fd085E0c8; + + // https://etherscan.io/address/0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012 + address internal constant AAVE_ORACLE = 0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012; + + // https://etherscan.io/address/0x5E4b5f5eb05E244632e0eA584525F11Dd03f5B38 + address internal constant AAVE_INTEREST_RATE_STRATEGY = + 0x5E4b5f5eb05E244632e0eA584525F11Dd03f5B38; +} diff --git a/src/AaveV2Fuji.sol b/src/AaveV2Fuji.sol index d788990a..465e2880 100644 --- a/src/AaveV2Fuji.sol +++ b/src/AaveV2Fuji.sol @@ -34,6 +34,10 @@ library AaveV2Fuji { IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IAaveProtocolDataProvider(0x0668EDE013c1c475724523409b8B6bE633469585); + // https://testnet.snowtrace.io/address/0x007bbD6A554E27EcdA1D10b40974eb7478799EcB + address internal constant LENDING_POOL_COLLATERAL_MANAGER = + 0x007bbD6A554E27EcdA1D10b40974eb7478799EcB; + // https://testnet.snowtrace.io/address/0x1128d177BdaA74Ae68EB06e693f4CbA6BF427a5e address internal constant POOL_ADMIN = 0x1128d177BdaA74Ae68EB06e693f4CbA6BF427a5e; @@ -50,10 +54,6 @@ library AaveV2Fuji { // https://testnet.snowtrace.io/address/0x3b60cABB2C0e9ADe3e364b1F9752342A5D6079e2 address internal constant EMISSION_MANAGER = 0x3b60cABB2C0e9ADe3e364b1F9752342A5D6079e2; - // https://testnet.snowtrace.io/address/0x007bbD6A554E27EcdA1D10b40974eb7478799EcB - address internal constant LENDING_POOL_COLLATERAL_MANAGER = - 0x007bbD6A554E27EcdA1D10b40974eb7478799EcB; - // https://testnet.snowtrace.io/address/0x90E5BAc5A98fff59617080848959f44eACB4Cd7B address internal constant FAUCET = 0x90E5BAc5A98fff59617080848959f44eACB4Cd7B; diff --git a/src/AaveV2Polygon.sol b/src/AaveV2Polygon.sol index c86f0bab..22b0c359 100644 --- a/src/AaveV2Polygon.sol +++ b/src/AaveV2Polygon.sol @@ -34,6 +34,10 @@ library AaveV2Polygon { IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IAaveProtocolDataProvider(0x7551b5D2763519d4e37e8B81929D336De671d46d); + // https://polygonscan.com/address/0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74 + address internal constant LENDING_POOL_COLLATERAL_MANAGER = + 0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74; + // https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233 address internal constant POOL_ADMIN = 0xDf7d0e6454DB638881302729F5ba99936EaAB233; @@ -50,10 +54,6 @@ library AaveV2Polygon { // https://polygonscan.com/address/0x2bB25175d9B0F8965780209EB558Cc3b56cA6d32 address internal constant EMISSION_MANAGER = 0x2bB25175d9B0F8965780209EB558Cc3b56cA6d32; - // https://polygonscan.com/address/0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74 - address internal constant LENDING_POOL_COLLATERAL_MANAGER = - 0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74; - // https://polygonscan.com/address/0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4 address internal constant DEBT_SWAP_ADAPTER = 0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4; diff --git a/src/AaveV3Arbitrum.sol b/src/AaveV3Arbitrum.sol index 065cbc68..9098bfe6 100644 --- a/src/AaveV3Arbitrum.sol +++ b/src/AaveV3Arbitrum.sol @@ -13,40 +13,43 @@ library AaveV3Arbitrum { // https://arbiscan.io/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD IPool internal constant POOL = IPool(0x794a61358D6845594F94dc1DB02A252b5b4814aD); - // https://arbiscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 - address internal constant POOL_IMPL = 0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4; - // https://arbiscan.io/address/0x8145eddDf43f50276641b55bd3AD95944510021E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8145eddDf43f50276641b55bd3AD95944510021E); - // https://arbiscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://arbiscan.io/address/0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7 IAaveOracle internal constant ORACLE = IAaveOracle(0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7); // https://arbiscan.io/address/0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b address internal constant PRICE_ORACLE_SENTINEL = 0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b; - // https://arbiscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); + // https://arbiscan.io/address/0xFF1137243698CaA18EE364Cc966CF0e02A4e6327 + address internal constant ACL_ADMIN = 0xFF1137243698CaA18EE364Cc966CF0e02A4e6327; // https://arbiscan.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B IACLManager internal constant ACL_MANAGER = IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B); - // https://arbiscan.io/address/0xFF1137243698CaA18EE364Cc966CF0e02A4e6327 - address internal constant ACL_ADMIN = 0xFF1137243698CaA18EE364Cc966CF0e02A4e6327; + // https://arbiscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); - // https://arbiscan.io/address/0x053D55f9B5AF8694c503EB288a1B7E552f590710 - ICollector internal constant COLLECTOR = ICollector(0x053D55f9B5AF8694c503EB288a1B7E552f590710); + // https://arbiscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 + address internal constant POOL_IMPL = 0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4; + + // https://arbiscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://arbiscan.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e; + // https://arbiscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 + address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; + + // https://arbiscan.io/address/0x053D55f9B5AF8694c503EB288a1B7E552f590710 + ICollector internal constant COLLECTOR = ICollector(0x053D55f9B5AF8694c503EB288a1B7E552f590710); + // https://arbiscan.io/address/0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a address internal constant DEFAULT_A_TOKEN_IMPL_REV_2 = 0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a; @@ -54,9 +57,6 @@ library AaveV3Arbitrum { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = 0x5E76E98E0963EcDC6A065d1435F84065b7523f39; - // https://arbiscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 - address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; - // https://arbiscan.io/address/0xADf86b537eF08591c2777E144322E8b0Ca7E82a7 address internal constant CAPS_PLUS_RISK_STEWARD = 0xADf86b537eF08591c2777E144322E8b0Ca7E82a7; diff --git a/src/AaveV3ArbitrumSepolia.sol b/src/AaveV3ArbitrumSepolia.sol index 045a8610..ff79a21a 100644 --- a/src/AaveV3ArbitrumSepolia.sol +++ b/src/AaveV3ArbitrumSepolia.sol @@ -13,37 +13,40 @@ library AaveV3ArbitrumSepolia { // https://sepolia.arbiscan.io/address/0xBfC91D59fdAA134A4ED45f7B584cAf96D7792Eff IPool internal constant POOL = IPool(0xBfC91D59fdAA134A4ED45f7B584cAf96D7792Eff); - // https://sepolia.arbiscan.io/address/0x82405D1a189bd6cE4667809C35B37fBE136A4c5B - address internal constant POOL_IMPL = 0x82405D1a189bd6cE4667809C35B37fBE136A4c5B; - // https://sepolia.arbiscan.io/address/0x8E4Bb46E6245a507F1a267ef488228B08c0dc664 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8E4Bb46E6245a507F1a267ef488228B08c0dc664); - // https://sepolia.arbiscan.io/address/0x629A5a607aC4901252e4C48a0Fde156785598F5b - address internal constant POOL_CONFIGURATOR_IMPL = 0x629A5a607aC4901252e4C48a0Fde156785598F5b; - // https://sepolia.arbiscan.io/address/0xEf95A6B9e88Bd509Fd67BA741cf2b263DaC65c00 IAaveOracle internal constant ORACLE = IAaveOracle(0xEf95A6B9e88Bd509Fd67BA741cf2b263DaC65c00); - // https://sepolia.arbiscan.io/address/0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01); + // https://sepolia.arbiscan.io/address/0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005 + address internal constant ACL_ADMIN = 0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005; // https://sepolia.arbiscan.io/address/0xB66f0fF09f256A73d2E2b5faF596b363A21a7D68 IACLManager internal constant ACL_MANAGER = IACLManager(0xB66f0fF09f256A73d2E2b5faF596b363A21a7D68); - // https://sepolia.arbiscan.io/address/0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005 - address internal constant ACL_ADMIN = 0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005; + // https://sepolia.arbiscan.io/address/0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01); - // https://sepolia.arbiscan.io/address/0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022 - ICollector internal constant COLLECTOR = ICollector(0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022); + // https://sepolia.arbiscan.io/address/0x82405D1a189bd6cE4667809C35B37fBE136A4c5B + address internal constant POOL_IMPL = 0x82405D1a189bd6cE4667809C35B37fBE136A4c5B; + + // https://sepolia.arbiscan.io/address/0x629A5a607aC4901252e4C48a0Fde156785598F5b + address internal constant POOL_CONFIGURATOR_IMPL = 0x629A5a607aC4901252e4C48a0Fde156785598F5b; // https://sepolia.arbiscan.io/address/0x3A203B14CF8749a1e3b7314c6c49004B77Ee667A address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x3A203B14CF8749a1e3b7314c6c49004B77Ee667A; + // https://sepolia.arbiscan.io/address/0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185 + address internal constant EMISSION_MANAGER = 0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185; + + // https://sepolia.arbiscan.io/address/0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022 + ICollector internal constant COLLECTOR = ICollector(0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022); + // https://sepolia.arbiscan.io/address/0xc0Bac16A64FbAa7EE6483bD12a759e28cD13dcBe address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xc0Bac16A64FbAa7EE6483bD12a759e28cD13dcBe; @@ -51,9 +54,6 @@ library AaveV3ArbitrumSepolia { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x486C2D3F59E4d72f3cAa301a7eF19E3db657F5b0; - // https://sepolia.arbiscan.io/address/0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185 - address internal constant EMISSION_MANAGER = 0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185; - // https://sepolia.arbiscan.io/address/0x2E45e7dCD1e94d8edf1605FfF4602912FDC662bC address internal constant L2_ENCODER = 0x2E45e7dCD1e94d8edf1605FfF4602912FDC662bC; @@ -114,7 +114,3 @@ library AaveV3ArbitrumSepoliaAssets { address internal constant WETH_INTEREST_RATE_STRATEGY = 0x46d3a2A27E2c700d74f21AD3290A20cB8437F7b7; } - -library AaveV3ArbitrumSepoliaEModes { - uint8 internal constant NONE = 0; -} diff --git a/src/AaveV3Avalanche.sol b/src/AaveV3Avalanche.sol index 0e97ed5f..0765ad9e 100644 --- a/src/AaveV3Avalanche.sol +++ b/src/AaveV3Avalanche.sol @@ -13,37 +13,40 @@ library AaveV3Avalanche { // https://snowtrace.io/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD IPool internal constant POOL = IPool(0x794a61358D6845594F94dc1DB02A252b5b4814aD); - // https://snowtrace.io/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 - address internal constant POOL_IMPL = 0x1f69d4700B34A1D9F92E55235df414FcC02A8306; - // https://snowtrace.io/address/0x8145eddDf43f50276641b55bd3AD95944510021E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8145eddDf43f50276641b55bd3AD95944510021E); - // https://snowtrace.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://snowtrace.io/address/0xEBd36016B3eD09D4693Ed4251c67Bd858c3c7C9C IAaveOracle internal constant ORACLE = IAaveOracle(0xEBd36016B3eD09D4693Ed4251c67Bd858c3c7C9C); - // https://snowtrace.io/address/0x7F23D86Ee20D869112572136221e173428DD740B - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); + // https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090 + address internal constant ACL_ADMIN = 0x3C06dce358add17aAf230f2234bCCC4afd50d090; // https://snowtrace.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B IACLManager internal constant ACL_MANAGER = IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B); - // https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090 - address internal constant ACL_ADMIN = 0x3C06dce358add17aAf230f2234bCCC4afd50d090; + // https://snowtrace.io/address/0x7F23D86Ee20D869112572136221e173428DD740B + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); - // https://snowtrace.io/address/0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0 - ICollector internal constant COLLECTOR = ICollector(0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0); + // https://snowtrace.io/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 + address internal constant POOL_IMPL = 0x1f69d4700B34A1D9F92E55235df414FcC02A8306; + + // https://snowtrace.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://snowtrace.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e; + // https://snowtrace.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 + address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; + + // https://snowtrace.io/address/0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0 + ICollector internal constant COLLECTOR = ICollector(0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0); + // https://snowtrace.io/address/0x1E81af09001aD208BDa68FF022544dB2102A752d address internal constant DEFAULT_A_TOKEN_IMPL_REV_2 = 0x1E81af09001aD208BDa68FF022544dB2102A752d; @@ -51,9 +54,6 @@ library AaveV3Avalanche { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = 0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24; - // https://snowtrace.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 - address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; - // https://snowtrace.io/address/0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5 address internal constant CAPS_PLUS_RISK_STEWARD = 0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5; diff --git a/src/AaveV3BNB.sol b/src/AaveV3BNB.sol index 76923623..ee7a1784 100644 --- a/src/AaveV3BNB.sol +++ b/src/AaveV3BNB.sol @@ -13,37 +13,40 @@ library AaveV3BNB { // https://bscscan.com/address/0x6807dc923806fE8Fd134338EABCA509979a7e0cB IPool internal constant POOL = IPool(0x6807dc923806fE8Fd134338EABCA509979a7e0cB); - // https://bscscan.com/address/0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4 - address internal constant POOL_IMPL = 0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4; - // https://bscscan.com/address/0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584); - // https://bscscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://bscscan.com/address/0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697 IAaveOracle internal constant ORACLE = IAaveOracle(0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697); - // https://bscscan.com/address/0x23dF2a19384231aFD114b036C14b6b03324D79BC - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x23dF2a19384231aFD114b036C14b6b03324D79BC); + // https://bscscan.com/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a + address internal constant ACL_ADMIN = 0x9390B1735def18560c509E2d0bc090E9d6BA257a; // https://bscscan.com/address/0x2D97F8FA96886Fd923c065F5457F9DDd494e3877 IACLManager internal constant ACL_MANAGER = IACLManager(0x2D97F8FA96886Fd923c065F5457F9DDd494e3877); - // https://bscscan.com/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a - address internal constant ACL_ADMIN = 0x9390B1735def18560c509E2d0bc090E9d6BA257a; + // https://bscscan.com/address/0x23dF2a19384231aFD114b036C14b6b03324D79BC + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x23dF2a19384231aFD114b036C14b6b03324D79BC); - // https://bscscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C - ICollector internal constant COLLECTOR = ICollector(0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C); + // https://bscscan.com/address/0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4 + address internal constant POOL_IMPL = 0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4; + + // https://bscscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://bscscan.com/address/0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4; + // https://bscscan.com/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85 + address internal constant EMISSION_MANAGER = 0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85; + + // https://bscscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C + ICollector internal constant COLLECTOR = ICollector(0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C); + // https://bscscan.com/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x6c23bAF050ec192afc0B967a93b83e6c5405df43; @@ -51,9 +54,6 @@ library AaveV3BNB { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x777fBA024bA1228fDa76149A4ff8B23475ed057D; - // https://bscscan.com/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85 - address internal constant EMISSION_MANAGER = 0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85; - // https://bscscan.com/address/0x971F1C94b139AdEdedA729DA636e2B0C433Ff595 address internal constant CAPS_PLUS_RISK_STEWARD = 0x971F1C94b139AdEdedA729DA636e2B0C433Ff595; diff --git a/src/AaveV3Base.sol b/src/AaveV3Base.sol index 688f05c3..343b0d15 100644 --- a/src/AaveV3Base.sol +++ b/src/AaveV3Base.sol @@ -13,40 +13,43 @@ library AaveV3Base { // https://basescan.org/address/0xA238Dd80C259a72e81d7e4664a9801593F98d1c5 IPool internal constant POOL = IPool(0xA238Dd80C259a72e81d7e4664a9801593F98d1c5); - // https://basescan.org/address/0xDea262629b7D28722Ad4189c515f93c996D2Cd72 - address internal constant POOL_IMPL = 0xDea262629b7D28722Ad4189c515f93c996D2Cd72; - // https://basescan.org/address/0x5731a04B1E775f0fdd454Bf70f3335886e9A96be IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x5731a04B1E775f0fdd454Bf70f3335886e9A96be); - // https://basescan.org/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://basescan.org/address/0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156 IAaveOracle internal constant ORACLE = IAaveOracle(0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156); // https://basescan.org/address/0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6 address internal constant PRICE_ORACLE_SENTINEL = 0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6; - // https://basescan.org/address/0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad); + // https://basescan.org/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a + address internal constant ACL_ADMIN = 0x9390B1735def18560c509E2d0bc090E9d6BA257a; // https://basescan.org/address/0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33 IACLManager internal constant ACL_MANAGER = IACLManager(0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33); - // https://basescan.org/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a - address internal constant ACL_ADMIN = 0x9390B1735def18560c509E2d0bc090E9d6BA257a; + // https://basescan.org/address/0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad); - // https://basescan.org/address/0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057 - ICollector internal constant COLLECTOR = ICollector(0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057); + // https://basescan.org/address/0xDea262629b7D28722Ad4189c515f93c996D2Cd72 + address internal constant POOL_IMPL = 0xDea262629b7D28722Ad4189c515f93c996D2Cd72; + + // https://basescan.org/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://basescan.org/address/0xf9cc4F0D883F1a1eb2c253bdb46c254Ca51E1F44 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xf9cc4F0D883F1a1eb2c253bdb46c254Ca51E1F44; + // https://basescan.org/address/0x6533A273F3aC84Df91DCD654D6EBAbA73687e246 + address internal constant EMISSION_MANAGER = 0x6533A273F3aC84Df91DCD654D6EBAbA73687e246; + + // https://basescan.org/address/0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057 + ICollector internal constant COLLECTOR = ICollector(0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057); + // https://basescan.org/address/0x98F409Fc4A42F34AE3c326c7f48ED01ae8cAeC69 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x98F409Fc4A42F34AE3c326c7f48ED01ae8cAeC69; @@ -54,9 +57,6 @@ library AaveV3Base { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x2425A746911128c2eAA7bEBDc9Bc452eE52208a1; - // https://basescan.org/address/0x6533A273F3aC84Df91DCD654D6EBAbA73687e246 - address internal constant EMISSION_MANAGER = 0x6533A273F3aC84Df91DCD654D6EBAbA73687e246; - // https://basescan.org/address/0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6 address internal constant CAPS_PLUS_RISK_STEWARD = 0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6; diff --git a/src/AaveV3BaseSepolia.sol b/src/AaveV3BaseSepolia.sol index 0e8774db..9a03cd46 100644 --- a/src/AaveV3BaseSepolia.sol +++ b/src/AaveV3BaseSepolia.sol @@ -13,37 +13,40 @@ library AaveV3BaseSepolia { // https://sepolia.basescan.org/address/0xbE781D7Bdf469f3d94a62Cdcc407aCe106AEcA74 IPool internal constant POOL = IPool(0xbE781D7Bdf469f3d94a62Cdcc407aCe106AEcA74); - // https://sepolia.basescan.org/address/0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C - address internal constant POOL_IMPL = 0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C; - // https://sepolia.basescan.org/address/0x4200a89Bd036745918889D6dCC5685A4C6F01C24 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x4200a89Bd036745918889D6dCC5685A4C6F01C24); - // https://sepolia.basescan.org/address/0x9E7DF170E44093d6738057157CA048794B02555d - address internal constant POOL_CONFIGURATOR_IMPL = 0x9E7DF170E44093d6738057157CA048794B02555d; - // https://sepolia.basescan.org/address/0x9Ba30437Ba63AA2902319DE1B3f0E25a18826842 IAaveOracle internal constant ORACLE = IAaveOracle(0x9Ba30437Ba63AA2902319DE1B3f0E25a18826842); - // https://sepolia.basescan.org/address/0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072); + // https://sepolia.basescan.org/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b + address internal constant ACL_ADMIN = 0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b; // https://sepolia.basescan.org/address/0xb880879303D35a82B1888a4A6d47D2ef0653E4A2 IACLManager internal constant ACL_MANAGER = IACLManager(0xb880879303D35a82B1888a4A6d47D2ef0653E4A2); - // https://sepolia.basescan.org/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b - address internal constant ACL_ADMIN = 0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b; + // https://sepolia.basescan.org/address/0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072); - // https://sepolia.basescan.org/address/0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB - ICollector internal constant COLLECTOR = ICollector(0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB); + // https://sepolia.basescan.org/address/0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C + address internal constant POOL_IMPL = 0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C; + + // https://sepolia.basescan.org/address/0x9E7DF170E44093d6738057157CA048794B02555d + address internal constant POOL_CONFIGURATOR_IMPL = 0x9E7DF170E44093d6738057157CA048794B02555d; // https://sepolia.basescan.org/address/0x294FF52d234a7e09E9642F846702A45337ceB2E2 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x294FF52d234a7e09E9642F846702A45337ceB2E2; + // https://sepolia.basescan.org/address/0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec + address internal constant EMISSION_MANAGER = 0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec; + + // https://sepolia.basescan.org/address/0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB + ICollector internal constant COLLECTOR = ICollector(0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB); + // https://sepolia.basescan.org/address/0xA9E3fFb25C369e44862DD3e87Be4420abb879965 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xA9E3fFb25C369e44862DD3e87Be4420abb879965; @@ -51,9 +54,6 @@ library AaveV3BaseSepolia { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c; - // https://sepolia.basescan.org/address/0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec - address internal constant EMISSION_MANAGER = 0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec; - // https://sepolia.basescan.org/address/0xAE252DA024783d1813C890d82642bbED120c3093 address internal constant STATA_FACTORY = 0xAE252DA024783d1813C890d82642bbED120c3093; diff --git a/src/AaveV3Ethereum.sol b/src/AaveV3Ethereum.sol index ad705484..5b3f2927 100644 --- a/src/AaveV3Ethereum.sol +++ b/src/AaveV3Ethereum.sol @@ -13,37 +13,40 @@ library AaveV3Ethereum { // https://etherscan.io/address/0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 IPool internal constant POOL = IPool(0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2); - // https://etherscan.io/address/0x1f64488c2C4686771dafA75915274d27878B667a - address internal constant POOL_IMPL = 0x1f64488c2C4686771dafA75915274d27878B667a; - // https://etherscan.io/address/0x64b761D848206f447Fe2dd461b0c635Ec39EbB27 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x64b761D848206f447Fe2dd461b0c635Ec39EbB27); - // https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://etherscan.io/address/0x54586bE62E3c3580375aE3723C145253060Ca0C2 IAaveOracle internal constant ORACLE = IAaveOracle(0x54586bE62E3c3580375aE3723C145253060Ca0C2); - // https://etherscan.io/address/0x41393e5e337606dc3821075Af65AeE84D7688CBD - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x41393e5e337606dc3821075Af65AeE84D7688CBD); + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A + address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; // https://etherscan.io/address/0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0 IACLManager internal constant ACL_MANAGER = IACLManager(0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0); - // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A - address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; + // https://etherscan.io/address/0x41393e5e337606dc3821075Af65AeE84D7688CBD + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x41393e5e337606dc3821075Af65AeE84D7688CBD); - // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c - ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); + // https://etherscan.io/address/0x1f64488c2C4686771dafA75915274d27878B667a + address internal constant POOL_IMPL = 0x1f64488c2C4686771dafA75915274d27878B667a; + + // https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://etherscan.io/address/0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb; + // https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 + address internal constant EMISSION_MANAGER = 0x223d844fc4B006D67c0cDbd39371A9F73f69d974; + + // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c + ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); + // https://etherscan.io/address/0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d; @@ -51,9 +54,6 @@ library AaveV3Ethereum { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6; - // https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 - address internal constant EMISSION_MANAGER = 0x223d844fc4B006D67c0cDbd39371A9F73f69d974; - // https://etherscan.io/address/0x82dcCF206Ae2Ab46E2099e663F70DeE77caE7778 address internal constant CAPS_PLUS_RISK_STEWARD = 0x82dcCF206Ae2Ab46E2099e663F70DeE77caE7778; @@ -361,21 +361,21 @@ library AaveV3EthereumAssets { address internal constant CRV_STATIC_A_TOKEN = 0x149EE12310D499F701B6A5714eDAd2C832008fd2; // https://etherscan.io/address/0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2 - address internal constant MRK_UNDERLYING = 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2; + address internal constant MKR_UNDERLYING = 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2; - uint8 internal constant MRK_DECIMALS = 18; + uint8 internal constant MKR_DECIMALS = 18; // https://etherscan.io/address/0x8A458A9dc9048e005d22849F470891b840296619 - address internal constant MRK_A_TOKEN = 0x8A458A9dc9048e005d22849F470891b840296619; + address internal constant MKR_A_TOKEN = 0x8A458A9dc9048e005d22849F470891b840296619; // https://etherscan.io/address/0x6Efc73E54E41b27d2134fF9f98F15550f30DF9B1 - address internal constant MRK_V_TOKEN = 0x6Efc73E54E41b27d2134fF9f98F15550f30DF9B1; + address internal constant MKR_V_TOKEN = 0x6Efc73E54E41b27d2134fF9f98F15550f30DF9B1; // https://etherscan.io/address/0xec1D1B3b0443256cc3860e24a46F108e699484Aa - address internal constant MRK_ORACLE = 0xec1D1B3b0443256cc3860e24a46F108e699484Aa; + address internal constant MKR_ORACLE = 0xec1D1B3b0443256cc3860e24a46F108e699484Aa; // https://etherscan.io/address/0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB - address internal constant MRK_INTEREST_RATE_STRATEGY = 0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB; + address internal constant MKR_INTEREST_RATE_STRATEGY = 0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB; // https://etherscan.io/address/0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F address internal constant SNX_UNDERLYING = 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F; diff --git a/src/AaveV3EthereumEtherFi.sol b/src/AaveV3EthereumEtherFi.sol index ede70a08..8b717d68 100644 --- a/src/AaveV3EthereumEtherFi.sol +++ b/src/AaveV3EthereumEtherFi.sol @@ -13,37 +13,40 @@ library AaveV3EthereumEtherFi { // https://etherscan.io/address/0x0AA97c284e98396202b6A04024F5E2c65026F3c0 IPool internal constant POOL = IPool(0x0AA97c284e98396202b6A04024F5E2c65026F3c0); - // https://etherscan.io/address/0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d - address internal constant POOL_IMPL = 0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d; - // https://etherscan.io/address/0x8438F4D29D895d75C86BDC25360c25eF0607E65d IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8438F4D29D895d75C86BDC25360c25eF0607E65d); - // https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://etherscan.io/address/0x43b64f28A678944E0655404B0B98E443851cC34F IAaveOracle internal constant ORACLE = IAaveOracle(0x43b64f28A678944E0655404B0B98E443851cC34F); - // https://etherscan.io/address/0xE7d490885A68f00d9886508DF281D67263ed5758 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xE7d490885A68f00d9886508DF281D67263ed5758); + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A + address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; // https://etherscan.io/address/0x3cE8E2eb6501d4705477643E96881B1bef6A2DB3 IACLManager internal constant ACL_MANAGER = IACLManager(0x3cE8E2eb6501d4705477643E96881B1bef6A2DB3); - // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A - address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; + // https://etherscan.io/address/0xE7d490885A68f00d9886508DF281D67263ed5758 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xE7d490885A68f00d9886508DF281D67263ed5758); - // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c - ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); + // https://etherscan.io/address/0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d + address internal constant POOL_IMPL = 0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d; + + // https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://etherscan.io/address/0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb; + // https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 + address internal constant EMISSION_MANAGER = 0x223d844fc4B006D67c0cDbd39371A9F73f69d974; + + // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c + ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); + // https://etherscan.io/address/0xaFFA06528Bd92625de2e7A0cfa0119319265Ea4b address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xaFFA06528Bd92625de2e7A0cfa0119319265Ea4b; @@ -51,9 +54,6 @@ library AaveV3EthereumEtherFi { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0xBb077DaFFeb23B2126E7358b0b122ba6838FB881; - // https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 - address internal constant EMISSION_MANAGER = 0x223d844fc4B006D67c0cDbd39371A9F73f69d974; - // https://etherscan.io/address/0xbaA999AC55EAce41CcAE355c77809e68Bb345170 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = 0xbaA999AC55EAce41CcAE355c77809e68Bb345170; diff --git a/src/AaveV3EthereumLido.sol b/src/AaveV3EthereumLido.sol index ec4b1453..4c22889a 100644 --- a/src/AaveV3EthereumLido.sol +++ b/src/AaveV3EthereumLido.sol @@ -13,37 +13,40 @@ library AaveV3EthereumLido { // https://etherscan.io/address/0x4e033931ad43597d96D6bcc25c280717730B58B1 IPool internal constant POOL = IPool(0x4e033931ad43597d96D6bcc25c280717730B58B1); - // https://etherscan.io/address/0xF96e23D32584536552C70D99664D4B17F373229c - address internal constant POOL_IMPL = 0xF96e23D32584536552C70D99664D4B17F373229c; - // https://etherscan.io/address/0x342631c6CeFC9cfbf97b2fe4aa242a236e1fd517 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x342631c6CeFC9cfbf97b2fe4aa242a236e1fd517); - // https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://etherscan.io/address/0xE3C061981870C0C7b1f3C4F4bB36B95f1F260BE6 IAaveOracle internal constant ORACLE = IAaveOracle(0xE3C061981870C0C7b1f3C4F4bB36B95f1F260BE6); - // https://etherscan.io/address/0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD); + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A + address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; // https://etherscan.io/address/0x013E2C7567b6231e865BB9273F8c7656103611c0 IACLManager internal constant ACL_MANAGER = IACLManager(0x013E2C7567b6231e865BB9273F8c7656103611c0); - // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A - address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A; + // https://etherscan.io/address/0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD); - // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c - ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); + // https://etherscan.io/address/0xF96e23D32584536552C70D99664D4B17F373229c + address internal constant POOL_IMPL = 0xF96e23D32584536552C70D99664D4B17F373229c; + + // https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://etherscan.io/address/0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb; + // https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 + address internal constant EMISSION_MANAGER = 0x223d844fc4B006D67c0cDbd39371A9F73f69d974; + + // https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c + ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c); + // https://etherscan.io/address/0x7F8Fc14D462bdF93c681c1f2Fd615389bF969Fb2 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x7F8Fc14D462bdF93c681c1f2Fd615389bF969Fb2; @@ -51,9 +54,6 @@ library AaveV3EthereumLido { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x3E59212c34588a63350142EFad594a20C88C2CEd; - // https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 - address internal constant EMISSION_MANAGER = 0x223d844fc4B006D67c0cDbd39371A9F73f69d974; - // https://etherscan.io/address/0xC6cAB8D39D93DC0Bd5986E7Ce5Bb956E30103A43 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = 0xC6cAB8D39D93DC0Bd5986E7Ce5Bb956E30103A43; diff --git a/src/AaveV3Fantom.sol b/src/AaveV3Fantom.sol index 639e0384..69b8cec5 100644 --- a/src/AaveV3Fantom.sol +++ b/src/AaveV3Fantom.sol @@ -13,37 +13,40 @@ library AaveV3Fantom { // https://testnet.ftmscan.com/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD IPool internal constant POOL = IPool(0x794a61358D6845594F94dc1DB02A252b5b4814aD); - // https://testnet.ftmscan.com/address/0xDF9e4ABdbd94107932265319479643D3B05809dc - address internal constant POOL_IMPL = 0xDF9e4ABdbd94107932265319479643D3B05809dc; - // https://testnet.ftmscan.com/address/0x8145eddDf43f50276641b55bd3AD95944510021E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8145eddDf43f50276641b55bd3AD95944510021E); - // https://testnet.ftmscan.com/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade - address internal constant POOL_CONFIGURATOR_IMPL = 0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade; - // https://testnet.ftmscan.com/address/0xfd6f3c1845604C8AE6c6E402ad17fb9885160754 IAaveOracle internal constant ORACLE = IAaveOracle(0xfd6f3c1845604C8AE6c6E402ad17fb9885160754); - // https://testnet.ftmscan.com/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654); + // https://testnet.ftmscan.com/address/0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949 + address internal constant ACL_ADMIN = 0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949; // https://testnet.ftmscan.com/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B IACLManager internal constant ACL_MANAGER = IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B); - // https://testnet.ftmscan.com/address/0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949 - address internal constant ACL_ADMIN = 0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949; + // https://testnet.ftmscan.com/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654); - // https://testnet.ftmscan.com/address/0xBe85413851D195fC6341619cD68BfDc26a25b928 - ICollector internal constant COLLECTOR = ICollector(0xBe85413851D195fC6341619cD68BfDc26a25b928); + // https://testnet.ftmscan.com/address/0xDF9e4ABdbd94107932265319479643D3B05809dc + address internal constant POOL_IMPL = 0xDF9e4ABdbd94107932265319479643D3B05809dc; + + // https://testnet.ftmscan.com/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade + address internal constant POOL_CONFIGURATOR_IMPL = 0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade; // https://testnet.ftmscan.com/address/0x929EC64c34a17401F460460D4B9390518E5B473e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e; + // https://testnet.ftmscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 + address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; + + // https://testnet.ftmscan.com/address/0xBe85413851D195fC6341619cD68BfDc26a25b928 + ICollector internal constant COLLECTOR = ICollector(0xBe85413851D195fC6341619cD68BfDc26a25b928); + // https://testnet.ftmscan.com/address/0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B; @@ -51,9 +54,6 @@ library AaveV3Fantom { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3; - // https://testnet.ftmscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 - address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; - // https://testnet.ftmscan.com/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = 0x770ef9f4fe897e59daCc474EF11238303F9552b6; @@ -255,9 +255,3 @@ library AaveV3FantomAssets { address internal constant SUSHI_INTEREST_RATE_STRATEGY = 0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521; } - -library AaveV3FantomEModes { - uint8 internal constant NONE = 0; - - uint8 internal constant STABLECOINS = 1; -} diff --git a/src/AaveV3FantomTestnet.sol b/src/AaveV3FantomTestnet.sol index 63ed5b89..d166774a 100644 --- a/src/AaveV3FantomTestnet.sol +++ b/src/AaveV3FantomTestnet.sol @@ -13,37 +13,40 @@ library AaveV3FantomTestnet { // https://testnet.ftmscan.com/address/0x56Ab717d882F7A8d4a3C2b191707322c5Cc70db8 IPool internal constant POOL = IPool(0x56Ab717d882F7A8d4a3C2b191707322c5Cc70db8); - // https://testnet.ftmscan.com/address/0x685b86a6659a1CbcfE168304386e1b54C543Ce16 - address internal constant POOL_IMPL = 0x685b86a6659a1CbcfE168304386e1b54C543Ce16; - // https://testnet.ftmscan.com/address/0x257a6f06192D532e40F66b3DDfE2cBBaf8373822 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x257a6f06192D532e40F66b3DDfE2cBBaf8373822); - // https://testnet.ftmscan.com/address/0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492 - address internal constant POOL_CONFIGURATOR_IMPL = 0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492; - // https://testnet.ftmscan.com/address/0x18a8d31dA46eeb9138a16dfC429E74C04ff523F4 IAaveOracle internal constant ORACLE = IAaveOracle(0x18a8d31dA46eeb9138a16dfC429E74C04ff523F4); - // https://testnet.ftmscan.com/address/0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61); + // https://testnet.ftmscan.com/address/0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8 + address internal constant ACL_ADMIN = 0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8; // https://testnet.ftmscan.com/address/0xD5D4f4fe4BfC8e8193f38927EfafDbfbB66dd7e0 IACLManager internal constant ACL_MANAGER = IACLManager(0xD5D4f4fe4BfC8e8193f38927EfafDbfbB66dd7e0); - // https://testnet.ftmscan.com/address/0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8 - address internal constant ACL_ADMIN = 0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8; + // https://testnet.ftmscan.com/address/0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61); - // https://testnet.ftmscan.com/address/0x445e52B0C18704448f4589C4304f63Ea287c2eb0 - ICollector internal constant COLLECTOR = ICollector(0x445e52B0C18704448f4589C4304f63Ea287c2eb0); + // https://testnet.ftmscan.com/address/0x685b86a6659a1CbcfE168304386e1b54C543Ce16 + address internal constant POOL_IMPL = 0x685b86a6659a1CbcfE168304386e1b54C543Ce16; + + // https://testnet.ftmscan.com/address/0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492 + address internal constant POOL_CONFIGURATOR_IMPL = 0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492; // https://testnet.ftmscan.com/address/0x9F749B597414eD4F53a0F23971327bb60f16ad94 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x9F749B597414eD4F53a0F23971327bb60f16ad94; + // https://testnet.ftmscan.com/address/0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155 + address internal constant EMISSION_MANAGER = 0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155; + + // https://testnet.ftmscan.com/address/0x445e52B0C18704448f4589C4304f63Ea287c2eb0 + ICollector internal constant COLLECTOR = ICollector(0x445e52B0C18704448f4589C4304f63Ea287c2eb0); + // https://testnet.ftmscan.com/address/0x6056C29483433A095eF98Fb0d01F2827F5FCeB99 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x6056C29483433A095eF98Fb0d01F2827F5FCeB99; @@ -51,9 +54,6 @@ library AaveV3FantomTestnet { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x67F50B454972F7557c359AfE2DD3caef9930d665; - // https://testnet.ftmscan.com/address/0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155 - address internal constant EMISSION_MANAGER = 0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155; - // https://testnet.ftmscan.com/address/0x021BE22Bdfa497D6643D4035E530095E7b452967 address internal constant FAUCET = 0x021BE22Bdfa497D6643D4035E530095E7b452967; @@ -249,9 +249,3 @@ library AaveV3FantomTestnetAssets { address internal constant SUSHI_INTEREST_RATE_STRATEGY = 0x9060C6E714BA5C3A46665599103989778a736D4B; } - -library AaveV3FantomTestnetEModes { - uint8 internal constant NONE = 0; - - uint8 internal constant STABLECOINS = 1; -} diff --git a/src/AaveV3Fuji.sol b/src/AaveV3Fuji.sol index 8bd83ea8..dddfbc76 100644 --- a/src/AaveV3Fuji.sol +++ b/src/AaveV3Fuji.sol @@ -13,37 +13,40 @@ library AaveV3Fuji { // https://testnet.snowtrace.io/address/0x8B9b2AF4afB389b4a70A474dfD4AdCD4a302bb40 IPool internal constant POOL = IPool(0x8B9b2AF4afB389b4a70A474dfD4AdCD4a302bb40); - // https://testnet.snowtrace.io/address/0xff1DB744F1275f8e04A62A7E5D663575F3a774B6 - address internal constant POOL_IMPL = 0xff1DB744F1275f8e04A62A7E5D663575F3a774B6; - // https://testnet.snowtrace.io/address/0xF9f36C15fBddAF0B64E0D16E4D6852B433a86cbE IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0xF9f36C15fBddAF0B64E0D16E4D6852B433a86cbE); - // https://testnet.snowtrace.io/address/0x782559e349b084bB7C07c08404aE6E3436cDAE2E - address internal constant POOL_CONFIGURATOR_IMPL = 0x782559e349b084bB7C07c08404aE6E3436cDAE2E; - // https://testnet.snowtrace.io/address/0xd36338d0F231446b36008310f1DE0812784ADeBC IAaveOracle internal constant ORACLE = IAaveOracle(0xd36338d0F231446b36008310f1DE0812784ADeBC); - // https://testnet.snowtrace.io/address/0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014); + // https://testnet.snowtrace.io/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b + address internal constant ACL_ADMIN = 0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b; // https://testnet.snowtrace.io/address/0xa411Accec7000c52feE9bFeDaDc53E1CEF72d6d4 IACLManager internal constant ACL_MANAGER = IACLManager(0xa411Accec7000c52feE9bFeDaDc53E1CEF72d6d4); - // https://testnet.snowtrace.io/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b - address internal constant ACL_ADMIN = 0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b; + // https://testnet.snowtrace.io/address/0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014); - // https://testnet.snowtrace.io/address/0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9 - ICollector internal constant COLLECTOR = ICollector(0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9); + // https://testnet.snowtrace.io/address/0xff1DB744F1275f8e04A62A7E5D663575F3a774B6 + address internal constant POOL_IMPL = 0xff1DB744F1275f8e04A62A7E5D663575F3a774B6; + + // https://testnet.snowtrace.io/address/0x782559e349b084bB7C07c08404aE6E3436cDAE2E + address internal constant POOL_CONFIGURATOR_IMPL = 0x782559e349b084bB7C07c08404aE6E3436cDAE2E; // https://testnet.snowtrace.io/address/0x03aFC1Dfb53eae8eB7BE0E8CB6524aa79C3F8578 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x03aFC1Dfb53eae8eB7BE0E8CB6524aa79C3F8578; + // https://testnet.snowtrace.io/address/0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58 + address internal constant EMISSION_MANAGER = 0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58; + + // https://testnet.snowtrace.io/address/0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9 + ICollector internal constant COLLECTOR = ICollector(0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9); + // https://testnet.snowtrace.io/address/0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe; @@ -51,9 +54,6 @@ library AaveV3Fuji { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x21CcaD436A6c762B919dB7cb07C5082a43DB2589; - // https://testnet.snowtrace.io/address/0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58 - address internal constant EMISSION_MANAGER = 0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58; - // https://testnet.snowtrace.io/address/0x4058FE01Aa090E0841F4E08f79D2607C4861142E address internal constant CONFIG_ENGINE = 0x4058FE01Aa090E0841F4E08f79D2607C4861142E; diff --git a/src/AaveV3Gnosis.sol b/src/AaveV3Gnosis.sol index d8b2a078..8b3559dd 100644 --- a/src/AaveV3Gnosis.sol +++ b/src/AaveV3Gnosis.sol @@ -13,37 +13,40 @@ library AaveV3Gnosis { // https://gnosisscan.io/address/0xb50201558B00496A145fE76f7424749556E326D8 IPool internal constant POOL = IPool(0xb50201558B00496A145fE76f7424749556E326D8); - // https://gnosisscan.io/address/0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45 - address internal constant POOL_IMPL = 0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45; - // https://gnosisscan.io/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16); - // https://gnosisscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://gnosisscan.io/address/0xeb0a051be10228213BAEb449db63719d6742F7c4 IAaveOracle internal constant ORACLE = IAaveOracle(0xeb0a051be10228213BAEb449db63719d6742F7c4); - // https://gnosisscan.io/address/0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717); + // https://gnosisscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D + address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D; // https://gnosisscan.io/address/0xEc710f59005f48703908bC519D552Df5B8472614 IACLManager internal constant ACL_MANAGER = IACLManager(0xEc710f59005f48703908bC519D552Df5B8472614); - // https://gnosisscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D - address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D; + // https://gnosisscan.io/address/0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717); - // https://gnosisscan.io/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 - ICollector internal constant COLLECTOR = ICollector(0x3e652E97ff339B73421f824F5b03d75b62F1Fb51); + // https://gnosisscan.io/address/0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45 + address internal constant POOL_IMPL = 0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45; + + // https://gnosisscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://gnosisscan.io/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d; + // https://gnosisscan.io/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB + address internal constant EMISSION_MANAGER = 0x41585C50524fb8c3899B43D7D797d9486AAc94DB; + + // https://gnosisscan.io/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 + ICollector internal constant COLLECTOR = ICollector(0x3e652E97ff339B73421f824F5b03d75b62F1Fb51); + // https://gnosisscan.io/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x589750BA8aF186cE5B55391B0b7148cAD43a1619; @@ -51,9 +54,6 @@ library AaveV3Gnosis { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0xBeC519531F0E78BcDdB295242fA4EC5251B38574; - // https://gnosisscan.io/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB - address internal constant EMISSION_MANAGER = 0x41585C50524fb8c3899B43D7D797d9486AAc94DB; - // https://gnosisscan.io/address/0xE2a33403eaD139873820da597531f07f65ED0E3c address internal constant CONFIG_ENGINE = 0xE2a33403eaD139873820da597531f07f65ED0E3c; diff --git a/src/AaveV3Harmony.sol b/src/AaveV3Harmony.sol index dd44aa6c..6934d2fc 100644 --- a/src/AaveV3Harmony.sol +++ b/src/AaveV3Harmony.sol @@ -13,37 +13,40 @@ library AaveV3Harmony { // https://explorer.harmony.one/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD IPool internal constant POOL = IPool(0x794a61358D6845594F94dc1DB02A252b5b4814aD); - // https://explorer.harmony.one/address/0xDF9e4ABdbd94107932265319479643D3B05809dc - address internal constant POOL_IMPL = 0xDF9e4ABdbd94107932265319479643D3B05809dc; - // https://explorer.harmony.one/address/0x8145eddDf43f50276641b55bd3AD95944510021E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8145eddDf43f50276641b55bd3AD95944510021E); - // https://explorer.harmony.one/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade - address internal constant POOL_CONFIGURATOR_IMPL = 0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade; - // https://explorer.harmony.one/address/0x3C90887Ede8D65ccb2777A5d577beAb2548280AD IAaveOracle internal constant ORACLE = IAaveOracle(0x3C90887Ede8D65ccb2777A5d577beAb2548280AD); - // https://explorer.harmony.one/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654); + // https://explorer.harmony.one/address/0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D + address internal constant ACL_ADMIN = 0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D; // https://explorer.harmony.one/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B IACLManager internal constant ACL_MANAGER = IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B); - // https://explorer.harmony.one/address/0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D - address internal constant ACL_ADMIN = 0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D; + // https://explorer.harmony.one/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654); - // https://explorer.harmony.one/address/0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31 - ICollector internal constant COLLECTOR = ICollector(0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31); + // https://explorer.harmony.one/address/0xDF9e4ABdbd94107932265319479643D3B05809dc + address internal constant POOL_IMPL = 0xDF9e4ABdbd94107932265319479643D3B05809dc; + + // https://explorer.harmony.one/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade + address internal constant POOL_CONFIGURATOR_IMPL = 0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade; // https://explorer.harmony.one/address/0x929EC64c34a17401F460460D4B9390518E5B473e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e; + // https://explorer.harmony.one/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 + address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; + + // https://explorer.harmony.one/address/0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31 + ICollector internal constant COLLECTOR = ICollector(0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31); + // https://explorer.harmony.one/address/0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B; @@ -51,9 +54,6 @@ library AaveV3Harmony { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3; - // https://explorer.harmony.one/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 - address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; - // https://explorer.harmony.one/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = 0x770ef9f4fe897e59daCc474EF11238303F9552b6; @@ -216,9 +216,3 @@ library AaveV3HarmonyAssets { address internal constant WONE_INTEREST_RATE_STRATEGY = 0x230E0321Cf38F09e247e50Afc7801EA2351fe56F; } - -library AaveV3HarmonyEModes { - uint8 internal constant NONE = 0; - - uint8 internal constant STABLECOINS = 1; -} diff --git a/src/AaveV3Metis.sol b/src/AaveV3Metis.sol index f63539e6..a6c8db2f 100644 --- a/src/AaveV3Metis.sol +++ b/src/AaveV3Metis.sol @@ -13,40 +13,43 @@ library AaveV3Metis { // https://explorer.metis.io/address/0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57 IPool internal constant POOL = IPool(0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57); - // https://explorer.metis.io/address/0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0 - address internal constant POOL_IMPL = 0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0; - // https://explorer.metis.io/address/0x69FEE8F261E004453BE0800BC9039717528645A6 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x69FEE8F261E004453BE0800BC9039717528645A6); - // https://explorer.metis.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://explorer.metis.io/address/0x38D36e85E47eA6ff0d18B0adF12E5fC8984A6f8e IAaveOracle internal constant ORACLE = IAaveOracle(0x38D36e85E47eA6ff0d18B0adF12E5fC8984A6f8e); // https://explorer.metis.io/address/0x2B5EA1604BAbb7B730120950Cb13951f3525828A address internal constant PRICE_ORACLE_SENTINEL = 0x2B5EA1604BAbb7B730120950Cb13951f3525828A; - // https://explorer.metis.io/address/0xC01372469A17b6716A38F00c277533917B6859c0 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xC01372469A17b6716A38F00c277533917B6859c0); + // https://explorer.metis.io/address/0x6fD45D32375d5aDB8D76275A3932c740F03a8718 + address internal constant ACL_ADMIN = 0x6fD45D32375d5aDB8D76275A3932c740F03a8718; // https://explorer.metis.io/address/0xcDCb65fc657B701a5100a12eFB663978E7e8fFB8 IACLManager internal constant ACL_MANAGER = IACLManager(0xcDCb65fc657B701a5100a12eFB663978E7e8fFB8); - // https://explorer.metis.io/address/0x6fD45D32375d5aDB8D76275A3932c740F03a8718 - address internal constant ACL_ADMIN = 0x6fD45D32375d5aDB8D76275A3932c740F03a8718; + // https://explorer.metis.io/address/0xC01372469A17b6716A38F00c277533917B6859c0 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xC01372469A17b6716A38F00c277533917B6859c0); - // https://explorer.metis.io/address/0xB5b64c7E00374e766272f8B442Cd261412D4b118 - ICollector internal constant COLLECTOR = ICollector(0xB5b64c7E00374e766272f8B442Cd261412D4b118); + // https://explorer.metis.io/address/0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0 + address internal constant POOL_IMPL = 0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0; + + // https://explorer.metis.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://explorer.metis.io/address/0x30C1b8F0490fa0908863d6Cbd2E36400b4310A6B address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x30C1b8F0490fa0908863d6Cbd2E36400b4310A6B; + // https://explorer.metis.io/address/0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2 + address internal constant EMISSION_MANAGER = 0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2; + + // https://explorer.metis.io/address/0xB5b64c7E00374e766272f8B442Cd261412D4b118 + ICollector internal constant COLLECTOR = ICollector(0xB5b64c7E00374e766272f8B442Cd261412D4b118); + // https://explorer.metis.io/address/0x246405C70461f93513C74606815615c24c5C8C79 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x246405C70461f93513C74606815615c24c5C8C79; @@ -54,9 +57,6 @@ library AaveV3Metis { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0xE7fA271BD76FC9c6F2F968976E9f4f553256E02f; - // https://explorer.metis.io/address/0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2 - address internal constant EMISSION_MANAGER = 0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2; - // https://explorer.metis.io/address/0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731 address internal constant CAPS_PLUS_RISK_STEWARD = 0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731; diff --git a/src/AaveV3Optimism.sol b/src/AaveV3Optimism.sol index 82f1a7ad..93325780 100644 --- a/src/AaveV3Optimism.sol +++ b/src/AaveV3Optimism.sol @@ -13,40 +13,43 @@ library AaveV3Optimism { // https://optimistic.etherscan.io/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD IPool internal constant POOL = IPool(0x794a61358D6845594F94dc1DB02A252b5b4814aD); - // https://optimistic.etherscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 - address internal constant POOL_IMPL = 0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4; - // https://optimistic.etherscan.io/address/0x8145eddDf43f50276641b55bd3AD95944510021E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8145eddDf43f50276641b55bd3AD95944510021E); - // https://optimistic.etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://optimistic.etherscan.io/address/0xD81eb3728a631871a7eBBaD631b5f424909f0c77 IAaveOracle internal constant ORACLE = IAaveOracle(0xD81eb3728a631871a7eBBaD631b5f424909f0c77); // https://optimistic.etherscan.io/address/0xE229d5DE4BD5beEAf12d427B5B57BFe66abD2c3b address internal constant PRICE_ORACLE_SENTINEL = 0xE229d5DE4BD5beEAf12d427B5B57BFe66abD2c3b; - // https://optimistic.etherscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); + // https://optimistic.etherscan.io/address/0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf + address internal constant ACL_ADMIN = 0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf; // https://optimistic.etherscan.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B IACLManager internal constant ACL_MANAGER = IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B); - // https://optimistic.etherscan.io/address/0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf - address internal constant ACL_ADMIN = 0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf; + // https://optimistic.etherscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); - // https://optimistic.etherscan.io/address/0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf - ICollector internal constant COLLECTOR = ICollector(0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf); + // https://optimistic.etherscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 + address internal constant POOL_IMPL = 0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4; + + // https://optimistic.etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://optimistic.etherscan.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e; + // https://optimistic.etherscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 + address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; + + // https://optimistic.etherscan.io/address/0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf + ICollector internal constant COLLECTOR = ICollector(0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf); + // https://optimistic.etherscan.io/address/0xbCb167bDCF14a8F791d6f4A6EDd964aed2F8813B address internal constant DEFAULT_A_TOKEN_IMPL_REV_2 = 0xbCb167bDCF14a8F791d6f4A6EDd964aed2F8813B; @@ -54,9 +57,6 @@ library AaveV3Optimism { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = 0x04a8D477eE202aDCE1682F5902e1160455205b12; - // https://optimistic.etherscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 - address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; - // https://optimistic.etherscan.io/address/0x5E76E98E0963EcDC6A065d1435F84065b7523f39 address internal constant CAPS_PLUS_RISK_STEWARD = 0x5E76E98E0963EcDC6A065d1435F84065b7523f39; diff --git a/src/AaveV3OptimismSepolia.sol b/src/AaveV3OptimismSepolia.sol index 6e266260..f48065da 100644 --- a/src/AaveV3OptimismSepolia.sol +++ b/src/AaveV3OptimismSepolia.sol @@ -13,37 +13,40 @@ library AaveV3OptimismSepolia { // https://optimism-sepolia.blockscout.com/address/0xb50201558B00496A145fE76f7424749556E326D8 IPool internal constant POOL = IPool(0xb50201558B00496A145fE76f7424749556E326D8); - // https://optimism-sepolia.blockscout.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 - address internal constant POOL_IMPL = 0xB1532b76D054c9F9E61b25c4d91f69B4133E4671; - // https://optimism-sepolia.blockscout.com/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16); - // https://optimism-sepolia.blockscout.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C - address internal constant POOL_CONFIGURATOR_IMPL = 0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C; - // https://optimism-sepolia.blockscout.com/address/0xeb0a051be10228213BAEb449db63719d6742F7c4 IAaveOracle internal constant ORACLE = IAaveOracle(0xeb0a051be10228213BAEb449db63719d6742F7c4); - // https://optimism-sepolia.blockscout.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741); + // https://optimism-sepolia.blockscout.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D + address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D; // https://optimism-sepolia.blockscout.com/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB IACLManager internal constant ACL_MANAGER = IACLManager(0x41585C50524fb8c3899B43D7D797d9486AAc94DB); - // https://optimism-sepolia.blockscout.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D - address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D; + // https://optimism-sepolia.blockscout.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741); - // https://optimism-sepolia.blockscout.com/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 - ICollector internal constant COLLECTOR = ICollector(0x3e652E97ff339B73421f824F5b03d75b62F1Fb51); + // https://optimism-sepolia.blockscout.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 + address internal constant POOL_IMPL = 0xB1532b76D054c9F9E61b25c4d91f69B4133E4671; + + // https://optimism-sepolia.blockscout.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C + address internal constant POOL_CONFIGURATOR_IMPL = 0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C; // https://optimism-sepolia.blockscout.com/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d; + // https://optimism-sepolia.blockscout.com/address/0xB438D5376ADB4b31D0103E659f1673eAD684BAD9 + address internal constant EMISSION_MANAGER = 0xB438D5376ADB4b31D0103E659f1673eAD684BAD9; + + // https://optimism-sepolia.blockscout.com/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 + ICollector internal constant COLLECTOR = ICollector(0x3e652E97ff339B73421f824F5b03d75b62F1Fb51); + // https://optimism-sepolia.blockscout.com/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43 address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x6c23bAF050ec192afc0B967a93b83e6c5405df43; @@ -51,9 +54,6 @@ library AaveV3OptimismSepolia { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x777fBA024bA1228fDa76149A4ff8B23475ed057D; - // https://optimism-sepolia.blockscout.com/address/0xB438D5376ADB4b31D0103E659f1673eAD684BAD9 - address internal constant EMISSION_MANAGER = 0xB438D5376ADB4b31D0103E659f1673eAD684BAD9; - // https://optimism-sepolia.blockscout.com/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574 address internal constant L2_ENCODER = 0xBeC519531F0E78BcDdB295242fA4EC5251B38574; @@ -117,7 +117,3 @@ library AaveV3OptimismSepoliaAssets { address internal constant WETH_INTEREST_RATE_STRATEGY = 0xaFb7Bc3f69A8Cc6a49823eFF9E3974CD49181A9c; } - -library AaveV3OptimismSepoliaEModes { - uint8 internal constant NONE = 0; -} diff --git a/src/AaveV3Polygon.sol b/src/AaveV3Polygon.sol index a9883fce..7a14890a 100644 --- a/src/AaveV3Polygon.sol +++ b/src/AaveV3Polygon.sol @@ -13,37 +13,40 @@ library AaveV3Polygon { // https://polygonscan.com/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD IPool internal constant POOL = IPool(0x794a61358D6845594F94dc1DB02A252b5b4814aD); - // https://polygonscan.com/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 - address internal constant POOL_IMPL = 0x1f69d4700B34A1D9F92E55235df414FcC02A8306; - // https://polygonscan.com/address/0x8145eddDf43f50276641b55bd3AD95944510021E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x8145eddDf43f50276641b55bd3AD95944510021E); - // https://polygonscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://polygonscan.com/address/0xb023e699F5a33916Ea823A16485e259257cA8Bd1 IAaveOracle internal constant ORACLE = IAaveOracle(0xb023e699F5a33916Ea823A16485e259257cA8Bd1); - // https://polygonscan.com/address/0x7F23D86Ee20D869112572136221e173428DD740B - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); + // https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233 + address internal constant ACL_ADMIN = 0xDf7d0e6454DB638881302729F5ba99936EaAB233; // https://polygonscan.com/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B IACLManager internal constant ACL_MANAGER = IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B); - // https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233 - address internal constant ACL_ADMIN = 0xDf7d0e6454DB638881302729F5ba99936EaAB233; + // https://polygonscan.com/address/0x7F23D86Ee20D869112572136221e173428DD740B + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x7F23D86Ee20D869112572136221e173428DD740B); - // https://polygonscan.com/address/0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383 - ICollector internal constant COLLECTOR = ICollector(0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383); + // https://polygonscan.com/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 + address internal constant POOL_IMPL = 0x1f69d4700B34A1D9F92E55235df414FcC02A8306; + + // https://polygonscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://polygonscan.com/address/0x929EC64c34a17401F460460D4B9390518E5B473e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x929EC64c34a17401F460460D4B9390518E5B473e; + // https://polygonscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 + address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; + + // https://polygonscan.com/address/0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383 + ICollector internal constant COLLECTOR = ICollector(0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383); + // https://polygonscan.com/address/0xCf85FF1c37c594a10195F7A9Ab85CBb0a03f69dE address internal constant DEFAULT_A_TOKEN_IMPL_REV_2 = 0xCf85FF1c37c594a10195F7A9Ab85CBb0a03f69dE; @@ -51,9 +54,6 @@ library AaveV3Polygon { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = 0x79b5e91037AE441dE0d9e6fd3Fd85b96B83d4E93; - // https://polygonscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 - address internal constant EMISSION_MANAGER = 0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73; - // https://polygonscan.com/address/0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f address internal constant CAPS_PLUS_RISK_STEWARD = 0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f; diff --git a/src/AaveV3PolygonZkEvm.sol b/src/AaveV3PolygonZkEvm.sol index 81c73ec8..4e1f3301 100644 --- a/src/AaveV3PolygonZkEvm.sol +++ b/src/AaveV3PolygonZkEvm.sol @@ -13,44 +13,34 @@ library AaveV3PolygonZkEvm { // https://zkevm.polygonscan.com/address/0xb50201558B00496A145fE76f7424749556E326D8 IPool internal constant POOL = IPool(0xb50201558B00496A145fE76f7424749556E326D8); - // https://zkevm.polygonscan.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 - address internal constant POOL_IMPL = 0xB1532b76D054c9F9E61b25c4d91f69B4133E4671; - // https://zkevm.polygonscan.com/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16); - // https://zkevm.polygonscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C - address internal constant POOL_CONFIGURATOR_IMPL = 0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C; - // https://zkevm.polygonscan.com/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 IAaveOracle internal constant ORACLE = IAaveOracle(0x3e652E97ff339B73421f824F5b03d75b62F1Fb51); - // https://zkevm.polygonscan.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741); + // https://zkevm.polygonscan.com/address/0xe59470B3BE3293534603487E00A44C72f2CD466d + address internal constant ACL_ADMIN = 0xe59470B3BE3293534603487E00A44C72f2CD466d; // https://zkevm.polygonscan.com/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB IACLManager internal constant ACL_MANAGER = IACLManager(0x41585C50524fb8c3899B43D7D797d9486AAc94DB); - // https://zkevm.polygonscan.com/address/0xe59470B3BE3293534603487E00A44C72f2CD466d - address internal constant ACL_ADMIN = 0xe59470B3BE3293534603487E00A44C72f2CD466d; + // https://zkevm.polygonscan.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741); + + // https://zkevm.polygonscan.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 + address internal constant POOL_IMPL = 0xB1532b76D054c9F9E61b25c4d91f69B4133E4671; - // https://zkevm.polygonscan.com/address/0xe892E40C92c2E4D281Be59b2E6300F271d824E75 - ICollector internal constant COLLECTOR = ICollector(0xe892E40C92c2E4D281Be59b2E6300F271d824E75); + // https://zkevm.polygonscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C + address internal constant POOL_CONFIGURATOR_IMPL = 0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C; // https://zkevm.polygonscan.com/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d; - // https://zkevm.polygonscan.com/address/0xDe090EfCD6ef4b86792e2D84E55a5fa8d49D25D2 - address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xDe090EfCD6ef4b86792e2D84E55a5fa8d49D25D2; - - // https://zkevm.polygonscan.com/address/0x988B5d3863bdEE83339Be41cD31344Dfd9FD197c - address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = - 0x988B5d3863bdEE83339Be41cD31344Dfd9FD197c; - // https://zkevm.polygonscan.com/address/0xeb0a051be10228213BAEb449db63719d6742F7c4 address internal constant EMISSION_MANAGER = 0xeb0a051be10228213BAEb449db63719d6742F7c4; @@ -100,7 +90,3 @@ library AaveV3PolygonZkEvm { } library AaveV3PolygonZkEvmAssets {} - -library AaveV3PolygonZkEvmEModes { - uint8 internal constant NONE = 0; -} diff --git a/src/AaveV3Scroll.sol b/src/AaveV3Scroll.sol index 17ddebd3..cd90178d 100644 --- a/src/AaveV3Scroll.sol +++ b/src/AaveV3Scroll.sol @@ -13,40 +13,43 @@ library AaveV3Scroll { // https://scrollscan.com/address/0x11fCfe756c05AD438e312a7fd934381537D3cFfe IPool internal constant POOL = IPool(0x11fCfe756c05AD438e312a7fd934381537D3cFfe); - // https://scrollscan.com/address/0xE8Ba6eD06F0c00885754704108a72A54a5E5b764 - address internal constant POOL_IMPL = 0xE8Ba6eD06F0c00885754704108a72A54a5E5b764; - // https://scrollscan.com/address/0x32BCab42a2bb5AC577D24b425D46d8b8e0Df9b7f IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x32BCab42a2bb5AC577D24b425D46d8b8e0Df9b7f); - // https://scrollscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e - address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; - // https://scrollscan.com/address/0x04421D8C506E2fA2371a08EfAaBf791F624054F3 IAaveOracle internal constant ORACLE = IAaveOracle(0x04421D8C506E2fA2371a08EfAaBf791F624054F3); // https://scrollscan.com/address/0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391 address internal constant PRICE_ORACLE_SENTINEL = 0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391; - // https://scrollscan.com/address/0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b); + // https://scrollscan.com/address/0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24 + address internal constant ACL_ADMIN = 0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24; // https://scrollscan.com/address/0x7633F981D87dC6307227de9383D2ce7243158081 IACLManager internal constant ACL_MANAGER = IACLManager(0x7633F981D87dC6307227de9383D2ce7243158081); - // https://scrollscan.com/address/0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24 - address internal constant ACL_ADMIN = 0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24; + // https://scrollscan.com/address/0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b); - // https://scrollscan.com/address/0x90eB541e1a431D8a30ED85A77675D1F001128cb5 - ICollector internal constant COLLECTOR = ICollector(0x90eB541e1a431D8a30ED85A77675D1F001128cb5); + // https://scrollscan.com/address/0xE8Ba6eD06F0c00885754704108a72A54a5E5b764 + address internal constant POOL_IMPL = 0xE8Ba6eD06F0c00885754704108a72A54a5E5b764; + + // https://scrollscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e + address internal constant POOL_CONFIGURATOR_IMPL = 0x4816b2C2895f97fB918f1aE7Da403750a0eE372e; // https://scrollscan.com/address/0xa3f3100C4f1D0624DB9DB97b40C13885Ce297799 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xa3f3100C4f1D0624DB9DB97b40C13885Ce297799; + // https://scrollscan.com/address/0x6091546836DAe0487A50E300da3F237727441D90 + address internal constant EMISSION_MANAGER = 0x6091546836DAe0487A50E300da3F237727441D90; + + // https://scrollscan.com/address/0x90eB541e1a431D8a30ED85A77675D1F001128cb5 + ICollector internal constant COLLECTOR = ICollector(0x90eB541e1a431D8a30ED85A77675D1F001128cb5); + // https://scrollscan.com/address/0x92EDe4ABd9df4Bfb49b4d723e4c932e35c47C54C address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x92EDe4ABd9df4Bfb49b4d723e4c932e35c47C54C; @@ -54,9 +57,6 @@ library AaveV3Scroll { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x49bA16C08130FF8cFADE263B49387A8555bc057B; - // https://scrollscan.com/address/0x6091546836DAe0487A50E300da3F237727441D90 - address internal constant EMISSION_MANAGER = 0x6091546836DAe0487A50E300da3F237727441D90; - // https://scrollscan.com/address/0x8714E5ED2d8edD4E88eFf66637C3FE8eCf2B8C40 address internal constant L2_ENCODER = 0x8714E5ED2d8edD4E88eFf66637C3FE8eCf2B8C40; diff --git a/src/AaveV3ScrollSepolia.sol b/src/AaveV3ScrollSepolia.sol index 7951c3da..b95069b1 100644 --- a/src/AaveV3ScrollSepolia.sol +++ b/src/AaveV3ScrollSepolia.sol @@ -13,37 +13,40 @@ library AaveV3ScrollSepolia { // https://sepolia.scrollscan.com/address/0x48914C788295b5db23aF2b5F0B3BE775C4eA9440 IPool internal constant POOL = IPool(0x48914C788295b5db23aF2b5F0B3BE775C4eA9440); - // https://sepolia.scrollscan.com/address/0xB186894F315133C2396104CAb386C3A0fEC09025 - address internal constant POOL_IMPL = 0xB186894F315133C2396104CAb386C3A0fEC09025; - // https://sepolia.scrollscan.com/address/0x63BB78Fbac521998BD6E33f1a960677c7a1d4F10 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x63BB78Fbac521998BD6E33f1a960677c7a1d4F10); - // https://sepolia.scrollscan.com/address/0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF - address internal constant POOL_CONFIGURATOR_IMPL = 0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF; - // https://sepolia.scrollscan.com/address/0x4B7C7D2EbcDc1015D35F617596318C15d9d24e59 IAaveOracle internal constant ORACLE = IAaveOracle(0x4B7C7D2EbcDc1015D35F617596318C15d9d24e59); - // https://sepolia.scrollscan.com/address/0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee); + // https://sepolia.scrollscan.com/address/0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0 + address internal constant ACL_ADMIN = 0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0; // https://sepolia.scrollscan.com/address/0x166601A0Cc6Cf979e2f0eF94EC5363B6BC24061C IACLManager internal constant ACL_MANAGER = IACLManager(0x166601A0Cc6Cf979e2f0eF94EC5363B6BC24061C); - // https://sepolia.scrollscan.com/address/0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0 - address internal constant ACL_ADMIN = 0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0; + // https://sepolia.scrollscan.com/address/0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee); - // https://sepolia.scrollscan.com/address/0x104Cd7695C9247096F7AD37d3258B63c9675A00e - ICollector internal constant COLLECTOR = ICollector(0x104Cd7695C9247096F7AD37d3258B63c9675A00e); + // https://sepolia.scrollscan.com/address/0xB186894F315133C2396104CAb386C3A0fEC09025 + address internal constant POOL_IMPL = 0xB186894F315133C2396104CAb386C3A0fEC09025; + + // https://sepolia.scrollscan.com/address/0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF + address internal constant POOL_CONFIGURATOR_IMPL = 0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF; // https://sepolia.scrollscan.com/address/0xa76F05D0cdf599E0186dec880F2FA480fd0c5280 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0xa76F05D0cdf599E0186dec880F2FA480fd0c5280; + // https://sepolia.scrollscan.com/address/0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2 + address internal constant EMISSION_MANAGER = 0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2; + + // https://sepolia.scrollscan.com/address/0x104Cd7695C9247096F7AD37d3258B63c9675A00e + ICollector internal constant COLLECTOR = ICollector(0x104Cd7695C9247096F7AD37d3258B63c9675A00e); + // https://sepolia.scrollscan.com/address/0x0Eae78c97347bf6FCF784Aa91CABC4aCdB5cc2dd address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x0Eae78c97347bf6FCF784Aa91CABC4aCdB5cc2dd; @@ -51,9 +54,6 @@ library AaveV3ScrollSepolia { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0xAb8eaAE8383Abe28203cB6e6FAa0477B2fb97f07; - // https://sepolia.scrollscan.com/address/0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2 - address internal constant EMISSION_MANAGER = 0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2; - // https://sepolia.scrollscan.com/address/0x2F826FD1a0071476330a58dD1A9B36bcF7da832d address internal constant FAUCET = 0x2F826FD1a0071476330a58dD1A9B36bcF7da832d; @@ -217,9 +217,3 @@ library AaveV3ScrollSepoliaAssets { address internal constant EURS_INTEREST_RATE_STRATEGY = 0x9c41A3E545126Cc2c160634405E00461Ec30F709; } - -library AaveV3ScrollSepoliaEModes { - uint8 internal constant NONE = 0; - - uint8 internal constant STABLECOINS = 1; -} diff --git a/src/AaveV3Sepolia.sol b/src/AaveV3Sepolia.sol index 123e7a22..fc3c5b64 100644 --- a/src/AaveV3Sepolia.sol +++ b/src/AaveV3Sepolia.sol @@ -13,37 +13,40 @@ library AaveV3Sepolia { // https://sepolia.etherscan.io/address/0x6Ae43d3271ff6888e7Fc43Fd7321a503ff738951 IPool internal constant POOL = IPool(0x6Ae43d3271ff6888e7Fc43Fd7321a503ff738951); - // https://sepolia.etherscan.io/address/0x0562453c3DAFBB5e625483af58f4E6D668c44e19 - address internal constant POOL_IMPL = 0x0562453c3DAFBB5e625483af58f4E6D668c44e19; - // https://sepolia.etherscan.io/address/0x7Ee60D184C24Ef7AfC1Ec7Be59A0f448A0abd138 IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x7Ee60D184C24Ef7AfC1Ec7Be59A0f448A0abd138); - // https://sepolia.etherscan.io/address/0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32 - address internal constant POOL_CONFIGURATOR_IMPL = 0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32; - // https://sepolia.etherscan.io/address/0x2da88497588bf89281816106C7259e31AF45a663 IAaveOracle internal constant ORACLE = IAaveOracle(0x2da88497588bf89281816106C7259e31AF45a663); - // https://sepolia.etherscan.io/address/0x3e9708d80f7B3e43118013075F7e95CE3AB31F31 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x3e9708d80f7B3e43118013075F7e95CE3AB31F31); + // https://sepolia.etherscan.io/address/0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00 + address internal constant ACL_ADMIN = 0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00; // https://sepolia.etherscan.io/address/0x7F2bE3b178deeFF716CD6Ff03Ef79A1dFf360ddD IACLManager internal constant ACL_MANAGER = IACLManager(0x7F2bE3b178deeFF716CD6Ff03Ef79A1dFf360ddD); - // https://sepolia.etherscan.io/address/0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00 - address internal constant ACL_ADMIN = 0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00; + // https://sepolia.etherscan.io/address/0x3e9708d80f7B3e43118013075F7e95CE3AB31F31 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x3e9708d80f7B3e43118013075F7e95CE3AB31F31); - // https://sepolia.etherscan.io/address/0x604264f8017fEF3b11B3dD63537CB501560380B5 - ICollector internal constant COLLECTOR = ICollector(0x604264f8017fEF3b11B3dD63537CB501560380B5); + // https://sepolia.etherscan.io/address/0x0562453c3DAFBB5e625483af58f4E6D668c44e19 + address internal constant POOL_IMPL = 0x0562453c3DAFBB5e625483af58f4E6D668c44e19; + + // https://sepolia.etherscan.io/address/0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32 + address internal constant POOL_CONFIGURATOR_IMPL = 0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32; // https://sepolia.etherscan.io/address/0x4DA5c4da71C5a167171cC839487536d86e083483 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x4DA5c4da71C5a167171cC839487536d86e083483; + // https://sepolia.etherscan.io/address/0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62 + address internal constant EMISSION_MANAGER = 0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62; + + // https://sepolia.etherscan.io/address/0x604264f8017fEF3b11B3dD63537CB501560380B5 + ICollector internal constant COLLECTOR = ICollector(0x604264f8017fEF3b11B3dD63537CB501560380B5); + // https://sepolia.etherscan.io/address/0x48424f2779be0f03cDF6F02E17A591A9BF7AF89f address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x48424f2779be0f03cDF6F02E17A591A9BF7AF89f; @@ -51,9 +54,6 @@ library AaveV3Sepolia { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x54bdE009156053108E73E2401aEA755e38f92098; - // https://sepolia.etherscan.io/address/0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62 - address internal constant EMISSION_MANAGER = 0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62; - // https://sepolia.etherscan.io/address/0xC959483DBa39aa9E78757139af0e9a2EDEb3f42D address internal constant FAUCET = 0xC959483DBa39aa9E78757139af0e9a2EDEb3f42D; @@ -261,9 +261,3 @@ library AaveV3SepoliaAssets { // https://sepolia.etherscan.io/address/0x521247B4d0a51E71DE580dA2cBF99EB40a44b3Bf address internal constant GHO_INTEREST_RATE_STRATEGY = 0x521247B4d0a51E71DE580dA2cBF99EB40a44b3Bf; } - -library AaveV3SepoliaEModes { - uint8 internal constant NONE = 0; - - uint8 internal constant STABLECOINS = 1; -} diff --git a/src/AaveV3ZkSync.sol b/src/AaveV3ZkSync.sol index c66fbe8a..e92ff06c 100644 --- a/src/AaveV3ZkSync.sol +++ b/src/AaveV3ZkSync.sol @@ -13,37 +13,40 @@ library AaveV3ZkSync { // https://era.zksync.network/address/0x78e30497a3c7527d953c6B1E3541b021A98Ac43c IPool internal constant POOL = IPool(0x78e30497a3c7527d953c6B1E3541b021A98Ac43c); - // https://era.zksync.network/address/0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9 - address internal constant POOL_IMPL = 0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9; - // https://era.zksync.network/address/0x0207d31b4377C74bEC37356aaD83E3dCc979F40E IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0x0207d31b4377C74bEC37356aaD83E3dCc979F40E); - // https://era.zksync.network/address/0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d - address internal constant POOL_CONFIGURATOR_IMPL = 0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d; - // https://era.zksync.network/address/0xC7F58Fca663a8d377B6D0c9703C697f56dC40088 IAaveOracle internal constant ORACLE = IAaveOracle(0xC7F58Fca663a8d377B6D0c9703C697f56dC40088); - // https://era.zksync.network/address/0x5F2A704cE47B373c908fE8A29514249469b52b99 - IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = - IPoolDataProvider(0x5F2A704cE47B373c908fE8A29514249469b52b99); + // https://era.zksync.network/address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020 + address internal constant ACL_ADMIN = 0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020; // https://era.zksync.network/address/0xc6150b63c2F02528d4A969a248710A4658ed7928 IACLManager internal constant ACL_MANAGER = IACLManager(0xc6150b63c2F02528d4A969a248710A4658ed7928); - // https://era.zksync.network/address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020 - address internal constant ACL_ADMIN = 0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020; + // https://era.zksync.network/address/0x5F2A704cE47B373c908fE8A29514249469b52b99 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x5F2A704cE47B373c908fE8A29514249469b52b99); - // https://era.zksync.network/address/0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b - ICollector internal constant COLLECTOR = ICollector(0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b); + // https://era.zksync.network/address/0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9 + address internal constant POOL_IMPL = 0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9; + + // https://era.zksync.network/address/0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d + address internal constant POOL_CONFIGURATOR_IMPL = 0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d; // https://era.zksync.network/address/0x37c972C9dDfC2138EBe33eC19dba063AB9f8966e address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x37c972C9dDfC2138EBe33eC19dba063AB9f8966e; + // https://era.zksync.network/address/0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f + address internal constant EMISSION_MANAGER = 0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f; + + // https://era.zksync.network/address/0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b + ICollector internal constant COLLECTOR = ICollector(0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b); + // https://era.zksync.network/address/0x34be365Fd01ac224F21490aaC6dFd65D25434bbB address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x34be365Fd01ac224F21490aaC6dFd65D25434bbB; @@ -51,9 +54,6 @@ library AaveV3ZkSync { address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = 0x52E97425D1Fa6885fAaC9260B711fA5047A88d06; - // https://era.zksync.network/address/0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f - address internal constant EMISSION_MANAGER = 0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f; - // https://era.zksync.network/address/0x93E5E329FaCf7d85118b49f0eb250E9c767CA177 address internal constant CONFIG_ENGINE = 0x93E5E329FaCf7d85118b49f0eb250E9c767CA177; diff --git a/src/ts/AaveAddressBook.ts b/src/ts/AaveAddressBook.ts index 3526640c..815449eb 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -62,41 +62,3 @@ export * as MiscSepolia from './MiscSepolia'; export * as MiscZkSync from './MiscZkSync'; export * as AaveGovernanceV2 from './AaveGovernanceV2'; export * as AaveSafetyModule from './AaveSafetyModule'; -export {tokenlist} from './tokenlist'; -export {ICollector_ABI} from './abis/ICollector'; -export {AggregatorInterface_ABI} from './abis/AggregatorInterface'; -export {IPayloadsControllerCore_ABI} from './abis/IPayloadsControllerCore'; -export {IVotingMachineWithProofs_ABI} from './abis/IVotingMachineWithProofs'; -export {IGovernanceCore_ABI} from './abis/IGovernanceCore'; -export {IVotingStrategy_ABI} from './abis/IVotingStrategy'; -export {IVotingPortal_ABI} from './abis/IVotingPortal'; -export {IGovernancePowerStrategy_ABI} from './abis/IGovernancePowerStrategy'; -export {IDataWarehouse_ABI} from './abis/IDataWarehouse'; -export {IExecutorWithTimelock_ABI} from './abis/IExecutorWithTimelock'; -export {IERC20_ABI} from './abis/IERC20'; -export {IERC20Detailed_ABI} from './abis/IERC20Detailed'; -export {IAToken_ABI} from './abis/IAToken'; -export {IDefaultInterestRateStrategy_ABI} from './abis/IDefaultInterestRateStrategy'; -export {IAaveOracle_ABI} from './abis/IAaveOracle'; -export {IExecutor_ABI} from './abis/IExecutor'; -export {ICrossChainController_ABI} from './abis/ICrossChainController'; -export {IWithGuardian_ABI} from './abis/IWithGuardian'; -export {IRescuable_ABI} from './abis/IRescuable'; -export {IOwnable_ABI} from './abis/IOwnable'; -export {ILendingPool_ABI} from './abis/ILendingPool'; -export {ILendingPoolAddressesProvider_ABI} from './abis/ILendingPoolAddressesProvider'; -export {ILendingPoolConfigurator_ABI} from './abis/ILendingPoolConfigurator'; -export {IPool_ABI} from './abis/IPool'; -export {IPoolAddressesProvider_ABI} from './abis/IPoolAddressesProvider'; -export {IPoolConfigurator_ABI} from './abis/IPoolConfigurator'; -export {IStakeToken_ABI} from './abis/IStakeToken'; -export {IStataTokenFactory_ABI} from './abis/IStataTokenFactory'; -export {IStataTokenV2_ABI} from './abis/IStataTokenV2'; -export {IPayloadsControllerDataHelper_ABI} from './abis/IPayloadsControllerDataHelper'; -export {IGovernanceDataHelper_ABI} from './abis/IGovernanceDataHelper'; -export {IMetaDelegateHelper_ABI} from './abis/IMetaDelegateHelper'; -export {IVotingMachineDataHelper_ABI} from './abis/IVotingMachineDataHelper'; -export {IUiPoolDataProvider_ABI} from './abis/IUiPoolDataProvider'; -export {IAaveToken_ABI} from './abis/IAaveToken'; -export {IStkAaveToken_ABI} from './abis/IStkAaveToken'; -export {IATokenWithDelegation_ABI} from './abis/IATokenWithDelegation'; diff --git a/src/ts/AaveV2Avalanche.ts b/src/ts/AaveV2Avalanche.ts index 101f6c7e..f163e7cc 100644 --- a/src/ts/AaveV2Avalanche.ts +++ b/src/ts/AaveV2Avalanche.ts @@ -23,6 +23,9 @@ export const LENDING_RATE_ORACLE = '0xc34254642B504484465F38Cb1CC396d45a9c7c80'; // IAaveProtocolDataProvider https://snowtrace.io/address/0x65285E9dfab318f57051ab2b139ccCf232945451 export const AAVE_PROTOCOL_DATA_PROVIDER = '0x65285E9dfab318f57051ab2b139ccCf232945451'; +// https://snowtrace.io/address/0x69A45013F047A65422deFdD0C43f09530D7025c0 +export const LENDING_POOL_COLLATERAL_MANAGER = '0x69A45013F047A65422deFdD0C43f09530D7025c0'; + // https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090 export const POOL_ADMIN = '0x3C06dce358add17aAf230f2234bCCC4afd50d090'; @@ -38,9 +41,6 @@ export const DEFAULT_INCENTIVES_CONTROLLER = '0x01D83Fe6A10D2f2B7AF1703434374618 // https://snowtrace.io/address/0x5CfCd7E6D055Ba4f7B998914336254aDE3F69f26 export const EMISSION_MANAGER = '0x5CfCd7E6D055Ba4f7B998914336254aDE3F69f26'; -// https://snowtrace.io/address/0x69A45013F047A65422deFdD0C43f09530D7025c0 -export const LENDING_POOL_COLLATERAL_MANAGER = '0x69A45013F047A65422deFdD0C43f09530D7025c0'; - // https://snowtrace.io/address/0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4 export const DEBT_SWAP_ADAPTER = '0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4'; @@ -83,64 +83,64 @@ export const WETH_GATEWAY = '0x68c815cB8C8390bc3F2CE99265044dEC9D350C49'; export const CHAIN_ID = 43114; export const ASSETS = { WETHe: { - UNDERLYING: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', decimals: 18, + id: 0, + UNDERLYING: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', A_TOKEN: '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', - S_TOKEN: '0x60F6A45006323B97d97cB0a42ac39e2b757ADA63', V_TOKEN: '0x4e575CacB37bc1b5afEc68a0462c4165A5268983', INTEREST_RATE_STRATEGY: '0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647', ORACLE: '0x976B3D034E162d8bD72D6b9C989d545b839003b0', }, DAIe: { - UNDERLYING: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', decimals: 18, + id: 1, + UNDERLYING: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', A_TOKEN: '0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a', - S_TOKEN: '0x3676E4EE689D527dDb89812B63fAD0B7501772B3', V_TOKEN: '0x1852DC24d1a8956a0B356AA18eDe954c7a0Ca5ae', INTEREST_RATE_STRATEGY: '0xd814D29bBd27b97d58255632C498c34b25DC72bD', ORACLE: '0xf82da795727633aFA9BB0f1B08A87c0F6A38723f', }, USDTe: { - UNDERLYING: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', decimals: 6, + id: 2, + UNDERLYING: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', A_TOKEN: '0x532E6537FEA298397212F09A61e03311686f548e', - S_TOKEN: '0x9c7B81A867499B7387ed05017a13d4172a0c17bF', V_TOKEN: '0xfc1AdA7A288d6fCe0d29CcfAAa57Bc9114bb2DbE', INTEREST_RATE_STRATEGY: '0xd814D29bBd27b97d58255632C498c34b25DC72bD', ORACLE: '0x39185f2236A6022b682e8BB93C040d125DA093CF', }, USDCe: { - UNDERLYING: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', decimals: 6, + id: 3, + UNDERLYING: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', A_TOKEN: '0x46A51127C3ce23fb7AB1DE06226147F446e4a857', - S_TOKEN: '0x5B14679135dbE8B02015ec3Ca4924a12E4C6C85a', V_TOKEN: '0x848c080d2700CBE1B894a3374AD5E887E5cCb89c', INTEREST_RATE_STRATEGY: '0x6b410D0d53Efc7d4cAF23b9df2F38558998A1716', ORACLE: '0xD8277249e871BE9A402fa286C2C5ec16046dC512', }, AAVEe: { - UNDERLYING: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', decimals: 18, + id: 4, + UNDERLYING: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', A_TOKEN: '0xD45B7c061016102f9FA220502908f2c0f1add1D7', - S_TOKEN: '0x66904E4F3f44e3925D22ceca401b6F2DA085c98f', V_TOKEN: '0x8352E3fd18B8d84D3c8a1b538d788899073c7A8E', INTEREST_RATE_STRATEGY: '0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647', ORACLE: '0x3CA13391E9fb38a75330fb28f8cc2eB3D9ceceED', }, WBTCe: { - UNDERLYING: '0x50b7545627a5162F82A992c33b87aDc75187B218', decimals: 8, + id: 5, + UNDERLYING: '0x50b7545627a5162F82A992c33b87aDc75187B218', A_TOKEN: '0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D', - S_TOKEN: '0x3484408989985d68C9700dc1CFDFeAe6d2f658CF', V_TOKEN: '0x2dc0E35eC3Ab070B8a175C829e23650Ee604a9eB', INTEREST_RATE_STRATEGY: '0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647', ORACLE: '0x2779D32d5166BAaa2B2b658333bA7e6Ec0C65743', }, WAVAX: { - UNDERLYING: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', decimals: 18, + id: 6, + UNDERLYING: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', A_TOKEN: '0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B', - S_TOKEN: '0x2920CD5b8A160b2Addb00Ec5d5f4112255d4ae75', V_TOKEN: '0x66A0FE52Fb629a6cB4D10B8580AFDffE888F5Fd4', INTEREST_RATE_STRATEGY: '0x6724e923E4bb58fCdF7CEe7A5E7bBb47b99C2647', ORACLE: '0x0A77230d17318075983913bC2145DB16C7366156', diff --git a/src/ts/AaveV2Ethereum.ts b/src/ts/AaveV2Ethereum.ts index e79fd788..ffc82dc2 100644 --- a/src/ts/AaveV2Ethereum.ts +++ b/src/ts/AaveV2Ethereum.ts @@ -23,6 +23,9 @@ export const LENDING_RATE_ORACLE = '0x8A32f49FFbA88aba6EFF96F45D8BD1D4b3f35c7D'; // IAaveProtocolDataProvider https://etherscan.io/address/0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d export const AAVE_PROTOCOL_DATA_PROVIDER = '0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d'; +// https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 +export const LENDING_POOL_COLLATERAL_MANAGER = '0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3'; + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A export const POOL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; @@ -38,9 +41,6 @@ export const DEFAULT_INCENTIVES_CONTROLLER = '0xd784927Ff2f95ba542BfC824c8a8a98F // https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5 export const EMISSION_MANAGER = '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5'; -// https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 -export const LENDING_POOL_COLLATERAL_MANAGER = '0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3'; - // https://etherscan.io/address/0xAf5c88245CD02Ff3DF332EF1E1FfD5bc5D1d87cd export const DEBT_SWAP_ADAPTER = '0xAf5c88245CD02Ff3DF332EF1E1FfD5bc5D1d87cd'; @@ -77,334 +77,334 @@ export const WETH_GATEWAY = '0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24'; export const CHAIN_ID = 1; export const ASSETS = { USDT: { - UNDERLYING: '0xdAC17F958D2ee523a2206206994597C13D831ec7', decimals: 6, + id: 0, + UNDERLYING: '0xdAC17F958D2ee523a2206206994597C13D831ec7', A_TOKEN: '0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811', - S_TOKEN: '0xe91D55AB2240594855aBd11b3faAE801Fd4c4687', V_TOKEN: '0x531842cEbbdD378f8ee36D171d6cC9C4fcf475Ec', INTEREST_RATE_STRATEGY: '0xa8850b94E4A0B881c3b08aE065D189D87F34F175', ORACLE: '0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74', }, WBTC: { - UNDERLYING: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', decimals: 8, + id: 1, + UNDERLYING: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', A_TOKEN: '0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656', - S_TOKEN: '0x51B039b9AFE64B78758f8Ef091211b5387eA717c', V_TOKEN: '0x9c39809Dec7F95F5e0713634a4D0701329B3b4d2', INTEREST_RATE_STRATEGY: '0x32f3A6134590fc2d9440663d35a2F0a6265F04c4', ORACLE: '0xFD858c8bC5ac5e10f01018bC78471bb0DC392247', }, WETH: { - UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', decimals: 18, + id: 2, + UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', A_TOKEN: '0x030bA81f1c18d280636F32af80b9AAd02Cf0854e', - S_TOKEN: '0x4e977830ba4bd783C0BB7F15d3e243f73FF57121', V_TOKEN: '0xF63B34710400CAd3e044cFfDcAb00a0f32E33eCf', INTEREST_RATE_STRATEGY: '0xb8975328Aa52c00B9Ec1e11e518C4900f2e6C62a', ORACLE: '0x0000000000000000000000000000000000000000', }, YFI: { - UNDERLYING: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', decimals: 18, + id: 3, + UNDERLYING: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', A_TOKEN: '0x5165d24277cD063F5ac44Efd447B27025e888f37', - S_TOKEN: '0xca823F78C2Dd38993284bb42Ba9b14152082F7BD', V_TOKEN: '0x7EbD09022Be45AD993BAA1CEc61166Fcc8644d97', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x7c5d4F8345e66f68099581Db340cd65B078C41f4', }, ZRX: { - UNDERLYING: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', decimals: 18, + id: 4, + UNDERLYING: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', A_TOKEN: '0xDf7FF54aAcAcbFf42dfe29DD6144A69b629f8C9e', - S_TOKEN: '0x071B4323a24E73A5afeEbe34118Cd21B8FAAF7C3', V_TOKEN: '0x85791D117A392097590bDeD3bD5abB8d5A20491A', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x2Da4983a622a8498bb1a21FaE9D8F6C664939962', }, UNI: { - UNDERLYING: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', decimals: 18, + id: 5, + UNDERLYING: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', A_TOKEN: '0xB9D7CB55f463405CDfBe4E90a6D2Df01C2B92BF1', - S_TOKEN: '0xD939F7430dC8D5a427f156dE1012A56C18AcB6Aa', V_TOKEN: '0x5BdB050A92CADcCfCDcCCBFC17204a1C9cC0Ab73', INTEREST_RATE_STRATEGY: '0x87cCa171a2125efca9868F9Bc1FfD7B7c80dC5a3', ORACLE: '0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e', }, AAVE: { - UNDERLYING: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', decimals: 18, + id: 6, + UNDERLYING: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', A_TOKEN: '0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B', - S_TOKEN: '0x079D6a3E844BcECf5720478A718Edb6575362C5f', V_TOKEN: '0xF7DBA49d571745D9d7fcb56225B05BEA803EBf3C', INTEREST_RATE_STRATEGY: '0xd4cA26F2496195C4F886D464D8578368236bB747', ORACLE: '0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012', }, BAT: { - UNDERLYING: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF', decimals: 18, + id: 7, + UNDERLYING: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF', A_TOKEN: '0x05Ec93c0365baAeAbF7AefFb0972ea7ECdD39CF1', - S_TOKEN: '0x277f8676FAcf4dAA5a6EA38ba511B7F65AA02f9F', V_TOKEN: '0xfc218A6Dfe6901CB34B1a5281FC6f1b8e7E56877', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x0d16d4528239e9ee52fa531af613AcdB23D88c94', }, BUSD: { - UNDERLYING: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', decimals: 18, + id: 8, + UNDERLYING: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', A_TOKEN: '0xA361718326c15715591c299427c62086F69923D9', - S_TOKEN: '0x4A7A63909A72D268b1D8a93a9395d098688e0e5C', V_TOKEN: '0xbA429f7011c9fa04cDd46a2Da24dc0FF0aC6099c', INTEREST_RATE_STRATEGY: '0x65A3De6d805c2A25A8E53e69da6A5a11848f25b3', ORACLE: '0x378E959C0eCBbA793217913cE1D8745f6d6B7aC7', }, DAI: { - UNDERLYING: '0x6B175474E89094C44Da98b954EedeAC495271d0F', decimals: 18, + id: 9, + UNDERLYING: '0x6B175474E89094C44Da98b954EedeAC495271d0F', A_TOKEN: '0x028171bCA77440897B824Ca71D1c56caC55b68A3', - S_TOKEN: '0x778A13D3eeb110A4f7bb6529F99c000119a08E92', V_TOKEN: '0x6C3c78838c761c6Ac7bE9F59fe808ea2A6E4379d', INTEREST_RATE_STRATEGY: '0xA939B1f36E9a14B044B8149933184a18E0dFC17D', ORACLE: '0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58', }, ENJ: { - UNDERLYING: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c', decimals: 18, + id: 10, + UNDERLYING: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c', A_TOKEN: '0xaC6Df26a590F08dcC95D5a4705ae8abbc88509Ef', - S_TOKEN: '0x943DcCA156b5312Aa24c1a08769D67FEce4ac14C', V_TOKEN: '0x38995F292a6E31b78203254fE1cdd5Ca1010A446', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x24D9aB51950F3d62E9144fdC2f3135DAA6Ce8D1B', }, KNC: { - UNDERLYING: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', decimals: 18, + id: 11, + UNDERLYING: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', A_TOKEN: '0x39C6b3e42d6A679d7D776778Fe880BC9487C2EDA', - S_TOKEN: '0x9915dfb872778B2890a117DA1F35F335eb06B54f', V_TOKEN: '0x6B05D1c608015Ccb8e205A690cB86773A96F39f1', INTEREST_RATE_STRATEGY: '0xeB65a3163Fd8900F4fE9a044e18966706b69A74D', ORACLE: '0x656c0544eF4C98A6a98491833A89204Abb045d6b', }, LINK: { - UNDERLYING: '0x514910771AF9Ca656af840dff83E8264EcF986CA', decimals: 18, + id: 12, + UNDERLYING: '0x514910771AF9Ca656af840dff83E8264EcF986CA', A_TOKEN: '0xa06bC25B5805d5F8d82847D191Cb4Af5A3e873E0', - S_TOKEN: '0xFB4AEc4Cc858F2539EBd3D37f2a43eAe5b15b98a', V_TOKEN: '0x0b8f12b1788BFdE65Aa1ca52E3e9F3Ba401be16D', INTEREST_RATE_STRATEGY: '0xED6547b83276B076B771B88FcCbD68BDeDb3927f', ORACLE: '0xDC530D9457755926550b59e8ECcdaE7624181557', }, MANA: { - UNDERLYING: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', decimals: 18, + id: 13, + UNDERLYING: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', A_TOKEN: '0xa685a61171bb30d4072B338c80Cb7b2c865c873E', - S_TOKEN: '0xD86C74eA2224f4B8591560652b50035E4e5c0a3b', V_TOKEN: '0x0A68976301e46Ca6Ce7410DB28883E309EA0D352', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x82A44D92D6c329826dc557c5E1Be6ebeC5D5FeB9', }, MKR: { - UNDERLYING: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', decimals: 18, + id: 14, + UNDERLYING: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', A_TOKEN: '0xc713e5E149D5D0715DcD1c156a020976e7E56B88', - S_TOKEN: '0xC01C8E4b12a89456a9fD4e4e75B72546Bf53f0B5', V_TOKEN: '0xba728eAd5e496BE00DCF66F650b6d7758eCB50f8', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x24551a8Fb2A7211A25a17B1481f043A8a8adC7f2', }, REN: { - UNDERLYING: '0x408e41876cCCDC0F92210600ef50372656052a38', decimals: 18, + id: 15, + UNDERLYING: '0x408e41876cCCDC0F92210600ef50372656052a38', A_TOKEN: '0xCC12AbE4ff81c9378D670De1b57F8e0Dd228D77a', - S_TOKEN: '0x3356Ec1eFA75d9D150Da1EC7d944D9EDf73703B7', V_TOKEN: '0xcd9D82d33bd737De215cDac57FE2F7f04DF77FE0', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0x3147D7203354Dc06D9fd350c7a2437bcA92387a4', }, SNX: { - UNDERLYING: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', decimals: 18, + id: 16, + UNDERLYING: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', A_TOKEN: '0x35f6B052C598d933D69A4EEC4D04c73A191fE6c2', - S_TOKEN: '0x8575c8ae70bDB71606A53AeA1c6789cB0fBF3166', V_TOKEN: '0x267EB8Cf715455517F9BD5834AeAE3CeA1EBdbD8', INTEREST_RATE_STRATEGY: '0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5', ORACLE: '0x79291A9d692Df95334B1a0B3B4AE6bC606782f8c', }, sUSD: { - UNDERLYING: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51', decimals: 18, + id: 17, + UNDERLYING: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51', A_TOKEN: '0x6C5024Cd4F8A59110119C56f8933403A539555EB', - S_TOKEN: '0x30B0f7324feDF89d8eff397275F8983397eFe4af', V_TOKEN: '0xdC6a3Ab17299D9C2A412B0e0a4C1f55446AE0817', INTEREST_RATE_STRATEGY: '0x2Ce27f7a2DC17614421b9229158DE54A56d013E8', ORACLE: '0x00753D870Ceda60b38A9efeb47a724160BD8A749', }, TUSD: { - UNDERLYING: '0x0000000000085d4780B73119b644AE5ecd22b376', decimals: 18, + id: 18, + UNDERLYING: '0x0000000000085d4780B73119b644AE5ecd22b376', A_TOKEN: '0x101cc05f4A51C0319f570d5E146a8C625198e636', - S_TOKEN: '0x7f38d60D94652072b2C44a18c0e14A481EC3C0dd', V_TOKEN: '0x01C0eb1f8c6F1C1bF74ae028697ce7AA2a8b0E92', INTEREST_RATE_STRATEGY: '0x65A3De6d805c2A25A8E53e69da6A5a11848f25b3', ORACLE: '0x65f05c3bC078bf24EdeaCFD48D6312c103AC4a61', }, USDC: { - UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', decimals: 6, + id: 19, + UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', A_TOKEN: '0xBcca60bB61934080951369a648Fb03DF4F96263C', - S_TOKEN: '0xE4922afAB0BbaDd8ab2a88E0C79d884Ad337fcA6', V_TOKEN: '0x619beb58998eD2278e08620f97007e1116D5D25b', INTEREST_RATE_STRATEGY: '0x6a8C8119b2BA9460162B8C999f5A8C84f28a033f', ORACLE: '0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d', }, CRV: { - UNDERLYING: '0xD533a949740bb3306d119CC777fa900bA034cd52', decimals: 18, + id: 20, + UNDERLYING: '0xD533a949740bb3306d119CC777fa900bA034cd52', A_TOKEN: '0x8dAE6Cb04688C62d939ed9B68d32Bc62e49970b1', - S_TOKEN: '0x9288059a74f589C919c7Cf1Db433251CdFEB874B', V_TOKEN: '0x00ad8eBF64F141f1C81e9f8f792d3d1631c6c684', INTEREST_RATE_STRATEGY: '0x35FE8C9924718f286463e659be35b4122eEe907F', ORACLE: '0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e', }, GUSD: { - UNDERLYING: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', decimals: 2, + id: 21, + UNDERLYING: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', A_TOKEN: '0xD37EE7e4f452C6638c96536e68090De8cBcdb583', - S_TOKEN: '0xf8aC64ec6Ff8E0028b37EB89772d21865321bCe0', V_TOKEN: '0x279AF5b99540c1A3A7E3CDd326e19659401eF99e', INTEREST_RATE_STRATEGY: '0x11Ef01bc8d774a5FE6F4Bcd4bafd187D27CD99AF', ORACLE: '0xEc6f4Cd64d28Ef32507e2dc399948aAe9Bbedd7e', }, BAL: { - UNDERLYING: '0xba100000625a3754423978a60c9317c58a424e3D', decimals: 18, + id: 22, + UNDERLYING: '0xba100000625a3754423978a60c9317c58a424e3D', A_TOKEN: '0x272F97b7a56a387aE942350bBC7Df5700f8a4576', - S_TOKEN: '0xe569d31590307d05DA3812964F1eDd551D665a0b', V_TOKEN: '0x13210D4Fe0d5402bd7Ecbc4B5bC5cFcA3b71adB0', INTEREST_RATE_STRATEGY: '0xb873ec463CAC50112B0e14d060fbc4192406279f', ORACLE: '0xC1438AA3823A6Ba0C159CfA8D98dF5A994bA120b', }, xSUSHI: { - UNDERLYING: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', decimals: 18, + id: 23, + UNDERLYING: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', A_TOKEN: '0xF256CC7847E919FAc9B808cC216cAc87CCF2f47a', - S_TOKEN: '0x73Bfb81D7dbA75C904f430eA8BAe82DB0D41187B', V_TOKEN: '0xfAFEDF95E21184E3d880bd56D4806c4b8d31c69A', INTEREST_RATE_STRATEGY: '0x6855E5544Cd803BF24c9612b3F12C009116B0ee1', ORACLE: '0xF05D9B6C08757EAcb1fbec18e36A1B7566a13DEB', }, renFIL: { - UNDERLYING: '0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5', decimals: 18, + id: 24, + UNDERLYING: '0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5', A_TOKEN: '0x514cd6756CCBe28772d4Cb81bC3156BA9d1744aa', - S_TOKEN: '0xcAad05C49E14075077915cB5C820EB3245aFb950', V_TOKEN: '0x348e2eBD5E962854871874E444F4122399c02755', INTEREST_RATE_STRATEGY: '0x311C866D55456e465e314A3E9830276B438A73f0', ORACLE: '0x0606Be69451B1C9861Ac6b3626b99093b713E801', }, RAI: { - UNDERLYING: '0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919', decimals: 18, + id: 25, + UNDERLYING: '0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919', A_TOKEN: '0xc9BC48c72154ef3e5425641a3c747242112a46AF', - S_TOKEN: '0x9C72B8476C33AE214ee3e8C20F0bc28496a62032', V_TOKEN: '0xB5385132EE8321977FfF44b60cDE9fE9AB0B4e6b', INTEREST_RATE_STRATEGY: '0xc83cDb49F234EC6666D7857B3EAa1302b109394C', ORACLE: '0x4ad7B025127e89263242aB68F0f9c4E5C033B489', }, AMPL: { - UNDERLYING: '0xD46bA6D942050d489DBd938a2C909A5d5039A161', decimals: 9, + id: 26, + UNDERLYING: '0xD46bA6D942050d489DBd938a2C909A5d5039A161', A_TOKEN: '0x1E6bb68Acec8fefBD87D192bE09bb274170a0548', - S_TOKEN: '0x18152C9f77DAdc737006e9430dB913159645fa87', V_TOKEN: '0xf013D90E4e4E3Baf420dFea60735e75dbd42f1e1', INTEREST_RATE_STRATEGY: '0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5', ORACLE: '0x492575FDD11a0fCf2C6C719867890a7648d526eB', }, USDP: { - UNDERLYING: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', decimals: 18, + id: 27, + UNDERLYING: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', A_TOKEN: '0x2e8F4bdbE3d47d7d7DE490437AeA9915D930F1A3', - S_TOKEN: '0x2387119bc85A74e0BBcbe190d80676CB16F10D4F', V_TOKEN: '0xFDb93B3b10936cf81FA59A02A7523B6e2149b2B7', INTEREST_RATE_STRATEGY: '0x2Ce27f7a2DC17614421b9229158DE54A56d013E8', ORACLE: '0x776292E6eb3eD2D28C0CFa77BaB9378A771424Be', }, DPI: { - UNDERLYING: '0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b', decimals: 18, + id: 28, + UNDERLYING: '0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b', A_TOKEN: '0x6F634c6135D2EBD550000ac92F494F9CB8183dAe', - S_TOKEN: '0xa3953F07f389d719F99FC378ebDb9276177d8A6e', V_TOKEN: '0x4dDff5885a67E4EffeC55875a3977D7E60F82ae0', INTEREST_RATE_STRATEGY: '0xA12D7bB07379ad6de4497B80088e28D4C00932D1', ORACLE: '0x2fe9EcF3024B5A63f50Ec0eFC53b8fF2C09F2E93', }, FRAX: { - UNDERLYING: '0x853d955aCEf822Db058eb8505911ED77F175b99e', decimals: 18, + id: 29, + UNDERLYING: '0x853d955aCEf822Db058eb8505911ED77F175b99e', A_TOKEN: '0xd4937682df3C8aEF4FE912A96A74121C0829E664', - S_TOKEN: '0x3916e3B6c84b161df1b2733dFfc9569a1dA710c2', V_TOKEN: '0xfE8F19B17fFeF0fDbfe2671F248903055AFAA8Ca', INTEREST_RATE_STRATEGY: '0x2Ce27f7a2DC17614421b9229158DE54A56d013E8', ORACLE: '0x1f7e2ccd6702a5c587160390A52111aF6020ac92', }, FEI: { - UNDERLYING: '0x956F47F50A910163D8BF957Cf5846D573E7f87CA', decimals: 18, + id: 30, + UNDERLYING: '0x956F47F50A910163D8BF957Cf5846D573E7f87CA', A_TOKEN: '0x683923dB55Fead99A79Fa01A27EeC3cB19679cC3', - S_TOKEN: '0xd89cF9E8A858F8B4b31Faf793505e112d6c17449', V_TOKEN: '0xC2e10006AccAb7B45D9184FcF5b7EC7763f5BaAe', INTEREST_RATE_STRATEGY: '0x795dC59EA6472Dfa4298A454C6E8Dcb005643A13', ORACLE: '0xac3AF0f4A52C577Cc2C241dF51a01FDe3D06D93B', }, stETH: { - UNDERLYING: '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84', decimals: 18, + id: 31, + UNDERLYING: '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84', A_TOKEN: '0x1982b2F5814301d4e9a8b0201555376e62F82428', - S_TOKEN: '0x66457616Dd8489dF5D0AFD8678F4A260088aAF55', V_TOKEN: '0xA9DEAc9f00Dc4310c35603FCD9D34d1A750f81Db', INTEREST_RATE_STRATEGY: '0xff04ed5f7a6C3a0F1e5Ea20617F8C6f513D5A77c', ORACLE: '0xADE6CBA6c45aa8E9d0337cAc3D2619eabc39D901', }, ENS: { - UNDERLYING: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', decimals: 18, + id: 32, + UNDERLYING: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', A_TOKEN: '0x9a14e23A58edf4EFDcB360f68cd1b95ce2081a2F', - S_TOKEN: '0x34441FFD1948E49dC7a607882D0c38Efd0083815', V_TOKEN: '0x176808047cc9b7A2C9AE202c593ED42dDD7C0D13', INTEREST_RATE_STRATEGY: '0x6855E5544Cd803BF24c9612b3F12C009116B0ee1', ORACLE: '0xd4641b75015E6536E8102D98479568D05D7123Db', }, UST: { - UNDERLYING: '0xa693B19d2931d498c5B318dF961919BB4aee87a5', decimals: 6, + id: 33, + UNDERLYING: '0xa693B19d2931d498c5B318dF961919BB4aee87a5', A_TOKEN: '0xc2e2152647F4C26028482Efaf64b2Aa28779EFC4', - S_TOKEN: '0x7FDbfB0412700D94403c42cA3CAEeeA183F07B26', V_TOKEN: '0xaf32001cf2E66C4C3af4205F6EA77112AA4160FE', INTEREST_RATE_STRATEGY: '0xc83cDb49F234EC6666D7857B3EAa1302b109394C', ORACLE: '0x51d08b4912d33d051b57d784c7CAfC0cD42c0f45', }, CVX: { - UNDERLYING: '0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B', decimals: 18, + id: 34, + UNDERLYING: '0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B', A_TOKEN: '0x952749E07d7157bb9644A894dFAF3Bad5eF6D918', - S_TOKEN: '0xB01Eb1cE1Da06179136D561766fc2d609C5F55Eb', V_TOKEN: '0x4Ae5E4409C6Dbc84A00f9f89e4ba096603fb7d50', INTEREST_RATE_STRATEGY: '0x2c206fa2127aB7f1CE3dc987daf683Ed5B9CF069', ORACLE: '0xC9CbF687f43176B302F03f5e58470b77D07c61c6', }, ONE_INCH: { - UNDERLYING: '0x111111111117dC0aa78b770fA6A738034120C302', decimals: 18, + id: 35, + UNDERLYING: '0x111111111117dC0aa78b770fA6A738034120C302', A_TOKEN: '0xB29130CBcC3F791f077eAdE0266168E808E5151e', - S_TOKEN: '0x1278d6ED804d59d2d18a5Aa5638DfD591A79aF0a', V_TOKEN: '0xD7896C1B9b4455aFf31473908eB15796ad2295DA', INTEREST_RATE_STRATEGY: '0x6855E5544Cd803BF24c9612b3F12C009116B0ee1', ORACLE: '0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8', }, LUSD: { - UNDERLYING: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', decimals: 18, + id: 36, + UNDERLYING: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', A_TOKEN: '0xce1871f791548600cb59efbefFC9c38719142079', - S_TOKEN: '0x39f010127274b2dBdB770B45e1de54d974974526', V_TOKEN: '0x411066489AB40442d6Fc215aD7c64224120D33F2', INTEREST_RATE_STRATEGY: '0xe706615371Ba37a3134FEb28D0b4Aac74e5976bb', ORACLE: '0x3a1b874ec865c466046cf131516d26Cc228dF0b3', diff --git a/src/ts/AaveV2EthereumAMM.ts b/src/ts/AaveV2EthereumAMM.ts index 824dabb0..8ea13519 100644 --- a/src/ts/AaveV2EthereumAMM.ts +++ b/src/ts/AaveV2EthereumAMM.ts @@ -23,6 +23,9 @@ export const LENDING_RATE_ORACLE = '0x8A32f49FFbA88aba6EFF96F45D8BD1D4b3f35c7D'; // IAaveProtocolDataProvider https://etherscan.io/address/0xc443AD9DDE3cecfB9dfC5736578f447aFE3590ba export const AAVE_PROTOCOL_DATA_PROVIDER = '0xc443AD9DDE3cecfB9dfC5736578f447aFE3590ba'; +// https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 +export const LENDING_POOL_COLLATERAL_MANAGER = '0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3'; + // https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A export const POOL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; @@ -32,9 +35,6 @@ export const EMERGENCY_ADMIN = '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633'; // ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; -// https://etherscan.io/address/0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3 -export const LENDING_POOL_COLLATERAL_MANAGER = '0x368e6441bB27159c6e8e6d3bbd9147BEcBA915E3'; - // https://etherscan.io/address/0xcfC26009618ec2Ca8787180116a37Caa354a465C export const CONFIG_ENGINE = '0xcfC26009618ec2Ca8787180116a37Caa354a465C'; @@ -62,208 +62,208 @@ export const WETH_GATEWAY = '0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC'; export const CHAIN_ID = 1; export const ASSETS = { WETH: { - UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', decimals: 18, + id: 0, + UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', A_TOKEN: '0xf9Fb4AD91812b704Ba883B11d2B576E890a6730A', - S_TOKEN: '0x118Ee405c6be8f9BA7cC7a98064EB5DA462235CF', V_TOKEN: '0xA4C273d9A0C1fe2674F0E845160d6232768a3064', INTEREST_RATE_STRATEGY: '0xdb838A27f91b112D722c854636F2c23720ea007E', ORACLE: '0x0000000000000000000000000000000000000000', }, DAI: { - UNDERLYING: '0x6B175474E89094C44Da98b954EedeAC495271d0F', decimals: 18, + id: 1, + UNDERLYING: '0x6B175474E89094C44Da98b954EedeAC495271d0F', A_TOKEN: '0x79bE75FFC64DD58e66787E4Eae470c8a1FD08ba4', - S_TOKEN: '0x8da51a5a3129343468a63A96ccae1ff1352a3dfE', V_TOKEN: '0x3F4fA4937E72991367DC32687BC3278f095E7EAa', INTEREST_RATE_STRATEGY: '0xA57cDBfE9FA29Ad842f53100d68789999c04AA36', ORACLE: '0xd486FE27AAB0b3CAd1462D767292dd7a84F06E58', }, USDC: { - UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', decimals: 6, + id: 2, + UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', A_TOKEN: '0xd24946147829DEaA935bE2aD85A3291dbf109c80', - S_TOKEN: '0xE5971a8a741892F3b3ac3E9c94d02588190cE220', V_TOKEN: '0xCFDC74b97b69319683fec2A4Ef95c4Ab739F1B12', INTEREST_RATE_STRATEGY: '0xA57cDBfE9FA29Ad842f53100d68789999c04AA36', ORACLE: '0x9f2817536Cfd48BF59243d9D8802a5670F5Be05d', }, USDT: { - UNDERLYING: '0xdAC17F958D2ee523a2206206994597C13D831ec7', decimals: 6, + id: 3, + UNDERLYING: '0xdAC17F958D2ee523a2206206994597C13D831ec7', A_TOKEN: '0x17a79792Fe6fE5C95dFE95Fe3fCEE3CAf4fE4Cb7', - S_TOKEN: '0x04A0577a89E1b9E8f6c87ee26cCe6a168fFfC5b5', V_TOKEN: '0xDcFE9BfC246b02Da384de757464a35eFCa402797', INTEREST_RATE_STRATEGY: '0x2223cd25f60F3e4035fcEfE44612773AFEbFd8ab', ORACLE: '0xEfF57B0c8987eea8C491bdDD2F64c1c21297Cf74', }, WBTC: { - UNDERLYING: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', decimals: 8, + id: 4, + UNDERLYING: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', A_TOKEN: '0x13B2f6928D7204328b0E8E4BCd0379aA06EA21FA', - S_TOKEN: '0x55E575d092c934503D7635A837584E2900e01d2b', V_TOKEN: '0x3b99fdaFdfE70d65101a4ba8cDC35dAFbD26375f', INTEREST_RATE_STRATEGY: '0xd102F58BF7B2509A2d8664be7C4A90102526B5c6', ORACLE: '0xFD858c8bC5ac5e10f01018bC78471bb0DC392247', }, UNI_DAI_WETH: { - UNDERLYING: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11', decimals: 18, + id: 5, + UNDERLYING: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11', A_TOKEN: '0x9303EabC860a743aABcc3A1629014CaBcc3F8D36', - S_TOKEN: '0xE9562bf0A11315A1e39f9182F446eA58002f010E', V_TOKEN: '0x23bcc861b989762275165d08B127911F09c71628', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x66A6b87A18DB78086acda75b7720DC47CdABcC05', }, UNI_WBTC_WETH: { - UNDERLYING: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940', decimals: 18, + id: 6, + UNDERLYING: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940', A_TOKEN: '0xc58F53A8adff2fB4eb16ED56635772075E2EE123', - S_TOKEN: '0xeef7d082D9bE2F5eC73C072228706286dea1f492', V_TOKEN: '0x02aAeB4C7736177242Ee0f71f6f6A0F057Aba87d', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x7004BB6F2013F13C54899309cCa029B49707E547', }, UNI_AAVE_WETH: { - UNDERLYING: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f', decimals: 18, + id: 7, + UNDERLYING: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f', A_TOKEN: '0xe59d2FF6995a926A574390824a657eEd36801E55', - S_TOKEN: '0x997b26eFf106f138e71160022CaAb0AFC5814643', V_TOKEN: '0x859ED7D9E92d1fe42fF95C3BC3a62F7cB59C373E', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0xB525547968610395B60085bDc8033FFeaEaa5F64', }, UNI_BAT_WETH: { - UNDERLYING: '0xB6909B960DbbE7392D405429eB2b3649752b4838', decimals: 18, + id: 8, + UNDERLYING: '0xB6909B960DbbE7392D405429eB2b3649752b4838', A_TOKEN: '0xA1B0edF4460CC4d8bFAA18Ed871bFF15E5b57Eb4', - S_TOKEN: '0x27c67541a4ea26a436e311b2E6fFeC82083a6983', V_TOKEN: '0x3Fbef89A21Dc836275bC912849627b33c61b09b4', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0xB394D8a1CE721630Cbea8Ec110DCEf0D283EDE3a', }, UNI_DAI_USDC: { - UNDERLYING: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5', decimals: 18, + id: 9, + UNDERLYING: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5', A_TOKEN: '0xE340B25fE32B1011616bb8EC495A4d503e322177', - S_TOKEN: '0x6Bb2BdD21920FcB2Ad855AB5d523222F31709d1f', V_TOKEN: '0x925E3FDd927E20e33C3177C4ff6fb72aD1133C87', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x3B148Fa5E8297DB64262442052b227328730EA81', }, UNI_CRV_WETH: { - UNDERLYING: '0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE', decimals: 18, + id: 10, + UNDERLYING: '0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE', A_TOKEN: '0x0ea20e7fFB006d4Cfe84df2F72d8c7bD89247DB0', - S_TOKEN: '0xd6035f8803eE9f173b1D3EBc3BDE0Ea6B5165636', V_TOKEN: '0xF3f1a76cA6356a908CdCdE6b2AC2eaace3739Cd0', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x10F7078e2f29802D2AC78045F61A69aE0883535A', }, UNI_LINK_WETH: { - UNDERLYING: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974', decimals: 18, + id: 11, + UNDERLYING: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974', A_TOKEN: '0xb8db81B84d30E2387de0FF330420A4AAA6688134', - S_TOKEN: '0xeb32b3A1De9a1915D2b452B673C53883b9Fa6a97', V_TOKEN: '0xeDe4052ed8e1F422F4E5062c679f6B18693fEcdc', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x30adCEfA5d483284FD79E1eFd54ED3e0A8eaA632', }, UNI_MKR_WETH: { - UNDERLYING: '0xC2aDdA861F89bBB333c90c492cB837741916A225', decimals: 18, + id: 12, + UNDERLYING: '0xC2aDdA861F89bBB333c90c492cB837741916A225', A_TOKEN: '0x370adc71f67f581158Dc56f539dF5F399128Ddf9', - S_TOKEN: '0x6E7E38bB73E19b62AB5567940Caaa514e9d85982', V_TOKEN: '0xf36C394775285F89bBBDF09533421E3e81e8447c', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0xEBF4A448ff3D835F8FA883941a3E9D5E74B40B5E', }, UNI_REN_WETH: { - UNDERLYING: '0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c', decimals: 18, + id: 13, + UNDERLYING: '0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c', A_TOKEN: '0xA9e201A4e269d6cd5E9F0FcbcB78520cf815878B', - S_TOKEN: '0x312edeADf68E69A0f53518bF27EAcD1AbcC2897e', V_TOKEN: '0x2A8d5B1c1de15bfcd5EC41368C0295c60D8Da83c', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0xe2f7C06906A9dB063C28EB5c71B6Ab454e5222dD', }, UNI_SNX_WETH: { - UNDERLYING: '0x43AE24960e5534731Fc831386c07755A2dc33D47', decimals: 18, + id: 14, + UNDERLYING: '0x43AE24960e5534731Fc831386c07755A2dc33D47', A_TOKEN: '0x38E491A71291CD43E8DE63b7253E482622184894', - S_TOKEN: '0xef62A0C391D89381ddf8A8C90Ba772081107D287', V_TOKEN: '0xfd15008efA339A2390B48d2E0Ca8Abd523b406d3', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x29bfee7E90572Abf1088a58a145a10D051b78E46', }, UNI_UNI_WETH: { - UNDERLYING: '0xd3d2E2692501A5c9Ca623199D38826e513033a17', decimals: 18, + id: 15, + UNDERLYING: '0xd3d2E2692501A5c9Ca623199D38826e513033a17', A_TOKEN: '0x3D26dcd840fCC8e4B2193AcE8A092e4a65832F9f', - S_TOKEN: '0x6febCE732191Dc915D6fB7Dc5FE3AEFDDb85Bd1B', V_TOKEN: '0x0D878FbB01fbEEa7ddEFb896d56f1D3167af919F', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0xC2E93e8121237A885A00627975eB06C7BF9808d6', }, UNI_USDC_WETH: { - UNDERLYING: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc', decimals: 18, + id: 16, + UNDERLYING: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc', A_TOKEN: '0x391E86e2C002C70dEe155eAceB88F7A3c38f5976', - S_TOKEN: '0xfAB4C9775A4316Ec67a8223ecD0F70F87fF532Fc', V_TOKEN: '0x26625d1dDf520fC8D975cc68eC6E0391D9d3Df61', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x71c4a2173CE3620982DC8A7D870297533360Da4E', }, UNI_WBTC_USDC: { - UNDERLYING: '0x004375Dff511095CC5A197A54140a24eFEF3A416', decimals: 18, + id: 17, + UNDERLYING: '0x004375Dff511095CC5A197A54140a24eFEF3A416', A_TOKEN: '0x2365a4890eD8965E564B7E2D27C38Ba67Fec4C6F', - S_TOKEN: '0xc66bfA05cCe646f05F71DeE333e3229cE24Bbb7e', V_TOKEN: '0x36dA0C5dC23397CBf9D13BbD74E93C04f99633Af', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x11f4ba2227F21Dc2A9F0b0e6Ea740369d580a212', }, UNI_YFI_WETH: { - UNDERLYING: '0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28', decimals: 18, + id: 18, + UNDERLYING: '0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28', A_TOKEN: '0x5394794Be8b6eD5572FCd6b27103F46b5F390E8f', - S_TOKEN: '0x9B054B76d6DE1c4892ba025456A9c4F9be5B1766', V_TOKEN: '0xDf70Bdf01a3eBcd0D918FF97390852A914a92Df7', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x664223b8Bb0934aE0970e601F452f75AaCe9Aa2A', }, BPT_WBTC_WETH: { - UNDERLYING: '0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5', decimals: 18, + id: 19, + UNDERLYING: '0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5', A_TOKEN: '0x358bD0d980E031E23ebA9AA793926857703783BD', - S_TOKEN: '0x46406eCd20FDE1DF4d80F15F07c434fa95CB6b33', V_TOKEN: '0xF655DF3832859cfB0AcfD88eDff3452b9Aa6Db24', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x4CA8D8fC2b4fCe8A2dcB71Da884bba042d48E067', }, BPT_BAL_WETH: { - UNDERLYING: '0x59A19D8c652FA0284f44113D0ff9aBa70bd46fB4', decimals: 18, + id: 20, + UNDERLYING: '0x59A19D8c652FA0284f44113D0ff9aBa70bd46fB4', A_TOKEN: '0xd109b2A304587569c84308c55465cd9fF0317bFB', - S_TOKEN: '0x6474d116476b8eDa1B21472a599Ff76A829AbCbb', V_TOKEN: '0xF41A5Cc7a61519B08056176d7B4b87AB34dF55AD', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x2e4e78936b100be6Ef85BCEf7FB25bC770B02B85', }, GUNI_DAI_USDC: { - UNDERLYING: '0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e', decimals: 18, + id: 21, + UNDERLYING: '0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e', A_TOKEN: '0xd145c6ae8931ed5Bca9b5f5B7dA5991F5aB63B5c', - S_TOKEN: '0x460Fd61bBDe7235C3F345901ad677854c9330c86', V_TOKEN: '0x40533CC601Ec5b79B00D76348ADc0c81d93d926D', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x7843eA2E3e60b24cc12B56C5627Adc7F9f0749D6', }, GUNI_USDC_USDT: { - UNDERLYING: '0xD2eeC91055F07fE24C9cCB25828ecfEFd4be0c41', decimals: 18, + id: 22, + UNDERLYING: '0xD2eeC91055F07fE24C9cCB25828ecfEFd4be0c41', A_TOKEN: '0xCa5DFDABBfFD58cfD49A9f78Ca52eC8e0591a3C5', - S_TOKEN: '0xFEaeCde9Eb0cd43FDE13427C6C7ef406780a8136', V_TOKEN: '0x0B7c7d9c5548A23D0455d1edeC541cc2AD955a9d', INTEREST_RATE_STRATEGY: '0x52E39422cd86a12a13773D86af5FdBF5665989aD', ORACLE: '0x399e3bb2BBd49c570aa6edc6ac390E0D0aCbbD5e', diff --git a/src/ts/AaveV2EthereumArc.ts b/src/ts/AaveV2EthereumArc.ts index 3eeab394..01b6c751 100644 --- a/src/ts/AaveV2EthereumArc.ts +++ b/src/ts/AaveV2EthereumArc.ts @@ -23,6 +23,9 @@ export const LENDING_RATE_ORACLE = '0xfA3c34d734fe0106C87917683ca45dffBe3b3B00'; // IAaveProtocolDataProvider https://etherscan.io/address/0x71B53fC437cCD988b1b89B1D4605c3c3d0C810ea export const AAVE_PROTOCOL_DATA_PROVIDER = '0x71B53fC437cCD988b1b89B1D4605c3c3d0C810ea'; +// https://etherscan.io/address/0x837696219C9a3775a856BEBC02DB1fA918C8a46e +export const LENDING_POOL_COLLATERAL_MANAGER = '0x837696219C9a3775a856BEBC02DB1fA918C8a46e'; + // https://etherscan.io/address/0xAce1d11d836cb3F51Ef658FD4D353fFb3c301218 export const POOL_ADMIN = '0xAce1d11d836cb3F51Ef658FD4D353fFb3c301218'; @@ -32,11 +35,45 @@ export const EMERGENCY_ADMIN = '0x33B09130b035d6D7e57d76fEa0873d9545FA7557'; // ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; -// https://etherscan.io/address/0x837696219C9a3775a856BEBC02DB1fA918C8a46e -export const LENDING_POOL_COLLATERAL_MANAGER = '0x837696219C9a3775a856BEBC02DB1fA918C8a46e'; - // https://etherscan.io/address/0xF4a1F5fEA79C3609514A417425971FadC10eCfBE export const PERMISSION_MANAGER = '0xF4a1F5fEA79C3609514A417425971FadC10eCfBE'; export const CHAIN_ID = 1; -export const ASSETS = {} as const; +export const ASSETS = { + USDC: { + decimals: 6, + id: 0, + UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + A_TOKEN: '0xd35f648C3C7f17cd1Ba92e5eac991E3EfcD4566d', + V_TOKEN: '0xe8D876034F96081063cD57Cd87b94a156b4E03E1', + INTEREST_RATE_STRATEGY: '0x81D7Bb11D682005B3Fca0Ef48381263BeC9b2d1C', + ORACLE: '0x986b5E1e1755e3C2440e960477f25201B0a8bbD4', + }, + WBTC: { + decimals: 8, + id: 1, + UNDERLYING: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', + A_TOKEN: '0xe6d6E7dA65A2C18109Ff56B7CBBdc7B706Fc13F8', + V_TOKEN: '0xc371FB4513c23Fc962fe23B12cFBD75E1D37ED91', + INTEREST_RATE_STRATEGY: '0x1205ACe6831E5518E00A16f1820cD73ce198bEF6', + ORACLE: '0xdeb288F737066589598e9214E782fa5A8eD689e8', + }, + WETH: { + decimals: 18, + id: 2, + UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', + A_TOKEN: '0x319190E3Bbc595602A9E63B2bCfB61c6634355b1', + V_TOKEN: '0x932167279A4ed3b879bA7eDdC85Aa83551f3989D', + INTEREST_RATE_STRATEGY: '0xC2B0945C6D0A842eC2a1345f08c4ef2060452B6A', + ORACLE: '0x0000000000000000000000000000000000000000', + }, + AAVE: { + decimals: 18, + id: 3, + UNDERLYING: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', + A_TOKEN: '0x89eFaC495C65d43619c661df654ec64fc10C0A75', + V_TOKEN: '0x0ac4c7790BC96923b71BfCee44a6923fd085E0c8', + INTEREST_RATE_STRATEGY: '0x5E4b5f5eb05E244632e0eA584525F11Dd03f5B38', + ORACLE: '0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012', + }, +} as const; diff --git a/src/ts/AaveV2Fuji.ts b/src/ts/AaveV2Fuji.ts index 998faa49..b98bf615 100644 --- a/src/ts/AaveV2Fuji.ts +++ b/src/ts/AaveV2Fuji.ts @@ -23,6 +23,9 @@ export const LENDING_RATE_ORACLE = '0x76Ec7c83aCb6af821E61F1DF1E0aBE684Bc904F8'; // IAaveProtocolDataProvider https://testnet.snowtrace.io/address/0x0668EDE013c1c475724523409b8B6bE633469585 export const AAVE_PROTOCOL_DATA_PROVIDER = '0x0668EDE013c1c475724523409b8B6bE633469585'; +// https://testnet.snowtrace.io/address/0x007bbD6A554E27EcdA1D10b40974eb7478799EcB +export const LENDING_POOL_COLLATERAL_MANAGER = '0x007bbD6A554E27EcdA1D10b40974eb7478799EcB'; + // https://testnet.snowtrace.io/address/0x1128d177BdaA74Ae68EB06e693f4CbA6BF427a5e export const POOL_ADMIN = '0x1128d177BdaA74Ae68EB06e693f4CbA6BF427a5e'; @@ -38,9 +41,6 @@ export const DEFAULT_INCENTIVES_CONTROLLER = '0xa1EF206fb9a8D8186157FC817fCddcC4 // https://testnet.snowtrace.io/address/0x3b60cABB2C0e9ADe3e364b1F9752342A5D6079e2 export const EMISSION_MANAGER = '0x3b60cABB2C0e9ADe3e364b1F9752342A5D6079e2'; -// https://testnet.snowtrace.io/address/0x007bbD6A554E27EcdA1D10b40974eb7478799EcB -export const LENDING_POOL_COLLATERAL_MANAGER = '0x007bbD6A554E27EcdA1D10b40974eb7478799EcB'; - // https://testnet.snowtrace.io/address/0x90E5BAc5A98fff59617080848959f44eACB4Cd7B export const FAUCET = '0x90E5BAc5A98fff59617080848959f44eACB4Cd7B'; @@ -62,37 +62,37 @@ export const WETH_GATEWAY = '0x1648C14DbB6ccdd5846969cE23DeEC4C66a03335'; export const CHAIN_ID = 43113; export const ASSETS = { WETH: { - UNDERLYING: '0x9668f5f55f2712Dd2dfa316256609b516292D554', decimals: 18, + id: 0, + UNDERLYING: '0x9668f5f55f2712Dd2dfa316256609b516292D554', A_TOKEN: '0x2B2927e26b433D92fC598EE79Fa351d6591B8F95', - S_TOKEN: '0x056AaAc3aAf49d00C4fA10bCf9661D2371427ECB', V_TOKEN: '0xB61CC359E2133b8618cc0319F359F8CA1d3d2b33', INTEREST_RATE_STRATEGY: '0x79bA34079AA04E5d5b25C29df03A3736a8eC7817', ORACLE: '0x86d67c3D38D2bCeE722E601025C25a575021c6EA', }, USDT: { - UNDERLYING: '0x02823f9B469960Bb3b1de0B3746D4b95B7E35543', decimals: 6, + id: 1, + UNDERLYING: '0x02823f9B469960Bb3b1de0B3746D4b95B7E35543', A_TOKEN: '0x5f049c41aF3856cBc171F61FB04D58C1e7445f5F', - S_TOKEN: '0x8c5a8eB9dd4e029c1A5B9e740086eB6Cf4Ba7F13', V_TOKEN: '0x6422A7C91A48dD211BF6BdE1Db14d7734f9cbD69', INTEREST_RATE_STRATEGY: '0xC49F727470A367f29Bf4F55B53b4531a26E61E05', ORACLE: '0x7898AcCC83587C3C55116c5230C17a6Cd9C71bad', }, WBTC: { - UNDERLYING: '0x9C1DCacB57ADa1E9e2D3a8280B7cfC7EB936186F', decimals: 8, + id: 2, + UNDERLYING: '0x9C1DCacB57ADa1E9e2D3a8280B7cfC7EB936186F', A_TOKEN: '0xD5B516FDbfb7264676Fd4901B9dD3F707db68733', - S_TOKEN: '0x38A9d8f89Cf87FD4C50dd7B019b9af30c2540512', V_TOKEN: '0xbd0601970fE5b35649Fb92f292cde21f0f52eAE9', INTEREST_RATE_STRATEGY: '0xC58e46e20B11192Ecb90a8735362e3b633960bf5', ORACLE: '0x31CF013A08c6Ac228C94551d535d5BAfE19c602a', }, WAVAX: { - UNDERLYING: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c', decimals: 18, + id: 3, + UNDERLYING: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c', A_TOKEN: '0xf8C78Ba24DD965487f4472dfb280c46800a0c9B6', - S_TOKEN: '0xE1c2E4E85d34CAed5c29447135c3ADfaD30364f1', V_TOKEN: '0x333f38B8E76077539Cde1d50Fb5dE0AC6F7E6837', INTEREST_RATE_STRATEGY: '0xd720420A83FefC64aE9Ff776e5B36621D0989AB7', ORACLE: '0x5498BB86BC934c8D34FDA08E81D444153d0D06aD', diff --git a/src/ts/AaveV2Polygon.ts b/src/ts/AaveV2Polygon.ts index d1e8faf4..50415bca 100644 --- a/src/ts/AaveV2Polygon.ts +++ b/src/ts/AaveV2Polygon.ts @@ -23,6 +23,9 @@ export const LENDING_RATE_ORACLE = '0x17F73aEaD876CC4059089ff815EDA37052960dFB'; // IAaveProtocolDataProvider https://polygonscan.com/address/0x7551b5D2763519d4e37e8B81929D336De671d46d export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7551b5D2763519d4e37e8B81929D336De671d46d'; +// https://polygonscan.com/address/0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74 +export const LENDING_POOL_COLLATERAL_MANAGER = '0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74'; + // https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233 export const POOL_ADMIN = '0xDf7d0e6454DB638881302729F5ba99936EaAB233'; @@ -38,9 +41,6 @@ export const DEFAULT_INCENTIVES_CONTROLLER = '0x357D51124f59836DeD84c8a1730D72B7 // https://polygonscan.com/address/0x2bB25175d9B0F8965780209EB558Cc3b56cA6d32 export const EMISSION_MANAGER = '0x2bB25175d9B0F8965780209EB558Cc3b56cA6d32'; -// https://polygonscan.com/address/0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74 -export const LENDING_POOL_COLLATERAL_MANAGER = '0xAdDb96Fb6A795faf042DD25BD4710267C41D1F74'; - // https://polygonscan.com/address/0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4 export const DEBT_SWAP_ADAPTER = '0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4'; @@ -77,118 +77,118 @@ export const WETH_GATEWAY = '0xf1e6d4347105138B51E2bacA9A22fA228309ebB1'; export const CHAIN_ID = 137; export const ASSETS = { DAI: { - UNDERLYING: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', decimals: 18, + id: 0, + UNDERLYING: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', A_TOKEN: '0x27F8D03b3a2196956ED754baDc28D73be8830A6e', - S_TOKEN: '0x2238101B7014C279aaF6b408A284E49cDBd5DB55', V_TOKEN: '0x75c4d1Fb84429023170086f06E682DcbBF537b7d', INTEREST_RATE_STRATEGY: '0x5c9B09Bb260BCa51f4C5476013eE5949F2C4f397', ORACLE: '0x08EDd9E1DF3b0b8498864C60a2FD6cDb13148885', }, USDC: { - UNDERLYING: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', decimals: 6, + id: 1, + UNDERLYING: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', A_TOKEN: '0x1a13F4Ca1d028320A707D99520AbFefca3998b7F', - S_TOKEN: '0xdeb05676dB0DB85cecafE8933c903466Bf20C572', V_TOKEN: '0x248960A9d75EdFa3de94F7193eae3161Eb349a12', INTEREST_RATE_STRATEGY: '0xf98258ea0C095157c2c390E9f6d914847d7fbACf', ORACLE: '0xB611AA5E98112C7c3711Ca3a5187dC025B83C8e4', }, USDT: { - UNDERLYING: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', decimals: 6, + id: 2, + UNDERLYING: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', A_TOKEN: '0x60D55F02A771d515e077c9C2403a1ef324885CeC', - S_TOKEN: '0xe590cfca10e81FeD9B0e4496381f02256f5d2f61', V_TOKEN: '0x8038857FD47108A07d1f6Bf652ef1cBeC279A2f3', INTEREST_RATE_STRATEGY: '0xDC220F1d8EA6910BDBbb48c4AdFb7cE565500D08', ORACLE: '0xf840c80932908EF206056dF0882bC595e7150607', }, WBTC: { - UNDERLYING: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', decimals: 8, + id: 3, + UNDERLYING: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', A_TOKEN: '0x5c2ed810328349100A66B82b78a1791B101C9D61', - S_TOKEN: '0x2551B15dB740dB8348bFaDFe06830210eC2c2F13', V_TOKEN: '0xF664F50631A6f0D72ecdaa0e49b0c019Fa72a8dC', INTEREST_RATE_STRATEGY: '0xbbEA829b9E104733Cf69b6e96E7Ff810cBcfae38', ORACLE: '0xA338e0492B2F944E9F8C0653D3AD1484f2657a37', }, WETH: { - UNDERLYING: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', decimals: 18, + id: 4, + UNDERLYING: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', A_TOKEN: '0x28424507fefb6f7f8E9D3860F56504E4e5f5f390', - S_TOKEN: '0xc478cBbeB590C76b01ce658f8C4dda04f30e2C6f', V_TOKEN: '0xeDe17e9d79fc6f9fF9250D9EEfbdB88Cc18038b5', INTEREST_RATE_STRATEGY: '0x9C9f4C39952848FBA513d44B356c7855F504B1cd', ORACLE: '0x0000000000000000000000000000000000000000', }, WPOL: { - UNDERLYING: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', decimals: 18, + id: 5, + UNDERLYING: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', A_TOKEN: '0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4', - S_TOKEN: '0xb9A6E29fB540C5F1243ef643EB39b0AcbC2e68E3', V_TOKEN: '0x59e8E9100cbfCBCBAdf86b9279fa61526bBB8765', INTEREST_RATE_STRATEGY: '0x79715aB77F637C95a8c28804F56f98946B332851', ORACLE: '0x327e23A4855b6F663a28c5161541d69Af8973302', }, AAVE: { - UNDERLYING: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', decimals: 18, + id: 6, + UNDERLYING: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', A_TOKEN: '0x1d2a0E5EC8E5bBDCA5CB219e649B565d8e5c3360', - S_TOKEN: '0x17912140e780B29Ba01381F088f21E8d75F954F9', V_TOKEN: '0x1c313e9d0d826662F5CE692134D938656F681350', INTEREST_RATE_STRATEGY: '0xae9b3Eb616ed753dcE96C75B6AE30A60Ff9290B4', ORACLE: '0xbE23a3AA13038CfC28aFd0ECe4FdE379fE7fBfc4', }, GHST: { - UNDERLYING: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', decimals: 18, + id: 7, + UNDERLYING: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', A_TOKEN: '0x080b5BF8f360F624628E0fb961F4e67c9e3c7CF1', - S_TOKEN: '0x6A01Db46Ae51B19A6B85be38f1AA102d8735d05b', V_TOKEN: '0x36e988a38542C3482013Bb54ee46aC1fb1efedcd', INTEREST_RATE_STRATEGY: '0x964a4edc8009cA560dE2cCe1bA6300d48ecc203e', ORACLE: '0xe638249AF9642CdA55A92245525268482eE4C67b', }, BAL: { - UNDERLYING: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', decimals: 18, + id: 8, + UNDERLYING: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', A_TOKEN: '0xc4195D4060DaEac44058Ed668AA5EfEc50D77ff6', - S_TOKEN: '0xbC30bbe0472E0E86b6f395f9876B950A13B23923', V_TOKEN: '0x773E0e32e7b6a00b7cA9daa85dfba9D61B7f2574', INTEREST_RATE_STRATEGY: '0xd9b99ccEe49a285dE83d16e0CEA1b4044e233bBE', ORACLE: '0x03CD157746c61F44597dD54C6f6702105258C722', }, DPI: { - UNDERLYING: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', decimals: 18, + id: 9, + UNDERLYING: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', A_TOKEN: '0x81fB82aAcB4aBE262fc57F06fD4c1d2De347D7B1', - S_TOKEN: '0xA742710c0244a8Ebcf533368e3f0B956B6E53F7B', V_TOKEN: '0x43150AA0B7e19293D935A412C8607f9172d3d3f3', INTEREST_RATE_STRATEGY: '0x6405F880E431403588e92b241Ca15603047ef8a4', ORACLE: '0xC70aAF9092De3a4E5000956E672cDf5E996B4610', }, CRV: { - UNDERLYING: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', decimals: 18, + id: 10, + UNDERLYING: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', A_TOKEN: '0x3Df8f92b7E798820ddcCA2EBEA7BAbda2c90c4aD', - S_TOKEN: '0x807c97744e6C9452e7C2914d78f49d171a9974a0', V_TOKEN: '0x780BbcBCda2cdb0d2c61fd9BC68c9046B18f3229', INTEREST_RATE_STRATEGY: '0xE66886B0e34Dc1C40B2d7BB1ff9137339648deEa', ORACLE: '0x1CF68C76803c9A415bE301f50E82e44c64B7F1D4', }, SUSHI: { - UNDERLYING: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', decimals: 18, + id: 11, + UNDERLYING: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', A_TOKEN: '0x21eC9431B5B55c5339Eb1AE7582763087F98FAc2', - S_TOKEN: '0x7Ed588DCb30Ea11A54D8a5E9645960262A97cd54', V_TOKEN: '0x9CB9fEaFA73bF392C905eEbf5669ad3d073c3DFC', INTEREST_RATE_STRATEGY: '0x835699Bf98f6a7fDe5713c42c118Fb80fA059737', ORACLE: '0x17414Eb5159A082e8d41D243C1601c2944401431', }, LINK: { - UNDERLYING: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', decimals: 18, + id: 12, + UNDERLYING: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', A_TOKEN: '0x0Ca2e42e8c21954af73Bc9af1213E4e81D6a669A', - S_TOKEN: '0x9fb7F546E60DDFaA242CAeF146FA2f4172088117', V_TOKEN: '0xCC71e4A38c974e19bdBC6C0C19b63b8520b1Bb09', INTEREST_RATE_STRATEGY: '0xE41515721DF4c6eb221d6Ed25e9Ebe0108e822aA', ORACLE: '0xb77fa460604b9C6435A235D057F7D319AC83cb53', diff --git a/src/ts/AaveV3Arbitrum.ts b/src/ts/AaveV3Arbitrum.ts index 0af6740a..da81ba70 100644 --- a/src/ts/AaveV3Arbitrum.ts +++ b/src/ts/AaveV3Arbitrum.ts @@ -5,45 +5,45 @@ export const POOL_ADDRESSES_PROVIDER = '0xa97684ead0e402dC232d5A977953DF7ECBaB3C // IPool https://arbiscan.io/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD export const POOL = '0x794a61358D6845594F94dc1DB02A252b5b4814aD'; -// https://arbiscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 -export const POOL_IMPL = '0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4'; - // IPoolConfigurator https://arbiscan.io/address/0x8145eddDf43f50276641b55bd3AD95944510021E export const POOL_CONFIGURATOR = '0x8145eddDf43f50276641b55bd3AD95944510021E'; -// https://arbiscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://arbiscan.io/address/0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7 export const ORACLE = '0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7'; // https://arbiscan.io/address/0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b export const PRICE_ORACLE_SENTINEL = '0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b'; -// IPoolDataProvider https://arbiscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; +// https://arbiscan.io/address/0xFF1137243698CaA18EE364Cc966CF0e02A4e6327 +export const ACL_ADMIN = '0xFF1137243698CaA18EE364Cc966CF0e02A4e6327'; // IACLManager https://arbiscan.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B'; -// https://arbiscan.io/address/0xFF1137243698CaA18EE364Cc966CF0e02A4e6327 -export const ACL_ADMIN = '0xFF1137243698CaA18EE364Cc966CF0e02A4e6327'; +// IPoolDataProvider https://arbiscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; -// ICollector https://arbiscan.io/address/0x053D55f9B5AF8694c503EB288a1B7E552f590710 -export const COLLECTOR = '0x053D55f9B5AF8694c503EB288a1B7E552f590710'; +// https://arbiscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 +export const POOL_IMPL = '0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4'; + +// https://arbiscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://arbiscan.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e export const DEFAULT_INCENTIVES_CONTROLLER = '0x929EC64c34a17401F460460D4B9390518E5B473e'; +// https://arbiscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 +export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; + +// ICollector https://arbiscan.io/address/0x053D55f9B5AF8694c503EB288a1B7E552f590710 +export const COLLECTOR = '0x053D55f9B5AF8694c503EB288a1B7E552f590710'; + // https://arbiscan.io/address/0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a export const DEFAULT_A_TOKEN_IMPL_REV_2 = '0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a'; // https://arbiscan.io/address/0x5E76E98E0963EcDC6A065d1435F84065b7523f39 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = '0x5E76E98E0963EcDC6A065d1435F84065b7523f39'; -// https://arbiscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 -export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; - // https://arbiscan.io/address/0xADf86b537eF08591c2777E144322E8b0Ca7E82a7 export const CAPS_PLUS_RISK_STEWARD = '0xADf86b537eF08591c2777E144322E8b0Ca7E82a7'; @@ -99,6 +99,7 @@ export const CHAIN_ID = 42161; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', A_TOKEN: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', V_TOKEN: '0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC', @@ -108,6 +109,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', A_TOKEN: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', V_TOKEN: '0x953A573793604aF8d41F306FEb8274190dB4aE0e', @@ -117,6 +119,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', A_TOKEN: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', V_TOKEN: '0xFCCf3cAbbe80101232d343252614b6A3eE81C989', @@ -126,6 +129,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', A_TOKEN: '0x078f358208685046a11C85e8ad32895DED33A249', V_TOKEN: '0x92b42c66840C7AD907b4BF74879FF3eF7c529473', @@ -135,6 +139,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351', @@ -144,6 +149,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 5, UNDERLYING: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', A_TOKEN: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', V_TOKEN: '0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7', @@ -153,6 +159,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0xba5DdD1f9d7F570dc94a51479a000E3BCE967196', A_TOKEN: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', V_TOKEN: '0xE80761Ea617F66F96274eA5e8c37f03960ecC679', @@ -162,6 +169,7 @@ export const ASSETS = { }, EURS: { decimals: 2, + id: 7, UNDERLYING: '0xD22a58f79e9481D1a88e00c343885A588b34b68B', A_TOKEN: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', V_TOKEN: '0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8', @@ -171,6 +179,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 8, UNDERLYING: '0x5979D7b546E38E414F7E9822514be443A4800529', A_TOKEN: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', V_TOKEN: '0x77CA01483f379E58174739308945f044e1a764dc', @@ -180,6 +189,7 @@ export const ASSETS = { }, MAI: { decimals: 18, + id: 9, UNDERLYING: '0x3F56e0c36d275367b8C502090EDF38289b3dEa0d', A_TOKEN: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', V_TOKEN: '0x34e2eD44EF7466D5f9E0b782B5c08b57475e7907', @@ -189,6 +199,7 @@ export const ASSETS = { }, rETH: { decimals: 18, + id: 10, UNDERLYING: '0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8', A_TOKEN: '0x8Eb270e296023E9D92081fdF967dDd7878724424', V_TOKEN: '0xCE186F6Cccb0c955445bb9d10C59caE488Fea559', @@ -198,6 +209,7 @@ export const ASSETS = { }, LUSD: { decimals: 18, + id: 11, UNDERLYING: '0x93b346b6BC2548dA6A1E7d98E9a421B42541425b', A_TOKEN: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', V_TOKEN: '0xA8669021776Bc142DfcA87c21b4A52595bCbB40a', @@ -207,6 +219,7 @@ export const ASSETS = { }, USDCn: { decimals: 6, + id: 12, UNDERLYING: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', A_TOKEN: '0x724dc807b04555b71ed48a6896b6F41593b8C637', V_TOKEN: '0xf611aEb5013fD2c0511c9CD55c7dc5C1140741A6', @@ -216,6 +229,7 @@ export const ASSETS = { }, FRAX: { decimals: 18, + id: 13, UNDERLYING: '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F', A_TOKEN: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', V_TOKEN: '0x5D557B07776D12967914379C71a1310e917C7555', @@ -225,6 +239,7 @@ export const ASSETS = { }, ARB: { decimals: 18, + id: 14, UNDERLYING: '0x912CE59144191C1204E64559FE8253a0e49E6548', A_TOKEN: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', V_TOKEN: '0x44705f578135cC5d703b4c9c122528C73Eb87145', @@ -234,6 +249,7 @@ export const ASSETS = { }, weETH: { decimals: 18, + id: 15, UNDERLYING: '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', A_TOKEN: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77', V_TOKEN: '0x3ca5FA07689F266e907439aFd1fBB59c44fe12f6', @@ -242,6 +258,7 @@ export const ASSETS = { }, GHO: { decimals: 18, + id: 16, UNDERLYING: '0x7dfF72693f6A4149b17e7C6314655f6A9F7c8B33', A_TOKEN: '0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D', V_TOKEN: '0x18248226C16BF76c032817854E7C83a2113B4f06', @@ -251,16 +268,45 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - STABLECOINS: 1, - ETH_CORRELATED: 2, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'Stablecoins', + collateralBitmap: '4261', + collateralAssets: [ + '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', + '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', + '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', + '0xD22a58f79e9481D1a88e00c343885A588b34b68B', + '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', + ], + borrowableBitmap: '4261', + borrowableAssets: [ + '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', + '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', + '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', + '0xD22a58f79e9481D1a88e00c343885A588b34b68B', + '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, + '2': { + label: 'ETH correlated', + collateralBitmap: '33040', + collateralAssets: [ + '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', + '0x5979D7b546E38E414F7E9822514be443A4800529', + '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', + ], + borrowableBitmap: '33040', + borrowableAssets: [ + '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', + '0x5979D7b546E38E414F7E9822514be443A4800529', + '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3ArbitrumSepolia.ts b/src/ts/AaveV3ArbitrumSepolia.ts index 7d758cda..5a04dc9a 100644 --- a/src/ts/AaveV3ArbitrumSepolia.ts +++ b/src/ts/AaveV3ArbitrumSepolia.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xB25a5D144626a0D488e52AE717A051a2E99970 // IPool https://sepolia.arbiscan.io/address/0xBfC91D59fdAA134A4ED45f7B584cAf96D7792Eff export const POOL = '0xBfC91D59fdAA134A4ED45f7B584cAf96D7792Eff'; -// https://sepolia.arbiscan.io/address/0x82405D1a189bd6cE4667809C35B37fBE136A4c5B -export const POOL_IMPL = '0x82405D1a189bd6cE4667809C35B37fBE136A4c5B'; - // IPoolConfigurator https://sepolia.arbiscan.io/address/0x8E4Bb46E6245a507F1a267ef488228B08c0dc664 export const POOL_CONFIGURATOR = '0x8E4Bb46E6245a507F1a267ef488228B08c0dc664'; -// https://sepolia.arbiscan.io/address/0x629A5a607aC4901252e4C48a0Fde156785598F5b -export const POOL_CONFIGURATOR_IMPL = '0x629A5a607aC4901252e4C48a0Fde156785598F5b'; - // IAaveOracle https://sepolia.arbiscan.io/address/0xEf95A6B9e88Bd509Fd67BA741cf2b263DaC65c00 export const ORACLE = '0xEf95A6B9e88Bd509Fd67BA741cf2b263DaC65c00'; -// IPoolDataProvider https://sepolia.arbiscan.io/address/0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01'; +// https://sepolia.arbiscan.io/address/0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005 +export const ACL_ADMIN = '0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005'; // IACLManager https://sepolia.arbiscan.io/address/0xB66f0fF09f256A73d2E2b5faF596b363A21a7D68 export const ACL_MANAGER = '0xB66f0fF09f256A73d2E2b5faF596b363A21a7D68'; -// https://sepolia.arbiscan.io/address/0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005 -export const ACL_ADMIN = '0xC08C599C22bfD4a729E33e1Ed9b49456Abad0005'; +// IPoolDataProvider https://sepolia.arbiscan.io/address/0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x12373B5085e3b42D42C1D4ABF3B3Cf4Df0E0Fa01'; -// ICollector https://sepolia.arbiscan.io/address/0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022 -export const COLLECTOR = '0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022'; +// https://sepolia.arbiscan.io/address/0x82405D1a189bd6cE4667809C35B37fBE136A4c5B +export const POOL_IMPL = '0x82405D1a189bd6cE4667809C35B37fBE136A4c5B'; + +// https://sepolia.arbiscan.io/address/0x629A5a607aC4901252e4C48a0Fde156785598F5b +export const POOL_CONFIGURATOR_IMPL = '0x629A5a607aC4901252e4C48a0Fde156785598F5b'; // https://sepolia.arbiscan.io/address/0x3A203B14CF8749a1e3b7314c6c49004B77Ee667A export const DEFAULT_INCENTIVES_CONTROLLER = '0x3A203B14CF8749a1e3b7314c6c49004B77Ee667A'; +// https://sepolia.arbiscan.io/address/0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185 +export const EMISSION_MANAGER = '0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185'; + +// ICollector https://sepolia.arbiscan.io/address/0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022 +export const COLLECTOR = '0xa0208CE8356ad6C5EC6dFb8996c9A6B828212022'; + // https://sepolia.arbiscan.io/address/0xc0Bac16A64FbAa7EE6483bD12a759e28cD13dcBe export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xc0Bac16A64FbAa7EE6483bD12a759e28cD13dcBe'; // https://sepolia.arbiscan.io/address/0x486C2D3F59E4d72f3cAa301a7eF19E3db657F5b0 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x486C2D3F59E4d72f3cAa301a7eF19E3db657F5b0'; -// https://sepolia.arbiscan.io/address/0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185 -export const EMISSION_MANAGER = '0x54E3aa872c3d2A89D1A6495F770f2cCa2C4Fc185'; - // https://sepolia.arbiscan.io/address/0x2E45e7dCD1e94d8edf1605FfF4602912FDC662bC export const L2_ENCODER = '0x2E45e7dCD1e94d8edf1605FfF4602912FDC662bC'; @@ -66,6 +66,7 @@ export const CHAIN_ID = 421614; export const ASSETS = { USDC: { decimals: 6, + id: 0, UNDERLYING: '0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d', A_TOKEN: '0x460b97BD498E1157530AEb3086301d5225b91216', V_TOKEN: '0x4fBE3A94C60A5085dA6a2D309965DcF34c36711d', @@ -74,6 +75,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 1, UNDERLYING: '0x1dF462e2712496373A347f8ad10802a5E95f053D', A_TOKEN: '0xf5f17EbE81E516Dc7cB38D61908EC252F150CE60', V_TOKEN: '0x372eB464296D8D78acaa462b41eaaf2D3663dAD3', @@ -81,6 +83,3 @@ export const ASSETS = { ORACLE: '0xd30e2101a97dcbAeBCBC04F14C3f624E67A35165', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; diff --git a/src/ts/AaveV3Avalanche.ts b/src/ts/AaveV3Avalanche.ts index 8abb3624..cf7a727d 100644 --- a/src/ts/AaveV3Avalanche.ts +++ b/src/ts/AaveV3Avalanche.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xa97684ead0e402dC232d5A977953DF7ECBaB3C // IPool https://snowtrace.io/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD export const POOL = '0x794a61358D6845594F94dc1DB02A252b5b4814aD'; -// https://snowtrace.io/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 -export const POOL_IMPL = '0x1f69d4700B34A1D9F92E55235df414FcC02A8306'; - // IPoolConfigurator https://snowtrace.io/address/0x8145eddDf43f50276641b55bd3AD95944510021E export const POOL_CONFIGURATOR = '0x8145eddDf43f50276641b55bd3AD95944510021E'; -// https://snowtrace.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://snowtrace.io/address/0xEBd36016B3eD09D4693Ed4251c67Bd858c3c7C9C export const ORACLE = '0xEBd36016B3eD09D4693Ed4251c67Bd858c3c7C9C'; -// IPoolDataProvider https://snowtrace.io/address/0x7F23D86Ee20D869112572136221e173428DD740B -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; +// https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090 +export const ACL_ADMIN = '0x3C06dce358add17aAf230f2234bCCC4afd50d090'; // IACLManager https://snowtrace.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B'; -// https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090 -export const ACL_ADMIN = '0x3C06dce358add17aAf230f2234bCCC4afd50d090'; +// IPoolDataProvider https://snowtrace.io/address/0x7F23D86Ee20D869112572136221e173428DD740B +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; -// ICollector https://snowtrace.io/address/0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0 -export const COLLECTOR = '0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0'; +// https://snowtrace.io/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 +export const POOL_IMPL = '0x1f69d4700B34A1D9F92E55235df414FcC02A8306'; + +// https://snowtrace.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://snowtrace.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e export const DEFAULT_INCENTIVES_CONTROLLER = '0x929EC64c34a17401F460460D4B9390518E5B473e'; +// https://snowtrace.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 +export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; + +// ICollector https://snowtrace.io/address/0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0 +export const COLLECTOR = '0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0'; + // https://snowtrace.io/address/0x1E81af09001aD208BDa68FF022544dB2102A752d export const DEFAULT_A_TOKEN_IMPL_REV_2 = '0x1E81af09001aD208BDa68FF022544dB2102A752d'; // https://snowtrace.io/address/0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = '0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24'; -// https://snowtrace.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 -export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; - // https://snowtrace.io/address/0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5 export const CAPS_PLUS_RISK_STEWARD = '0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5'; @@ -93,6 +93,7 @@ export const CHAIN_ID = 43114; export const ASSETS = { DAIe: { decimals: 18, + id: 0, UNDERLYING: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', A_TOKEN: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', V_TOKEN: '0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC', @@ -102,6 +103,7 @@ export const ASSETS = { }, LINKe: { decimals: 18, + id: 1, UNDERLYING: '0x5947BB275c521040051D82396192181b413227A3', A_TOKEN: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', V_TOKEN: '0x953A573793604aF8d41F306FEb8274190dB4aE0e', @@ -111,6 +113,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', A_TOKEN: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', V_TOKEN: '0xFCCf3cAbbe80101232d343252614b6A3eE81C989', @@ -120,6 +123,7 @@ export const ASSETS = { }, WBTCe: { decimals: 8, + id: 3, UNDERLYING: '0x50b7545627a5162F82A992c33b87aDc75187B218', A_TOKEN: '0x078f358208685046a11C85e8ad32895DED33A249', V_TOKEN: '0x92b42c66840C7AD907b4BF74879FF3eF7c529473', @@ -129,6 +133,7 @@ export const ASSETS = { }, WETHe: { decimals: 18, + id: 4, UNDERLYING: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351', @@ -138,6 +143,7 @@ export const ASSETS = { }, USDt: { decimals: 6, + id: 5, UNDERLYING: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', A_TOKEN: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', V_TOKEN: '0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7', @@ -147,6 +153,7 @@ export const ASSETS = { }, AAVEe: { decimals: 18, + id: 6, UNDERLYING: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', A_TOKEN: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', V_TOKEN: '0xE80761Ea617F66F96274eA5e8c37f03960ecC679', @@ -156,6 +163,7 @@ export const ASSETS = { }, WAVAX: { decimals: 18, + id: 7, UNDERLYING: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', A_TOKEN: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', V_TOKEN: '0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8', @@ -165,6 +173,7 @@ export const ASSETS = { }, sAVAX: { decimals: 18, + id: 8, UNDERLYING: '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE', A_TOKEN: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', V_TOKEN: '0x77CA01483f379E58174739308945f044e1a764dc', @@ -174,6 +183,7 @@ export const ASSETS = { }, FRAX: { decimals: 18, + id: 9, UNDERLYING: '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', A_TOKEN: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', V_TOKEN: '0x34e2eD44EF7466D5f9E0b782B5c08b57475e7907', @@ -183,6 +193,7 @@ export const ASSETS = { }, MAI: { decimals: 18, + id: 10, UNDERLYING: '0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b', A_TOKEN: '0x8Eb270e296023E9D92081fdF967dDd7878724424', V_TOKEN: '0xCE186F6Cccb0c955445bb9d10C59caE488Fea559', @@ -192,6 +203,7 @@ export const ASSETS = { }, BTCb: { decimals: 8, + id: 11, UNDERLYING: '0x152b9d0FdC40C096757F570A51E494bd4b943E50', A_TOKEN: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', V_TOKEN: '0xA8669021776Bc142DfcA87c21b4A52595bCbB40a', @@ -201,16 +213,43 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - STABLECOINS: 1, - AVAX_CORRELATED: 2, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'Stablecoins', + collateralBitmap: '1573', + collateralAssets: [ + '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', + '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', + '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', + '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', + '0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b', + ], + borrowableBitmap: '1573', + borrowableAssets: [ + '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', + '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', + '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', + '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', + '0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, + '2': { + label: 'AVAX correlated', + collateralBitmap: '384', + collateralAssets: [ + '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', + '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE', + ], + borrowableBitmap: '384', + borrowableAssets: [ + '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', + '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3BNB.ts b/src/ts/AaveV3BNB.ts index 219d2c88..4c48bbe5 100644 --- a/src/ts/AaveV3BNB.ts +++ b/src/ts/AaveV3BNB.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xff75B6da14FfbbfD355Daf7a2731456b3562Ba // IPool https://bscscan.com/address/0x6807dc923806fE8Fd134338EABCA509979a7e0cB export const POOL = '0x6807dc923806fE8Fd134338EABCA509979a7e0cB'; -// https://bscscan.com/address/0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4 -export const POOL_IMPL = '0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4'; - // IPoolConfigurator https://bscscan.com/address/0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584 export const POOL_CONFIGURATOR = '0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584'; -// https://bscscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://bscscan.com/address/0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697 export const ORACLE = '0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697'; -// IPoolDataProvider https://bscscan.com/address/0x23dF2a19384231aFD114b036C14b6b03324D79BC -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x23dF2a19384231aFD114b036C14b6b03324D79BC'; +// https://bscscan.com/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a +export const ACL_ADMIN = '0x9390B1735def18560c509E2d0bc090E9d6BA257a'; // IACLManager https://bscscan.com/address/0x2D97F8FA96886Fd923c065F5457F9DDd494e3877 export const ACL_MANAGER = '0x2D97F8FA96886Fd923c065F5457F9DDd494e3877'; -// https://bscscan.com/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a -export const ACL_ADMIN = '0x9390B1735def18560c509E2d0bc090E9d6BA257a'; +// IPoolDataProvider https://bscscan.com/address/0x23dF2a19384231aFD114b036C14b6b03324D79BC +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x23dF2a19384231aFD114b036C14b6b03324D79BC'; -// ICollector https://bscscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C -export const COLLECTOR = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; +// https://bscscan.com/address/0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4 +export const POOL_IMPL = '0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4'; + +// https://bscscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://bscscan.com/address/0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4 export const DEFAULT_INCENTIVES_CONTROLLER = '0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4'; +// https://bscscan.com/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85 +export const EMISSION_MANAGER = '0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85'; + +// ICollector https://bscscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C +export const COLLECTOR = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; + // https://bscscan.com/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x6c23bAF050ec192afc0B967a93b83e6c5405df43'; // https://bscscan.com/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x777fBA024bA1228fDa76149A4ff8B23475ed057D'; -// https://bscscan.com/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85 -export const EMISSION_MANAGER = '0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85'; - // https://bscscan.com/address/0x971F1C94b139AdEdedA729DA636e2B0C433Ff595 export const CAPS_PLUS_RISK_STEWARD = '0x971F1C94b139AdEdedA729DA636e2B0C433Ff595'; @@ -87,6 +87,7 @@ export const CHAIN_ID = 56; export const ASSETS = { Cake: { decimals: 18, + id: 0, UNDERLYING: '0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82', A_TOKEN: '0x4199CC1F5ed0d796563d7CcB2e036253E2C18281', V_TOKEN: '0xE20dBC7119c635B1B51462f844861258770e0699', @@ -96,6 +97,7 @@ export const ASSETS = { }, WBNB: { decimals: 18, + id: 1, UNDERLYING: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', A_TOKEN: '0x9B00a09492a626678E5A3009982191586C444Df9', V_TOKEN: '0x0E76414d433ddfe8004d2A7505d218874875a996', @@ -105,6 +107,7 @@ export const ASSETS = { }, BTCB: { decimals: 18, + id: 2, UNDERLYING: '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', A_TOKEN: '0x56a7ddc4e848EbF43845854205ad71D5D5F72d3D', V_TOKEN: '0x7b1E82F4f542fbB25D64c5523Fe3e44aBe4F2702', @@ -114,6 +117,7 @@ export const ASSETS = { }, ETH: { decimals: 18, + id: 3, UNDERLYING: '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', A_TOKEN: '0x2E94171493fAbE316b6205f1585779C887771E2F', V_TOKEN: '0x8FDea7891b4D6dbdc746309245B316aF691A636C', @@ -123,6 +127,7 @@ export const ASSETS = { }, USDC: { decimals: 18, + id: 4, UNDERLYING: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', A_TOKEN: '0x00901a076785e0906d1028c7d6372d247bec7d61', V_TOKEN: '0xcDBBEd5606d9c5C98eEedd67933991dC17F0c68d', @@ -132,6 +137,7 @@ export const ASSETS = { }, USDT: { decimals: 18, + id: 5, UNDERLYING: '0x55d398326f99059fF775485246999027B3197955', A_TOKEN: '0xa9251ca9DE909CB71783723713B21E4233fbf1B1', V_TOKEN: '0xF8bb2Be50647447Fb355e3a77b81be4db64107cd', @@ -141,6 +147,7 @@ export const ASSETS = { }, FDUSD: { decimals: 18, + id: 6, UNDERLYING: '0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409', A_TOKEN: '0x75bd1A659bdC62e4C313950d44A2416faB43E785', V_TOKEN: '0xE628B8a123e6037f1542e662B9F55141a16945C8', @@ -149,15 +156,5 @@ export const ASSETS = { STATIC_A_TOKEN: '0x4d074aAa0821073dA827f7bf6a02cF905b394ed0', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', -} as const; +export const E_MODES = {} as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3Base.ts b/src/ts/AaveV3Base.ts index df41145b..57a638e3 100644 --- a/src/ts/AaveV3Base.ts +++ b/src/ts/AaveV3Base.ts @@ -5,45 +5,45 @@ export const POOL_ADDRESSES_PROVIDER = '0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad6 // IPool https://basescan.org/address/0xA238Dd80C259a72e81d7e4664a9801593F98d1c5 export const POOL = '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5'; -// https://basescan.org/address/0xDea262629b7D28722Ad4189c515f93c996D2Cd72 -export const POOL_IMPL = '0xDea262629b7D28722Ad4189c515f93c996D2Cd72'; - // IPoolConfigurator https://basescan.org/address/0x5731a04B1E775f0fdd454Bf70f3335886e9A96be export const POOL_CONFIGURATOR = '0x5731a04B1E775f0fdd454Bf70f3335886e9A96be'; -// https://basescan.org/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://basescan.org/address/0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156 export const ORACLE = '0x2Cc0Fc26eD4563A5ce5e8bdcfe1A2878676Ae156'; // https://basescan.org/address/0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6 export const PRICE_ORACLE_SENTINEL = '0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6'; -// IPoolDataProvider https://basescan.org/address/0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad'; +// https://basescan.org/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a +export const ACL_ADMIN = '0x9390B1735def18560c509E2d0bc090E9d6BA257a'; // IACLManager https://basescan.org/address/0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33 export const ACL_MANAGER = '0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33'; -// https://basescan.org/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a -export const ACL_ADMIN = '0x9390B1735def18560c509E2d0bc090E9d6BA257a'; +// IPoolDataProvider https://basescan.org/address/0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad'; -// ICollector https://basescan.org/address/0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057 -export const COLLECTOR = '0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057'; +// https://basescan.org/address/0xDea262629b7D28722Ad4189c515f93c996D2Cd72 +export const POOL_IMPL = '0xDea262629b7D28722Ad4189c515f93c996D2Cd72'; + +// https://basescan.org/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://basescan.org/address/0xf9cc4F0D883F1a1eb2c253bdb46c254Ca51E1F44 export const DEFAULT_INCENTIVES_CONTROLLER = '0xf9cc4F0D883F1a1eb2c253bdb46c254Ca51E1F44'; +// https://basescan.org/address/0x6533A273F3aC84Df91DCD654D6EBAbA73687e246 +export const EMISSION_MANAGER = '0x6533A273F3aC84Df91DCD654D6EBAbA73687e246'; + +// ICollector https://basescan.org/address/0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057 +export const COLLECTOR = '0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057'; + // https://basescan.org/address/0x98F409Fc4A42F34AE3c326c7f48ED01ae8cAeC69 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x98F409Fc4A42F34AE3c326c7f48ED01ae8cAeC69'; // https://basescan.org/address/0x2425A746911128c2eAA7bEBDc9Bc452eE52208a1 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x2425A746911128c2eAA7bEBDc9Bc452eE52208a1'; -// https://basescan.org/address/0x6533A273F3aC84Df91DCD654D6EBAbA73687e246 -export const EMISSION_MANAGER = '0x6533A273F3aC84Df91DCD654D6EBAbA73687e246'; - // https://basescan.org/address/0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6 export const CAPS_PLUS_RISK_STEWARD = '0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6'; @@ -96,6 +96,7 @@ export const CHAIN_ID = 8453; export const ASSETS = { WETH: { decimals: 18, + id: 0, UNDERLYING: '0x4200000000000000000000000000000000000006', A_TOKEN: '0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7', V_TOKEN: '0x24e6e0795b3c7c71D965fCc4f371803d1c1DcA1E', @@ -105,6 +106,7 @@ export const ASSETS = { }, cbETH: { decimals: 18, + id: 1, UNDERLYING: '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', A_TOKEN: '0xcf3D55c10DB69f28fD1A75Bd73f3D8A2d9c595ad', V_TOKEN: '0x1DabC36f19909425f654777249815c073E8Fd79F', @@ -114,6 +116,7 @@ export const ASSETS = { }, USDbC: { decimals: 6, + id: 2, UNDERLYING: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', A_TOKEN: '0x0a1d576f3eFeF75b330424287a95A366e8281D54', V_TOKEN: '0x7376b2F323dC56fCd4C191B34163ac8a84702DAB', @@ -123,6 +126,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 3, UNDERLYING: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452', A_TOKEN: '0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D', V_TOKEN: '0x41A7C3f5904ad176dACbb1D99101F59ef0811DC1', @@ -132,6 +136,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 4, UNDERLYING: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', A_TOKEN: '0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB', V_TOKEN: '0x59dca05b6c26dbd64b5381374aAaC5CD05644C28', @@ -141,6 +146,7 @@ export const ASSETS = { }, weETH: { decimals: 18, + id: 5, UNDERLYING: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A', A_TOKEN: '0x7C307e128efA31F540F2E2d976C995E0B65F51F6', V_TOKEN: '0x8D2e3F1f4b38AA9f1ceD22ac06019c7561B03901', @@ -150,6 +156,7 @@ export const ASSETS = { }, cbBTC: { decimals: 8, + id: 6, UNDERLYING: '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', A_TOKEN: '0xBdb9300b7CDE636d9cD4AFF00f6F009fFBBc8EE6', V_TOKEN: '0x05e08702028de6AaD395DC6478b554a56920b9AD', @@ -158,15 +165,25 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - ETH_CORRELATED: 1, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'ETH correlated', + collateralBitmap: '43', + collateralAssets: [ + '0x4200000000000000000000000000000000000006', + '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', + '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452', + '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A', + ], + borrowableBitmap: '43', + borrowableAssets: [ + '0x4200000000000000000000000000000000000006', + '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', + '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452', + '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A', + ], + ltv: 9000, + liquidationThreshold: 9300, + liquidationBonus: 10200, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3BaseSepolia.ts b/src/ts/AaveV3BaseSepolia.ts index dc1f54eb..2125f332 100644 --- a/src/ts/AaveV3BaseSepolia.ts +++ b/src/ts/AaveV3BaseSepolia.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x150E9a8b83b731B9218a5633F1E804BC82508A // IPool https://sepolia.basescan.org/address/0xbE781D7Bdf469f3d94a62Cdcc407aCe106AEcA74 export const POOL = '0xbE781D7Bdf469f3d94a62Cdcc407aCe106AEcA74'; -// https://sepolia.basescan.org/address/0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C -export const POOL_IMPL = '0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C'; - // IPoolConfigurator https://sepolia.basescan.org/address/0x4200a89Bd036745918889D6dCC5685A4C6F01C24 export const POOL_CONFIGURATOR = '0x4200a89Bd036745918889D6dCC5685A4C6F01C24'; -// https://sepolia.basescan.org/address/0x9E7DF170E44093d6738057157CA048794B02555d -export const POOL_CONFIGURATOR_IMPL = '0x9E7DF170E44093d6738057157CA048794B02555d'; - // IAaveOracle https://sepolia.basescan.org/address/0x9Ba30437Ba63AA2902319DE1B3f0E25a18826842 export const ORACLE = '0x9Ba30437Ba63AA2902319DE1B3f0E25a18826842'; -// IPoolDataProvider https://sepolia.basescan.org/address/0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072'; +// https://sepolia.basescan.org/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b +export const ACL_ADMIN = '0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b'; // IACLManager https://sepolia.basescan.org/address/0xb880879303D35a82B1888a4A6d47D2ef0653E4A2 export const ACL_MANAGER = '0xb880879303D35a82B1888a4A6d47D2ef0653E4A2'; -// https://sepolia.basescan.org/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b -export const ACL_ADMIN = '0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b'; +// IPoolDataProvider https://sepolia.basescan.org/address/0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xAF4646B0131af8fc0DC435AF7F7d303Ac131E072'; -// ICollector https://sepolia.basescan.org/address/0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB -export const COLLECTOR = '0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB'; +// https://sepolia.basescan.org/address/0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C +export const POOL_IMPL = '0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C'; + +// https://sepolia.basescan.org/address/0x9E7DF170E44093d6738057157CA048794B02555d +export const POOL_CONFIGURATOR_IMPL = '0x9E7DF170E44093d6738057157CA048794B02555d'; // https://sepolia.basescan.org/address/0x294FF52d234a7e09E9642F846702A45337ceB2E2 export const DEFAULT_INCENTIVES_CONTROLLER = '0x294FF52d234a7e09E9642F846702A45337ceB2E2'; +// https://sepolia.basescan.org/address/0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec +export const EMISSION_MANAGER = '0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec'; + +// ICollector https://sepolia.basescan.org/address/0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB +export const COLLECTOR = '0x67F521ca716dD9413fd2D2AfdEbEE9285289d2cB'; + // https://sepolia.basescan.org/address/0xA9E3fFb25C369e44862DD3e87Be4420abb879965 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xA9E3fFb25C369e44862DD3e87Be4420abb879965'; // https://sepolia.basescan.org/address/0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c'; -// https://sepolia.basescan.org/address/0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec -export const EMISSION_MANAGER = '0x1F95c29C9E686e4f438ED5D13cF0B7430B9F39ec'; - // https://sepolia.basescan.org/address/0xAE252DA024783d1813C890d82642bbED120c3093 export const STATA_FACTORY = '0xAE252DA024783d1813C890d82642bbED120c3093'; @@ -66,6 +66,7 @@ export const CHAIN_ID = 84532; export const ASSETS = { USDC: { decimals: 6, + id: 0, UNDERLYING: '0x036CbD53842c5426634e7929541eC2318f3dCF7e', A_TOKEN: '0xfE45Bf4dEF7223Ab1Bf83cA17a4462Ef1647F7FF', V_TOKEN: '0x5E531B00C86C2D0014020183DaFE7c17C4aA90D8', @@ -74,6 +75,7 @@ export const ASSETS = { }, EURC: { decimals: 6, + id: 1, UNDERLYING: '0x808456652fdb597867f38412077A9182bf77359F', A_TOKEN: '0x70B607b3cdED31635779781d42540580D4Ac18F4', V_TOKEN: '0xEa1b67213437E753656B209d1d3d16c1DFE424fd', @@ -82,6 +84,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 2, UNDERLYING: '0x4200000000000000000000000000000000000006', A_TOKEN: '0x6dE9f4b8d4A52D15F1372ef463e27AeAa8a3FdF4', V_TOKEN: '0x80bEA6A08B3c2df41B48F27c983C3238f1144093', @@ -89,15 +92,5 @@ export const ASSETS = { ORACLE: '0x4aDC67696bA383F43DD60A9e78F2C97Fbbfc7cb1', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', -} as const; +export const E_MODES = {} as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3Ethereum.ts b/src/ts/AaveV3Ethereum.ts index 988dc36c..8e02281a 100644 --- a/src/ts/AaveV3Ethereum.ts +++ b/src/ts/AaveV3Ethereum.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x2f39d218133AFaB8F2B819B1066c7E434Ad94E // IPool https://etherscan.io/address/0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 export const POOL = '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2'; -// https://etherscan.io/address/0x1f64488c2C4686771dafA75915274d27878B667a -export const POOL_IMPL = '0x1f64488c2C4686771dafA75915274d27878B667a'; - // IPoolConfigurator https://etherscan.io/address/0x64b761D848206f447Fe2dd461b0c635Ec39EbB27 export const POOL_CONFIGURATOR = '0x64b761D848206f447Fe2dd461b0c635Ec39EbB27'; -// https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://etherscan.io/address/0x54586bE62E3c3580375aE3723C145253060Ca0C2 export const ORACLE = '0x54586bE62E3c3580375aE3723C145253060Ca0C2'; -// IPoolDataProvider https://etherscan.io/address/0x41393e5e337606dc3821075Af65AeE84D7688CBD -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x41393e5e337606dc3821075Af65AeE84D7688CBD'; +// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A +export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; // IACLManager https://etherscan.io/address/0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0 export const ACL_MANAGER = '0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0'; -// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A -export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; +// IPoolDataProvider https://etherscan.io/address/0x41393e5e337606dc3821075Af65AeE84D7688CBD +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x41393e5e337606dc3821075Af65AeE84D7688CBD'; -// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c -export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; +// https://etherscan.io/address/0x1f64488c2C4686771dafA75915274d27878B667a +export const POOL_IMPL = '0x1f64488c2C4686771dafA75915274d27878B667a'; + +// https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://etherscan.io/address/0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb export const DEFAULT_INCENTIVES_CONTROLLER = '0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb'; +// https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 +export const EMISSION_MANAGER = '0x223d844fc4B006D67c0cDbd39371A9F73f69d974'; + +// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c +export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; + // https://etherscan.io/address/0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d'; // https://etherscan.io/address/0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6'; -// https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 -export const EMISSION_MANAGER = '0x223d844fc4B006D67c0cDbd39371A9F73f69d974'; - // https://etherscan.io/address/0x82dcCF206Ae2Ab46E2099e663F70DeE77caE7778 export const CAPS_PLUS_RISK_STEWARD = '0x82dcCF206Ae2Ab46E2099e663F70DeE77caE7778'; @@ -96,6 +96,7 @@ export const CHAIN_ID = 1; export const ASSETS = { WETH: { decimals: 18, + id: 0, UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', A_TOKEN: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8', V_TOKEN: '0xeA51d7853EEFb32b6ee06b1C12E6dcCA88Be0fFE', @@ -105,6 +106,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 1, UNDERLYING: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', A_TOKEN: '0x0B925eD163218f6662a35e0f0371Ac234f9E9371', V_TOKEN: '0xC96113eED8cAB59cD8A66813bCB0cEb29F06D2e4', @@ -114,6 +116,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 2, UNDERLYING: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', A_TOKEN: '0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8', V_TOKEN: '0x40aAbEf1aa8f0eEc637E0E7d92fbfFB2F26A8b7B', @@ -123,6 +126,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 3, UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', A_TOKEN: '0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c', V_TOKEN: '0x72E95b8931767C79bA4EeE721354d6E99a61D004', @@ -132,6 +136,7 @@ export const ASSETS = { }, DAI: { decimals: 18, + id: 4, UNDERLYING: '0x6B175474E89094C44Da98b954EedeAC495271d0F', A_TOKEN: '0x018008bfb33d285247A21d44E50697654f754e63', V_TOKEN: '0xcF8d0c70c850859266f5C338b38F9D663181C314', @@ -141,6 +146,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 5, UNDERLYING: '0x514910771AF9Ca656af840dff83E8264EcF986CA', A_TOKEN: '0x5E8C8A7243651DB1384C0dDfDbE39761E8e7E51a', V_TOKEN: '0x4228F8895C7dDA20227F6a5c6751b8Ebf19a6ba8', @@ -150,6 +156,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', A_TOKEN: '0xA700b4eB416Be35b2911fd5Dee80678ff64fF6C9', V_TOKEN: '0xBae535520Abd9f8C85E58929e0006A2c8B372F74', @@ -159,6 +166,7 @@ export const ASSETS = { }, cbETH: { decimals: 18, + id: 7, UNDERLYING: '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704', A_TOKEN: '0x977b6fc5dE62598B08C85AC8Cf2b745874E8b78c', V_TOKEN: '0x0c91bcA95b5FE69164cE583A2ec9429A569798Ed', @@ -168,6 +176,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 8, UNDERLYING: '0xdAC17F958D2ee523a2206206994597C13D831ec7', A_TOKEN: '0x23878914EFE38d27C4D67Ab83ed1b93A74D4086a', V_TOKEN: '0x6df1C1E379bC5a00a7b4C6e67A203333772f45A8', @@ -177,6 +186,7 @@ export const ASSETS = { }, rETH: { decimals: 18, + id: 9, UNDERLYING: '0xae78736Cd615f374D3085123A210448E74Fc6393', A_TOKEN: '0xCc9EE9483f662091a1de4795249E24aC0aC2630f', V_TOKEN: '0xae8593DD575FE29A9745056aA91C4b746eee62C8', @@ -186,6 +196,7 @@ export const ASSETS = { }, LUSD: { decimals: 18, + id: 10, UNDERLYING: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', A_TOKEN: '0x3Fe6a295459FAe07DF8A0ceCC36F37160FE86AA9', V_TOKEN: '0x33652e48e4B74D18520f11BfE58Edd2ED2cEc5A2', @@ -195,6 +206,7 @@ export const ASSETS = { }, CRV: { decimals: 18, + id: 11, UNDERLYING: '0xD533a949740bb3306d119CC777fa900bA034cd52', A_TOKEN: '0x7B95Ec873268a6BFC6427e7a28e396Db9D0ebc65', V_TOKEN: '0x1b7D3F4b3c032a5AE656e30eeA4e8E1Ba376068F', @@ -202,8 +214,9 @@ export const ASSETS = { ORACLE: '0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f', STATIC_A_TOKEN: '0x149EE12310D499F701B6A5714eDAd2C832008fd2', }, - MRK: { + MKR: { decimals: 18, + id: 12, UNDERLYING: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', A_TOKEN: '0x8A458A9dc9048e005d22849F470891b840296619', V_TOKEN: '0x6Efc73E54E41b27d2134fF9f98F15550f30DF9B1', @@ -212,6 +225,7 @@ export const ASSETS = { }, SNX: { decimals: 18, + id: 13, UNDERLYING: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', A_TOKEN: '0xC7B4c17861357B8ABB91F25581E7263E08DCB59c', V_TOKEN: '0x8d0de040e8aAd872eC3c33A3776dE9152D3c34ca', @@ -221,6 +235,7 @@ export const ASSETS = { }, BAL: { decimals: 18, + id: 14, UNDERLYING: '0xba100000625a3754423978a60c9317c58a424e3D', A_TOKEN: '0x2516E7B3F76294e03C42AA4c5b5b4DCE9C436fB8', V_TOKEN: '0x3D3efceb4Ff0966D34d9545D3A2fa2dcdBf451f2', @@ -229,6 +244,7 @@ export const ASSETS = { }, UNI: { decimals: 18, + id: 15, UNDERLYING: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', A_TOKEN: '0xF6D2224916DDFbbab6e6bd0D1B7034f4Ae0CaB18', V_TOKEN: '0xF64178Ebd2E2719F2B1233bCb5Ef6DB4bCc4d09a', @@ -238,6 +254,7 @@ export const ASSETS = { }, LDO: { decimals: 18, + id: 16, UNDERLYING: '0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32', A_TOKEN: '0x9A44fd41566876A39655f74971a3A6eA0a17a454', V_TOKEN: '0xc30808705C01289A3D306ca9CAB081Ba9114eC82', @@ -247,6 +264,7 @@ export const ASSETS = { }, ENS: { decimals: 18, + id: 17, UNDERLYING: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', A_TOKEN: '0x545bD6c032eFdde65A377A6719DEF2796C8E0f2e', V_TOKEN: '0xd180D7fdD4092f07428eFE801E17BC03576b3192', @@ -256,6 +274,7 @@ export const ASSETS = { }, ONE_INCH: { decimals: 18, + id: 18, UNDERLYING: '0x111111111117dC0aa78b770fA6A738034120C302', A_TOKEN: '0x71Aef7b30728b9BB371578f36c5A1f1502a5723e', V_TOKEN: '0xA38fCa8c6Bf9BdA52E76EB78f08CaA3BE7c5A970', @@ -265,6 +284,7 @@ export const ASSETS = { }, FRAX: { decimals: 18, + id: 19, UNDERLYING: '0x853d955aCEf822Db058eb8505911ED77F175b99e', A_TOKEN: '0xd4e245848d6E1220DBE62e155d89fa327E43CB06', V_TOKEN: '0x88B8358F5BC87c2D7E116cCA5b65A9eEb2c5EA3F', @@ -274,6 +294,7 @@ export const ASSETS = { }, GHO: { decimals: 18, + id: 20, UNDERLYING: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f', A_TOKEN: '0x00907f9921424583e7ffBfEdf84F92B7B2Be4977', V_TOKEN: '0x786dBff3f1292ae8F92ea68Cf93c30b34B1ed04B', @@ -283,6 +304,7 @@ export const ASSETS = { }, RPL: { decimals: 18, + id: 21, UNDERLYING: '0xD33526068D116cE69F19A9ee46F0bd304F21A51f', A_TOKEN: '0xB76CF92076adBF1D9C39294FA8e7A67579FDe357', V_TOKEN: '0x8988ECA19D502fd8b9CCd03fA3bD20a6f599bc2A', @@ -292,6 +314,7 @@ export const ASSETS = { }, sDAI: { decimals: 18, + id: 22, UNDERLYING: '0x83F20F44975D03b1b09e64809B757c47f942BEeA', A_TOKEN: '0x4C612E3B15b96Ff9A6faED838F8d07d479a8dD4c', V_TOKEN: '0x8Db9D35e117d8b93C6Ca9b644b25BaD5d9908141', @@ -301,6 +324,7 @@ export const ASSETS = { }, STG: { decimals: 18, + id: 23, UNDERLYING: '0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6', A_TOKEN: '0x1bA9843bD4327c6c77011406dE5fA8749F7E3479', V_TOKEN: '0x655568bDd6168325EC7e58Bf39b21A856F906Dc2', @@ -309,6 +333,7 @@ export const ASSETS = { }, KNC: { decimals: 18, + id: 24, UNDERLYING: '0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202', A_TOKEN: '0x5b502e3796385E1e9755d7043B9C945C3aCCeC9C', V_TOKEN: '0x253127Ffc04981cEA8932F406710661c2f2c3fD2', @@ -317,6 +342,7 @@ export const ASSETS = { }, FXS: { decimals: 18, + id: 25, UNDERLYING: '0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0', A_TOKEN: '0x82F9c5ad306BBa1AD0De49bB5FA6F01bf61085ef', V_TOKEN: '0x68e9f0aD4e6f8F5DB70F6923d4d6d5b225B83b16', @@ -325,6 +351,7 @@ export const ASSETS = { }, crvUSD: { decimals: 18, + id: 26, UNDERLYING: '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E', A_TOKEN: '0xb82fa9f31612989525992FCfBB09AB22Eff5c85A', V_TOKEN: '0x028f7886F3e937f8479efaD64f31B3fE1119857a', @@ -334,6 +361,7 @@ export const ASSETS = { }, PYUSD: { decimals: 6, + id: 27, UNDERLYING: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', A_TOKEN: '0x0C0d01AbF3e6aDfcA0989eBbA9d6e85dD58EaB1E', V_TOKEN: '0x57B67e4DE077085Fd0AF2174e9c14871BE664546', @@ -343,6 +371,7 @@ export const ASSETS = { }, weETH: { decimals: 18, + id: 28, UNDERLYING: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', A_TOKEN: '0xBdfa7b7893081B35Fb54027489e2Bc7A38275129', V_TOKEN: '0x77ad9BF13a52517AD698D65913e8D381300c8Bf3', @@ -351,6 +380,7 @@ export const ASSETS = { }, osETH: { decimals: 18, + id: 29, UNDERLYING: '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38', A_TOKEN: '0x927709711794F3De5DdBF1D176bEE2D55Ba13c21', V_TOKEN: '0x8838eefF2af391863E1Bb8b1dF563F86743a8470', @@ -360,6 +390,7 @@ export const ASSETS = { }, USDe: { decimals: 18, + id: 30, UNDERLYING: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3', A_TOKEN: '0x4F5923Fc5FD4a93352581b38B7cD26943012DECF', V_TOKEN: '0x015396E1F286289aE23a762088E863b3ec465145', @@ -369,6 +400,7 @@ export const ASSETS = { }, ETHx: { decimals: 18, + id: 31, UNDERLYING: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', A_TOKEN: '0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002', V_TOKEN: '0x08a8Dc81AeA67F84745623aC6c72CDA3967aab8b', @@ -378,6 +410,7 @@ export const ASSETS = { }, sUSDe: { decimals: 18, + id: 32, UNDERLYING: '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', A_TOKEN: '0x4579a27aF00A62C0EB156349f31B345c08386419', V_TOKEN: '0xeFFDE9BFA8EC77c14C364055a200746d6e12BeD6', @@ -387,6 +420,7 @@ export const ASSETS = { }, tBTC: { decimals: 18, + id: 33, UNDERLYING: '0x18084fbA666a33d37592fA2633fD49a74DD93a88', A_TOKEN: '0x10Ac93971cdb1F5c778144084242374473c350Da', V_TOKEN: '0xAC50890a80A2731eb1eA2e9B4F29569CeB06D960', @@ -395,6 +429,7 @@ export const ASSETS = { }, cbBTC: { decimals: 8, + id: 34, UNDERLYING: '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', A_TOKEN: '0x5c647cE0Ae10658ec44FA4E11A51c96e94efd1Dd', V_TOKEN: '0xeB284A70557EFe3591b9e6D9D720040E02c54a4d', @@ -403,6 +438,7 @@ export const ASSETS = { }, USDS: { decimals: 18, + id: 35, UNDERLYING: '0xdC035D45d973E3EC169d2276DDab16f1e407384F', A_TOKEN: '0x32a6268f9Ba3642Dda7892aDd74f1D34469A4259', V_TOKEN: '0x490E0E6255bF65b43E2e02F7acB783c5e04572Ff', @@ -411,15 +447,31 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - ETH_CORRELATED: 1, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'ETH correlated', + collateralBitmap: '2952790659', + collateralAssets: [ + '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', + '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', + '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704', + '0xae78736Cd615f374D3085123A210448E74Fc6393', + '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', + '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38', + '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', + ], + borrowableBitmap: '2952790659', + borrowableAssets: [ + '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', + '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', + '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704', + '0xae78736Cd615f374D3085123A210448E74Fc6393', + '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', + '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38', + '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3EthereumEtherFi.ts b/src/ts/AaveV3EthereumEtherFi.ts index 642cd07c..7d3f4d03 100644 --- a/src/ts/AaveV3EthereumEtherFi.ts +++ b/src/ts/AaveV3EthereumEtherFi.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xeBa440B438Ad808101d1c451C1C5322c90BEFC // IPool https://etherscan.io/address/0x0AA97c284e98396202b6A04024F5E2c65026F3c0 export const POOL = '0x0AA97c284e98396202b6A04024F5E2c65026F3c0'; -// https://etherscan.io/address/0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d -export const POOL_IMPL = '0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d'; - // IPoolConfigurator https://etherscan.io/address/0x8438F4D29D895d75C86BDC25360c25eF0607E65d export const POOL_CONFIGURATOR = '0x8438F4D29D895d75C86BDC25360c25eF0607E65d'; -// https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://etherscan.io/address/0x43b64f28A678944E0655404B0B98E443851cC34F export const ORACLE = '0x43b64f28A678944E0655404B0B98E443851cC34F'; -// IPoolDataProvider https://etherscan.io/address/0xE7d490885A68f00d9886508DF281D67263ed5758 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xE7d490885A68f00d9886508DF281D67263ed5758'; +// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A +export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; // IACLManager https://etherscan.io/address/0x3cE8E2eb6501d4705477643E96881B1bef6A2DB3 export const ACL_MANAGER = '0x3cE8E2eb6501d4705477643E96881B1bef6A2DB3'; -// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A -export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; +// IPoolDataProvider https://etherscan.io/address/0xE7d490885A68f00d9886508DF281D67263ed5758 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xE7d490885A68f00d9886508DF281D67263ed5758'; -// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c -export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; +// https://etherscan.io/address/0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d +export const POOL_IMPL = '0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d'; + +// https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://etherscan.io/address/0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb export const DEFAULT_INCENTIVES_CONTROLLER = '0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb'; +// https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 +export const EMISSION_MANAGER = '0x223d844fc4B006D67c0cDbd39371A9F73f69d974'; + +// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c +export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; + // https://etherscan.io/address/0xaFFA06528Bd92625de2e7A0cfa0119319265Ea4b export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xaFFA06528Bd92625de2e7A0cfa0119319265Ea4b'; // https://etherscan.io/address/0xBb077DaFFeb23B2126E7358b0b122ba6838FB881 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xBb077DaFFeb23B2126E7358b0b122ba6838FB881'; -// https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 -export const EMISSION_MANAGER = '0x223d844fc4B006D67c0cDbd39371A9F73f69d974'; - // https://etherscan.io/address/0xbaA999AC55EAce41CcAE355c77809e68Bb345170 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xbaA999AC55EAce41CcAE355c77809e68Bb345170'; @@ -81,6 +81,7 @@ export const CHAIN_ID = 1; export const ASSETS = { weETH: { decimals: 18, + id: 0, UNDERLYING: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', A_TOKEN: '0xbe1F842e7e0afd2c2322aae5d34bA899544b29db', V_TOKEN: '0x16264412CB72F0d16A446f7D928Dd0D822810048', @@ -89,6 +90,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 1, UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', A_TOKEN: '0x7380c583cDe4409eFF5DD3320D93a45D96B80E2e', V_TOKEN: '0x9355032d747f1e08F8720CD01950E652eE15cdB7', @@ -97,6 +99,7 @@ export const ASSETS = { }, PYUSD: { decimals: 6, + id: 2, UNDERLYING: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', A_TOKEN: '0xdF7f48892244C6106EA784609f7de10AB36F9c7e', V_TOKEN: '0xD2cf07dEE40d3D530D15b88d689f5cd97A31FC3D', @@ -105,6 +108,7 @@ export const ASSETS = { }, FRAX: { decimals: 18, + id: 3, UNDERLYING: '0x853d955aCEf822Db058eb8505911ED77F175b99e', A_TOKEN: '0x6914ECCf50837dC61b43ee478a9BD9B439648956', V_TOKEN: '0xfd3aDA5AAbdc6531C7C2AC46c00eBf870f5a0E6B', @@ -112,15 +116,5 @@ export const ASSETS = { ORACLE: '0x45D270263BBee500CF8adcf2AbC0aC227097b036', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', -} as const; +export const E_MODES = {} as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3EthereumLido.ts b/src/ts/AaveV3EthereumLido.ts index 5d19158d..85ca4d68 100644 --- a/src/ts/AaveV3EthereumLido.ts +++ b/src/ts/AaveV3EthereumLido.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xcfBf336fe147D643B9Cb705648500e101504B1 // IPool https://etherscan.io/address/0x4e033931ad43597d96D6bcc25c280717730B58B1 export const POOL = '0x4e033931ad43597d96D6bcc25c280717730B58B1'; -// https://etherscan.io/address/0xF96e23D32584536552C70D99664D4B17F373229c -export const POOL_IMPL = '0xF96e23D32584536552C70D99664D4B17F373229c'; - // IPoolConfigurator https://etherscan.io/address/0x342631c6CeFC9cfbf97b2fe4aa242a236e1fd517 export const POOL_CONFIGURATOR = '0x342631c6CeFC9cfbf97b2fe4aa242a236e1fd517'; -// https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://etherscan.io/address/0xE3C061981870C0C7b1f3C4F4bB36B95f1F260BE6 export const ORACLE = '0xE3C061981870C0C7b1f3C4F4bB36B95f1F260BE6'; -// IPoolDataProvider https://etherscan.io/address/0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD'; +// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A +export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; // IACLManager https://etherscan.io/address/0x013E2C7567b6231e865BB9273F8c7656103611c0 export const ACL_MANAGER = '0x013E2C7567b6231e865BB9273F8c7656103611c0'; -// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A -export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A'; +// IPoolDataProvider https://etherscan.io/address/0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x08795CFE08C7a81dCDFf482BbAAF474B240f31cD'; -// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c -export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; +// https://etherscan.io/address/0xF96e23D32584536552C70D99664D4B17F373229c +export const POOL_IMPL = '0xF96e23D32584536552C70D99664D4B17F373229c'; + +// https://etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://etherscan.io/address/0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb export const DEFAULT_INCENTIVES_CONTROLLER = '0x8164Cc65827dcFe994AB23944CBC90e0aa80bFcb'; +// https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 +export const EMISSION_MANAGER = '0x223d844fc4B006D67c0cDbd39371A9F73f69d974'; + +// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c +export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c'; + // https://etherscan.io/address/0x7F8Fc14D462bdF93c681c1f2Fd615389bF969Fb2 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x7F8Fc14D462bdF93c681c1f2Fd615389bF969Fb2'; // https://etherscan.io/address/0x3E59212c34588a63350142EFad594a20C88C2CEd export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x3E59212c34588a63350142EFad594a20C88C2CEd'; -// https://etherscan.io/address/0x223d844fc4B006D67c0cDbd39371A9F73f69d974 -export const EMISSION_MANAGER = '0x223d844fc4B006D67c0cDbd39371A9F73f69d974'; - // https://etherscan.io/address/0xC6cAB8D39D93DC0Bd5986E7Ce5Bb956E30103A43 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xC6cAB8D39D93DC0Bd5986E7Ce5Bb956E30103A43'; @@ -78,6 +78,7 @@ export const CHAIN_ID = 1; export const ASSETS = { wstETH: { decimals: 18, + id: 0, UNDERLYING: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', A_TOKEN: '0xC035a7cf15375cE2706766804551791aD035E0C2', V_TOKEN: '0xE439edd2625772AA635B437C099C607B6eb7d35f', @@ -86,6 +87,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 1, UNDERLYING: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', A_TOKEN: '0xfA1fDbBD71B0aA16162D76914d69cD8CB3Ef92da', V_TOKEN: '0x91b7d78BF92db564221f6B5AeE744D1727d1Dd1e', @@ -94,6 +96,7 @@ export const ASSETS = { }, USDS: { decimals: 18, + id: 2, UNDERLYING: '0xdC035D45d973E3EC169d2276DDab16f1e407384F', A_TOKEN: '0x09AA30b182488f769a9824F15E6Ce58591Da4781', V_TOKEN: '0x2D9fe18b6c35FE439cC15D932cc5C943bf2d901E', @@ -102,6 +105,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 3, UNDERLYING: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', A_TOKEN: '0x2A1FBcb52Ed4d9b23daD17E1E8Aed4BB0E6079b8', V_TOKEN: '0xeD90dE2D824Ee766c6Fd22E90b12e598f681dc9F', @@ -110,15 +114,21 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - ETH_CORRELATED: 1, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'ETH correlated', + collateralBitmap: '3', + collateralAssets: [ + '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', + '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', + ], + borrowableBitmap: '3', + borrowableAssets: [ + '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', + '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', + ], + ltv: 9350, + liquidationThreshold: 9550, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3Fantom.ts b/src/ts/AaveV3Fantom.ts index 571c6af1..d54f2e77 100644 --- a/src/ts/AaveV3Fantom.ts +++ b/src/ts/AaveV3Fantom.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xa97684ead0e402dC232d5A977953DF7ECBaB3C // IPool https://testnet.ftmscan.com/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD export const POOL = '0x794a61358D6845594F94dc1DB02A252b5b4814aD'; -// https://testnet.ftmscan.com/address/0xDF9e4ABdbd94107932265319479643D3B05809dc -export const POOL_IMPL = '0xDF9e4ABdbd94107932265319479643D3B05809dc'; - // IPoolConfigurator https://testnet.ftmscan.com/address/0x8145eddDf43f50276641b55bd3AD95944510021E export const POOL_CONFIGURATOR = '0x8145eddDf43f50276641b55bd3AD95944510021E'; -// https://testnet.ftmscan.com/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade -export const POOL_CONFIGURATOR_IMPL = '0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade'; - // IAaveOracle https://testnet.ftmscan.com/address/0xfd6f3c1845604C8AE6c6E402ad17fb9885160754 export const ORACLE = '0xfd6f3c1845604C8AE6c6E402ad17fb9885160754'; -// IPoolDataProvider https://testnet.ftmscan.com/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654'; +// https://testnet.ftmscan.com/address/0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949 +export const ACL_ADMIN = '0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949'; // IACLManager https://testnet.ftmscan.com/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B'; -// https://testnet.ftmscan.com/address/0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949 -export const ACL_ADMIN = '0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949'; +// IPoolDataProvider https://testnet.ftmscan.com/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654'; -// ICollector https://testnet.ftmscan.com/address/0xBe85413851D195fC6341619cD68BfDc26a25b928 -export const COLLECTOR = '0xBe85413851D195fC6341619cD68BfDc26a25b928'; +// https://testnet.ftmscan.com/address/0xDF9e4ABdbd94107932265319479643D3B05809dc +export const POOL_IMPL = '0xDF9e4ABdbd94107932265319479643D3B05809dc'; + +// https://testnet.ftmscan.com/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade +export const POOL_CONFIGURATOR_IMPL = '0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade'; // https://testnet.ftmscan.com/address/0x929EC64c34a17401F460460D4B9390518E5B473e export const DEFAULT_INCENTIVES_CONTROLLER = '0x929EC64c34a17401F460460D4B9390518E5B473e'; +// https://testnet.ftmscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 +export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; + +// ICollector https://testnet.ftmscan.com/address/0xBe85413851D195fC6341619cD68BfDc26a25b928 +export const COLLECTOR = '0xBe85413851D195fC6341619cD68BfDc26a25b928'; + // https://testnet.ftmscan.com/address/0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B'; // https://testnet.ftmscan.com/address/0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3'; -// https://testnet.ftmscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 -export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; - // https://testnet.ftmscan.com/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x770ef9f4fe897e59daCc474EF11238303F9552b6'; @@ -66,6 +66,7 @@ export const CHAIN_ID = 250; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E', A_TOKEN: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', V_TOKEN: '0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC', @@ -74,6 +75,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0xb3654dc3D10Ea7645f8319668E8F54d2574FBdC8', A_TOKEN: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', V_TOKEN: '0x953A573793604aF8d41F306FEb8274190dB4aE0e', @@ -82,6 +84,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0x04068DA6C83AFCFA0e13ba15A6696662335D5B75', A_TOKEN: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', V_TOKEN: '0xFCCf3cAbbe80101232d343252614b6A3eE81C989', @@ -90,6 +93,7 @@ export const ASSETS = { }, BTC: { decimals: 8, + id: 3, UNDERLYING: '0x321162Cd933E2Be498Cd2267a90534A804051b11', A_TOKEN: '0x078f358208685046a11C85e8ad32895DED33A249', V_TOKEN: '0x92b42c66840C7AD907b4BF74879FF3eF7c529473', @@ -98,6 +102,7 @@ export const ASSETS = { }, ETH: { decimals: 18, + id: 4, UNDERLYING: '0x74b23882a30290451A17c44f4F05243b6b58C76d', A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351', @@ -106,6 +111,7 @@ export const ASSETS = { }, fUSDT: { decimals: 6, + id: 5, UNDERLYING: '0x049d68029688eAbF473097a2fC38ef61633A3C7A', A_TOKEN: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', V_TOKEN: '0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7', @@ -114,6 +120,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0x6a07A792ab2965C72a5B8088d3a069A7aC3a993B', A_TOKEN: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', V_TOKEN: '0xE80761Ea617F66F96274eA5e8c37f03960ecC679', @@ -122,6 +129,7 @@ export const ASSETS = { }, WFTM: { decimals: 18, + id: 7, UNDERLYING: '0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83', A_TOKEN: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', V_TOKEN: '0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8', @@ -130,6 +138,7 @@ export const ASSETS = { }, CRV: { decimals: 18, + id: 8, UNDERLYING: '0x1E4F97b9f9F913c46F1632781732927B9019C68b', A_TOKEN: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', V_TOKEN: '0x77CA01483f379E58174739308945f044e1a764dc', @@ -138,6 +147,7 @@ export const ASSETS = { }, SUSHI: { decimals: 18, + id: 9, UNDERLYING: '0xae75A438b2E0cB8Bb01Ec1E1e376De11D44477CC', A_TOKEN: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', V_TOKEN: '0x34e2eD44EF7466D5f9E0b782B5c08b57475e7907', @@ -145,7 +155,3 @@ export const ASSETS = { ORACLE: '0xCcc059a1a17577676c8673952Dc02070D29e5a66', }, } as const; -export const E_MODES = { - NONE: 0, - STABLECOINS: 1, -} as const; diff --git a/src/ts/AaveV3FantomTestnet.ts b/src/ts/AaveV3FantomTestnet.ts index e312c5af..14f836fb 100644 --- a/src/ts/AaveV3FantomTestnet.ts +++ b/src/ts/AaveV3FantomTestnet.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x1558c6FadDe1bEaf0f6628BDd1DFf3461185eA // IPool https://testnet.ftmscan.com/address/0x56Ab717d882F7A8d4a3C2b191707322c5Cc70db8 export const POOL = '0x56Ab717d882F7A8d4a3C2b191707322c5Cc70db8'; -// https://testnet.ftmscan.com/address/0x685b86a6659a1CbcfE168304386e1b54C543Ce16 -export const POOL_IMPL = '0x685b86a6659a1CbcfE168304386e1b54C543Ce16'; - // IPoolConfigurator https://testnet.ftmscan.com/address/0x257a6f06192D532e40F66b3DDfE2cBBaf8373822 export const POOL_CONFIGURATOR = '0x257a6f06192D532e40F66b3DDfE2cBBaf8373822'; -// https://testnet.ftmscan.com/address/0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492 -export const POOL_CONFIGURATOR_IMPL = '0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492'; - // IAaveOracle https://testnet.ftmscan.com/address/0x18a8d31dA46eeb9138a16dfC429E74C04ff523F4 export const ORACLE = '0x18a8d31dA46eeb9138a16dfC429E74C04ff523F4'; -// IPoolDataProvider https://testnet.ftmscan.com/address/0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61'; +// https://testnet.ftmscan.com/address/0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8 +export const ACL_ADMIN = '0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8'; // IACLManager https://testnet.ftmscan.com/address/0xD5D4f4fe4BfC8e8193f38927EfafDbfbB66dd7e0 export const ACL_MANAGER = '0xD5D4f4fe4BfC8e8193f38927EfafDbfbB66dd7e0'; -// https://testnet.ftmscan.com/address/0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8 -export const ACL_ADMIN = '0x9973Ce75946D56fA3B0C6aa3647d67D440BDAec8'; +// IPoolDataProvider https://testnet.ftmscan.com/address/0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x3c9F4EEa18B02ee331218646Fea59EE3661d2A61'; -// ICollector https://testnet.ftmscan.com/address/0x445e52B0C18704448f4589C4304f63Ea287c2eb0 -export const COLLECTOR = '0x445e52B0C18704448f4589C4304f63Ea287c2eb0'; +// https://testnet.ftmscan.com/address/0x685b86a6659a1CbcfE168304386e1b54C543Ce16 +export const POOL_IMPL = '0x685b86a6659a1CbcfE168304386e1b54C543Ce16'; + +// https://testnet.ftmscan.com/address/0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492 +export const POOL_CONFIGURATOR_IMPL = '0x1034d6131E0E7F2F47bFAd06597ed97b35aA5492'; // https://testnet.ftmscan.com/address/0x9F749B597414eD4F53a0F23971327bb60f16ad94 export const DEFAULT_INCENTIVES_CONTROLLER = '0x9F749B597414eD4F53a0F23971327bb60f16ad94'; +// https://testnet.ftmscan.com/address/0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155 +export const EMISSION_MANAGER = '0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155'; + +// ICollector https://testnet.ftmscan.com/address/0x445e52B0C18704448f4589C4304f63Ea287c2eb0 +export const COLLECTOR = '0x445e52B0C18704448f4589C4304f63Ea287c2eb0'; + // https://testnet.ftmscan.com/address/0x6056C29483433A095eF98Fb0d01F2827F5FCeB99 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x6056C29483433A095eF98Fb0d01F2827F5FCeB99'; // https://testnet.ftmscan.com/address/0x67F50B454972F7557c359AfE2DD3caef9930d665 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x67F50B454972F7557c359AfE2DD3caef9930d665'; -// https://testnet.ftmscan.com/address/0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155 -export const EMISSION_MANAGER = '0xBAdD48c3EB42A10dB791D7b02E3c07Fbf95B3155'; - // https://testnet.ftmscan.com/address/0x021BE22Bdfa497D6643D4035E530095E7b452967 export const FAUCET = '0x021BE22Bdfa497D6643D4035E530095E7b452967'; @@ -60,6 +60,7 @@ export const CHAIN_ID = 4002; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0x77FDe93fEe5fe272dC17d799cb61447431E6Eba2', A_TOKEN: '0x2B101eFBB4dFf1fbB8f87f02C560Fb8AC773aFC5', V_TOKEN: '0x7a277581a2b1F0B52ce98A1A9b3ADb2DAbE99639', @@ -68,6 +69,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0x1Da81b322451C51D2580B373974a999d5A9C2D21', A_TOKEN: '0x7d18f0834A38cA6B0e58CC671900f0017E6d55Ff', V_TOKEN: '0x37a36207141fec36F383b9012FFACA924e4c7809', @@ -76,6 +78,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0x66F61903D7FEC18048bEc2e792f272cb8B657733', A_TOKEN: '0xFFF336d1310D5Ba18CfFb2006afa762EC7d7a4fb', V_TOKEN: '0x7723CeBe9a4D7416a7023d30bBefe73b755CE0bf', @@ -84,6 +87,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x2c95d10bA4BBEc79e562e8B3f48687751808C925', A_TOKEN: '0x17A6c7f20e804a558E0674c0Eef1F69442770596', V_TOKEN: '0x798FD7a01C614F23a9fF27427e94175c3A8eBa5B', @@ -92,6 +96,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0xc8c0Cf9436F4862a8F60Ce680Ca5a9f0f99b5ded', A_TOKEN: '0x0e426e6e6B226D8bd566e417b90411Dcf14DF861', V_TOKEN: '0x5d18c525aD0C583aeEa44535cce7fd234D10Ef65', @@ -100,6 +105,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 5, UNDERLYING: '0x9DFf9E93B1e513379cf820504D642c6891d8F7CC', A_TOKEN: '0x97293798206Fc4FDF23D6b536ED3D694599e35BC', V_TOKEN: '0x8aE1A997A45C7A7b8c00889C8d0eAabBa899CA90', @@ -108,6 +114,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0x52D800ca262522580CeBAD275395ca6e7598C014', A_TOKEN: '0xf10e04c48f14d50F7378e01a1EEf7498D9a27d08', V_TOKEN: '0xD54a60da0deA4054169faeD0217F8Be0198A789E', @@ -116,6 +123,7 @@ export const ASSETS = { }, WFTM: { decimals: 18, + id: 7, UNDERLYING: '0x2Fa2e7a6dEB7bb51B625336DBe1dA23511914a8A', A_TOKEN: '0xFA3AdA68fA9512B2e22a5fac6b6F0231068A2b36', V_TOKEN: '0x5a76c9C809e7032F857dC24430e724831b202e29', @@ -124,6 +132,7 @@ export const ASSETS = { }, CRV: { decimals: 18, + id: 8, UNDERLYING: '0xc199807AF4fEDB02EE567Ed0FeB814A077de4802', A_TOKEN: '0x01CEf190E98cE7B8CA722e33C0D3aF456106103d', V_TOKEN: '0x40489046ABe77aa660C6270A4abD0018821eE2e6', @@ -132,6 +141,7 @@ export const ASSETS = { }, SUSHI: { decimals: 18, + id: 9, UNDERLYING: '0x1fdE0eCc619726f4cD597887C9F3b4c8740e19e2', A_TOKEN: '0xac8fd53423708ac1C49E5486485854FBE1487e65', V_TOKEN: '0xd863A878743D56B1208DC3bf3F280c0d16eC28D4', @@ -139,7 +149,3 @@ export const ASSETS = { ORACLE: '0xcDA8dE50b65cB2Affc8B89f35C40A97Eed4B270F', }, } as const; -export const E_MODES = { - NONE: 0, - STABLECOINS: 1, -} as const; diff --git a/src/ts/AaveV3Fuji.ts b/src/ts/AaveV3Fuji.ts index 0a02c6e4..ba7b05f7 100644 --- a/src/ts/AaveV3Fuji.ts +++ b/src/ts/AaveV3Fuji.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F // IPool https://testnet.snowtrace.io/address/0x8B9b2AF4afB389b4a70A474dfD4AdCD4a302bb40 export const POOL = '0x8B9b2AF4afB389b4a70A474dfD4AdCD4a302bb40'; -// https://testnet.snowtrace.io/address/0xff1DB744F1275f8e04A62A7E5D663575F3a774B6 -export const POOL_IMPL = '0xff1DB744F1275f8e04A62A7E5D663575F3a774B6'; - // IPoolConfigurator https://testnet.snowtrace.io/address/0xF9f36C15fBddAF0B64E0D16E4D6852B433a86cbE export const POOL_CONFIGURATOR = '0xF9f36C15fBddAF0B64E0D16E4D6852B433a86cbE'; -// https://testnet.snowtrace.io/address/0x782559e349b084bB7C07c08404aE6E3436cDAE2E -export const POOL_CONFIGURATOR_IMPL = '0x782559e349b084bB7C07c08404aE6E3436cDAE2E'; - // IAaveOracle https://testnet.snowtrace.io/address/0xd36338d0F231446b36008310f1DE0812784ADeBC export const ORACLE = '0xd36338d0F231446b36008310f1DE0812784ADeBC'; -// IPoolDataProvider https://testnet.snowtrace.io/address/0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014'; +// https://testnet.snowtrace.io/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b +export const ACL_ADMIN = '0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b'; // IACLManager https://testnet.snowtrace.io/address/0xa411Accec7000c52feE9bFeDaDc53E1CEF72d6d4 export const ACL_MANAGER = '0xa411Accec7000c52feE9bFeDaDc53E1CEF72d6d4'; -// https://testnet.snowtrace.io/address/0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b -export const ACL_ADMIN = '0x6ec33534BE07d45cc4E02Fbd127F8ed2aE919a6b'; +// IPoolDataProvider https://testnet.snowtrace.io/address/0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xC65cbd1e309Bf0e841Ee6f6E786480598e6a4014'; -// ICollector https://testnet.snowtrace.io/address/0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9 -export const COLLECTOR = '0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9'; +// https://testnet.snowtrace.io/address/0xff1DB744F1275f8e04A62A7E5D663575F3a774B6 +export const POOL_IMPL = '0xff1DB744F1275f8e04A62A7E5D663575F3a774B6'; + +// https://testnet.snowtrace.io/address/0x782559e349b084bB7C07c08404aE6E3436cDAE2E +export const POOL_CONFIGURATOR_IMPL = '0x782559e349b084bB7C07c08404aE6E3436cDAE2E'; // https://testnet.snowtrace.io/address/0x03aFC1Dfb53eae8eB7BE0E8CB6524aa79C3F8578 export const DEFAULT_INCENTIVES_CONTROLLER = '0x03aFC1Dfb53eae8eB7BE0E8CB6524aa79C3F8578'; +// https://testnet.snowtrace.io/address/0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58 +export const EMISSION_MANAGER = '0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58'; + +// ICollector https://testnet.snowtrace.io/address/0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9 +export const COLLECTOR = '0xEd5b0b955C70Fd97557EF9Af2c9bA902Ad1F2AA9'; + // https://testnet.snowtrace.io/address/0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe'; // https://testnet.snowtrace.io/address/0x21CcaD436A6c762B919dB7cb07C5082a43DB2589 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x21CcaD436A6c762B919dB7cb07C5082a43DB2589'; -// https://testnet.snowtrace.io/address/0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58 -export const EMISSION_MANAGER = '0xa46F32c76cAE9Fd34afB8029dE9c30b7F86bFA58'; - // https://testnet.snowtrace.io/address/0x4058FE01Aa090E0841F4E08f79D2607C4861142E export const CONFIG_ENGINE = '0x4058FE01Aa090E0841F4E08f79D2607C4861142E'; @@ -63,6 +63,7 @@ export const CHAIN_ID = 43113; export const ASSETS = { USDC: { decimals: 6, + id: 0, UNDERLYING: '0x5425890298aed601595a70AB815c96711a31Bc65', A_TOKEN: '0x9CFcc1B289E59FBe1E769f020C77315DF8473760', V_TOKEN: '0x92cb483760299e69d31f59050cfD5937B8730E48', @@ -71,6 +72,7 @@ export const ASSETS = { }, EURC: { decimals: 6, + id: 1, UNDERLYING: '0x5E44db7996c682E92a960b65AC713a54AD815c6B', A_TOKEN: '0xBb51336dAD7A010Ff32656b53233c2C3670cc5B9', V_TOKEN: '0x8C776d6d7A6D250Abb1b9Ce22b4E310b95E1ef85', @@ -79,6 +81,7 @@ export const ASSETS = { }, WAVAX: { decimals: 18, + id: 2, UNDERLYING: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c', A_TOKEN: '0x50902e21C8CfB5f2e45127c1Bbcd6B985119b433', V_TOKEN: '0xe7CF4cE189b3a519EE2A41c18338a3bef0f28a9D', @@ -86,15 +89,5 @@ export const ASSETS = { ORACLE: '0x5498BB86BC934c8D34FDA08E81D444153d0D06aD', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', -} as const; +export const E_MODES = {} as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3Gnosis.ts b/src/ts/AaveV3Gnosis.ts index 5b174708..7775e659 100644 --- a/src/ts/AaveV3Gnosis.ts +++ b/src/ts/AaveV3Gnosis.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x36616cf17557639614c1cdDb356b1B83fc0B21 // IPool https://gnosisscan.io/address/0xb50201558B00496A145fE76f7424749556E326D8 export const POOL = '0xb50201558B00496A145fE76f7424749556E326D8'; -// https://gnosisscan.io/address/0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45 -export const POOL_IMPL = '0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45'; - // IPoolConfigurator https://gnosisscan.io/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16 export const POOL_CONFIGURATOR = '0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16'; -// https://gnosisscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://gnosisscan.io/address/0xeb0a051be10228213BAEb449db63719d6742F7c4 export const ORACLE = '0xeb0a051be10228213BAEb449db63719d6742F7c4'; -// IPoolDataProvider https://gnosisscan.io/address/0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717'; +// https://gnosisscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D +export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; // IACLManager https://gnosisscan.io/address/0xEc710f59005f48703908bC519D552Df5B8472614 export const ACL_MANAGER = '0xEc710f59005f48703908bC519D552Df5B8472614'; -// https://gnosisscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D -export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; +// IPoolDataProvider https://gnosisscan.io/address/0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x57038C3e3Fe0a170BB72DE2fD56E98e4d1a69717'; -// ICollector https://gnosisscan.io/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 -export const COLLECTOR = '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51'; +// https://gnosisscan.io/address/0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45 +export const POOL_IMPL = '0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45'; + +// https://gnosisscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://gnosisscan.io/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d export const DEFAULT_INCENTIVES_CONTROLLER = '0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d'; +// https://gnosisscan.io/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB +export const EMISSION_MANAGER = '0x41585C50524fb8c3899B43D7D797d9486AAc94DB'; + +// ICollector https://gnosisscan.io/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 +export const COLLECTOR = '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51'; + // https://gnosisscan.io/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x589750BA8aF186cE5B55391B0b7148cAD43a1619'; // https://gnosisscan.io/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xBeC519531F0E78BcDdB295242fA4EC5251B38574'; -// https://gnosisscan.io/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB -export const EMISSION_MANAGER = '0x41585C50524fb8c3899B43D7D797d9486AAc94DB'; - // https://gnosisscan.io/address/0xE2a33403eaD139873820da597531f07f65ED0E3c export const CONFIG_ENGINE = '0xE2a33403eaD139873820da597531f07f65ED0E3c'; @@ -75,6 +75,7 @@ export const CHAIN_ID = 100; export const ASSETS = { WETH: { decimals: 18, + id: 0, UNDERLYING: '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1', A_TOKEN: '0xa818F1B57c201E092C4A2017A91815034326Efd1', V_TOKEN: '0x0c0fce05F2314540EcB095bF4D069e5E0ED90fF8', @@ -84,6 +85,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 1, UNDERLYING: '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', A_TOKEN: '0x23e4E76D01B2002BE436CE8d6044b0aA2f68B68a', V_TOKEN: '0x9D881f67F20B49243c98f53d2B9E91E39d02Ae09', @@ -93,6 +95,7 @@ export const ASSETS = { }, GNO: { decimals: 18, + id: 2, UNDERLYING: '0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb', A_TOKEN: '0xA1Fa064A85266E2Ca82DEe5C5CcEC84DF445760e', V_TOKEN: '0xBc59E99198DbA71985A66E1713cC89FFEC53f7FC', @@ -102,6 +105,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 3, UNDERLYING: '0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83', A_TOKEN: '0xc6B7AcA6DE8a6044E0e32d0c841a89244A10D284', V_TOKEN: '0x5F6f7B0a87CA3CF3d0b431Ae03EF3305180BFf4d', @@ -111,6 +115,7 @@ export const ASSETS = { }, WXDAI: { decimals: 18, + id: 4, UNDERLYING: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d', A_TOKEN: '0xd0Dd6cEF72143E22cCED4867eb0d5F2328715533', V_TOKEN: '0x281963D7471eCdC3A2Bd4503e24e89691cfe420D', @@ -120,6 +125,7 @@ export const ASSETS = { }, EURe: { decimals: 18, + id: 5, UNDERLYING: '0xcB444e90D8198415266c6a2724b7900fb12FC56E', A_TOKEN: '0xEdBC7449a9b594CA4E053D9737EC5Dc4CbCcBfb2', V_TOKEN: '0xb96404e475f337A7E98e4a541C9b71309BB66c5A', @@ -129,6 +135,7 @@ export const ASSETS = { }, sDAI: { decimals: 18, + id: 6, UNDERLYING: '0xaf204776c7245bF4147c2612BF6e5972Ee483701', A_TOKEN: '0x7a5c3860a77a8DC1b225BD46d0fb2ac1C6D191BC', V_TOKEN: '0x8Fe06E1D8Aff42Bf6812CacF7854A2249a00bED7', @@ -138,6 +145,7 @@ export const ASSETS = { }, USDCe: { decimals: 6, + id: 7, UNDERLYING: '0x2a22f9c3b484c3629090FeED35F17Ff8F88f76F0', A_TOKEN: '0xC0333cb85B59a788d8C7CAe5e1Fd6E229A3E5a65', V_TOKEN: '0x37B9Ad6b5DC8Ad977AD716e92F49e9D200e58431', @@ -147,15 +155,21 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - ETH_CORRELATED: 1, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'ETH correlated', + collateralBitmap: '3', + collateralAssets: [ + '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1', + '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', + ], + borrowableBitmap: '3', + borrowableAssets: [ + '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1', + '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', + ], + ltv: 9000, + liquidationThreshold: 9300, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3Harmony.ts b/src/ts/AaveV3Harmony.ts index 75c36d9b..4baff37d 100644 --- a/src/ts/AaveV3Harmony.ts +++ b/src/ts/AaveV3Harmony.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xa97684ead0e402dC232d5A977953DF7ECBaB3C // IPool https://explorer.harmony.one/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD export const POOL = '0x794a61358D6845594F94dc1DB02A252b5b4814aD'; -// https://explorer.harmony.one/address/0xDF9e4ABdbd94107932265319479643D3B05809dc -export const POOL_IMPL = '0xDF9e4ABdbd94107932265319479643D3B05809dc'; - // IPoolConfigurator https://explorer.harmony.one/address/0x8145eddDf43f50276641b55bd3AD95944510021E export const POOL_CONFIGURATOR = '0x8145eddDf43f50276641b55bd3AD95944510021E'; -// https://explorer.harmony.one/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade -export const POOL_CONFIGURATOR_IMPL = '0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade'; - // IAaveOracle https://explorer.harmony.one/address/0x3C90887Ede8D65ccb2777A5d577beAb2548280AD export const ORACLE = '0x3C90887Ede8D65ccb2777A5d577beAb2548280AD'; -// IPoolDataProvider https://explorer.harmony.one/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654'; +// https://explorer.harmony.one/address/0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D +export const ACL_ADMIN = '0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D'; // IACLManager https://explorer.harmony.one/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B'; -// https://explorer.harmony.one/address/0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D -export const ACL_ADMIN = '0xb2f0C5f37f4beD2cB51C44653cD5D84866BDcd2D'; +// IPoolDataProvider https://explorer.harmony.one/address/0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654'; -// ICollector https://explorer.harmony.one/address/0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31 -export const COLLECTOR = '0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31'; +// https://explorer.harmony.one/address/0xDF9e4ABdbd94107932265319479643D3B05809dc +export const POOL_IMPL = '0xDF9e4ABdbd94107932265319479643D3B05809dc'; + +// https://explorer.harmony.one/address/0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade +export const POOL_CONFIGURATOR_IMPL = '0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade'; // https://explorer.harmony.one/address/0x929EC64c34a17401F460460D4B9390518E5B473e export const DEFAULT_INCENTIVES_CONTROLLER = '0x929EC64c34a17401F460460D4B9390518E5B473e'; +// https://explorer.harmony.one/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 +export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; + +// ICollector https://explorer.harmony.one/address/0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31 +export const COLLECTOR = '0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31'; + // https://explorer.harmony.one/address/0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B'; // https://explorer.harmony.one/address/0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3'; -// https://explorer.harmony.one/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 -export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; - // https://explorer.harmony.one/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x770ef9f4fe897e59daCc474EF11238303F9552b6'; @@ -60,6 +60,7 @@ export const CHAIN_ID = 1666600000; export const ASSETS = { ONE_DAI: { decimals: 18, + id: 0, UNDERLYING: '0xEf977d2f931C1978Db5F6747666fa1eACB0d0339', A_TOKEN: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', V_TOKEN: '0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC', @@ -68,6 +69,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0x218532a12a389a4a92fC0C5Fb22901D1c19198aA', A_TOKEN: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', V_TOKEN: '0x953A573793604aF8d41F306FEb8274190dB4aE0e', @@ -76,6 +78,7 @@ export const ASSETS = { }, ONE_USDC: { decimals: 6, + id: 2, UNDERLYING: '0x985458E523dB3d53125813eD68c274899e9DfAb4', A_TOKEN: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', V_TOKEN: '0xFCCf3cAbbe80101232d343252614b6A3eE81C989', @@ -84,6 +87,7 @@ export const ASSETS = { }, ONE_WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x3095c7557bCb296ccc6e363DE01b760bA031F2d9', A_TOKEN: '0x078f358208685046a11C85e8ad32895DED33A249', V_TOKEN: '0x92b42c66840C7AD907b4BF74879FF3eF7c529473', @@ -92,6 +96,7 @@ export const ASSETS = { }, ONE_ETH: { decimals: 18, + id: 4, UNDERLYING: '0x6983D1E6DEf3690C4d616b13597A09e6193EA013', A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351', @@ -100,6 +105,7 @@ export const ASSETS = { }, ONE_USDT: { decimals: 6, + id: 5, UNDERLYING: '0x3C2B8Be99c50593081EAA2A724F0B8285F5aba8f', A_TOKEN: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', V_TOKEN: '0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7', @@ -108,6 +114,7 @@ export const ASSETS = { }, ONE_AAVE: { decimals: 18, + id: 6, UNDERLYING: '0xcF323Aad9E522B93F11c352CaA519Ad0E14eB40F', A_TOKEN: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', V_TOKEN: '0xE80761Ea617F66F96274eA5e8c37f03960ecC679', @@ -116,6 +123,7 @@ export const ASSETS = { }, WONE: { decimals: 18, + id: 7, UNDERLYING: '0xcF664087a5bB0237a0BAd6742852ec6c8d69A27a', A_TOKEN: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', V_TOKEN: '0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8', @@ -123,7 +131,3 @@ export const ASSETS = { ORACLE: '0x3105C276558Dd4cf7E7be71d73Be8D33bD18F211', }, } as const; -export const E_MODES = { - NONE: 0, - STABLECOINS: 1, -} as const; diff --git a/src/ts/AaveV3Metis.ts b/src/ts/AaveV3Metis.ts index dc78b9e3..3f60d01d 100644 --- a/src/ts/AaveV3Metis.ts +++ b/src/ts/AaveV3Metis.ts @@ -5,45 +5,45 @@ export const POOL_ADDRESSES_PROVIDER = '0xB9FABd7500B2C6781c35Dd48d54f81fc2299D7 // IPool https://explorer.metis.io/address/0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57 export const POOL = '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57'; -// https://explorer.metis.io/address/0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0 -export const POOL_IMPL = '0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0'; - // IPoolConfigurator https://explorer.metis.io/address/0x69FEE8F261E004453BE0800BC9039717528645A6 export const POOL_CONFIGURATOR = '0x69FEE8F261E004453BE0800BC9039717528645A6'; -// https://explorer.metis.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://explorer.metis.io/address/0x38D36e85E47eA6ff0d18B0adF12E5fC8984A6f8e export const ORACLE = '0x38D36e85E47eA6ff0d18B0adF12E5fC8984A6f8e'; // https://explorer.metis.io/address/0x2B5EA1604BAbb7B730120950Cb13951f3525828A export const PRICE_ORACLE_SENTINEL = '0x2B5EA1604BAbb7B730120950Cb13951f3525828A'; -// IPoolDataProvider https://explorer.metis.io/address/0xC01372469A17b6716A38F00c277533917B6859c0 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xC01372469A17b6716A38F00c277533917B6859c0'; +// https://explorer.metis.io/address/0x6fD45D32375d5aDB8D76275A3932c740F03a8718 +export const ACL_ADMIN = '0x6fD45D32375d5aDB8D76275A3932c740F03a8718'; // IACLManager https://explorer.metis.io/address/0xcDCb65fc657B701a5100a12eFB663978E7e8fFB8 export const ACL_MANAGER = '0xcDCb65fc657B701a5100a12eFB663978E7e8fFB8'; -// https://explorer.metis.io/address/0x6fD45D32375d5aDB8D76275A3932c740F03a8718 -export const ACL_ADMIN = '0x6fD45D32375d5aDB8D76275A3932c740F03a8718'; +// IPoolDataProvider https://explorer.metis.io/address/0xC01372469A17b6716A38F00c277533917B6859c0 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xC01372469A17b6716A38F00c277533917B6859c0'; -// ICollector https://explorer.metis.io/address/0xB5b64c7E00374e766272f8B442Cd261412D4b118 -export const COLLECTOR = '0xB5b64c7E00374e766272f8B442Cd261412D4b118'; +// https://explorer.metis.io/address/0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0 +export const POOL_IMPL = '0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0'; + +// https://explorer.metis.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://explorer.metis.io/address/0x30C1b8F0490fa0908863d6Cbd2E36400b4310A6B export const DEFAULT_INCENTIVES_CONTROLLER = '0x30C1b8F0490fa0908863d6Cbd2E36400b4310A6B'; +// https://explorer.metis.io/address/0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2 +export const EMISSION_MANAGER = '0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2'; + +// ICollector https://explorer.metis.io/address/0xB5b64c7E00374e766272f8B442Cd261412D4b118 +export const COLLECTOR = '0xB5b64c7E00374e766272f8B442Cd261412D4b118'; + // https://explorer.metis.io/address/0x246405C70461f93513C74606815615c24c5C8C79 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x246405C70461f93513C74606815615c24c5C8C79'; // https://explorer.metis.io/address/0xE7fA271BD76FC9c6F2F968976E9f4f553256E02f export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xE7fA271BD76FC9c6F2F968976E9f4f553256E02f'; -// https://explorer.metis.io/address/0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2 -export const EMISSION_MANAGER = '0xfDb2580A1ac4CDc67E4236738b28af59e2022Dd2'; - // https://explorer.metis.io/address/0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731 export const CAPS_PLUS_RISK_STEWARD = '0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731'; @@ -78,6 +78,7 @@ export const CHAIN_ID = 1088; export const ASSETS = { mDAI: { decimals: 18, + id: 0, UNDERLYING: '0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0', A_TOKEN: '0x85ABAdDcae06efee2CB5F75f33b6471759eFDE24', V_TOKEN: '0x13Bd89aF338f3c7eAE9a75852fC2F1ca28B4DDbF', @@ -87,6 +88,7 @@ export const ASSETS = { }, Metis: { decimals: 18, + id: 1, UNDERLYING: '0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000', A_TOKEN: '0x7314Ef2CA509490f65F52CC8FC9E0675C66390b8', V_TOKEN: '0x0110174183e13D5Ea59D7512226c5D5A47bA2c40', @@ -96,6 +98,7 @@ export const ASSETS = { }, mUSDC: { decimals: 6, + id: 2, UNDERLYING: '0xEA32A96608495e54156Ae48931A7c20f0dcc1a21', A_TOKEN: '0x885C8AEC5867571582545F894A5906971dB9bf27', V_TOKEN: '0x571171a7EF1e3c8c83d47EF1a50E225E9c351380', @@ -105,6 +108,7 @@ export const ASSETS = { }, mUSDT: { decimals: 6, + id: 3, UNDERLYING: '0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC', A_TOKEN: '0xd9fa75D14c26720d5ce7eE2530793a823e8f07b9', V_TOKEN: '0x6B45DcE8aF4fE5Ab3bFCF030d8fB57718eAB54e5', @@ -114,6 +118,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0x420000000000000000000000000000000000000A', A_TOKEN: '0x8acAe35059C9aE27709028fF6689386a44c09f3a', V_TOKEN: '0x8Bb19e3DD277a73D4A95EE434F14cE4B92898421', @@ -122,15 +127,5 @@ export const ASSETS = { STATIC_A_TOKEN: '0x2f1606864d6322c54b50a1762D4a1ca67f42d23d', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', -} as const; +export const E_MODES = {} as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3Optimism.ts b/src/ts/AaveV3Optimism.ts index 93d5aec3..81e214fd 100644 --- a/src/ts/AaveV3Optimism.ts +++ b/src/ts/AaveV3Optimism.ts @@ -5,45 +5,45 @@ export const POOL_ADDRESSES_PROVIDER = '0xa97684ead0e402dC232d5A977953DF7ECBaB3C // IPool https://optimistic.etherscan.io/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD export const POOL = '0x794a61358D6845594F94dc1DB02A252b5b4814aD'; -// https://optimistic.etherscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 -export const POOL_IMPL = '0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4'; - // IPoolConfigurator https://optimistic.etherscan.io/address/0x8145eddDf43f50276641b55bd3AD95944510021E export const POOL_CONFIGURATOR = '0x8145eddDf43f50276641b55bd3AD95944510021E'; -// https://optimistic.etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://optimistic.etherscan.io/address/0xD81eb3728a631871a7eBBaD631b5f424909f0c77 export const ORACLE = '0xD81eb3728a631871a7eBBaD631b5f424909f0c77'; // https://optimistic.etherscan.io/address/0xE229d5DE4BD5beEAf12d427B5B57BFe66abD2c3b export const PRICE_ORACLE_SENTINEL = '0xE229d5DE4BD5beEAf12d427B5B57BFe66abD2c3b'; -// IPoolDataProvider https://optimistic.etherscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; +// https://optimistic.etherscan.io/address/0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf +export const ACL_ADMIN = '0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf'; // IACLManager https://optimistic.etherscan.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B'; -// https://optimistic.etherscan.io/address/0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf -export const ACL_ADMIN = '0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf'; +// IPoolDataProvider https://optimistic.etherscan.io/address/0x7F23D86Ee20D869112572136221e173428DD740B +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; -// ICollector https://optimistic.etherscan.io/address/0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf -export const COLLECTOR = '0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf'; +// https://optimistic.etherscan.io/address/0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4 +export const POOL_IMPL = '0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4'; + +// https://optimistic.etherscan.io/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://optimistic.etherscan.io/address/0x929EC64c34a17401F460460D4B9390518E5B473e export const DEFAULT_INCENTIVES_CONTROLLER = '0x929EC64c34a17401F460460D4B9390518E5B473e'; +// https://optimistic.etherscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 +export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; + +// ICollector https://optimistic.etherscan.io/address/0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf +export const COLLECTOR = '0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf'; + // https://optimistic.etherscan.io/address/0xbCb167bDCF14a8F791d6f4A6EDd964aed2F8813B export const DEFAULT_A_TOKEN_IMPL_REV_2 = '0xbCb167bDCF14a8F791d6f4A6EDd964aed2F8813B'; // https://optimistic.etherscan.io/address/0x04a8D477eE202aDCE1682F5902e1160455205b12 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = '0x04a8D477eE202aDCE1682F5902e1160455205b12'; -// https://optimistic.etherscan.io/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 -export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; - // https://optimistic.etherscan.io/address/0x5E76E98E0963EcDC6A065d1435F84065b7523f39 export const CAPS_PLUS_RISK_STEWARD = '0x5E76E98E0963EcDC6A065d1435F84065b7523f39'; @@ -93,6 +93,7 @@ export const CHAIN_ID = 10; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', A_TOKEN: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', V_TOKEN: '0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC', @@ -102,6 +103,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', A_TOKEN: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', V_TOKEN: '0x953A573793604aF8d41F306FEb8274190dB4aE0e', @@ -111,6 +113,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', A_TOKEN: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', V_TOKEN: '0xFCCf3cAbbe80101232d343252614b6A3eE81C989', @@ -120,6 +123,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x68f180fcCe6836688e9084f035309E29Bf0A2095', A_TOKEN: '0x078f358208685046a11C85e8ad32895DED33A249', V_TOKEN: '0x92b42c66840C7AD907b4BF74879FF3eF7c529473', @@ -129,6 +133,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0x4200000000000000000000000000000000000006', A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351', @@ -138,6 +143,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 5, UNDERLYING: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', A_TOKEN: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', V_TOKEN: '0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7', @@ -147,6 +153,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0x76FB31fb4af56892A25e32cFC43De717950c9278', A_TOKEN: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', V_TOKEN: '0xE80761Ea617F66F96274eA5e8c37f03960ecC679', @@ -156,6 +163,7 @@ export const ASSETS = { }, sUSD: { decimals: 18, + id: 7, UNDERLYING: '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', A_TOKEN: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', V_TOKEN: '0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8', @@ -165,6 +173,7 @@ export const ASSETS = { }, OP: { decimals: 18, + id: 8, UNDERLYING: '0x4200000000000000000000000000000000000042', A_TOKEN: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', V_TOKEN: '0x77CA01483f379E58174739308945f044e1a764dc', @@ -174,6 +183,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 9, UNDERLYING: '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb', A_TOKEN: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', V_TOKEN: '0x34e2eD44EF7466D5f9E0b782B5c08b57475e7907', @@ -183,6 +193,7 @@ export const ASSETS = { }, LUSD: { decimals: 18, + id: 10, UNDERLYING: '0xc40F949F8a4e094D1b49a23ea9241D289B7b2819', A_TOKEN: '0x8Eb270e296023E9D92081fdF967dDd7878724424', V_TOKEN: '0xCE186F6Cccb0c955445bb9d10C59caE488Fea559', @@ -192,6 +203,7 @@ export const ASSETS = { }, MAI: { decimals: 18, + id: 11, UNDERLYING: '0xdFA46478F9e5EA86d57387849598dbFB2e964b02', A_TOKEN: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', V_TOKEN: '0xA8669021776Bc142DfcA87c21b4A52595bCbB40a', @@ -201,6 +213,7 @@ export const ASSETS = { }, rETH: { decimals: 18, + id: 12, UNDERLYING: '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D', A_TOKEN: '0x724dc807b04555b71ed48a6896b6F41593b8C637', V_TOKEN: '0xf611aEb5013fD2c0511c9CD55c7dc5C1140741A6', @@ -210,6 +223,7 @@ export const ASSETS = { }, USDCn: { decimals: 6, + id: 13, UNDERLYING: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', A_TOKEN: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', V_TOKEN: '0x5D557B07776D12967914379C71a1310e917C7555', @@ -219,16 +233,45 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - STABLECOINS: 1, - ETH_CORRELATED: 2, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'Stablecoins', + collateralBitmap: '8357', + collateralAssets: [ + '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', + '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', + '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', + '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', + '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', + ], + borrowableBitmap: '8357', + borrowableAssets: [ + '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', + '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', + '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', + '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', + '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', + ], + ltv: 9000, + liquidationThreshold: 9300, + liquidationBonus: 10100, + }, + '2': { + label: 'ETH correlated', + collateralBitmap: '4624', + collateralAssets: [ + '0x4200000000000000000000000000000000000006', + '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb', + '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D', + ], + borrowableBitmap: '4624', + borrowableAssets: [ + '0x4200000000000000000000000000000000000006', + '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb', + '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3OptimismSepolia.ts b/src/ts/AaveV3OptimismSepolia.ts index 9e364b67..b6d47f92 100644 --- a/src/ts/AaveV3OptimismSepolia.ts +++ b/src/ts/AaveV3OptimismSepolia.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x36616cf17557639614c1cdDb356b1B83fc0B21 // IPool https://optimism-sepolia.blockscout.com/address/0xb50201558B00496A145fE76f7424749556E326D8 export const POOL = '0xb50201558B00496A145fE76f7424749556E326D8'; -// https://optimism-sepolia.blockscout.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 -export const POOL_IMPL = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671'; - // IPoolConfigurator https://optimism-sepolia.blockscout.com/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16 export const POOL_CONFIGURATOR = '0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16'; -// https://optimism-sepolia.blockscout.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C -export const POOL_CONFIGURATOR_IMPL = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; - // IAaveOracle https://optimism-sepolia.blockscout.com/address/0xeb0a051be10228213BAEb449db63719d6742F7c4 export const ORACLE = '0xeb0a051be10228213BAEb449db63719d6742F7c4'; -// IPoolDataProvider https://optimism-sepolia.blockscout.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741'; +// https://optimism-sepolia.blockscout.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D +export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; // IACLManager https://optimism-sepolia.blockscout.com/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB export const ACL_MANAGER = '0x41585C50524fb8c3899B43D7D797d9486AAc94DB'; -// https://optimism-sepolia.blockscout.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D -export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; +// IPoolDataProvider https://optimism-sepolia.blockscout.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741'; -// ICollector https://optimism-sepolia.blockscout.com/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 -export const COLLECTOR = '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51'; +// https://optimism-sepolia.blockscout.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 +export const POOL_IMPL = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671'; + +// https://optimism-sepolia.blockscout.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C +export const POOL_CONFIGURATOR_IMPL = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; // https://optimism-sepolia.blockscout.com/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d export const DEFAULT_INCENTIVES_CONTROLLER = '0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d'; +// https://optimism-sepolia.blockscout.com/address/0xB438D5376ADB4b31D0103E659f1673eAD684BAD9 +export const EMISSION_MANAGER = '0xB438D5376ADB4b31D0103E659f1673eAD684BAD9'; + +// ICollector https://optimism-sepolia.blockscout.com/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 +export const COLLECTOR = '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51'; + // https://optimism-sepolia.blockscout.com/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43 export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x6c23bAF050ec192afc0B967a93b83e6c5405df43'; // https://optimism-sepolia.blockscout.com/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x777fBA024bA1228fDa76149A4ff8B23475ed057D'; -// https://optimism-sepolia.blockscout.com/address/0xB438D5376ADB4b31D0103E659f1673eAD684BAD9 -export const EMISSION_MANAGER = '0xB438D5376ADB4b31D0103E659f1673eAD684BAD9'; - // https://optimism-sepolia.blockscout.com/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574 export const L2_ENCODER = '0xBeC519531F0E78BcDdB295242fA4EC5251B38574'; @@ -69,6 +69,7 @@ export const CHAIN_ID = 11155420; export const ASSETS = { USDC: { decimals: 6, + id: 0, UNDERLYING: '0x5fd84259d66Cd46123540766Be93DFE6D43130D7', A_TOKEN: '0xa818F1B57c201E092C4A2017A91815034326Efd1', V_TOKEN: '0x0c0fce05F2314540EcB095bF4D069e5E0ED90fF8', @@ -77,6 +78,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 1, UNDERLYING: '0x4200000000000000000000000000000000000006', A_TOKEN: '0x23e4E76D01B2002BE436CE8d6044b0aA2f68B68a', V_TOKEN: '0x9D881f67F20B49243c98f53d2B9E91E39d02Ae09', @@ -84,6 +86,3 @@ export const ASSETS = { ORACLE: '0x61Ec26aA57019C486B10502285c5A3D4A4750AD7', }, } as const; -export const E_MODES = { - NONE: 0, -} as const; diff --git a/src/ts/AaveV3Polygon.ts b/src/ts/AaveV3Polygon.ts index d5e62a22..9b06c62e 100644 --- a/src/ts/AaveV3Polygon.ts +++ b/src/ts/AaveV3Polygon.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0xa97684ead0e402dC232d5A977953DF7ECBaB3C // IPool https://polygonscan.com/address/0x794a61358D6845594F94dc1DB02A252b5b4814aD export const POOL = '0x794a61358D6845594F94dc1DB02A252b5b4814aD'; -// https://polygonscan.com/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 -export const POOL_IMPL = '0x1f69d4700B34A1D9F92E55235df414FcC02A8306'; - // IPoolConfigurator https://polygonscan.com/address/0x8145eddDf43f50276641b55bd3AD95944510021E export const POOL_CONFIGURATOR = '0x8145eddDf43f50276641b55bd3AD95944510021E'; -// https://polygonscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://polygonscan.com/address/0xb023e699F5a33916Ea823A16485e259257cA8Bd1 export const ORACLE = '0xb023e699F5a33916Ea823A16485e259257cA8Bd1'; -// IPoolDataProvider https://polygonscan.com/address/0x7F23D86Ee20D869112572136221e173428DD740B -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; +// https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233 +export const ACL_ADMIN = '0xDf7d0e6454DB638881302729F5ba99936EaAB233'; // IACLManager https://polygonscan.com/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B'; -// https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233 -export const ACL_ADMIN = '0xDf7d0e6454DB638881302729F5ba99936EaAB233'; +// IPoolDataProvider https://polygonscan.com/address/0x7F23D86Ee20D869112572136221e173428DD740B +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7F23D86Ee20D869112572136221e173428DD740B'; -// ICollector https://polygonscan.com/address/0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383 -export const COLLECTOR = '0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383'; +// https://polygonscan.com/address/0x1f69d4700B34A1D9F92E55235df414FcC02A8306 +export const POOL_IMPL = '0x1f69d4700B34A1D9F92E55235df414FcC02A8306'; + +// https://polygonscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://polygonscan.com/address/0x929EC64c34a17401F460460D4B9390518E5B473e export const DEFAULT_INCENTIVES_CONTROLLER = '0x929EC64c34a17401F460460D4B9390518E5B473e'; +// https://polygonscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 +export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; + +// ICollector https://polygonscan.com/address/0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383 +export const COLLECTOR = '0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383'; + // https://polygonscan.com/address/0xCf85FF1c37c594a10195F7A9Ab85CBb0a03f69dE export const DEFAULT_A_TOKEN_IMPL_REV_2 = '0xCf85FF1c37c594a10195F7A9Ab85CBb0a03f69dE'; // https://polygonscan.com/address/0x79b5e91037AE441dE0d9e6fd3Fd85b96B83d4E93 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_2 = '0x79b5e91037AE441dE0d9e6fd3Fd85b96B83d4E93'; -// https://polygonscan.com/address/0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73 -export const EMISSION_MANAGER = '0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73'; - // https://polygonscan.com/address/0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f export const CAPS_PLUS_RISK_STEWARD = '0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f'; @@ -87,6 +87,7 @@ export const CHAIN_ID = 137; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', A_TOKEN: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', V_TOKEN: '0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC', @@ -96,6 +97,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', A_TOKEN: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', V_TOKEN: '0x953A573793604aF8d41F306FEb8274190dB4aE0e', @@ -105,6 +107,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', A_TOKEN: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', V_TOKEN: '0xFCCf3cAbbe80101232d343252614b6A3eE81C989', @@ -114,6 +117,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', A_TOKEN: '0x078f358208685046a11C85e8ad32895DED33A249', V_TOKEN: '0x92b42c66840C7AD907b4BF74879FF3eF7c529473', @@ -123,6 +127,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', A_TOKEN: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', V_TOKEN: '0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351', @@ -132,6 +137,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 5, UNDERLYING: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', A_TOKEN: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', V_TOKEN: '0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7', @@ -141,6 +147,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', A_TOKEN: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', V_TOKEN: '0xE80761Ea617F66F96274eA5e8c37f03960ecC679', @@ -150,6 +157,7 @@ export const ASSETS = { }, WPOL: { decimals: 18, + id: 7, UNDERLYING: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', A_TOKEN: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', V_TOKEN: '0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8', @@ -159,6 +167,7 @@ export const ASSETS = { }, CRV: { decimals: 18, + id: 8, UNDERLYING: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', A_TOKEN: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', V_TOKEN: '0x77CA01483f379E58174739308945f044e1a764dc', @@ -168,6 +177,7 @@ export const ASSETS = { }, SUSHI: { decimals: 18, + id: 9, UNDERLYING: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', A_TOKEN: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', V_TOKEN: '0x34e2eD44EF7466D5f9E0b782B5c08b57475e7907', @@ -177,6 +187,7 @@ export const ASSETS = { }, GHST: { decimals: 18, + id: 10, UNDERLYING: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', A_TOKEN: '0x8Eb270e296023E9D92081fdF967dDd7878724424', V_TOKEN: '0xCE186F6Cccb0c955445bb9d10C59caE488Fea559', @@ -186,6 +197,7 @@ export const ASSETS = { }, BAL: { decimals: 18, + id: 11, UNDERLYING: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', A_TOKEN: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', V_TOKEN: '0xA8669021776Bc142DfcA87c21b4A52595bCbB40a', @@ -195,6 +207,7 @@ export const ASSETS = { }, DPI: { decimals: 18, + id: 12, UNDERLYING: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', A_TOKEN: '0x724dc807b04555b71ed48a6896b6F41593b8C637', V_TOKEN: '0xf611aEb5013fD2c0511c9CD55c7dc5C1140741A6', @@ -204,6 +217,7 @@ export const ASSETS = { }, EURS: { decimals: 2, + id: 13, UNDERLYING: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', A_TOKEN: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', V_TOKEN: '0x5D557B07776D12967914379C71a1310e917C7555', @@ -213,6 +227,7 @@ export const ASSETS = { }, jEUR: { decimals: 18, + id: 14, UNDERLYING: '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', A_TOKEN: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', V_TOKEN: '0x44705f578135cC5d703b4c9c122528C73Eb87145', @@ -222,6 +237,7 @@ export const ASSETS = { }, EURA: { decimals: 18, + id: 15, UNDERLYING: '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', A_TOKEN: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77', V_TOKEN: '0x3ca5FA07689F266e907439aFd1fBB59c44fe12f6', @@ -231,6 +247,7 @@ export const ASSETS = { }, miMATIC: { decimals: 18, + id: 16, UNDERLYING: '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1', A_TOKEN: '0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D', V_TOKEN: '0x18248226C16BF76c032817854E7C83a2113B4f06', @@ -240,6 +257,7 @@ export const ASSETS = { }, stMATIC: { decimals: 18, + id: 17, UNDERLYING: '0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4', A_TOKEN: '0xEA1132120ddcDDA2F119e99Fa7A27a0d036F7Ac9', V_TOKEN: '0x6b030Ff3FB9956B1B69f475B77aE0d3Cf2CC5aFa', @@ -249,6 +267,7 @@ export const ASSETS = { }, MaticX: { decimals: 18, + id: 18, UNDERLYING: '0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6', A_TOKEN: '0x80cA0d8C38d2e2BcbaB66aA1648Bd1C7160500FE', V_TOKEN: '0xB5b46F918C2923fC7f26DB76e8a6A6e9C4347Cf9', @@ -258,6 +277,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 19, UNDERLYING: '0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD', A_TOKEN: '0xf59036CAEBeA7dC4b86638DFA2E3C97dA9FcCd40', V_TOKEN: '0x77fA66882a8854d883101Fb8501BD3CaD347Fc32', @@ -267,6 +287,7 @@ export const ASSETS = { }, USDCn: { decimals: 6, + id: 20, UNDERLYING: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', A_TOKEN: '0xA4D94019934D8333Ef880ABFFbF2FDd611C762BD', V_TOKEN: '0xE701126012EC0290822eEA17B794454d1AF8b030', @@ -276,17 +297,67 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - STABLECOINS: 1, - MATIC_CORRELATED: 2, - ETH_CORRELATED: 3, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'Stablecoins', + collateralBitmap: '1171493', + collateralAssets: [ + '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', + '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', + '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', + '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', + '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', + '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', + '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1', + '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', + ], + borrowableBitmap: '1171493', + borrowableAssets: [ + '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', + '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', + '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', + '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', + '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', + '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', + '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1', + '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', + ], + ltv: 9300, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, + '2': { + label: 'MATIC correlated', + collateralBitmap: '393344', + collateralAssets: [ + '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', + '0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4', + '0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6', + ], + borrowableBitmap: '393344', + borrowableAssets: [ + '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', + '0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4', + '0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6', + ], + ltv: 9250, + liquidationThreshold: 9500, + liquidationBonus: 10100, + }, + '3': { + label: 'ETH correlated', + collateralBitmap: '524304', + collateralAssets: [ + '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', + '0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD', + ], + borrowableBitmap: '524304', + borrowableAssets: [ + '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', + '0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD', + ], + ltv: 9000, + liquidationThreshold: 9300, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3PolygonZkEvm.ts b/src/ts/AaveV3PolygonZkEvm.ts index 3c1aabbf..2f560ec0 100644 --- a/src/ts/AaveV3PolygonZkEvm.ts +++ b/src/ts/AaveV3PolygonZkEvm.ts @@ -5,39 +5,30 @@ export const POOL_ADDRESSES_PROVIDER = '0x36616cf17557639614c1cdDb356b1B83fc0B21 // IPool https://zkevm.polygonscan.com/address/0xb50201558B00496A145fE76f7424749556E326D8 export const POOL = '0xb50201558B00496A145fE76f7424749556E326D8'; -// https://zkevm.polygonscan.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 -export const POOL_IMPL = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671'; - // IPoolConfigurator https://zkevm.polygonscan.com/address/0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16 export const POOL_CONFIGURATOR = '0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16'; -// https://zkevm.polygonscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C -export const POOL_CONFIGURATOR_IMPL = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; - // IAaveOracle https://zkevm.polygonscan.com/address/0x3e652E97ff339B73421f824F5b03d75b62F1Fb51 export const ORACLE = '0x3e652E97ff339B73421f824F5b03d75b62F1Fb51'; -// IPoolDataProvider https://zkevm.polygonscan.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741'; +// https://zkevm.polygonscan.com/address/0xe59470B3BE3293534603487E00A44C72f2CD466d +export const ACL_ADMIN = '0xe59470B3BE3293534603487E00A44C72f2CD466d'; // IACLManager https://zkevm.polygonscan.com/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB export const ACL_MANAGER = '0x41585C50524fb8c3899B43D7D797d9486AAc94DB'; -// https://zkevm.polygonscan.com/address/0xe59470B3BE3293534603487E00A44C72f2CD466d -export const ACL_ADMIN = '0xe59470B3BE3293534603487E00A44C72f2CD466d'; +// IPoolDataProvider https://zkevm.polygonscan.com/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741'; + +// https://zkevm.polygonscan.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 +export const POOL_IMPL = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671'; -// ICollector https://zkevm.polygonscan.com/address/0xe892E40C92c2E4D281Be59b2E6300F271d824E75 -export const COLLECTOR = '0xe892E40C92c2E4D281Be59b2E6300F271d824E75'; +// https://zkevm.polygonscan.com/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C +export const POOL_CONFIGURATOR_IMPL = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; // https://zkevm.polygonscan.com/address/0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d export const DEFAULT_INCENTIVES_CONTROLLER = '0xaD4F91D26254B6B0C6346b390dDA2991FDE2F20d'; -// https://zkevm.polygonscan.com/address/0xDe090EfCD6ef4b86792e2D84E55a5fa8d49D25D2 -export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xDe090EfCD6ef4b86792e2D84E55a5fa8d49D25D2'; - -// https://zkevm.polygonscan.com/address/0x988B5d3863bdEE83339Be41cD31344Dfd9FD197c -export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x988B5d3863bdEE83339Be41cD31344Dfd9FD197c'; - // https://zkevm.polygonscan.com/address/0xeb0a051be10228213BAEb449db63719d6742F7c4 export const EMISSION_MANAGER = '0xeb0a051be10228213BAEb449db63719d6742F7c4'; @@ -85,6 +76,3 @@ export const WITHDRAW_SWAP_ADAPTER = '0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af export const CHAIN_ID = 1101; export const ASSETS = {} as const; -export const E_MODES = { - NONE: 0, -} as const; diff --git a/src/ts/AaveV3Scroll.ts b/src/ts/AaveV3Scroll.ts index e78a1921..d859cf63 100644 --- a/src/ts/AaveV3Scroll.ts +++ b/src/ts/AaveV3Scroll.ts @@ -5,45 +5,45 @@ export const POOL_ADDRESSES_PROVIDER = '0x69850D0B276776781C063771b161bd8894BCdD // IPool https://scrollscan.com/address/0x11fCfe756c05AD438e312a7fd934381537D3cFfe export const POOL = '0x11fCfe756c05AD438e312a7fd934381537D3cFfe'; -// https://scrollscan.com/address/0xE8Ba6eD06F0c00885754704108a72A54a5E5b764 -export const POOL_IMPL = '0xE8Ba6eD06F0c00885754704108a72A54a5E5b764'; - // IPoolConfigurator https://scrollscan.com/address/0x32BCab42a2bb5AC577D24b425D46d8b8e0Df9b7f export const POOL_CONFIGURATOR = '0x32BCab42a2bb5AC577D24b425D46d8b8e0Df9b7f'; -// https://scrollscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e -export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; - // IAaveOracle https://scrollscan.com/address/0x04421D8C506E2fA2371a08EfAaBf791F624054F3 export const ORACLE = '0x04421D8C506E2fA2371a08EfAaBf791F624054F3'; // https://scrollscan.com/address/0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391 export const PRICE_ORACLE_SENTINEL = '0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391'; -// IPoolDataProvider https://scrollscan.com/address/0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b'; +// https://scrollscan.com/address/0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24 +export const ACL_ADMIN = '0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24'; // IACLManager https://scrollscan.com/address/0x7633F981D87dC6307227de9383D2ce7243158081 export const ACL_MANAGER = '0x7633F981D87dC6307227de9383D2ce7243158081'; -// https://scrollscan.com/address/0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24 -export const ACL_ADMIN = '0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24'; +// IPoolDataProvider https://scrollscan.com/address/0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xe2108b60623C6Dcf7bBd535bD15a451fd0811f7b'; -// ICollector https://scrollscan.com/address/0x90eB541e1a431D8a30ED85A77675D1F001128cb5 -export const COLLECTOR = '0x90eB541e1a431D8a30ED85A77675D1F001128cb5'; +// https://scrollscan.com/address/0xE8Ba6eD06F0c00885754704108a72A54a5E5b764 +export const POOL_IMPL = '0xE8Ba6eD06F0c00885754704108a72A54a5E5b764'; + +// https://scrollscan.com/address/0x4816b2C2895f97fB918f1aE7Da403750a0eE372e +export const POOL_CONFIGURATOR_IMPL = '0x4816b2C2895f97fB918f1aE7Da403750a0eE372e'; // https://scrollscan.com/address/0xa3f3100C4f1D0624DB9DB97b40C13885Ce297799 export const DEFAULT_INCENTIVES_CONTROLLER = '0xa3f3100C4f1D0624DB9DB97b40C13885Ce297799'; +// https://scrollscan.com/address/0x6091546836DAe0487A50E300da3F237727441D90 +export const EMISSION_MANAGER = '0x6091546836DAe0487A50E300da3F237727441D90'; + +// ICollector https://scrollscan.com/address/0x90eB541e1a431D8a30ED85A77675D1F001128cb5 +export const COLLECTOR = '0x90eB541e1a431D8a30ED85A77675D1F001128cb5'; + // https://scrollscan.com/address/0x92EDe4ABd9df4Bfb49b4d723e4c932e35c47C54C export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x92EDe4ABd9df4Bfb49b4d723e4c932e35c47C54C'; // https://scrollscan.com/address/0x49bA16C08130FF8cFADE263B49387A8555bc057B export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x49bA16C08130FF8cFADE263B49387A8555bc057B'; -// https://scrollscan.com/address/0x6091546836DAe0487A50E300da3F237727441D90 -export const EMISSION_MANAGER = '0x6091546836DAe0487A50E300da3F237727441D90'; - // https://scrollscan.com/address/0x8714E5ED2d8edD4E88eFf66637C3FE8eCf2B8C40 export const L2_ENCODER = '0x8714E5ED2d8edD4E88eFf66637C3FE8eCf2B8C40'; @@ -81,6 +81,7 @@ export const CHAIN_ID = 534352; export const ASSETS = { WETH: { decimals: 18, + id: 0, UNDERLYING: '0x5300000000000000000000000000000000000004', A_TOKEN: '0xf301805bE1Df81102C957f6d4Ce29d2B8c056B2a', V_TOKEN: '0xfD7344CeB1Df9Cf238EcD667f4A6F99c6Ef44a56', @@ -90,6 +91,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 1, UNDERLYING: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4', A_TOKEN: '0x1D738a3436A8C49CefFbaB7fbF04B660fb528CbD', V_TOKEN: '0x3d2E209af5BFa79297C88D6b57F89d792F6E28EE', @@ -99,6 +101,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 2, UNDERLYING: '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32', A_TOKEN: '0x5B1322eeb46240b02e20062b8F0F9908d525B09c', V_TOKEN: '0x8a035644322129800C3f747f54Db0F4d3c0A2877', @@ -108,6 +111,7 @@ export const ASSETS = { }, weETH: { decimals: 18, + id: 3, UNDERLYING: '0x01f0a31698C4d065659b9bdC21B3610292a1c506', A_TOKEN: '0xd80A5e16DBDC52Bd1C947CEDfA22c562Be9129C8', V_TOKEN: '0x009D88C6a6B4CaA240b71C98BA93732e26F2A55A', @@ -116,15 +120,23 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - ETH_CORRELATED: 1, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xb32381feFFF45eE9F47fD2f2cF83C832637d6EF0', - BORROW_LOGIC: '0x4c52FE2162200bf26c314d7bbd8611699139d553', - BRIDGE_LOGIC: '0x97dCbFaE5372A63128F141E8C0BC2c871Ca5F604', - E_MODE_LOGIC: '0x88F864670De467aA73CD45325F9652C578C8AB85', - LIQUIDATION_LOGIC: '0x80d16970B31243Fe67DaB028115f3E4c3E3510Ad', - POOL_LOGIC: '0xA58FB47bE9074828215A173564C0CD10f6F249bf', - SUPPLY_LOGIC: '0x2b22E425C1322fbA0DbF17bb1dA25d71811EE7ba', + '1': { + label: 'ETH correlated', + collateralBitmap: '13', + collateralAssets: [ + '0x5300000000000000000000000000000000000004', + '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32', + '0x01f0a31698C4d065659b9bdC21B3610292a1c506', + ], + borrowableBitmap: '13', + borrowableAssets: [ + '0x5300000000000000000000000000000000000004', + '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32', + '0x01f0a31698C4d065659b9bdC21B3610292a1c506', + ], + ltv: 9000, + liquidationThreshold: 9300, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/AaveV3ScrollSepolia.ts b/src/ts/AaveV3ScrollSepolia.ts index adfd8f6a..cf1508ce 100644 --- a/src/ts/AaveV3ScrollSepolia.ts +++ b/src/ts/AaveV3ScrollSepolia.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x52A27dC690F8652288194Dd2bc523863eBdEa2 // IPool https://sepolia.scrollscan.com/address/0x48914C788295b5db23aF2b5F0B3BE775C4eA9440 export const POOL = '0x48914C788295b5db23aF2b5F0B3BE775C4eA9440'; -// https://sepolia.scrollscan.com/address/0xB186894F315133C2396104CAb386C3A0fEC09025 -export const POOL_IMPL = '0xB186894F315133C2396104CAb386C3A0fEC09025'; - // IPoolConfigurator https://sepolia.scrollscan.com/address/0x63BB78Fbac521998BD6E33f1a960677c7a1d4F10 export const POOL_CONFIGURATOR = '0x63BB78Fbac521998BD6E33f1a960677c7a1d4F10'; -// https://sepolia.scrollscan.com/address/0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF -export const POOL_CONFIGURATOR_IMPL = '0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF'; - // IAaveOracle https://sepolia.scrollscan.com/address/0x4B7C7D2EbcDc1015D35F617596318C15d9d24e59 export const ORACLE = '0x4B7C7D2EbcDc1015D35F617596318C15d9d24e59'; -// IPoolDataProvider https://sepolia.scrollscan.com/address/0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee -export const AAVE_PROTOCOL_DATA_PROVIDER = '0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee'; +// https://sepolia.scrollscan.com/address/0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0 +export const ACL_ADMIN = '0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0'; // IACLManager https://sepolia.scrollscan.com/address/0x166601A0Cc6Cf979e2f0eF94EC5363B6BC24061C export const ACL_MANAGER = '0x166601A0Cc6Cf979e2f0eF94EC5363B6BC24061C'; -// https://sepolia.scrollscan.com/address/0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0 -export const ACL_ADMIN = '0xA5bf8BC3c35D9F92b038254B9B8675266f6b62c0'; +// IPoolDataProvider https://sepolia.scrollscan.com/address/0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee +export const AAVE_PROTOCOL_DATA_PROVIDER = '0xaE58b3Be9E159bDEc67Ada8507CA3001c80725Ee'; -// ICollector https://sepolia.scrollscan.com/address/0x104Cd7695C9247096F7AD37d3258B63c9675A00e -export const COLLECTOR = '0x104Cd7695C9247096F7AD37d3258B63c9675A00e'; +// https://sepolia.scrollscan.com/address/0xB186894F315133C2396104CAb386C3A0fEC09025 +export const POOL_IMPL = '0xB186894F315133C2396104CAb386C3A0fEC09025'; + +// https://sepolia.scrollscan.com/address/0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF +export const POOL_CONFIGURATOR_IMPL = '0xE7560d98a9fdAe4F3b87eb172ae44177A075eeDF'; // https://sepolia.scrollscan.com/address/0xa76F05D0cdf599E0186dec880F2FA480fd0c5280 export const DEFAULT_INCENTIVES_CONTROLLER = '0xa76F05D0cdf599E0186dec880F2FA480fd0c5280'; +// https://sepolia.scrollscan.com/address/0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2 +export const EMISSION_MANAGER = '0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2'; + +// ICollector https://sepolia.scrollscan.com/address/0x104Cd7695C9247096F7AD37d3258B63c9675A00e +export const COLLECTOR = '0x104Cd7695C9247096F7AD37d3258B63c9675A00e'; + // https://sepolia.scrollscan.com/address/0x0Eae78c97347bf6FCF784Aa91CABC4aCdB5cc2dd export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x0Eae78c97347bf6FCF784Aa91CABC4aCdB5cc2dd'; // https://sepolia.scrollscan.com/address/0xAb8eaAE8383Abe28203cB6e6FAa0477B2fb97f07 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0xAb8eaAE8383Abe28203cB6e6FAa0477B2fb97f07'; -// https://sepolia.scrollscan.com/address/0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2 -export const EMISSION_MANAGER = '0x01dd3Ad7D942406C47acd5b70cBad28fd377c6f2'; - // https://sepolia.scrollscan.com/address/0x2F826FD1a0071476330a58dD1A9B36bcF7da832d export const FAUCET = '0x2F826FD1a0071476330a58dD1A9B36bcF7da832d'; @@ -63,6 +63,7 @@ export const CHAIN_ID = 534351; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0x7984E363c38b590bB4CA35aEd5133Ef2c6619C40', A_TOKEN: '0x99Cb50E6bE36C8096e6731ED7738d93090B710DD', V_TOKEN: '0x09F9A7cd11BE8468064b06FF20Dce43E0A434a2A', @@ -71,6 +72,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0x279cBF5B7e3651F03CB9b71A9E7A3c924b267801', A_TOKEN: '0x55DD1cDFE13fCa68F6D14D452E2a20cABe191841', V_TOKEN: '0x2f42470c67aA2f6D7d2855FBB691179a6Dba4822', @@ -79,6 +81,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0x2C9678042D52B97D27f2bD2947F7111d93F3dD0D', A_TOKEN: '0x6E4A1BcBd3C3038e6957207cadC1A17092DC7ba3', V_TOKEN: '0x6ED2eB0A4141975A8A33558234137265f36055f7', @@ -87,6 +90,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x5EA79f3190ff37418d42F9B2618688494dBD9693', A_TOKEN: '0x43AE2a14AD923915aa85d683D1b7d0d320ae87B2', V_TOKEN: '0x52a011bF32a85D952aa259D85b705b7cF040836f', @@ -95,6 +99,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0xb123dCe044EdF0a755505d9623Fba16C0F41cae9', A_TOKEN: '0x9E8CEC4F2F4596141B62e88966D7167E9db555aD', V_TOKEN: '0xD502CD7A595ec36992b0601fae0A4b50A88084D4', @@ -103,6 +108,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 5, UNDERLYING: '0x186C0C26c45A8DA1Da34339ee513624a9609156d', A_TOKEN: '0x54Cb3ba40705d7CCB18c1C24edD8B602a88eF4CE', V_TOKEN: '0x4cB0Dd10789208630F4def0DAAB4161f4Bb7b09D', @@ -111,6 +117,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0xfc2921bE7B2762F0E87039905d6019B0fF5978a8', A_TOKEN: '0xC5209E1325A0DBeb28143D82e7E1DE709456Fc8a', V_TOKEN: '0x7AE95AD823943283c3D5b7E9bE5E24414ba980cD', @@ -119,6 +126,7 @@ export const ASSETS = { }, EURS: { decimals: 2, + id: 7, UNDERLYING: '0xDf40f3a3566b4271450083f1Ad5732590BA47575', A_TOKEN: '0xD49d1CF2886B1c95A94e8a9066E8b298646716b6', V_TOKEN: '0x2160F75FB89A6C35Bd59Ecf120B26f459956c925', @@ -126,7 +134,3 @@ export const ASSETS = { ORACLE: '0xC6C58919440AD9daBF04D85b29820477AE7E808E', }, } as const; -export const E_MODES = { - NONE: 0, - STABLECOINS: 1, -} as const; diff --git a/src/ts/AaveV3Sepolia.ts b/src/ts/AaveV3Sepolia.ts index c141bc4e..8b34d11b 100644 --- a/src/ts/AaveV3Sepolia.ts +++ b/src/ts/AaveV3Sepolia.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x012bAC54348C0E635dCAc9D5FB99f06F24136C // IPool https://sepolia.etherscan.io/address/0x6Ae43d3271ff6888e7Fc43Fd7321a503ff738951 export const POOL = '0x6Ae43d3271ff6888e7Fc43Fd7321a503ff738951'; -// https://sepolia.etherscan.io/address/0x0562453c3DAFBB5e625483af58f4E6D668c44e19 -export const POOL_IMPL = '0x0562453c3DAFBB5e625483af58f4E6D668c44e19'; - // IPoolConfigurator https://sepolia.etherscan.io/address/0x7Ee60D184C24Ef7AfC1Ec7Be59A0f448A0abd138 export const POOL_CONFIGURATOR = '0x7Ee60D184C24Ef7AfC1Ec7Be59A0f448A0abd138'; -// https://sepolia.etherscan.io/address/0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32 -export const POOL_CONFIGURATOR_IMPL = '0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32'; - // IAaveOracle https://sepolia.etherscan.io/address/0x2da88497588bf89281816106C7259e31AF45a663 export const ORACLE = '0x2da88497588bf89281816106C7259e31AF45a663'; -// IPoolDataProvider https://sepolia.etherscan.io/address/0x3e9708d80f7B3e43118013075F7e95CE3AB31F31 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x3e9708d80f7B3e43118013075F7e95CE3AB31F31'; +// https://sepolia.etherscan.io/address/0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00 +export const ACL_ADMIN = '0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00'; // IACLManager https://sepolia.etherscan.io/address/0x7F2bE3b178deeFF716CD6Ff03Ef79A1dFf360ddD export const ACL_MANAGER = '0x7F2bE3b178deeFF716CD6Ff03Ef79A1dFf360ddD'; -// https://sepolia.etherscan.io/address/0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00 -export const ACL_ADMIN = '0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00'; +// IPoolDataProvider https://sepolia.etherscan.io/address/0x3e9708d80f7B3e43118013075F7e95CE3AB31F31 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x3e9708d80f7B3e43118013075F7e95CE3AB31F31'; -// ICollector https://sepolia.etherscan.io/address/0x604264f8017fEF3b11B3dD63537CB501560380B5 -export const COLLECTOR = '0x604264f8017fEF3b11B3dD63537CB501560380B5'; +// https://sepolia.etherscan.io/address/0x0562453c3DAFBB5e625483af58f4E6D668c44e19 +export const POOL_IMPL = '0x0562453c3DAFBB5e625483af58f4E6D668c44e19'; + +// https://sepolia.etherscan.io/address/0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32 +export const POOL_CONFIGURATOR_IMPL = '0x63Dea961A0B2e2dF4F7A4bb61CBc39BF53A6eb32'; // https://sepolia.etherscan.io/address/0x4DA5c4da71C5a167171cC839487536d86e083483 export const DEFAULT_INCENTIVES_CONTROLLER = '0x4DA5c4da71C5a167171cC839487536d86e083483'; +// https://sepolia.etherscan.io/address/0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62 +export const EMISSION_MANAGER = '0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62'; + +// ICollector https://sepolia.etherscan.io/address/0x604264f8017fEF3b11B3dD63537CB501560380B5 +export const COLLECTOR = '0x604264f8017fEF3b11B3dD63537CB501560380B5'; + // https://sepolia.etherscan.io/address/0x48424f2779be0f03cDF6F02E17A591A9BF7AF89f export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x48424f2779be0f03cDF6F02E17A591A9BF7AF89f'; // https://sepolia.etherscan.io/address/0x54bdE009156053108E73E2401aEA755e38f92098 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x54bdE009156053108E73E2401aEA755e38f92098'; -// https://sepolia.etherscan.io/address/0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62 -export const EMISSION_MANAGER = '0x098a890BAfDf6FB4ACD24bF107D20EA15D229C62'; - // https://sepolia.etherscan.io/address/0xC959483DBa39aa9E78757139af0e9a2EDEb3f42D export const FAUCET = '0xC959483DBa39aa9E78757139af0e9a2EDEb3f42D'; @@ -66,6 +66,7 @@ export const CHAIN_ID = 11155111; export const ASSETS = { DAI: { decimals: 18, + id: 0, UNDERLYING: '0xFF34B3d4Aee8ddCd6F9AFFFB6Fe49bD371b8a357', A_TOKEN: '0x29598b72eb5CeBd806C5dCD549490FdA35B13cD8', V_TOKEN: '0x22675C506A8FC26447aFFfa33640f6af5d4D4cF0', @@ -75,6 +76,7 @@ export const ASSETS = { }, LINK: { decimals: 18, + id: 1, UNDERLYING: '0xf8Fb3713D459D7C1018BD0A49D19b4C44290EBE5', A_TOKEN: '0x3FfAf50D4F4E96eB78f2407c090b72e86eCaed24', V_TOKEN: '0x34a4d932E722b9dFb492B9D8131127690CE2430B', @@ -84,6 +86,7 @@ export const ASSETS = { }, USDC: { decimals: 6, + id: 2, UNDERLYING: '0x94a9D9AC8a22534E3FaCa9F4e7F2E2cf85d5E4C8', A_TOKEN: '0x16dA4541aD1807f4443d92D26044C1147406EB80', V_TOKEN: '0x36B5dE936eF1710E1d22EabE5231b28581a92ECc', @@ -93,6 +96,7 @@ export const ASSETS = { }, WBTC: { decimals: 8, + id: 3, UNDERLYING: '0x29f2D40B0605204364af54EC677bD022dA425d03', A_TOKEN: '0x1804Bf30507dc2EB3bDEbbbdd859991EAeF6EefF', V_TOKEN: '0xEB016dFd303F19fbDdFb6300eB4AeB2DA7Ceac37', @@ -102,6 +106,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 4, UNDERLYING: '0xC558DBdd856501FCd9aaF1E62eae57A9F0629a3c', A_TOKEN: '0x5b071b590a59395fE4025A0Ccc1FcC931AAc1830', V_TOKEN: '0x22a35DB253f4F6D0029025D6312A3BdAb20C2c6A', @@ -111,6 +116,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 5, UNDERLYING: '0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0', A_TOKEN: '0xAF0F6e8b0Dc5c913bbF4d14c22B4E78Dd14310B6', V_TOKEN: '0x9844386d29EEd970B9F6a2B9a676083b0478210e', @@ -120,6 +126,7 @@ export const ASSETS = { }, AAVE: { decimals: 18, + id: 6, UNDERLYING: '0x88541670E55cC00bEEFD87eB59EDd1b7C511AC9a', A_TOKEN: '0x6b8558764d3b7572136F17174Cb9aB1DDc7E1259', V_TOKEN: '0xf12fdFc4c631F6D361b48723c2F2800b84B519e6', @@ -129,6 +136,7 @@ export const ASSETS = { }, EURS: { decimals: 2, + id: 7, UNDERLYING: '0x6d906e526a4e2Ca02097BA9d0caA3c382F52278E', A_TOKEN: '0xB20691021F9AcED8631eDaa3c0Cd2949EB45662D', V_TOKEN: '0x94482C7A7477196259D8a0f74fB853277Fa5a75b', @@ -138,6 +146,7 @@ export const ASSETS = { }, GHO: { decimals: 18, + id: 8, UNDERLYING: '0xc4bF5CbDaBE595361438F8c6a187bDc330539c60', A_TOKEN: '0xd190eF37dB51Bb955A680fF1A85763CC72d083D4', V_TOKEN: '0x67ae46EF043F7A4508BD1d6B94DB6c33F0915844', @@ -145,7 +154,3 @@ export const ASSETS = { ORACLE: '0x00f7fecFAEbEd9499e1f3f9d04E755a21E5fc47C', }, } as const; -export const E_MODES = { - NONE: 0, - STABLECOINS: 1, -} as const; diff --git a/src/ts/AaveV3ZkSync.ts b/src/ts/AaveV3ZkSync.ts index a1764b4c..fb47f85d 100644 --- a/src/ts/AaveV3ZkSync.ts +++ b/src/ts/AaveV3ZkSync.ts @@ -5,42 +5,42 @@ export const POOL_ADDRESSES_PROVIDER = '0x2A3948BB219D6B2Fa83D64100006391a96bE6c // IPool https://era.zksync.network/address/0x78e30497a3c7527d953c6B1E3541b021A98Ac43c export const POOL = '0x78e30497a3c7527d953c6B1E3541b021A98Ac43c'; -// https://era.zksync.network/address/0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9 -export const POOL_IMPL = '0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9'; - // IPoolConfigurator https://era.zksync.network/address/0x0207d31b4377C74bEC37356aaD83E3dCc979F40E export const POOL_CONFIGURATOR = '0x0207d31b4377C74bEC37356aaD83E3dCc979F40E'; -// https://era.zksync.network/address/0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d -export const POOL_CONFIGURATOR_IMPL = '0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d'; - // IAaveOracle https://era.zksync.network/address/0xC7F58Fca663a8d377B6D0c9703C697f56dC40088 export const ORACLE = '0xC7F58Fca663a8d377B6D0c9703C697f56dC40088'; -// IPoolDataProvider https://era.zksync.network/address/0x5F2A704cE47B373c908fE8A29514249469b52b99 -export const AAVE_PROTOCOL_DATA_PROVIDER = '0x5F2A704cE47B373c908fE8A29514249469b52b99'; +// https://era.zksync.network/address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020 +export const ACL_ADMIN = '0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020'; // IACLManager https://era.zksync.network/address/0xc6150b63c2F02528d4A969a248710A4658ed7928 export const ACL_MANAGER = '0xc6150b63c2F02528d4A969a248710A4658ed7928'; -// https://era.zksync.network/address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020 -export const ACL_ADMIN = '0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020'; +// IPoolDataProvider https://era.zksync.network/address/0x5F2A704cE47B373c908fE8A29514249469b52b99 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x5F2A704cE47B373c908fE8A29514249469b52b99'; -// ICollector https://era.zksync.network/address/0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b -export const COLLECTOR = '0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b'; +// https://era.zksync.network/address/0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9 +export const POOL_IMPL = '0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9'; + +// https://era.zksync.network/address/0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d +export const POOL_CONFIGURATOR_IMPL = '0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d'; // https://era.zksync.network/address/0x37c972C9dDfC2138EBe33eC19dba063AB9f8966e export const DEFAULT_INCENTIVES_CONTROLLER = '0x37c972C9dDfC2138EBe33eC19dba063AB9f8966e'; +// https://era.zksync.network/address/0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f +export const EMISSION_MANAGER = '0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f'; + +// ICollector https://era.zksync.network/address/0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b +export const COLLECTOR = '0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b'; + // https://era.zksync.network/address/0x34be365Fd01ac224F21490aaC6dFd65D25434bbB export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x34be365Fd01ac224F21490aaC6dFd65D25434bbB'; // https://era.zksync.network/address/0x52E97425D1Fa6885fAaC9260B711fA5047A88d06 export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x52E97425D1Fa6885fAaC9260B711fA5047A88d06'; -// https://era.zksync.network/address/0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f -export const EMISSION_MANAGER = '0x92AA83Ce0CC590E6B0627a9E22e84Ef43F389D1f'; - // https://era.zksync.network/address/0x93E5E329FaCf7d85118b49f0eb250E9c767CA177 export const CONFIG_ENGINE = '0x93E5E329FaCf7d85118b49f0eb250E9c767CA177'; @@ -69,6 +69,7 @@ export const CHAIN_ID = 324; export const ASSETS = { USDC: { decimals: 6, + id: 0, UNDERLYING: '0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4', A_TOKEN: '0xE977F9B2a5ccf0457870a67231F23BE4DaecfbDb', V_TOKEN: '0x0049250D15A8550c5a14Baa5AF5B662a93a525B9', @@ -77,6 +78,7 @@ export const ASSETS = { }, USDT: { decimals: 6, + id: 1, UNDERLYING: '0x493257fD37EDB34451f62EDf8D2a0C418852bA4C', A_TOKEN: '0xC48574bc5358c967d9447e7Df70230Fdb469e4E7', V_TOKEN: '0x8992DB58077fe8C7B80c1B3a738eAe8A7BdDbA34', @@ -85,6 +87,7 @@ export const ASSETS = { }, WETH: { decimals: 18, + id: 2, UNDERLYING: '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', A_TOKEN: '0xb7b93bCf82519bB757Fd18b23A389245Dbd8ca64', V_TOKEN: '0x98dC737eA0E9bCb254c3F98510a71c5E11F74238', @@ -93,6 +96,7 @@ export const ASSETS = { }, wstETH: { decimals: 18, + id: 3, UNDERLYING: '0x703b52F2b28fEbcB60E1372858AF5b18849FE867', A_TOKEN: '0xd4e607633F3d984633E946aEA4eb71f92564c1c9', V_TOKEN: '0x6aD279F6523f6421fD5B0324a97D8F62eeCD80c8', @@ -101,6 +105,7 @@ export const ASSETS = { }, ZK: { decimals: 18, + id: 4, UNDERLYING: '0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E', A_TOKEN: '0xd6cD2c0fC55936498726CacC497832052A9B2D1B', V_TOKEN: '0x6450fd7F877B5bB726F7Bc6Bf0e6ffAbd48d72ad', @@ -109,15 +114,21 @@ export const ASSETS = { }, } as const; export const E_MODES = { - NONE: 0, - ETH_CORRELATED: 1, -} as const; -export const EXTERNAL_LIBRARIES = { - FLASHLOAN_LOGIC: '0xcE53459E8734Df93399A425183Ee1860Ca8c2D0b', - BORROW_LOGIC: '0xc3Ba0a556e0813BBf0741CdaD6086ca1023cd6d3', - BRIDGE_LOGIC: '0x345A778167524995d6788a9a0e1D0eeb7CbFE496', - E_MODE_LOGIC: '0xA2C266Cd25296A7174134B0a6d894e250c830504', - LIQUIDATION_LOGIC: '0x0C0191Dd96eD7Ef86D1cC319eb68f127C196A6ee', - POOL_LOGIC: '0xd60e89f5b8BD0E46029FD127741DA136b3A574D7', - SUPPLY_LOGIC: '0x20EA931cE718b5f3bcdCfc3B7D2685f6a853a55D', + '1': { + label: 'ETH correlated', + collateralBitmap: '12', + collateralAssets: [ + '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', + '0x703b52F2b28fEbcB60E1372858AF5b18849FE867', + ], + borrowableBitmap: '12', + borrowableAssets: [ + '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', + '0x703b52F2b28fEbcB60E1372858AF5b18849FE867', + ], + ltv: 9000, + liquidationThreshold: 9300, + liquidationBonus: 10100, + }, } as const; +export const EXTERNAL_LIBRARIES = {} as const; diff --git a/src/ts/abis/IPool.ts b/src/ts/abis/IPool.ts index 32dbf07e..b28a6691 100644 --- a/src/ts/abis/IPool.ts +++ b/src/ts/abis/IPool.ts @@ -65,19 +65,6 @@ export const IPool_ABI = [ ], stateMutability: 'view', }, - { - type: 'function', - name: 'MAX_STABLE_RATE_BORROW_SIZE_PERCENT', - inputs: [], - outputs: [ - { - name: '', - type: 'uint256', - internalType: 'uint256', - }, - ], - stateMutability: 'view', - }, { type: 'function', name: 'backUnbacked', @@ -152,7 +139,7 @@ export const IPool_ABI = [ { name: 'config', type: 'tuple', - internalType: 'struct DataTypes.EModeCategory', + internalType: 'struct DataTypes.EModeCategoryBaseConfiguration', components: [ { name: 'ltv', @@ -169,11 +156,6 @@ export const IPool_ABI = [ type: 'uint16', internalType: 'uint16', }, - { - name: 'priceSource', - type: 'address', - internalType: 'address', - }, { name: 'label', type: 'string', @@ -185,6 +167,42 @@ export const IPool_ABI = [ outputs: [], stateMutability: 'nonpayable', }, + { + type: 'function', + name: 'configureEModeCategoryBorrowableBitmap', + inputs: [ + { + name: 'id', + type: 'uint8', + internalType: 'uint8', + }, + { + name: 'borrowableBitmap', + type: 'uint128', + internalType: 'uint128', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'configureEModeCategoryCollateralBitmap', + inputs: [ + { + name: 'id', + type: 'uint8', + internalType: 'uint8', + }, + { + name: 'collateralBitmap', + type: 'uint128', + internalType: 'uint128', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, { type: 'function', name: 'deposit', @@ -392,6 +410,80 @@ export const IPool_ABI = [ ], stateMutability: 'view', }, + { + type: 'function', + name: 'getEModeCategoryBorrowableBitmap', + inputs: [ + { + name: 'id', + type: 'uint8', + internalType: 'uint8', + }, + ], + outputs: [ + { + name: '', + type: 'uint128', + internalType: 'uint128', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getEModeCategoryCollateralBitmap', + inputs: [ + { + name: 'id', + type: 'uint8', + internalType: 'uint8', + }, + ], + outputs: [ + { + name: '', + type: 'uint128', + internalType: 'uint128', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getEModeCategoryCollateralConfig', + inputs: [ + { + name: 'id', + type: 'uint8', + internalType: 'uint8', + }, + ], + outputs: [ + { + name: '', + type: 'tuple', + internalType: 'struct DataTypes.CollateralConfig', + components: [ + { + name: 'ltv', + type: 'uint16', + internalType: 'uint16', + }, + { + name: 'liquidationThreshold', + type: 'uint16', + internalType: 'uint16', + }, + { + name: 'liquidationBonus', + type: 'uint16', + internalType: 'uint16', + }, + ], + }, + ], + stateMutability: 'view', + }, { type: 'function', name: 'getEModeCategoryData', @@ -406,7 +498,7 @@ export const IPool_ABI = [ { name: '', type: 'tuple', - internalType: 'struct DataTypes.EModeCategory', + internalType: 'struct DataTypes.EModeCategoryLegacy', components: [ { name: 'ltv', @@ -438,6 +530,25 @@ export const IPool_ABI = [ ], stateMutability: 'view', }, + { + type: 'function', + name: 'getEModeCategoryLabel', + inputs: [ + { + name: 'id', + type: 'uint8', + internalType: 'uint8', + }, + ], + outputs: [ + { + name: '', + type: 'string', + internalType: 'string', + }, + ], + stateMutability: 'view', + }, { type: 'function', name: 'getEModeLogic', @@ -680,7 +791,7 @@ export const IPool_ABI = [ internalType: 'uint128', }, { - name: 'currentStableBorrowRate', + name: '__deprecatedStableBorrowRate', type: 'uint128', internalType: 'uint128', }, @@ -705,7 +816,7 @@ export const IPool_ABI = [ internalType: 'address', }, { - name: 'stableDebtTokenAddress', + name: '__deprecatedStableDebtTokenAddress', type: 'address', internalType: 'address', }, @@ -943,11 +1054,6 @@ export const IPool_ABI = [ type: 'address', internalType: 'address', }, - { - name: 'stableDebtAddress', - type: 'address', - internalType: 'address', - }, { name: 'variableDebtAddress', type: 'address', @@ -1036,24 +1142,6 @@ export const IPool_ABI = [ outputs: [], stateMutability: 'nonpayable', }, - { - type: 'function', - name: 'rebalanceStableBorrowRate', - inputs: [ - { - name: 'asset', - type: 'address', - internalType: 'address', - }, - { - name: 'user', - type: 'address', - internalType: 'address', - }, - ], - outputs: [], - stateMutability: 'nonpayable', - }, { type: 'function', name: 'repay', @@ -1375,42 +1463,6 @@ export const IPool_ABI = [ outputs: [], stateMutability: 'nonpayable', }, - { - type: 'function', - name: 'swapBorrowRateMode', - inputs: [ - { - name: 'asset', - type: 'address', - internalType: 'address', - }, - { - name: 'interestRateMode', - type: 'uint256', - internalType: 'uint256', - }, - ], - outputs: [], - stateMutability: 'nonpayable', - }, - { - type: 'function', - name: 'swapToVariable', - inputs: [ - { - name: 'asset', - type: 'address', - internalType: 'address', - }, - { - name: 'user', - type: 'address', - internalType: 'address', - }, - ], - outputs: [], - stateMutability: 'nonpayable', - }, { type: 'function', name: 'syncIndexesState', @@ -1750,25 +1802,6 @@ export const IPool_ABI = [ ], anonymous: false, }, - { - type: 'event', - name: 'RebalanceStableBorrowRate', - inputs: [ - { - name: 'reserve', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'user', - type: 'address', - indexed: true, - internalType: 'address', - }, - ], - anonymous: false, - }, { type: 'event', name: 'Repay', @@ -1924,31 +1957,6 @@ export const IPool_ABI = [ ], anonymous: false, }, - { - type: 'event', - name: 'SwapBorrowRateMode', - inputs: [ - { - name: 'reserve', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'user', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'interestRateMode', - type: 'uint8', - indexed: false, - internalType: 'enum DataTypes.InterestRateMode', - }, - ], - anonymous: false, - }, { type: 'event', name: 'UserEModeSet', diff --git a/src/ts/abis/IPoolConfigurator.ts b/src/ts/abis/IPoolConfigurator.ts index 8b27d187..654b8645 100644 --- a/src/ts/abis/IPoolConfigurator.ts +++ b/src/ts/abis/IPoolConfigurator.ts @@ -113,11 +113,6 @@ export const IPoolConfigurator_ABI = [ type: 'address', internalType: 'address', }, - { - name: 'stableDebtTokenImpl', - type: 'address', - internalType: 'address', - }, { name: 'variableDebtTokenImpl', type: 'address', @@ -168,16 +163,6 @@ export const IPoolConfigurator_ABI = [ type: 'string', internalType: 'string', }, - { - name: 'stableDebtTokenName', - type: 'string', - internalType: 'string', - }, - { - name: 'stableDebtTokenSymbol', - type: 'string', - internalType: 'string', - }, { name: 'params', type: 'bytes', @@ -196,7 +181,30 @@ export const IPoolConfigurator_ABI = [ }, { type: 'function', - name: 'setAssetEModeCategory', + name: 'setAssetBorrowableInEMode', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'categoryId', + type: 'uint8', + internalType: 'uint8', + }, + { + name: 'borrowable', + type: 'bool', + internalType: 'bool', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'setAssetCollateralInEMode', inputs: [ { name: 'asset', @@ -204,10 +212,15 @@ export const IPoolConfigurator_ABI = [ internalType: 'address', }, { - name: 'newCategoryId', + name: 'categoryId', type: 'uint8', internalType: 'uint8', }, + { + name: 'collateral', + type: 'bool', + internalType: 'bool', + }, ], outputs: [], stateMutability: 'nonpayable', @@ -290,11 +303,6 @@ export const IPoolConfigurator_ABI = [ type: 'uint16', internalType: 'uint16', }, - { - name: 'oracle', - type: 'address', - internalType: 'address', - }, { name: 'label', type: 'string', @@ -525,24 +533,6 @@ export const IPoolConfigurator_ABI = [ outputs: [], stateMutability: 'nonpayable', }, - { - type: 'function', - name: 'setReserveStableRateBorrowing', - inputs: [ - { - name: 'asset', - type: 'address', - internalType: 'address', - }, - { - name: 'enabled', - type: 'bool', - internalType: 'bool', - }, - ], - outputs: [], - stateMutability: 'nonpayable', - }, { type: 'function', name: 'setSiloedBorrowing', @@ -686,51 +676,6 @@ export const IPoolConfigurator_ABI = [ outputs: [], stateMutability: 'nonpayable', }, - { - type: 'function', - name: 'updateStableDebtToken', - inputs: [ - { - name: 'input', - type: 'tuple', - internalType: 'struct ConfiguratorInputTypes.UpdateDebtTokenInput', - components: [ - { - name: 'asset', - type: 'address', - internalType: 'address', - }, - { - name: 'incentivesController', - type: 'address', - internalType: 'address', - }, - { - name: 'name', - type: 'string', - internalType: 'string', - }, - { - name: 'symbol', - type: 'string', - internalType: 'string', - }, - { - name: 'implementation', - type: 'address', - internalType: 'address', - }, - { - name: 'params', - type: 'bytes', - internalType: 'bytes', - }, - ], - }, - ], - outputs: [], - stateMutability: 'nonpayable', - }, { type: 'function', name: 'updateVariableDebtToken', @@ -801,6 +746,56 @@ export const IPoolConfigurator_ABI = [ ], anonymous: false, }, + { + type: 'event', + name: 'AssetBorrowableInEModeChanged', + inputs: [ + { + name: 'asset', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'categoryId', + type: 'uint8', + indexed: false, + internalType: 'uint8', + }, + { + name: 'borrowable', + type: 'bool', + indexed: false, + internalType: 'bool', + }, + ], + anonymous: false, + }, + { + type: 'event', + name: 'AssetCollateralInEModeChanged', + inputs: [ + { + name: 'asset', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'categoryId', + type: 'uint8', + indexed: false, + internalType: 'uint8', + }, + { + name: 'collateral', + type: 'bool', + indexed: false, + internalType: 'bool', + }, + ], + anonymous: false, + }, { type: 'event', name: 'BorrowCapChanged', @@ -920,31 +915,6 @@ export const IPoolConfigurator_ABI = [ ], anonymous: false, }, - { - type: 'event', - name: 'EModeAssetCategoryChanged', - inputs: [ - { - name: 'asset', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'oldCategoryId', - type: 'uint8', - indexed: false, - internalType: 'uint8', - }, - { - name: 'newCategoryId', - type: 'uint8', - indexed: false, - internalType: 'uint8', - }, - ], - anonymous: false, - }, { type: 'event', name: 'EModeCategoryAdded', @@ -1322,25 +1292,6 @@ export const IPoolConfigurator_ABI = [ ], anonymous: false, }, - { - type: 'event', - name: 'ReserveStableRateBorrowing', - inputs: [ - { - name: 'asset', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'enabled', - type: 'bool', - indexed: false, - internalType: 'bool', - }, - ], - anonymous: false, - }, { type: 'event', name: 'SiloedBorrowingChanged', @@ -1366,31 +1317,6 @@ export const IPoolConfigurator_ABI = [ ], anonymous: false, }, - { - type: 'event', - name: 'StableDebtTokenUpgraded', - inputs: [ - { - name: 'asset', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'proxy', - type: 'address', - indexed: true, - internalType: 'address', - }, - { - name: 'implementation', - type: 'address', - indexed: true, - internalType: 'address', - }, - ], - anonymous: false, - }, { type: 'event', name: 'SupplyCapChanged', diff --git a/src/ts/abis/IRewardsController.ts b/src/ts/abis/IRewardsController.ts new file mode 100644 index 00000000..3b6a4145 --- /dev/null +++ b/src/ts/abis/IRewardsController.ts @@ -0,0 +1,888 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +export const IRewardsController_ABI = [ + { + type: 'function', + name: 'EMISSION_MANAGER', + inputs: [], + outputs: [ + { + name: '', + type: 'address', + internalType: 'address', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'claimAllRewards', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'to', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: 'rewardsList', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'claimedAmounts', + type: 'uint256[]', + internalType: 'uint256[]', + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'claimAllRewardsOnBehalf', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'to', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: 'rewardsList', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'claimedAmounts', + type: 'uint256[]', + internalType: 'uint256[]', + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'claimAllRewardsToSelf', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + ], + outputs: [ + { + name: 'rewardsList', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'claimedAmounts', + type: 'uint256[]', + internalType: 'uint256[]', + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'claimRewards', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'to', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'claimRewardsOnBehalf', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'to', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'claimRewardsToSelf', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'configureAssets', + inputs: [ + { + name: 'config', + type: 'tuple[]', + internalType: 'struct RewardsDataTypes.RewardsConfigInput[]', + components: [ + { + name: 'emissionPerSecond', + type: 'uint88', + internalType: 'uint88', + }, + { + name: 'totalSupply', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'distributionEnd', + type: 'uint32', + internalType: 'uint32', + }, + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + { + name: 'transferStrategy', + type: 'address', + internalType: 'contract ITransferStrategyBase', + }, + { + name: 'rewardOracle', + type: 'address', + internalType: 'contract IEACAggregatorProxy', + }, + ], + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'getAllUserRewards', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'user', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'address[]', + internalType: 'address[]', + }, + { + name: '', + type: 'uint256[]', + internalType: 'uint256[]', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getAssetDecimals', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint8', + internalType: 'uint8', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getAssetIndex', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getClaimer', + inputs: [ + { + name: 'user', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'address', + internalType: 'address', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getDistributionEnd', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getEmissionManager', + inputs: [], + outputs: [ + { + name: '', + type: 'address', + internalType: 'address', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getRewardOracle', + inputs: [ + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'address', + internalType: 'address', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getRewardsByAsset', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'address[]', + internalType: 'address[]', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getRewardsData', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getRewardsList', + inputs: [], + outputs: [ + { + name: '', + type: 'address[]', + internalType: 'address[]', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getTransferStrategy', + inputs: [ + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'address', + internalType: 'address', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getUserAccruedRewards', + inputs: [ + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getUserAssetIndex', + inputs: [ + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'getUserRewards', + inputs: [ + { + name: 'assets', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + ], + outputs: [ + { + name: '', + type: 'uint256', + internalType: 'uint256', + }, + ], + stateMutability: 'view', + }, + { + type: 'function', + name: 'handleAction', + inputs: [ + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'totalSupply', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'userBalance', + type: 'uint256', + internalType: 'uint256', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'setClaimer', + inputs: [ + { + name: 'user', + type: 'address', + internalType: 'address', + }, + { + name: 'claimer', + type: 'address', + internalType: 'address', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'setDistributionEnd', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + { + name: 'newDistributionEnd', + type: 'uint32', + internalType: 'uint32', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'setEmissionPerSecond', + inputs: [ + { + name: 'asset', + type: 'address', + internalType: 'address', + }, + { + name: 'rewards', + type: 'address[]', + internalType: 'address[]', + }, + { + name: 'newEmissionsPerSecond', + type: 'uint88[]', + internalType: 'uint88[]', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'setRewardOracle', + inputs: [ + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + { + name: 'rewardOracle', + type: 'address', + internalType: 'contract IEACAggregatorProxy', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'setTransferStrategy', + inputs: [ + { + name: 'reward', + type: 'address', + internalType: 'address', + }, + { + name: 'transferStrategy', + type: 'address', + internalType: 'contract ITransferStrategyBase', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'event', + name: 'Accrued', + inputs: [ + { + name: 'asset', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'user', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'assetIndex', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + { + name: 'userIndex', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + { + name: 'rewardsAccrued', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + ], + anonymous: false, + }, + { + type: 'event', + name: 'AssetConfigUpdated', + inputs: [ + { + name: 'asset', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'oldEmission', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + { + name: 'newEmission', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + { + name: 'oldDistributionEnd', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + { + name: 'newDistributionEnd', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + { + name: 'assetIndex', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + ], + anonymous: false, + }, + { + type: 'event', + name: 'ClaimerSet', + inputs: [ + { + name: 'user', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'claimer', + type: 'address', + indexed: true, + internalType: 'address', + }, + ], + anonymous: false, + }, + { + type: 'event', + name: 'RewardOracleUpdated', + inputs: [ + { + name: 'reward', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'rewardOracle', + type: 'address', + indexed: true, + internalType: 'address', + }, + ], + anonymous: false, + }, + { + type: 'event', + name: 'RewardsClaimed', + inputs: [ + { + name: 'user', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'reward', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'to', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'claimer', + type: 'address', + indexed: false, + internalType: 'address', + }, + { + name: 'amount', + type: 'uint256', + indexed: false, + internalType: 'uint256', + }, + ], + anonymous: false, + }, + { + type: 'event', + name: 'TransferStrategyInstalled', + inputs: [ + { + name: 'reward', + type: 'address', + indexed: true, + internalType: 'address', + }, + { + name: 'transferStrategy', + type: 'address', + indexed: true, + internalType: 'address', + }, + ], + anonymous: false, + }, +] as const; diff --git a/src/ts/abis/IStataTokenV2.ts b/src/ts/abis/IStataTokenV2.ts index a5bc85ae..b407af56 100644 --- a/src/ts/abis/IStataTokenV2.ts +++ b/src/ts/abis/IStataTokenV2.ts @@ -21,7 +21,7 @@ export const IStataTokenV2_ABI = [ { name: '', type: 'address', - internalType: 'contract IERC20', + internalType: 'address', }, ], stateMutability: 'view', diff --git a/src/ts/abis/IWrappedTokenGatewayV3.ts b/src/ts/abis/IWrappedTokenGatewayV3.ts new file mode 100644 index 00000000..f5ebfea4 --- /dev/null +++ b/src/ts/abis/IWrappedTokenGatewayV3.ts @@ -0,0 +1,138 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +export const IWrappedTokenGatewayV3_ABI = [ + { + type: 'function', + name: 'borrowETH', + inputs: [ + { + name: 'pool', + type: 'address', + internalType: 'address', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'referralCode', + type: 'uint16', + internalType: 'uint16', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'depositETH', + inputs: [ + { + name: 'pool', + type: 'address', + internalType: 'address', + }, + { + name: 'onBehalfOf', + type: 'address', + internalType: 'address', + }, + { + name: 'referralCode', + type: 'uint16', + internalType: 'uint16', + }, + ], + outputs: [], + stateMutability: 'payable', + }, + { + type: 'function', + name: 'repayETH', + inputs: [ + { + name: 'pool', + type: 'address', + internalType: 'address', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'onBehalfOf', + type: 'address', + internalType: 'address', + }, + ], + outputs: [], + stateMutability: 'payable', + }, + { + type: 'function', + name: 'withdrawETH', + inputs: [ + { + name: 'pool', + type: 'address', + internalType: 'address', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'onBehalfOf', + type: 'address', + internalType: 'address', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, + { + type: 'function', + name: 'withdrawETHWithPermit', + inputs: [ + { + name: 'pool', + type: 'address', + internalType: 'address', + }, + { + name: 'amount', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'to', + type: 'address', + internalType: 'address', + }, + { + name: 'deadline', + type: 'uint256', + internalType: 'uint256', + }, + { + name: 'permitV', + type: 'uint8', + internalType: 'uint8', + }, + { + name: 'permitR', + type: 'bytes32', + internalType: 'bytes32', + }, + { + name: 'permitS', + type: 'bytes32', + internalType: 'bytes32', + }, + ], + outputs: [], + stateMutability: 'nonpayable', + }, +] as const; diff --git a/src/ts/abis/index.ts b/src/ts/abis/index.ts new file mode 100644 index 00000000..0370c960 --- /dev/null +++ b/src/ts/abis/index.ts @@ -0,0 +1,39 @@ +export {ICollector_ABI} from './ICollector'; +export {AggregatorInterface_ABI} from './AggregatorInterface'; +export {IPayloadsControllerCore_ABI} from './IPayloadsControllerCore'; +export {IVotingMachineWithProofs_ABI} from './IVotingMachineWithProofs'; +export {IGovernanceCore_ABI} from './IGovernanceCore'; +export {IVotingStrategy_ABI} from './IVotingStrategy'; +export {IVotingPortal_ABI} from './IVotingPortal'; +export {IGovernancePowerStrategy_ABI} from './IGovernancePowerStrategy'; +export {IDataWarehouse_ABI} from './IDataWarehouse'; +export {IExecutorWithTimelock_ABI} from './IExecutorWithTimelock'; +export {IERC20_ABI} from './IERC20'; +export {IERC20Detailed_ABI} from './IERC20Detailed'; +export {IAToken_ABI} from './IAToken'; +export {IDefaultInterestRateStrategy_ABI} from './IDefaultInterestRateStrategy'; +export {IAaveOracle_ABI} from './IAaveOracle'; +export {IRewardsController_ABI} from './IRewardsController'; +export {IExecutor_ABI} from './IExecutor'; +export {ICrossChainController_ABI} from './ICrossChainController'; +export {IWithGuardian_ABI} from './IWithGuardian'; +export {IRescuable_ABI} from './IRescuable'; +export {IOwnable_ABI} from './IOwnable'; +export {ILendingPool_ABI} from './ILendingPool'; +export {ILendingPoolAddressesProvider_ABI} from './ILendingPoolAddressesProvider'; +export {ILendingPoolConfigurator_ABI} from './ILendingPoolConfigurator'; +export {IPool_ABI} from './IPool'; +export {IPoolAddressesProvider_ABI} from './IPoolAddressesProvider'; +export {IPoolConfigurator_ABI} from './IPoolConfigurator'; +export {IStakeToken_ABI} from './IStakeToken'; +export {IStataTokenFactory_ABI} from './IStataTokenFactory'; +export {IStataTokenV2_ABI} from './IStataTokenV2'; +export {IWrappedTokenGatewayV3_ABI} from './IWrappedTokenGatewayV3'; +export {IPayloadsControllerDataHelper_ABI} from './IPayloadsControllerDataHelper'; +export {IGovernanceDataHelper_ABI} from './IGovernanceDataHelper'; +export {IMetaDelegateHelper_ABI} from './IMetaDelegateHelper'; +export {IVotingMachineDataHelper_ABI} from './IVotingMachineDataHelper'; +export {IUiPoolDataProvider_ABI} from './IUiPoolDataProvider'; +export {IAaveToken_ABI} from './IAaveToken'; +export {IStkAaveToken_ABI} from './IStkAaveToken'; +export {IATokenWithDelegation_ABI} from './IATokenWithDelegation'; diff --git a/src/ts/tokenlist.ts b/src/ts/tokenlist.ts deleted file mode 100644 index 05461a2b..00000000 --- a/src/ts/tokenlist.ts +++ /dev/null @@ -1,6457 +0,0 @@ -export const tokenlist = { - name: 'Aave token list', - logoURI: 'ipfs://QmWzL3TSmkMhbqGBEwyeFyWVvLmEo3F44HBMFnmTUiTfp1', - keywords: ['audited', 'verified', 'aave'], - tags: { - underlying: { - name: 'underlyingAsset', - description: 'Tokens that are used as underlying assets in the Aave protocol', - }, - aaveV2: {name: 'Aave V2', description: 'Tokens related to aave v2'}, - aaveV3: {name: 'Aave V3', description: 'Tokens related to aave v3'}, - aTokenV2: { - name: 'aToken V2', - description: 'Tokens that earn interest on the Aave Protocol V2', - }, - aTokenV3: { - name: 'aToken V3', - description: 'Tokens that earn interest on the Aave Protocol V3', - }, - stataToken: { - name: 'stata token', - description: 'Tokens that are wrapped into a 4626 Vault', - }, - staticAT: { - name: 'static a token', - description: 'Tokens that are wrapped into a 4626 Vault', - }, - }, - tokens: [ - { - chainId: 1, - address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 1, - address: '0xf9Fb4AD91812b704Ba883B11d2B576E890a6730A', - name: 'Aave AMM Market WETH', - decimals: 18, - symbol: 'aAmmWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', - }, - }, - { - chainId: 1, - address: '0x6B175474E89094C44Da98b954EedeAC495271d0F', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 1, - address: '0x79bE75FFC64DD58e66787E4Eae470c8a1FD08ba4', - name: 'Aave AMM Market DAI', - decimals: 18, - symbol: 'aAmmDAI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x6B175474E89094C44Da98b954EedeAC495271d0F', - }, - }, - { - chainId: 1, - address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 1, - address: '0xd24946147829DEaA935bE2aD85A3291dbf109c80', - name: 'Aave AMM Market USDC', - decimals: 6, - symbol: 'aAmmUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - }, - }, - { - chainId: 1, - address: '0xdAC17F958D2ee523a2206206994597C13D831ec7', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 1, - address: '0x17a79792Fe6fE5C95dFE95Fe3fCEE3CAf4fE4Cb7', - name: 'Aave AMM Market USDT', - decimals: 6, - symbol: 'aAmmUSDT', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xdAC17F958D2ee523a2206206994597C13D831ec7', - }, - }, - { - chainId: 1, - address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbtc.svg', - }, - { - chainId: 1, - address: '0x13B2f6928D7204328b0E8E4BCd0379aA06EA21FA', - name: 'Aave AMM Market WBTC', - decimals: 8, - symbol: 'aAmmWBTC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', - }, - }, - { - chainId: 1, - address: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_DAI_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x9303EabC860a743aABcc3A1629014CaBcc3F8D36', - name: 'Aave AMM Market UniDAIWETH', - decimals: 18, - symbol: 'aAmmUniDAIWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11', - }, - }, - { - chainId: 1, - address: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_WBTC_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xc58F53A8adff2fB4eb16ED56635772075E2EE123', - name: 'Aave AMM Market UniWBTCWETH', - decimals: 18, - symbol: 'aAmmUniWBTCWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940', - }, - }, - { - chainId: 1, - address: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_AAVE_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xe59d2FF6995a926A574390824a657eEd36801E55', - name: 'Aave AMM Market UniAAVEWETH', - decimals: 18, - symbol: 'aAmmUniAAVEWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f', - }, - }, - { - chainId: 1, - address: '0xB6909B960DbbE7392D405429eB2b3649752b4838', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_BAT_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xA1B0edF4460CC4d8bFAA18Ed871bFF15E5b57Eb4', - name: 'Aave AMM Market UniBATWETH', - decimals: 18, - symbol: 'aAmmUniBATWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xB6909B960DbbE7392D405429eB2b3649752b4838', - }, - }, - { - chainId: 1, - address: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_DAI_USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xE340B25fE32B1011616bb8EC495A4d503e322177', - name: 'Aave AMM Market UniDAIUSDC', - decimals: 18, - symbol: 'aAmmUniDAIUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5', - }, - }, - { - chainId: 1, - address: '0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_CRV_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x0ea20e7fFB006d4Cfe84df2F72d8c7bD89247DB0', - name: 'Aave AMM Market UniCRVWETH', - decimals: 18, - symbol: 'aAmmUniCRVWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE', - }, - }, - { - chainId: 1, - address: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_LINK_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xb8db81B84d30E2387de0FF330420A4AAA6688134', - name: 'Aave AMM Market UniLINKWETH', - decimals: 18, - symbol: 'aAmmUniLINKWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974', - }, - }, - { - chainId: 1, - address: '0xC2aDdA861F89bBB333c90c492cB837741916A225', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_MKR_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x370adc71f67f581158Dc56f539dF5F399128Ddf9', - name: 'Aave AMM Market UniMKRWETH', - decimals: 18, - symbol: 'aAmmUniMKRWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xC2aDdA861F89bBB333c90c492cB837741916A225', - }, - }, - { - chainId: 1, - address: '0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_REN_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xA9e201A4e269d6cd5E9F0FcbcB78520cf815878B', - name: 'Aave AMM Market UniRENWETH', - decimals: 18, - symbol: 'aAmmUniRENWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c', - }, - }, - { - chainId: 1, - address: '0x43AE24960e5534731Fc831386c07755A2dc33D47', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_SNX_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x38E491A71291CD43E8DE63b7253E482622184894', - name: 'Aave AMM Market UniSNXWETH', - decimals: 18, - symbol: 'aAmmUniSNXWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x43AE24960e5534731Fc831386c07755A2dc33D47', - }, - }, - { - chainId: 1, - address: '0xd3d2E2692501A5c9Ca623199D38826e513033a17', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_UNI_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x3D26dcd840fCC8e4B2193AcE8A092e4a65832F9f', - name: 'Aave AMM Market UniUNIWETH', - decimals: 18, - symbol: 'aAmmUniUNIWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xd3d2E2692501A5c9Ca623199D38826e513033a17', - }, - }, - { - chainId: 1, - address: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_USDC_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x391E86e2C002C70dEe155eAceB88F7A3c38f5976', - name: 'Aave AMM Market UniUSDCWETH', - decimals: 18, - symbol: 'aAmmUniUSDCWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc', - }, - }, - { - chainId: 1, - address: '0x004375Dff511095CC5A197A54140a24eFEF3A416', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_WBTC_USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x2365a4890eD8965E564B7E2D27C38Ba67Fec4C6F', - name: 'Aave AMM Market UniWBTCUSDC', - decimals: 18, - symbol: 'aAmmUniWBTCUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x004375Dff511095CC5A197A54140a24eFEF3A416', - }, - }, - { - chainId: 1, - address: '0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28', - name: 'Uniswap V2', - decimals: 18, - symbol: 'UNI_YFI_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0x5394794Be8b6eD5572FCd6b27103F46b5F390E8f', - name: 'Aave AMM Market UniYFIWETH', - decimals: 18, - symbol: 'aAmmUniYFIWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28', - }, - }, - { - chainId: 1, - address: '0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5', - name: 'Balancer Pool Token', - decimals: 18, - symbol: 'BPT_WBTC_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/bpt.svg', - }, - { - chainId: 1, - address: '0x358bD0d980E031E23ebA9AA793926857703783BD', - name: 'Aave AMM Market BptWBTCWETH', - decimals: 18, - symbol: 'aAmmBptWBTCWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abpt.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5', - }, - }, - { - chainId: 1, - address: '0x59A19D8c652FA0284f44113D0ff9aBa70bd46fB4', - name: 'Balancer Pool Token', - decimals: 18, - symbol: 'BPT_BAL_WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/bpt.svg', - }, - { - chainId: 1, - address: '0xd109b2A304587569c84308c55465cd9fF0317bFB', - name: 'Aave AMM Market BptBALWETH', - decimals: 18, - symbol: 'aAmmBptBALWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abpt.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x59A19D8c652FA0284f44113D0ff9aBa70bd46fB4', - }, - }, - { - chainId: 1, - address: '0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e', - name: 'Gelato Uniswap DAI/USDC LP', - decimals: 18, - symbol: 'GUNI_DAI_USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/guni.svg', - }, - { - chainId: 1, - address: '0xd145c6ae8931ed5Bca9b5f5B7dA5991F5aB63B5c', - name: 'Aave AMM Market GUniDAIUSDC', - decimals: 18, - symbol: 'aAmmGUniDAIUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aguni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0x50379f632ca68D36E50cfBC8F78fe16bd1499d1e', - }, - }, - { - chainId: 1, - address: '0xD2eeC91055F07fE24C9cCB25828ecfEFd4be0c41', - name: 'Gelato Uniswap USDC/USDT LP', - decimals: 18, - symbol: 'GUNI_USDC_USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/guni.svg', - }, - { - chainId: 1, - address: '0xCa5DFDABBfFD58cfD49A9f78Ca52eC8e0591a3C5', - name: 'Aave AMM Market GUniUSDCUSDT', - decimals: 18, - symbol: 'aAmmGUniUSDCUSDT', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aguni.svg', - extensions: { - pool: '0x7937D4799803FbBe595ed57278Bc4cA21f3bFfCB', - underlying: '0xD2eeC91055F07fE24C9cCB25828ecfEFd4be0c41', - }, - }, - { - chainId: 1, - address: '0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811', - name: 'Aave interest bearing USDT', - decimals: 6, - symbol: 'aUSDT', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xdAC17F958D2ee523a2206206994597C13D831ec7', - }, - }, - { - chainId: 1, - address: '0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656', - name: 'Aave interest bearing WBTC', - decimals: 8, - symbol: 'aWBTC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', - }, - }, - { - chainId: 1, - address: '0x030bA81f1c18d280636F32af80b9AAd02Cf0854e', - name: 'Aave interest bearing WETH', - decimals: 18, - symbol: 'aWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', - }, - }, - { - chainId: 1, - address: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', - name: 'yearn.finance', - decimals: 18, - symbol: 'YFI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/yfi.svg', - }, - { - chainId: 1, - address: '0x5165d24277cD063F5ac44Efd447B27025e888f37', - name: 'Aave interest bearing YFI', - decimals: 18, - symbol: 'aYFI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ayfi.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', - }, - }, - { - chainId: 1, - address: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', - name: '0x Protocol Token', - decimals: 18, - symbol: 'ZRX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/zrx.svg', - }, - { - chainId: 1, - address: '0xDf7FF54aAcAcbFf42dfe29DD6144A69b629f8C9e', - name: 'Aave interest bearing ZRX', - decimals: 18, - symbol: 'aZRX', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/azrx.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', - }, - }, - { - chainId: 1, - address: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', - name: 'Uniswap', - decimals: 18, - symbol: 'UNI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/uni.svg', - }, - { - chainId: 1, - address: '0xB9D7CB55f463405CDfBe4E90a6D2Df01C2B92BF1', - name: 'Aave interest bearing UNI', - decimals: 18, - symbol: 'aUNI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', - }, - }, - { - chainId: 1, - address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', - name: 'Aave Token', - decimals: 18, - symbol: 'AAVE', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg', - }, - { - chainId: 1, - address: '0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B', - name: 'Aave interest bearing AAVE', - decimals: 18, - symbol: 'aAAVE', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', - }, - }, - { - chainId: 1, - address: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF', - name: 'Basic Attention Token', - decimals: 18, - symbol: 'BAT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/bat.svg', - }, - { - chainId: 1, - address: '0x05Ec93c0365baAeAbF7AefFb0972ea7ECdD39CF1', - name: 'Aave interest bearing BAT', - decimals: 18, - symbol: 'aBAT', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abat.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF', - }, - }, - { - chainId: 1, - address: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', - name: 'BUSD', - decimals: 18, - symbol: 'BUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/busd.svg', - }, - { - chainId: 1, - address: '0xA361718326c15715591c299427c62086F69923D9', - name: 'Aave interest bearing BUSD', - decimals: 18, - symbol: 'aBUSD', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abusd.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', - }, - }, - { - chainId: 1, - address: '0x028171bCA77440897B824Ca71D1c56caC55b68A3', - name: 'Aave interest bearing DAI', - decimals: 18, - symbol: 'aDAI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x6B175474E89094C44Da98b954EedeAC495271d0F', - }, - }, - { - chainId: 1, - address: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c', - name: 'Enjin Coin', - decimals: 18, - symbol: 'ENJ', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/enj.svg', - }, - { - chainId: 1, - address: '0xaC6Df26a590F08dcC95D5a4705ae8abbc88509Ef', - name: 'Aave interest bearing ENJ', - decimals: 18, - symbol: 'aENJ', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aenj.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c', - }, - }, - { - chainId: 1, - address: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', - name: 'Kyber Network Crystal', - decimals: 18, - symbol: 'KNC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/knc.svg', - }, - { - chainId: 1, - address: '0x39C6b3e42d6A679d7D776778Fe880BC9487C2EDA', - name: 'Aave interest bearing KNC', - decimals: 18, - symbol: 'aKNC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aknc.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', - }, - }, - { - chainId: 1, - address: '0x514910771AF9Ca656af840dff83E8264EcF986CA', - name: 'ChainLink Token', - decimals: 18, - symbol: 'LINK', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/link.svg', - }, - { - chainId: 1, - address: '0xa06bC25B5805d5F8d82847D191Cb4Af5A3e873E0', - name: 'Aave interest bearing LINK', - decimals: 18, - symbol: 'aLINK', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x514910771AF9Ca656af840dff83E8264EcF986CA', - }, - }, - { - chainId: 1, - address: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', - name: 'Decentraland MANA', - decimals: 18, - symbol: 'MANA', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/mana.svg', - }, - { - chainId: 1, - address: '0xa685a61171bb30d4072B338c80Cb7b2c865c873E', - name: 'Aave interest bearing MANA', - decimals: 18, - symbol: 'aMANA', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amana.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', - }, - }, - { - chainId: 1, - address: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', - name: 'Maker', - decimals: 18, - symbol: 'MKR', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/mkr.svg', - }, - { - chainId: 1, - address: '0xc713e5E149D5D0715DcD1c156a020976e7E56B88', - name: 'Aave interest bearing MKR', - decimals: 18, - symbol: 'aMKR', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amkr.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', - }, - }, - { - chainId: 1, - address: '0x408e41876cCCDC0F92210600ef50372656052a38', - name: 'Republic Token', - decimals: 18, - symbol: 'REN', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ren.svg', - }, - { - chainId: 1, - address: '0xCC12AbE4ff81c9378D670De1b57F8e0Dd228D77a', - name: 'Aave interest bearing REN', - decimals: 18, - symbol: 'aREN', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aren.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x408e41876cCCDC0F92210600ef50372656052a38', - }, - }, - { - chainId: 1, - address: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', - name: 'Synthetix Network Token', - decimals: 18, - symbol: 'SNX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/snx.svg', - }, - { - chainId: 1, - address: '0x35f6B052C598d933D69A4EEC4D04c73A191fE6c2', - name: 'Aave interest bearing SNX', - decimals: 18, - symbol: 'aSNX', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asnx.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', - }, - }, - { - chainId: 1, - address: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51', - name: 'Synth sUSD', - decimals: 18, - symbol: 'sUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/susd.svg', - }, - { - chainId: 1, - address: '0x6C5024Cd4F8A59110119C56f8933403A539555EB', - name: 'Aave interest bearing SUSD', - decimals: 18, - symbol: 'aSUSD', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asusd.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51', - }, - }, - { - chainId: 1, - address: '0x0000000000085d4780B73119b644AE5ecd22b376', - name: 'TrueUSD', - decimals: 18, - symbol: 'TUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/tusd.svg', - }, - { - chainId: 1, - address: '0x101cc05f4A51C0319f570d5E146a8C625198e636', - name: 'Aave interest bearing TUSD', - decimals: 18, - symbol: 'aTUSD', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/atusd.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x0000000000085d4780B73119b644AE5ecd22b376', - }, - }, - { - chainId: 1, - address: '0xBcca60bB61934080951369a648Fb03DF4F96263C', - name: 'Aave interest bearing USDC', - decimals: 6, - symbol: 'aUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - }, - }, - { - chainId: 1, - address: '0xD533a949740bb3306d119CC777fa900bA034cd52', - name: 'Curve DAO Token', - decimals: 18, - symbol: 'CRV', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/crv.svg', - }, - { - chainId: 1, - address: '0x8dAE6Cb04688C62d939ed9B68d32Bc62e49970b1', - name: 'Aave interest bearing CRV', - decimals: 18, - symbol: 'aCRV', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acrv.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xD533a949740bb3306d119CC777fa900bA034cd52', - }, - }, - { - chainId: 1, - address: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', - name: 'Gemini dollar', - decimals: 2, - symbol: 'GUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/gusd.svg', - }, - { - chainId: 1, - address: '0xD37EE7e4f452C6638c96536e68090De8cBcdb583', - name: 'Aave interest bearing GUSD', - decimals: 2, - symbol: 'aGUSD', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/agusd.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', - }, - }, - { - chainId: 1, - address: '0xba100000625a3754423978a60c9317c58a424e3D', - name: 'Balancer', - decimals: 18, - symbol: 'BAL', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/bal.svg', - }, - { - chainId: 1, - address: '0x272F97b7a56a387aE942350bBC7Df5700f8a4576', - name: 'Aave interest bearing BAL', - decimals: 18, - symbol: 'aBAL', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abal.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xba100000625a3754423978a60c9317c58a424e3D', - }, - }, - { - chainId: 1, - address: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', - name: 'SushiBar', - decimals: 18, - symbol: 'xSUSHI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/xsushi.svg', - }, - { - chainId: 1, - address: '0xF256CC7847E919FAc9B808cC216cAc87CCF2f47a', - name: 'Aave interest bearing XSUSHI', - decimals: 18, - symbol: 'aXSUSHI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/axsushi.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', - }, - }, - { - chainId: 1, - address: '0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5', - name: 'renFIL', - decimals: 18, - symbol: 'renFIL', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/renfil.svg', - }, - { - chainId: 1, - address: '0x514cd6756CCBe28772d4Cb81bC3156BA9d1744aa', - name: 'Aave interest bearing RENFIL', - decimals: 18, - symbol: 'aRENFIL', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/arenfil.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5', - }, - }, - { - chainId: 1, - address: '0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919', - name: 'Rai Reflex Index', - decimals: 18, - symbol: 'RAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/rai.svg', - }, - { - chainId: 1, - address: '0xc9BC48c72154ef3e5425641a3c747242112a46AF', - name: 'Aave interest bearing RAI', - decimals: 18, - symbol: 'aRAI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/arai.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919', - }, - }, - { - chainId: 1, - address: '0xD46bA6D942050d489DBd938a2C909A5d5039A161', - name: 'Ampleforth', - decimals: 9, - symbol: 'AMPL', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ampl.svg', - }, - { - chainId: 1, - address: '0x1E6bb68Acec8fefBD87D192bE09bb274170a0548', - name: 'Aave interest bearing AMPL', - decimals: 9, - symbol: 'aAMPL', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aampl.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xD46bA6D942050d489DBd938a2C909A5d5039A161', - }, - }, - { - chainId: 1, - address: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', - name: 'Pax Dollar', - decimals: 18, - symbol: 'USDP', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdp.svg', - }, - { - chainId: 1, - address: '0x2e8F4bdbE3d47d7d7DE490437AeA9915D930F1A3', - name: 'Aave interest bearing USDP', - decimals: 18, - symbol: 'aUSDP', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdp.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', - }, - }, - { - chainId: 1, - address: '0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b', - name: 'DefiPulse Index', - decimals: 18, - symbol: 'DPI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dpi.svg', - }, - { - chainId: 1, - address: '0x6F634c6135D2EBD550000ac92F494F9CB8183dAe', - name: 'Aave interest bearing DPI', - decimals: 18, - symbol: 'aDPI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adpi.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b', - }, - }, - { - chainId: 1, - address: '0x853d955aCEf822Db058eb8505911ED77F175b99e', - name: 'Frax', - decimals: 18, - symbol: 'FRAX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/frax.svg', - }, - { - chainId: 1, - address: '0xd4937682df3C8aEF4FE912A96A74121C0829E664', - name: 'Aave interest bearing FRAX', - decimals: 18, - symbol: 'aFRAX', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afrax.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x853d955aCEf822Db058eb8505911ED77F175b99e', - }, - }, - { - chainId: 1, - address: '0x956F47F50A910163D8BF957Cf5846D573E7f87CA', - name: 'Fei USD', - decimals: 18, - symbol: 'FEI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/fei.svg', - }, - { - chainId: 1, - address: '0x683923dB55Fead99A79Fa01A27EeC3cB19679cC3', - name: 'Aave interest bearing FEI', - decimals: 18, - symbol: 'aFEI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afei.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x956F47F50A910163D8BF957Cf5846D573E7f87CA', - }, - }, - { - chainId: 1, - address: '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84', - name: 'Liquid staked Ether 2.0', - decimals: 18, - symbol: 'stETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/steth.svg', - }, - { - chainId: 1, - address: '0x1982b2F5814301d4e9a8b0201555376e62F82428', - name: 'Aave interest bearing STETH', - decimals: 18, - symbol: 'aSTETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asteth.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84', - }, - }, - { - chainId: 1, - address: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', - name: 'Ethereum Name Service', - decimals: 18, - symbol: 'ENS', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ens.svg', - }, - { - chainId: 1, - address: '0x9a14e23A58edf4EFDcB360f68cd1b95ce2081a2F', - name: 'Aave interest bearing ENS', - decimals: 18, - symbol: 'aENS', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aens.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', - }, - }, - { - chainId: 1, - address: '0xa693B19d2931d498c5B318dF961919BB4aee87a5', - name: 'UST', - decimals: 6, - symbol: 'UST', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ust.svg', - }, - { - chainId: 1, - address: '0xc2e2152647F4C26028482Efaf64b2Aa28779EFC4', - name: 'Aave interest bearing UST', - decimals: 6, - symbol: 'aUST', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aust.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0xa693B19d2931d498c5B318dF961919BB4aee87a5', - }, - }, - { - chainId: 1, - address: '0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B', - name: 'Convex Token', - decimals: 18, - symbol: 'CVX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/cvx.svg', - }, - { - chainId: 1, - address: '0x952749E07d7157bb9644A894dFAF3Bad5eF6D918', - name: 'Aave interest bearing CVX', - decimals: 18, - symbol: 'aCVX', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acvx.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B', - }, - }, - { - chainId: 1, - address: '0x111111111117dC0aa78b770fA6A738034120C302', - name: '1INCH Token', - decimals: 18, - symbol: 'ONE_INCH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/1inch.svg', - }, - { - chainId: 1, - address: '0xB29130CBcC3F791f077eAdE0266168E808E5151e', - name: 'Aave interest bearing 1INCH', - decimals: 18, - symbol: 'aONE_INCH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/a1inch.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x111111111117dC0aa78b770fA6A738034120C302', - }, - }, - { - chainId: 1, - address: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', - name: 'LUSD Stablecoin', - decimals: 18, - symbol: 'LUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/lusd.svg', - }, - { - chainId: 1, - address: '0xce1871f791548600cb59efbefFC9c38719142079', - name: 'Aave interest bearing LUSD', - decimals: 18, - symbol: 'aLUSD', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alusd.svg', - extensions: { - pool: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', - underlying: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', - }, - }, - { - chainId: 137, - address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', - name: '(PoS) Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 137, - address: '0x27F8D03b3a2196956ED754baDc28D73be8830A6e', - name: 'Aave Matic Market DAI', - decimals: 18, - symbol: 'amDAI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', - }, - }, - { - chainId: 137, - address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', - name: 'USD Coin (PoS)', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 137, - address: '0x1a13F4Ca1d028320A707D99520AbFefca3998b7F', - name: 'Aave Matic Market USDC', - decimals: 6, - symbol: 'amUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', - }, - }, - { - chainId: 137, - address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', - name: '(PoS) Tether USD', - decimals: 6, - symbol: 'USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 137, - address: '0x60D55F02A771d515e077c9C2403a1ef324885CeC', - name: 'Aave Matic Market USDT', - decimals: 6, - symbol: 'amUSDT', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', - }, - }, - { - chainId: 137, - address: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', - name: '(PoS) Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbtc.svg', - }, - { - chainId: 137, - address: '0x5c2ed810328349100A66B82b78a1791B101C9D61', - name: 'Aave Matic Market WBTC', - decimals: 8, - symbol: 'amWBTC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', - }, - }, - { - chainId: 137, - address: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 137, - address: '0x28424507fefb6f7f8E9D3860F56504E4e5f5f390', - name: 'Aave Matic Market WETH', - decimals: 18, - symbol: 'amWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', - }, - }, - { - chainId: 137, - address: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', - name: 'Wrapped Matic', - decimals: 18, - symbol: 'WMATIC', - tags: ['underlying'], - }, - { - chainId: 137, - address: '0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4', - name: 'Aave Matic Market WMATIC', - decimals: 18, - symbol: 'amWMATIC', - tags: ['aTokenV2', 'aaveV2'], - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', - }, - }, - { - chainId: 137, - address: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', - name: 'Aave (PoS)', - decimals: 18, - symbol: 'AAVE', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg', - }, - { - chainId: 137, - address: '0x1d2a0E5EC8E5bBDCA5CB219e649B565d8e5c3360', - name: 'Aave Matic Market AAVE', - decimals: 18, - symbol: 'amAAVE', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', - }, - }, - { - chainId: 137, - address: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', - name: 'Aavegotchi GHST Token (PoS)', - decimals: 18, - symbol: 'GHST', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ghst.svg', - }, - { - chainId: 137, - address: '0x080b5BF8f360F624628E0fb961F4e67c9e3c7CF1', - name: 'Aave Matic Market GHST', - decimals: 18, - symbol: 'amGHST', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aghst.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', - }, - }, - { - chainId: 137, - address: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', - name: 'Balancer (PoS)', - decimals: 18, - symbol: 'BAL', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/bal.svg', - }, - { - chainId: 137, - address: '0xc4195D4060DaEac44058Ed668AA5EfEc50D77ff6', - name: 'Aave Matic Market BAL', - decimals: 18, - symbol: 'amBAL', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abal.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', - }, - }, - { - chainId: 137, - address: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', - name: 'DefiPulse Index (PoS)', - decimals: 18, - symbol: 'DPI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dpi.svg', - }, - { - chainId: 137, - address: '0x81fB82aAcB4aBE262fc57F06fD4c1d2De347D7B1', - name: 'Aave Matic Market DPI', - decimals: 18, - symbol: 'amDPI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adpi.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', - }, - }, - { - chainId: 137, - address: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', - name: 'CRV (PoS)', - decimals: 18, - symbol: 'CRV', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/crv.svg', - }, - { - chainId: 137, - address: '0x3Df8f92b7E798820ddcCA2EBEA7BAbda2c90c4aD', - name: 'Aave Matic Market CRV', - decimals: 18, - symbol: 'amCRV', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acrv.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', - }, - }, - { - chainId: 137, - address: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', - name: 'SushiToken (PoS)', - decimals: 18, - symbol: 'SUSHI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/sushi.svg', - }, - { - chainId: 137, - address: '0x21eC9431B5B55c5339Eb1AE7582763087F98FAc2', - name: 'Aave Matic Market SUSHI', - decimals: 18, - symbol: 'amSUSHI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asushi.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', - }, - }, - { - chainId: 137, - address: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', - name: 'ChainLink Token', - decimals: 18, - symbol: 'LINK', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/link.svg', - }, - { - chainId: 137, - address: '0x0Ca2e42e8c21954af73Bc9af1213E4e81D6a669A', - name: 'Aave Matic Market LINK', - decimals: 18, - symbol: 'amLINK', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', - underlying: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', - }, - }, - { - chainId: 43114, - address: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETHe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 43114, - address: '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', - name: 'Aave Avalanche Market WETH', - decimals: 18, - symbol: 'avWETH', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', - }, - }, - { - chainId: 43114, - address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAIe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 43114, - address: '0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a', - name: 'Aave Avalanche Market DAI', - decimals: 18, - symbol: 'avDAI', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', - }, - }, - { - chainId: 43114, - address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', - name: 'Tether USD', - decimals: 6, - symbol: 'USDTe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 43114, - address: '0x532E6537FEA298397212F09A61e03311686f548e', - name: 'Aave Avalanche Market USDT', - decimals: 6, - symbol: 'avUSDT', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', - }, - }, - { - chainId: 43114, - address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', - name: 'USD Coin', - decimals: 6, - symbol: 'USDCe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 43114, - address: '0x46A51127C3ce23fb7AB1DE06226147F446e4a857', - name: 'Aave Avalanche Market USDC', - decimals: 6, - symbol: 'avUSDC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', - }, - }, - { - chainId: 43114, - address: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', - name: 'Aave Token', - decimals: 18, - symbol: 'AAVEe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg', - }, - { - chainId: 43114, - address: '0xD45B7c061016102f9FA220502908f2c0f1add1D7', - name: 'Aave Avalanche Market AAVE', - decimals: 18, - symbol: 'avAAVE', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', - }, - }, - { - chainId: 43114, - address: '0x50b7545627a5162F82A992c33b87aDc75187B218', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTCe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbtc.svg', - }, - { - chainId: 43114, - address: '0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D', - name: 'Aave Avalanche Market WBTC', - decimals: 8, - symbol: 'avWBTC', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0x50b7545627a5162F82A992c33b87aDc75187B218', - }, - }, - { - chainId: 43114, - address: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', - name: 'Wrapped AVAX', - decimals: 18, - symbol: 'WAVAX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wavax.svg', - }, - { - chainId: 43114, - address: '0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B', - name: 'Aave Avalanche Market WAVAX', - decimals: 18, - symbol: 'avWAVAX', - tags: ['aTokenV2', 'aaveV2'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awavax.svg', - extensions: { - pool: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', - underlying: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', - }, - }, - { - chainId: 1, - address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8', - name: 'Aave Ethereum WETH', - decimals: 18, - symbol: 'aEthWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', - }, - }, - { - chainId: 1, - address: '0x252231882FB38481497f3C767469106297c8d93b', - name: 'Static Aave Ethereum WETH', - decimals: 18, - symbol: 'stataEthWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', - underlyingAToken: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8', - }, - }, - { - chainId: 1, - address: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', - name: 'Wrapped liquid staked Ether 2.0', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 1, - address: '0x0B925eD163218f6662a35e0f0371Ac234f9E9371', - name: 'Aave Ethereum wstETH', - decimals: 18, - symbol: 'aEthwstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', - }, - }, - { - chainId: 1, - address: '0x322AA5F5Be95644d6c36544B6c5061F072D16DF5', - name: 'Static Aave Ethereum wstETH', - decimals: 18, - symbol: 'stataEthwstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', - underlyingAToken: '0x0B925eD163218f6662a35e0f0371Ac234f9E9371', - }, - }, - { - chainId: 1, - address: '0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8', - name: 'Aave Ethereum WBTC', - decimals: 8, - symbol: 'aEthWBTC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', - }, - }, - { - chainId: 1, - address: '0xB07E357cc262E92eee03D8B81464D596B258eA7a', - name: 'Static Aave Ethereum WBTC', - decimals: 8, - symbol: 'stataEthWBTC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawbtc.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', - underlyingAToken: '0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8', - }, - }, - { - chainId: 1, - address: '0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c', - name: 'Aave Ethereum USDC', - decimals: 6, - symbol: 'aEthUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - }, - }, - { - chainId: 1, - address: '0x73edDFa87C71ADdC275c2b9890f5c3a8480bC9E6', - name: 'Static Aave Ethereum USDC', - decimals: 6, - symbol: 'stataEthUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - underlyingAToken: '0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c', - }, - }, - { - chainId: 1, - address: '0x018008bfb33d285247A21d44E50697654f754e63', - name: 'Aave Ethereum DAI', - decimals: 18, - symbol: 'aEthDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x6B175474E89094C44Da98b954EedeAC495271d0F', - }, - }, - { - chainId: 1, - address: '0xaf270C38fF895EA3f95Ed488CEACe2386F038249', - name: 'Static Aave Ethereum DAI', - decimals: 18, - symbol: 'stataEthDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadai.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x6B175474E89094C44Da98b954EedeAC495271d0F', - underlyingAToken: '0x018008bfb33d285247A21d44E50697654f754e63', - }, - }, - { - chainId: 1, - address: '0x5E8C8A7243651DB1384C0dDfDbE39761E8e7E51a', - name: 'Aave Ethereum LINK', - decimals: 18, - symbol: 'aEthLINK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x514910771AF9Ca656af840dff83E8264EcF986CA', - }, - }, - { - chainId: 1, - address: '0x57bd8C73838d1781b4f6E0d5Cf89eb676488d3df', - name: 'Static Aave Ethereum LINK', - decimals: 18, - symbol: 'stataEthLINK', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalink.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x514910771AF9Ca656af840dff83E8264EcF986CA', - underlyingAToken: '0x5E8C8A7243651DB1384C0dDfDbE39761E8e7E51a', - }, - }, - { - chainId: 1, - address: '0xA700b4eB416Be35b2911fd5Dee80678ff64fF6C9', - name: 'Aave Ethereum AAVE', - decimals: 18, - symbol: 'aEthAAVE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', - }, - }, - { - chainId: 1, - address: '0xFEB859A50f92C6D5ad7C9eF7C2c060D164B3280f', - name: 'Static Aave Ethereum AAVE', - decimals: 18, - symbol: 'stataEthAAVE', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataaave.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', - underlyingAToken: '0xA700b4eB416Be35b2911fd5Dee80678ff64fF6C9', - }, - }, - { - chainId: 1, - address: '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704', - name: 'Coinbase Wrapped Staked ETH', - decimals: 18, - symbol: 'cbETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/cbeth.svg', - }, - { - chainId: 1, - address: '0x977b6fc5dE62598B08C85AC8Cf2b745874E8b78c', - name: 'Aave Ethereum cbETH', - decimals: 18, - symbol: 'aEthcbETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acbeth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704', - }, - }, - { - chainId: 1, - address: '0xe2a6863C8f043457B497667Ef3c43073e2D69089', - name: 'Static Aave Ethereum cbETH', - decimals: 18, - symbol: 'stataEthcbETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statacbeth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xBe9895146f7AF43049ca1c1AE358B0541Ea49704', - underlyingAToken: '0x977b6fc5dE62598B08C85AC8Cf2b745874E8b78c', - }, - }, - { - chainId: 1, - address: '0x23878914EFE38d27C4D67Ab83ed1b93A74D4086a', - name: 'Aave Ethereum USDT', - decimals: 6, - symbol: 'aEthUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xdAC17F958D2ee523a2206206994597C13D831ec7', - }, - }, - { - chainId: 1, - address: '0x862c57d48becB45583AEbA3f489696D22466Ca1b', - name: 'Static Aave Ethereum USDT', - decimals: 6, - symbol: 'stataEthUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xdAC17F958D2ee523a2206206994597C13D831ec7', - underlyingAToken: '0x23878914EFE38d27C4D67Ab83ed1b93A74D4086a', - }, - }, - { - chainId: 1, - address: '0xae78736Cd615f374D3085123A210448E74Fc6393', - name: 'Rocket Pool ETH', - decimals: 18, - symbol: 'rETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/reth.svg', - }, - { - chainId: 1, - address: '0xCc9EE9483f662091a1de4795249E24aC0aC2630f', - name: 'Aave Ethereum rETH', - decimals: 18, - symbol: 'aEthrETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/areth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xae78736Cd615f374D3085123A210448E74Fc6393', - }, - }, - { - chainId: 1, - address: '0x867Cf025B5dA438c4e215c60B59bBB3aFe896Fda', - name: 'Static Aave Ethereum rETH', - decimals: 18, - symbol: 'stataEthrETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statareth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xae78736Cd615f374D3085123A210448E74Fc6393', - underlyingAToken: '0xCc9EE9483f662091a1de4795249E24aC0aC2630f', - }, - }, - { - chainId: 1, - address: '0x3Fe6a295459FAe07DF8A0ceCC36F37160FE86AA9', - name: 'Aave Ethereum LUSD', - decimals: 18, - symbol: 'aEthLUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alusd.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', - }, - }, - { - chainId: 1, - address: '0xDBf5E36569798D1E39eE9d7B1c61A7409a74F23A', - name: 'Static Aave Ethereum LUSD', - decimals: 18, - symbol: 'stataEthLUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalusd.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', - underlyingAToken: '0x3Fe6a295459FAe07DF8A0ceCC36F37160FE86AA9', - }, - }, - { - chainId: 1, - address: '0x7B95Ec873268a6BFC6427e7a28e396Db9D0ebc65', - name: 'Aave Ethereum CRV', - decimals: 18, - symbol: 'aEthCRV', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acrv.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xD533a949740bb3306d119CC777fa900bA034cd52', - }, - }, - { - chainId: 1, - address: '0x149EE12310D499F701B6A5714eDAd2C832008fd2', - name: 'Static Aave Ethereum CRV', - decimals: 18, - symbol: 'stataEthCRV', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statacrv.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xD533a949740bb3306d119CC777fa900bA034cd52', - underlyingAToken: '0x7B95Ec873268a6BFC6427e7a28e396Db9D0ebc65', - }, - }, - { - chainId: 1, - address: '0x8A458A9dc9048e005d22849F470891b840296619', - name: 'Aave Ethereum MKR', - decimals: 18, - symbol: 'aEthMKR', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', - }, - }, - { - chainId: 1, - address: '0xC7B4c17861357B8ABB91F25581E7263E08DCB59c', - name: 'Aave Ethereum SNX', - decimals: 18, - symbol: 'aEthSNX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asnx.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', - }, - }, - { - chainId: 1, - address: '0xaECEbdfE454d869A626cAb38226C52a1575D1866', - name: 'Static Aave Ethereum SNX', - decimals: 18, - symbol: 'stataEthSNX', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasnx.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', - underlyingAToken: '0xC7B4c17861357B8ABB91F25581E7263E08DCB59c', - }, - }, - { - chainId: 1, - address: '0x2516E7B3F76294e03C42AA4c5b5b4DCE9C436fB8', - name: 'Aave Ethereum BAL', - decimals: 18, - symbol: 'aEthBAL', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abal.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xba100000625a3754423978a60c9317c58a424e3D', - }, - }, - { - chainId: 1, - address: '0xF6D2224916DDFbbab6e6bd0D1B7034f4Ae0CaB18', - name: 'Aave Ethereum UNI', - decimals: 18, - symbol: 'aEthUNI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/auni.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', - }, - }, - { - chainId: 1, - address: '0x78fb5E79D5cb59729D0cd72bEA7879aD2683454D', - name: 'Static Aave Ethereum UNI', - decimals: 18, - symbol: 'stataEthUNI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statauni.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', - underlyingAToken: '0xF6D2224916DDFbbab6e6bd0D1B7034f4Ae0CaB18', - }, - }, - { - chainId: 1, - address: '0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32', - name: 'Lido DAO Token', - decimals: 18, - symbol: 'LDO', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ldo.svg', - }, - { - chainId: 1, - address: '0x9A44fd41566876A39655f74971a3A6eA0a17a454', - name: 'Aave Ethereum LDO', - decimals: 18, - symbol: 'aEthLDO', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aldo.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32', - }, - }, - { - chainId: 1, - address: '0x1eA6E1ba21601258401d0B9DB24eA0a07948458e', - name: 'Static Aave Ethereum LDO', - decimals: 18, - symbol: 'stataEthLDO', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataldo.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32', - underlyingAToken: '0x9A44fd41566876A39655f74971a3A6eA0a17a454', - }, - }, - { - chainId: 1, - address: '0x545bD6c032eFdde65A377A6719DEF2796C8E0f2e', - name: 'Aave Ethereum ENS', - decimals: 18, - symbol: 'aEthENS', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aens.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', - }, - }, - { - chainId: 1, - address: '0x2767C27Eeaf3566082E74b963B6A0f5c9a46C8a1', - name: 'Static Aave Ethereum ENS', - decimals: 18, - symbol: 'stataEthENS', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataens.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72', - underlyingAToken: '0x545bD6c032eFdde65A377A6719DEF2796C8E0f2e', - }, - }, - { - chainId: 1, - address: '0x71Aef7b30728b9BB371578f36c5A1f1502a5723e', - name: 'Aave Ethereum 1INCH', - decimals: 18, - symbol: 'aEthONE_INCH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/a1inch.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x111111111117dC0aa78b770fA6A738034120C302', - }, - }, - { - chainId: 1, - address: '0xB490fF18e55b8881C9527FE7E358dd363780449F', - name: 'Static Aave Ethereum 1INCH', - decimals: 18, - symbol: 'stataEthONE_INCH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stata1inch.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x111111111117dC0aa78b770fA6A738034120C302', - underlyingAToken: '0x71Aef7b30728b9BB371578f36c5A1f1502a5723e', - }, - }, - { - chainId: 1, - address: '0xd4e245848d6E1220DBE62e155d89fa327E43CB06', - name: 'Aave Ethereum FRAX', - decimals: 18, - symbol: 'aEthFRAX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afrax.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x853d955aCEf822Db058eb8505911ED77F175b99e', - }, - }, - { - chainId: 1, - address: '0xEE66abD4D0f9908A48E08AE354B0f425De3e237E', - name: 'Static Aave Ethereum FRAX', - decimals: 18, - symbol: 'stataEthFRAX', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statafrax.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x853d955aCEf822Db058eb8505911ED77F175b99e', - underlyingAToken: '0xd4e245848d6E1220DBE62e155d89fa327E43CB06', - }, - }, - { - chainId: 1, - address: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f', - name: 'Gho Token', - decimals: 18, - symbol: 'GHO', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/gho.svg', - }, - { - chainId: 1, - address: '0x00907f9921424583e7ffBfEdf84F92B7B2Be4977', - name: 'Aave Ethereum GHO', - decimals: 18, - symbol: 'aEthGHO', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/agho.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f', - }, - }, - { - chainId: 1, - address: '0x048459E4fb3402e58d8900aF7283Ad574B91d742', - name: 'Static Aave Ethereum GHO', - decimals: 18, - symbol: 'stataEthGHO', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statagho.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f', - underlyingAToken: '0x00907f9921424583e7ffBfEdf84F92B7B2Be4977', - }, - }, - { - chainId: 1, - address: '0xD33526068D116cE69F19A9ee46F0bd304F21A51f', - name: 'Rocket Pool Protocol', - decimals: 18, - symbol: 'RPL', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/rpl.svg', - }, - { - chainId: 1, - address: '0xB76CF92076adBF1D9C39294FA8e7A67579FDe357', - name: 'Aave Ethereum RPL', - decimals: 18, - symbol: 'aEthRPL', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/arpl.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xD33526068D116cE69F19A9ee46F0bd304F21A51f', - }, - }, - { - chainId: 1, - address: '0x95EF7cb3494e65dA4926bA330dBf540a13afFD17', - name: 'Static Aave Ethereum RPL', - decimals: 18, - symbol: 'stataEthRPL', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statarpl.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xD33526068D116cE69F19A9ee46F0bd304F21A51f', - underlyingAToken: '0xB76CF92076adBF1D9C39294FA8e7A67579FDe357', - }, - }, - { - chainId: 1, - address: '0x83F20F44975D03b1b09e64809B757c47f942BEeA', - name: 'Savings Dai', - decimals: 18, - symbol: 'sDAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/sdai.svg', - }, - { - chainId: 1, - address: '0x4C612E3B15b96Ff9A6faED838F8d07d479a8dD4c', - name: 'Aave Ethereum sDAI', - decimals: 18, - symbol: 'aEthsDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asdai.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x83F20F44975D03b1b09e64809B757c47f942BEeA', - }, - }, - { - chainId: 1, - address: '0xFa7E3571786CE9489bBC58d9Cb8ecE8aAe6B56F3', - name: 'Static Aave Ethereum sDAI', - decimals: 18, - symbol: 'stataEthsDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasdai.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x83F20F44975D03b1b09e64809B757c47f942BEeA', - underlyingAToken: '0x4C612E3B15b96Ff9A6faED838F8d07d479a8dD4c', - }, - }, - { - chainId: 1, - address: '0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6', - name: 'StargateToken', - decimals: 18, - symbol: 'STG', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stg.svg', - }, - { - chainId: 1, - address: '0x1bA9843bD4327c6c77011406dE5fA8749F7E3479', - name: 'Aave Ethereum STG', - decimals: 18, - symbol: 'aEthSTG', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/astg.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6', - }, - }, - { - chainId: 1, - address: '0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202', - name: 'Kyber Network Crystal v2', - decimals: 18, - symbol: 'KNC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/knc.svg', - }, - { - chainId: 1, - address: '0x5b502e3796385E1e9755d7043B9C945C3aCCeC9C', - name: 'Aave Ethereum KNC', - decimals: 18, - symbol: 'aEthKNC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aknc.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202', - }, - }, - { - chainId: 1, - address: '0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0', - name: 'Frax Share', - decimals: 18, - symbol: 'FXS', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/fxs.svg', - }, - { - chainId: 1, - address: '0x82F9c5ad306BBa1AD0De49bB5FA6F01bf61085ef', - name: 'Aave Ethereum FXS', - decimals: 18, - symbol: 'aEthFXS', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afxs.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0', - }, - }, - { - chainId: 1, - address: '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E', - name: 'Curve.Fi USD Stablecoin', - decimals: 18, - symbol: 'crvUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/crvusd.svg', - }, - { - chainId: 1, - address: '0xb82fa9f31612989525992FCfBB09AB22Eff5c85A', - name: 'Aave Ethereum crvUSD', - decimals: 18, - symbol: 'aEthcrvUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acrvusd.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E', - }, - }, - { - chainId: 1, - address: '0x848107491E029AFDe0AC543779c7790382f15929', - name: 'Static Aave Ethereum crvUSD', - decimals: 18, - symbol: 'stataEthcrvUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statacrvusd.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E', - underlyingAToken: '0xb82fa9f31612989525992FCfBB09AB22Eff5c85A', - }, - }, - { - chainId: 1, - address: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', - name: 'PayPal USD', - decimals: 6, - symbol: 'PYUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/pyusd.svg', - }, - { - chainId: 1, - address: '0x0C0d01AbF3e6aDfcA0989eBbA9d6e85dD58EaB1E', - name: 'Aave Ethereum PYUSD', - decimals: 6, - symbol: 'aEthPYUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/apyusd.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', - }, - }, - { - chainId: 1, - address: '0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152', - name: 'Static Aave Ethereum PYUSD', - decimals: 6, - symbol: 'stataEthPYUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statapyusd.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', - underlyingAToken: '0x0C0d01AbF3e6aDfcA0989eBbA9d6e85dD58EaB1E', - }, - }, - { - chainId: 1, - address: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', - name: 'Wrapped eETH', - decimals: 18, - symbol: 'weETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weeth.svg', - }, - { - chainId: 1, - address: '0xBdfa7b7893081B35Fb54027489e2Bc7A38275129', - name: 'Aave Ethereum weETH', - decimals: 18, - symbol: 'aEthweETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweeth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', - }, - }, - { - chainId: 1, - address: '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38', - name: 'Staked ETH', - decimals: 18, - symbol: 'osETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/oseth.svg', - }, - { - chainId: 1, - address: '0x927709711794F3De5DdBF1D176bEE2D55Ba13c21', - name: 'Aave Ethereum osETH', - decimals: 18, - symbol: 'aEthosETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aoseth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38', - }, - }, - { - chainId: 1, - address: '0xE5248968166206d14ab57345971E32facD839aDA', - name: 'Static Aave Ethereum osETH', - decimals: 18, - symbol: 'stataEthosETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataoseth.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38', - underlyingAToken: '0x927709711794F3De5DdBF1D176bEE2D55Ba13c21', - }, - }, - { - chainId: 1, - address: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3', - name: 'USDe', - decimals: 18, - symbol: 'USDe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usde.svg', - }, - { - chainId: 1, - address: '0x4F5923Fc5FD4a93352581b38B7cD26943012DECF', - name: 'Aave Ethereum USDe', - decimals: 18, - symbol: 'aEthUSDe', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausde.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3', - }, - }, - { - chainId: 1, - address: '0x46e5d6A33C8Bd8eD38F3c95991C78C9B2FF3bC99', - name: 'Static Aave Ethereum USDe', - decimals: 18, - symbol: 'stataEthUSDe', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausde.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x4c9EDD5852cd905f086C759E8383e09bff1E68B3', - underlyingAToken: '0x4F5923Fc5FD4a93352581b38B7cD26943012DECF', - }, - }, - { - chainId: 1, - address: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', - name: 'ETHx', - decimals: 18, - symbol: 'ETHx', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ethx.svg', - }, - { - chainId: 1, - address: '0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002', - name: 'Aave Ethereum ETHx', - decimals: 18, - symbol: 'aEthETHx', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aethx.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', - }, - }, - { - chainId: 1, - address: '0x7CC6694CF75C18D488d16FB4bf3c71A3B31cc7FB', - name: 'Static Aave Ethereum ETHx', - decimals: 18, - symbol: 'stataEthETHx', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataethx.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xA35b1B31Ce002FBF2058D22F30f95D405200A15b', - underlyingAToken: '0x1c0E06a0b1A4c160c17545FF2A951bfcA57C0002', - }, - }, - { - chainId: 1, - address: '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', - name: 'Staked USDe', - decimals: 18, - symbol: 'sUSDe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/susde.svg', - }, - { - chainId: 1, - address: '0x4579a27aF00A62C0EB156349f31B345c08386419', - name: 'Aave Ethereum sUSDe', - decimals: 18, - symbol: 'aEthsUSDe', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asusde.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', - }, - }, - { - chainId: 1, - address: '0x54D612b000697bd8B0094889D7d6A92bA0Bf2DEa', - name: 'Static Aave Ethereum sUSDe', - decimals: 18, - symbol: 'stataEthsUSDe', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasusde.svg', - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x9D39A5DE30e57443BfF2A8307A4256c8797A3497', - underlyingAToken: '0x4579a27aF00A62C0EB156349f31B345c08386419', - }, - }, - { - chainId: 1, - address: '0x18084fbA666a33d37592fA2633fD49a74DD93a88', - name: 'tBTC v2', - decimals: 18, - symbol: 'tBTC', - tags: ['underlying'], - }, - { - chainId: 1, - address: '0x10Ac93971cdb1F5c778144084242374473c350Da', - name: 'Aave Ethereum tBTC', - decimals: 18, - symbol: 'aEthtBTC', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0x18084fbA666a33d37592fA2633fD49a74DD93a88', - }, - }, - { - chainId: 1, - address: '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', - name: 'Coinbase Wrapped BTC', - decimals: 8, - symbol: 'cbBTC', - tags: ['underlying'], - }, - { - chainId: 1, - address: '0x5c647cE0Ae10658ec44FA4E11A51c96e94efd1Dd', - name: 'Aave Ethereum cbBTC', - decimals: 8, - symbol: 'aEthcbBTC', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', - }, - }, - { - chainId: 1, - address: '0xdC035D45d973E3EC169d2276DDab16f1e407384F', - name: 'USDS Stablecoin', - decimals: 18, - symbol: 'USDS', - tags: ['underlying'], - }, - { - chainId: 1, - address: '0x32a6268f9Ba3642Dda7892aDd74f1D34469A4259', - name: 'Aave Ethereum USDS', - decimals: 18, - symbol: 'aEthUSDS', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', - underlying: '0xdC035D45d973E3EC169d2276DDab16f1e407384F', - }, - }, - { - chainId: 137, - address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - name: 'Aave Polygon DAI', - decimals: 18, - symbol: 'aPolDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', - }, - }, - { - chainId: 137, - address: '0x83c59636e602787A6EEbBdA2915217B416193FcB', - name: 'Static Aave Polygon DAI', - decimals: 18, - symbol: 'stataPolDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', - underlyingAToken: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - }, - }, - { - chainId: 137, - address: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - name: 'Aave Polygon LINK', - decimals: 18, - symbol: 'aPolLINK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', - }, - }, - { - chainId: 137, - address: '0x37868a45c6741616F9E5a189dC0481AD70056B6a', - name: 'Static Aave Polygon LINK', - decimals: 18, - symbol: 'stataPolLINK', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', - underlyingAToken: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - }, - }, - { - chainId: 137, - address: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - name: 'Aave Polygon USDC', - decimals: 6, - symbol: 'aPolUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', - }, - }, - { - chainId: 137, - address: '0x1017F4a86Fc3A3c824346d0b8C5e96A5029bDAf9', - name: 'Static Aave Polygon USDC', - decimals: 6, - symbol: 'stataPolUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', - underlyingAToken: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - }, - }, - { - chainId: 137, - address: '0x078f358208685046a11C85e8ad32895DED33A249', - name: 'Aave Polygon WBTC', - decimals: 8, - symbol: 'aPolWBTC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', - }, - }, - { - chainId: 137, - address: '0xbC0f50CCB8514Aa7dFEB297521c4BdEBc9C7d22d', - name: 'Static Aave Polygon WBTC', - decimals: 8, - symbol: 'stataPolWBTC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', - underlyingAToken: '0x078f358208685046a11C85e8ad32895DED33A249', - }, - }, - { - chainId: 137, - address: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - name: 'Aave Polygon WETH', - decimals: 18, - symbol: 'aPolWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', - }, - }, - { - chainId: 137, - address: '0xb3D5Af0A52a35692D3FcbE37669b3B8C31dddE7D', - name: 'Static Aave Polygon WETH', - decimals: 18, - symbol: 'stataPolWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', - underlyingAToken: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - }, - }, - { - chainId: 137, - address: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - name: 'Aave Polygon USDT', - decimals: 6, - symbol: 'aPolUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', - }, - }, - { - chainId: 137, - address: '0x87A1fdc4C726c459f597282be639a045062c0E46', - name: 'Static Aave Polygon USDT', - decimals: 6, - symbol: 'stataPolUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', - underlyingAToken: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - }, - }, - { - chainId: 137, - address: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - name: 'Aave Polygon AAVE', - decimals: 18, - symbol: 'aPolAAVE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', - }, - }, - { - chainId: 137, - address: '0xCA2E1E33E5BCF4978E2d683656E1f5610f8C4A7E', - name: 'Static Aave Polygon AAVE', - decimals: 18, - symbol: 'stataPolAAVE', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', - underlyingAToken: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - }, - }, - { - chainId: 137, - address: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - name: 'Aave Polygon WMATIC', - decimals: 18, - symbol: 'aPolWMATIC', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', - }, - }, - { - chainId: 137, - address: '0x98254592408E389D1dd2dBa318656C2C5c305b4E', - name: 'Static Aave Polygon WMATIC', - decimals: 18, - symbol: 'stataPolWMATIC', - tags: ['aaveV3', 'staticAT'], - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', - underlyingAToken: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - }, - }, - { - chainId: 137, - address: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - name: 'Aave Polygon CRV', - decimals: 18, - symbol: 'aPolCRV', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acrv.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', - }, - }, - { - chainId: 137, - address: '0x4356941463eD4d75381AC23C9EF799B5d7C52AD8', - name: 'Static Aave Polygon CRV', - decimals: 18, - symbol: 'stataPolCRV', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statacrv.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', - underlyingAToken: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - }, - }, - { - chainId: 137, - address: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - name: 'Aave Polygon SUSHI', - decimals: 18, - symbol: 'aPolSUSHI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asushi.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', - }, - }, - { - chainId: 137, - address: '0xe3eDe71d32240b7EC355F0e5DD1131BBe029F934', - name: 'Static Aave Polygon SUSHI', - decimals: 18, - symbol: 'stataPolSUSHI', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasushi.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', - underlyingAToken: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - }, - }, - { - chainId: 137, - address: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - name: 'Aave Polygon GHST', - decimals: 18, - symbol: 'aPolGHST', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aghst.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', - }, - }, - { - chainId: 137, - address: '0x123319636A6a9c85D9959399304F4cB23F64327e', - name: 'Static Aave Polygon GHST', - decimals: 18, - symbol: 'stataPolGHST', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataghst.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', - underlyingAToken: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - }, - }, - { - chainId: 137, - address: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - name: 'Aave Polygon BAL', - decimals: 18, - symbol: 'aPolBAL', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abal.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', - }, - }, - { - chainId: 137, - address: '0x1a8969FD39AbaF228e690B172C4C3Eb7c67F95E1', - name: 'Static Aave Polygon BAL', - decimals: 18, - symbol: 'stataPolBAL', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statabal.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', - underlyingAToken: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - }, - }, - { - chainId: 137, - address: '0x724dc807b04555b71ed48a6896b6F41593b8C637', - name: 'Aave Polygon DPI', - decimals: 18, - symbol: 'aPolDPI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adpi.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', - }, - }, - { - chainId: 137, - address: '0x73B788ACA5f4F0EeB3c6Da453cDf31041a77b36D', - name: 'Static Aave Polygon DPI', - decimals: 18, - symbol: 'stataPolDPI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadpi.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', - underlyingAToken: '0x724dc807b04555b71ed48a6896b6F41593b8C637', - }, - }, - { - chainId: 137, - address: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', - name: 'STASIS EURS Token (PoS)', - decimals: 2, - symbol: 'EURS', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/eurs.svg', - }, - { - chainId: 137, - address: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', - name: 'Aave Polygon EURS', - decimals: 2, - symbol: 'aPolEURS', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aeurs.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', - }, - }, - { - chainId: 137, - address: '0x02E26888Ed3240BB38f26A2adF96Af9B52b167ea', - name: 'Static Aave Polygon EURS', - decimals: 2, - symbol: 'stataPolEURS', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataeurs.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', - underlyingAToken: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', - }, - }, - { - chainId: 137, - address: '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', - name: 'Jarvis Synthetic Euro', - decimals: 18, - symbol: 'jEUR', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/jeur.svg', - }, - { - chainId: 137, - address: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', - name: 'Aave Polygon JEUR', - decimals: 18, - symbol: 'aPolJEUR', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ajeur.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', - }, - }, - { - chainId: 137, - address: '0xD992DaC78Ef3F34614E6a7d325b7b6A320FC0AB5', - name: 'Static Aave Polygon JEUR', - decimals: 18, - symbol: 'stataPolJEUR', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statajeur.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', - underlyingAToken: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', - }, - }, - { - chainId: 137, - address: '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', - name: 'EURA (previously agEUR)', - decimals: 18, - symbol: 'EURA', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/eura.svg', - }, - { - chainId: 137, - address: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77', - name: 'Aave Polygon AGEUR', - decimals: 18, - symbol: 'aPolAGEUR', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aeura.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', - }, - }, - { - chainId: 137, - address: '0xd3eb8796Ed36f58E03B7b4b5AD417FA74931d2c4', - name: 'Static Aave Polygon AGEUR', - decimals: 18, - symbol: 'stataPolAGEUR', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataeura.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', - underlyingAToken: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77', - }, - }, - { - chainId: 137, - address: '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1', - name: 'miMATIC', - decimals: 18, - symbol: 'miMATIC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/mai.svg', - }, - { - chainId: 137, - address: '0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D', - name: 'Aave Polygon MIMATIC', - decimals: 18, - symbol: 'aPolMIMATIC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1', - }, - }, - { - chainId: 137, - address: '0x8486B49433cCed038b51d18Ae3772CDB7E31CA5e', - name: 'Static Aave Polygon MIMATIC', - decimals: 18, - symbol: 'stataPolMIMATIC', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statamai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1', - underlyingAToken: '0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D', - }, - }, - { - chainId: 137, - address: '0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4', - name: 'Staked MATIC (PoS)', - decimals: 18, - symbol: 'stMATIC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stmatic.svg', - }, - { - chainId: 137, - address: '0xEA1132120ddcDDA2F119e99Fa7A27a0d036F7Ac9', - name: 'Aave Polygon STMATIC', - decimals: 18, - symbol: 'aPolSTMATIC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/astmatic.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4', - }, - }, - { - chainId: 137, - address: '0x867A180B7060fDC27610dC9096E93534F638A315', - name: 'Static Aave Polygon STMATIC', - decimals: 18, - symbol: 'stataPolSTMATIC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statastmatic.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4', - underlyingAToken: '0xEA1132120ddcDDA2F119e99Fa7A27a0d036F7Ac9', - }, - }, - { - chainId: 137, - address: '0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6', - name: 'Liquid Staking Matic (PoS)', - decimals: 18, - symbol: 'MaticX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/maticx.svg', - }, - { - chainId: 137, - address: '0x80cA0d8C38d2e2BcbaB66aA1648Bd1C7160500FE', - name: 'Aave Polygon MATICX', - decimals: 18, - symbol: 'aPolMATICX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amaticx.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6', - }, - }, - { - chainId: 137, - address: '0xbcDd5709641Af4BE99b1470A2B3A5203539132Ec', - name: 'Static Aave Polygon MATICX', - decimals: 18, - symbol: 'stataPolMATICX', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statamaticx.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6', - underlyingAToken: '0x80cA0d8C38d2e2BcbaB66aA1648Bd1C7160500FE', - }, - }, - { - chainId: 137, - address: '0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD', - name: 'Wrapped liquid staked Ether 2.0 (PoS)', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 137, - address: '0xf59036CAEBeA7dC4b86638DFA2E3C97dA9FcCd40', - name: 'Aave Polygon wstETH', - decimals: 18, - symbol: 'aPolwstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD', - }, - }, - { - chainId: 137, - address: '0x5274453F4CD5dD7280011a1Cca3B9e1b78EC59A6', - name: 'Static Aave Polygon wstETH', - decimals: 18, - symbol: 'stataPolwstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD', - underlyingAToken: '0xf59036CAEBeA7dC4b86638DFA2E3C97dA9FcCd40', - }, - }, - { - chainId: 137, - address: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', - name: 'USD Coin', - decimals: 6, - symbol: 'USDCn', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 137, - address: '0xA4D94019934D8333Ef880ABFFbF2FDd611C762BD', - name: 'Aave Polygon USDCn', - decimals: 6, - symbol: 'aPolUSDCn', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', - }, - }, - { - chainId: 137, - address: '0x2dCa80061632f3F87c9cA28364d1d0c30cD79a19', - name: 'Static Aave Polygon USDCn', - decimals: 6, - symbol: 'stataPolUSDCn', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', - underlyingAToken: '0xA4D94019934D8333Ef880ABFFbF2FDd611C762BD', - }, - }, - { - chainId: 43114, - address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - name: 'Aave Avalanche DAI', - decimals: 18, - symbol: 'aAvaDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', - }, - }, - { - chainId: 43114, - address: '0x02F3f6c8A432C1e49f3359d7d36887C25d8A5888', - name: 'Static Aave Avalanche DAI', - decimals: 18, - symbol: 'stataAvaDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', - underlyingAToken: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - }, - }, - { - chainId: 43114, - address: '0x5947BB275c521040051D82396192181b413227A3', - name: 'Chainlink Token', - decimals: 18, - symbol: 'LINKe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/link.svg', - }, - { - chainId: 43114, - address: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - name: 'Aave Avalanche LINK', - decimals: 18, - symbol: 'aAvaLINK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x5947BB275c521040051D82396192181b413227A3', - }, - }, - { - chainId: 43114, - address: '0x8B773Ab77Dff01985D438961dBCE58382a70cA52', - name: 'Static Aave Avalanche LINK', - decimals: 18, - symbol: 'stataAvaLINK', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x5947BB275c521040051D82396192181b413227A3', - underlyingAToken: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - }, - }, - { - chainId: 43114, - address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 43114, - address: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - name: 'Aave Avalanche USDC', - decimals: 6, - symbol: 'aAvaUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', - }, - }, - { - chainId: 43114, - address: '0xC509aB7bB4eDbF193b82264D499a7Fc526Cd01F4', - name: 'Static Aave Avalanche USDC', - decimals: 6, - symbol: 'stataAvaUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', - underlyingAToken: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - }, - }, - { - chainId: 43114, - address: '0x078f358208685046a11C85e8ad32895DED33A249', - name: 'Aave Avalanche WBTC', - decimals: 8, - symbol: 'aAvaWBTC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x50b7545627a5162F82A992c33b87aDc75187B218', - }, - }, - { - chainId: 43114, - address: '0xE3C0f42EAF1a4BFe37CbA105e5463564BA7730aE', - name: 'Static Aave Avalanche WBTC', - decimals: 8, - symbol: 'stataAvaWBTC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x50b7545627a5162F82A992c33b87aDc75187B218', - underlyingAToken: '0x078f358208685046a11C85e8ad32895DED33A249', - }, - }, - { - chainId: 43114, - address: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - name: 'Aave Avalanche WETH', - decimals: 18, - symbol: 'aAvaWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', - }, - }, - { - chainId: 43114, - address: '0xf8E24175D01653fd6AA203C2C17B1e4Dd1CA2731', - name: 'Static Aave Avalanche WETH', - decimals: 18, - symbol: 'stataAvaWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', - underlyingAToken: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - }, - }, - { - chainId: 43114, - address: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', - name: 'TetherToken', - decimals: 6, - symbol: 'USDt', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 43114, - address: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - name: 'Aave Avalanche USDT', - decimals: 6, - symbol: 'aAvaUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', - }, - }, - { - chainId: 43114, - address: '0x5525Ee69BC1e354B356864187De486fab5AD67d7', - name: 'Static Aave Avalanche USDT', - decimals: 6, - symbol: 'stataAvaUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', - underlyingAToken: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - }, - }, - { - chainId: 43114, - address: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - name: 'Aave Avalanche AAVE', - decimals: 18, - symbol: 'aAvaAAVE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', - }, - }, - { - chainId: 43114, - address: '0xac0746AfD13DEbe2a43a6c8745Fb83Fd2A2909cA', - name: 'Static Aave Avalanche AAVE', - decimals: 18, - symbol: 'stataAvaAAVE', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', - underlyingAToken: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - }, - }, - { - chainId: 43114, - address: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - name: 'Aave Avalanche WAVAX', - decimals: 18, - symbol: 'aAvaWAVAX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awavax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', - }, - }, - { - chainId: 43114, - address: '0x6A02C7a974F1F13A67980C80F774eC1d2eD8f98d', - name: 'Static Aave Avalanche WAVAX', - decimals: 18, - symbol: 'stataAvaWAVAX', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawavax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', - underlyingAToken: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - }, - }, - { - chainId: 43114, - address: '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE', - name: 'Staked AVAX', - decimals: 18, - symbol: 'sAVAX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/savax.svg', - }, - { - chainId: 43114, - address: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - name: 'Aave Avalanche SAVAX', - decimals: 18, - symbol: 'aAvaSAVAX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asavax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE', - }, - }, - { - chainId: 43114, - address: '0x4F059cA8a2a5BF8895Ee731f2E901cCB769FB95f', - name: 'Static Aave Avalanche SAVAX', - decimals: 18, - symbol: 'stataAvaSAVAX', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasavax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE', - underlyingAToken: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - }, - }, - { - chainId: 43114, - address: '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', - name: 'Frax', - decimals: 18, - symbol: 'FRAX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/frax.svg', - }, - { - chainId: 43114, - address: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - name: 'Aave Avalanche FRAX', - decimals: 18, - symbol: 'aAvaFRAX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afrax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', - }, - }, - { - chainId: 43114, - address: '0xA3c2ffE702F4cD265B2249AB5f84Fab81FFf6c73', - name: 'Static Aave Avalanche FRAX', - decimals: 18, - symbol: 'stataAvaFRAX', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statafrax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', - underlyingAToken: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - }, - }, - { - chainId: 43114, - address: '0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b', - name: 'Mai Stablecoin', - decimals: 18, - symbol: 'MAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/mai.svg', - }, - { - chainId: 43114, - address: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - name: 'Aave Avalanche MAI', - decimals: 18, - symbol: 'aAvaMAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b', - }, - }, - { - chainId: 43114, - address: '0x08cC59E51BB0Bc322B4D251f7262dB864d6150ce', - name: 'Static Aave Avalanche MAI', - decimals: 18, - symbol: 'stataAvaMAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statamai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b', - underlyingAToken: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - }, - }, - { - chainId: 43114, - address: '0x152b9d0FdC40C096757F570A51E494bd4b943E50', - name: 'Bitcoin', - decimals: 8, - symbol: 'BTCb', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/btc.svg', - }, - { - chainId: 43114, - address: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - name: 'Aave Avalanche BTC.b', - decimals: 8, - symbol: 'aAvaBTCb', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x152b9d0FdC40C096757F570A51E494bd4b943E50', - }, - }, - { - chainId: 43114, - address: '0x34d768cc830c32DcD743321c09A2A702651bF9a2', - name: 'Static Aave Avalanche BTC.b', - decimals: 8, - symbol: 'stataAvaBTCb', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statabtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x152b9d0FdC40C096757F570A51E494bd4b943E50', - underlyingAToken: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - }, - }, - { - chainId: 8453, - address: '0x4200000000000000000000000000000000000006', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 8453, - address: '0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7', - name: 'Aave Base WETH', - decimals: 18, - symbol: 'aBasWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x4200000000000000000000000000000000000006', - }, - }, - { - chainId: 8453, - address: '0x468973e3264F2aEba0417A8f2cD0Ec397E738898', - name: 'Static Aave Base WETH', - decimals: 18, - symbol: 'stataBasWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x4200000000000000000000000000000000000006', - underlyingAToken: '0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7', - }, - }, - { - chainId: 8453, - address: '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', - name: 'Coinbase Wrapped Staked ETH', - decimals: 18, - symbol: 'cbETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/cbeth.svg', - }, - { - chainId: 8453, - address: '0xcf3D55c10DB69f28fD1A75Bd73f3D8A2d9c595ad', - name: 'Aave Base cbETH', - decimals: 18, - symbol: 'aBascbETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acbeth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', - }, - }, - { - chainId: 8453, - address: '0x16A004065dfb11276DcB29Dc03fb8A85f9A43C6e', - name: 'Static Aave Base cbETH', - decimals: 18, - symbol: 'stataBascbETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statacbeth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', - underlyingAToken: '0xcf3D55c10DB69f28fD1A75Bd73f3D8A2d9c595ad', - }, - }, - { - chainId: 8453, - address: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', - name: 'USD Base Coin', - decimals: 6, - symbol: 'USDbC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdbc.svg', - }, - { - chainId: 8453, - address: '0x0a1d576f3eFeF75b330424287a95A366e8281D54', - name: 'Aave Base USDbC', - decimals: 6, - symbol: 'aBasUSDbC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdbc.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', - }, - }, - { - chainId: 8453, - address: '0x6fCe2756794128B1771324caA860965801DCbCdB', - name: 'Static Aave Base USDbC', - decimals: 6, - symbol: 'stataBasUSDbC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdbc.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', - underlyingAToken: '0x0a1d576f3eFeF75b330424287a95A366e8281D54', - }, - }, - { - chainId: 8453, - address: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452', - name: 'Wrapped liquid staked Ether 2.0', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 8453, - address: '0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D', - name: 'Aave Base wstETH', - decimals: 18, - symbol: 'aBaswstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452', - }, - }, - { - chainId: 8453, - address: '0x03916e49f794Ab877eFA23597627eE8094E6cbB0', - name: 'Static Aave Base wstETH', - decimals: 18, - symbol: 'stataBaswstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452', - underlyingAToken: '0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D', - }, - }, - { - chainId: 8453, - address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 8453, - address: '0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB', - name: 'Aave Base USDC', - decimals: 6, - symbol: 'aBasUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', - }, - }, - { - chainId: 8453, - address: '0x4EA71A20e655794051D1eE8b6e4A3269B13ccaCc', - name: 'Static Aave Base USDC', - decimals: 6, - symbol: 'stataBasUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', - underlyingAToken: '0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB', - }, - }, - { - chainId: 8453, - address: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A', - name: 'Wrapped eETH', - decimals: 18, - symbol: 'weETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weeth.svg', - }, - { - chainId: 8453, - address: '0x7C307e128efA31F540F2E2d976C995E0B65F51F6', - name: 'Aave Base weETH', - decimals: 18, - symbol: 'aBasweETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweeth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A', - }, - }, - { - chainId: 8453, - address: '0x588159E0d360ffAA978330812f9234818ab46E8E', - name: 'Static Aave Base weETH', - decimals: 18, - symbol: 'stataBasweETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweeth.svg', - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A', - underlyingAToken: '0x7C307e128efA31F540F2E2d976C995E0B65F51F6', - }, - }, - { - chainId: 8453, - address: '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', - name: 'Coinbase Wrapped BTC', - decimals: 8, - symbol: 'cbBTC', - tags: ['underlying'], - }, - { - chainId: 8453, - address: '0xBdb9300b7CDE636d9cD4AFF00f6F009fFBBc8EE6', - name: 'Aave Base cbBTC', - decimals: 8, - symbol: 'aBascbBTC', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5', - underlying: '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', - }, - }, - { - chainId: 1088, - address: '0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0', - name: 'DAI Token', - decimals: 18, - symbol: 'mDAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 1088, - address: '0x85ABAdDcae06efee2CB5F75f33b6471759eFDE24', - name: 'Aave Metis mDAI', - decimals: 18, - symbol: 'aMetmDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0', - }, - }, - { - chainId: 1088, - address: '0x66a2E4cff95BDE6403Ed5541B396aA0B171e5509', - name: 'Static Aave Metis mDAI', - decimals: 18, - symbol: 'stataMetmDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadai.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0', - underlyingAToken: '0x85ABAdDcae06efee2CB5F75f33b6471759eFDE24', - }, - }, - { - chainId: 1088, - address: '0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000', - name: 'Metis Token', - decimals: 18, - symbol: 'Metis', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/metis.svg', - }, - { - chainId: 1088, - address: '0x7314Ef2CA509490f65F52CC8FC9E0675C66390b8', - name: 'Aave Metis METIS', - decimals: 18, - symbol: 'aMetMETIS', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ametis.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000', - }, - }, - { - chainId: 1088, - address: '0x5DE732A094A0ceF0eBFEcF0A916bDAB29650a784', - name: 'Static Aave Metis METIS', - decimals: 18, - symbol: 'stataMetMETIS', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statametis.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000', - underlyingAToken: '0x7314Ef2CA509490f65F52CC8FC9E0675C66390b8', - }, - }, - { - chainId: 1088, - address: '0xEA32A96608495e54156Ae48931A7c20f0dcc1a21', - name: 'USDC Token', - decimals: 6, - symbol: 'mUSDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 1088, - address: '0x885C8AEC5867571582545F894A5906971dB9bf27', - name: 'Aave Metis mUSDC', - decimals: 6, - symbol: 'aMetmUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0xEA32A96608495e54156Ae48931A7c20f0dcc1a21', - }, - }, - { - chainId: 1088, - address: '0xb24451C231C6e6A60aC46f45E98a267caae898f4', - name: 'Static Aave Metis mUSDC', - decimals: 6, - symbol: 'stataMetmUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0xEA32A96608495e54156Ae48931A7c20f0dcc1a21', - underlyingAToken: '0x885C8AEC5867571582545F894A5906971dB9bf27', - }, - }, - { - chainId: 1088, - address: '0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC', - name: 'USDT Token', - decimals: 6, - symbol: 'mUSDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 1088, - address: '0xd9fa75D14c26720d5ce7eE2530793a823e8f07b9', - name: 'Aave Metis mUSDT', - decimals: 6, - symbol: 'aMetmUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC', - }, - }, - { - chainId: 1088, - address: '0xAAea6F041425B813760dA201d08d46487034A266', - name: 'Static Aave Metis mUSDT', - decimals: 6, - symbol: 'stataMetmUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0xbB06DCA3AE6887fAbF931640f67cab3e3a16F4dC', - underlyingAToken: '0xd9fa75D14c26720d5ce7eE2530793a823e8f07b9', - }, - }, - { - chainId: 1088, - address: '0x420000000000000000000000000000000000000A', - name: 'Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 1088, - address: '0x8acAe35059C9aE27709028fF6689386a44c09f3a', - name: 'Aave Metis WETH', - decimals: 18, - symbol: 'aMetWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0x420000000000000000000000000000000000000A', - }, - }, - { - chainId: 1088, - address: '0x2f1606864d6322c54b50a1762D4a1ca67f42d23d', - name: 'Static Aave Metis WETH', - decimals: 18, - symbol: 'stataMetWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x90df02551bB792286e8D4f13E0e357b4Bf1D6a57', - underlying: '0x420000000000000000000000000000000000000A', - underlyingAToken: '0x8acAe35059C9aE27709028fF6689386a44c09f3a', - }, - }, - { - chainId: 100, - address: '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1', - name: 'Wrapped Ether on xDai', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 100, - address: '0xa818F1B57c201E092C4A2017A91815034326Efd1', - name: 'Aave Gnosis WETH', - decimals: 18, - symbol: 'aGnoWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1', - }, - }, - { - chainId: 100, - address: '0xD843FB478c5aA9759FeA3f3c98D467e2F136190a', - name: 'Static Aave Gnosis WETH', - decimals: 18, - symbol: 'stataGnoWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1', - underlyingAToken: '0xa818F1B57c201E092C4A2017A91815034326Efd1', - }, - }, - { - chainId: 100, - address: '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', - name: 'Wrapped liquid staked Ether 2.0 from ...', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 100, - address: '0x23e4E76D01B2002BE436CE8d6044b0aA2f68B68a', - name: 'Aave Gnosis wstETH', - decimals: 18, - symbol: 'aGnowstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', - }, - }, - { - chainId: 100, - address: '0xECfD0638175e291BA3F784A58FB9D38a25418904', - name: 'Static Aave Gnosis wstETH', - decimals: 18, - symbol: 'stataGnowstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', - underlyingAToken: '0x23e4E76D01B2002BE436CE8d6044b0aA2f68B68a', - }, - }, - { - chainId: 100, - address: '0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb', - name: 'Gnosis Token on xDai', - decimals: 18, - symbol: 'GNO', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/gno.svg', - }, - { - chainId: 100, - address: '0xA1Fa064A85266E2Ca82DEe5C5CcEC84DF445760e', - name: 'Aave Gnosis GNO', - decimals: 18, - symbol: 'aGnoGNO', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/agno.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb', - }, - }, - { - chainId: 100, - address: '0x2D737e2B0e175f05D0904C208d6C4e40da570f65', - name: 'Static Aave Gnosis GNO', - decimals: 18, - symbol: 'stataGnoGNO', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statagno.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb', - underlyingAToken: '0xA1Fa064A85266E2Ca82DEe5C5CcEC84DF445760e', - }, - }, - { - chainId: 100, - address: '0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83', - name: 'USD//C on xDai', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 100, - address: '0xc6B7AcA6DE8a6044E0e32d0c841a89244A10D284', - name: 'Aave Gnosis USDC', - decimals: 6, - symbol: 'aGnoUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83', - }, - }, - { - chainId: 100, - address: '0x270bA1f35D8b87510D24F693fcCc0da02e6E4EeB', - name: 'Static Aave Gnosis USDC', - decimals: 6, - symbol: 'stataGnoUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83', - underlyingAToken: '0xc6B7AcA6DE8a6044E0e32d0c841a89244A10D284', - }, - }, - { - chainId: 100, - address: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d', - name: 'Wrapped XDAI', - decimals: 18, - symbol: 'WXDAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wxdai.svg', - }, - { - chainId: 100, - address: '0xd0Dd6cEF72143E22cCED4867eb0d5F2328715533', - name: 'Aave Gnosis WXDAI', - decimals: 18, - symbol: 'aGnoWXDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awxdai.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d', - }, - }, - { - chainId: 100, - address: '0x7f0EAE87Df30C468E0680c83549D0b3DE7664D4B', - name: 'Static Aave Gnosis WXDAI', - decimals: 18, - symbol: 'stataGnoWXDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawxdai.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d', - underlyingAToken: '0xd0Dd6cEF72143E22cCED4867eb0d5F2328715533', - }, - }, - { - chainId: 100, - address: '0xcB444e90D8198415266c6a2724b7900fb12FC56E', - name: 'Monerium EUR emoney', - decimals: 18, - symbol: 'EURe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/eure.svg', - }, - { - chainId: 100, - address: '0xEdBC7449a9b594CA4E053D9737EC5Dc4CbCcBfb2', - name: 'Aave Gnosis EURe', - decimals: 18, - symbol: 'aGnoEURe', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aeure.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xcB444e90D8198415266c6a2724b7900fb12FC56E', - }, - }, - { - chainId: 100, - address: '0x8418D17640a74F1614AC3E1826F29e78714488a1', - name: 'Static Aave Gnosis EURe', - decimals: 18, - symbol: 'stataGnoEURe', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataeure.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xcB444e90D8198415266c6a2724b7900fb12FC56E', - underlyingAToken: '0xEdBC7449a9b594CA4E053D9737EC5Dc4CbCcBfb2', - }, - }, - { - chainId: 100, - address: '0xaf204776c7245bF4147c2612BF6e5972Ee483701', - name: 'Savings xDAI', - decimals: 18, - symbol: 'sDAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/sdai.svg', - }, - { - chainId: 100, - address: '0x7a5c3860a77a8DC1b225BD46d0fb2ac1C6D191BC', - name: 'Aave Gnosis sDAI', - decimals: 18, - symbol: 'aGnosDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asdai.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xaf204776c7245bF4147c2612BF6e5972Ee483701', - }, - }, - { - chainId: 100, - address: '0xf3f45960f8dE00D8ED614D445a5a268c6F6Dec4f', - name: 'Static Aave Gnosis sDAI', - decimals: 18, - symbol: 'stataGnosDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasdai.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0xaf204776c7245bF4147c2612BF6e5972Ee483701', - underlyingAToken: '0x7a5c3860a77a8DC1b225BD46d0fb2ac1C6D191BC', - }, - }, - { - chainId: 100, - address: '0x2a22f9c3b484c3629090FeED35F17Ff8F88f76F0', - name: 'Bridged USDC (Gnosis)', - decimals: 6, - symbol: 'USDCe', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 100, - address: '0xC0333cb85B59a788d8C7CAe5e1Fd6E229A3E5a65', - name: 'Aave Gnosis USDCe', - decimals: 6, - symbol: 'aGnoUSDCe', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x2a22f9c3b484c3629090FeED35F17Ff8F88f76F0', - }, - }, - { - chainId: 100, - address: '0xf0E7eC247b918311afa054E0AEdb99d74c31b809', - name: 'Static Aave Gnosis USDCe', - decimals: 6, - symbol: 'stataGnoUSDCe', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0xb50201558B00496A145fE76f7424749556E326D8', - underlying: '0x2a22f9c3b484c3629090FeED35F17Ff8F88f76F0', - underlyingAToken: '0xC0333cb85B59a788d8C7CAe5e1Fd6E229A3E5a65', - }, - }, - { - chainId: 56, - address: '0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82', - name: 'PancakeSwap Token', - decimals: 18, - symbol: 'Cake', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/cake.svg', - }, - { - chainId: 56, - address: '0x4199CC1F5ed0d796563d7CcB2e036253E2C18281', - name: 'Aave BNB Smart Chain CAKE', - decimals: 18, - symbol: 'aBnbCAKE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acake.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82', - }, - }, - { - chainId: 56, - address: '0x3854354CE3681da1D7F550073061E92a4a7d1B27', - name: 'Static Aave BNB Smart Chain CAKE', - decimals: 18, - symbol: 'stataBnbCAKE', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statacake.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82', - underlyingAToken: '0x4199CC1F5ed0d796563d7CcB2e036253E2C18281', - }, - }, - { - chainId: 56, - address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', - name: 'Wrapped BNB', - decimals: 18, - symbol: 'WBNB', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbnb.svg', - }, - { - chainId: 56, - address: '0x9B00a09492a626678E5A3009982191586C444Df9', - name: 'Aave BNB Smart Chain WBNB', - decimals: 18, - symbol: 'aBnbWBNB', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbnb.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', - }, - }, - { - chainId: 56, - address: '0x436baCb4C66583de4Cb16e13a1A0D9A3075DE425', - name: 'Static Aave BNB Smart Chain WBNB', - decimals: 18, - symbol: 'stataBnbWBNB', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawbnb.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', - underlyingAToken: '0x9B00a09492a626678E5A3009982191586C444Df9', - }, - }, - { - chainId: 56, - address: '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', - name: 'BTCB Token', - decimals: 18, - symbol: 'BTCB', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/btc.svg', - }, - { - chainId: 56, - address: '0x56a7ddc4e848EbF43845854205ad71D5D5F72d3D', - name: 'Aave BNB Smart Chain BTCB', - decimals: 18, - symbol: 'aBnbBTCB', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/abtc.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', - }, - }, - { - chainId: 56, - address: '0x1F66b530084079d35478A069d9c4424F9c9C320c', - name: 'Static Aave BNB Smart Chain BTCB', - decimals: 18, - symbol: 'stataBnbBTCB', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statabtc.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', - underlyingAToken: '0x56a7ddc4e848EbF43845854205ad71D5D5F72d3D', - }, - }, - { - chainId: 56, - address: '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', - name: 'Ethereum Token', - decimals: 18, - symbol: 'ETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/eth.svg', - }, - { - chainId: 56, - address: '0x2E94171493fAbE316b6205f1585779C887771E2F', - name: 'Aave BNB Smart Chain ETH', - decimals: 18, - symbol: 'aBnbETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aeth.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', - }, - }, - { - chainId: 56, - address: '0x52077433fB7053D747E2846aD0C18ff5015C368E', - name: 'Static Aave BNB Smart Chain ETH', - decimals: 18, - symbol: 'stataBnbETH', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataeth.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', - underlyingAToken: '0x2E94171493fAbE316b6205f1585779C887771E2F', - }, - }, - { - chainId: 56, - address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', - name: 'USD Coin', - decimals: 18, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 56, - address: '0x00901a076785e0906d1028c7d6372d247bec7d61', - name: 'Aave BNB Smart Chain USDC', - decimals: 18, - symbol: 'aBnbUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', - }, - }, - { - chainId: 56, - address: '0x3906cDdfb781f02B21f21BD81ed7Fd8DC37075E1', - name: 'Static Aave BNB Smart Chain USDC', - decimals: 18, - symbol: 'stataBnbUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', - underlyingAToken: '0x00901a076785e0906d1028c7d6372d247bec7d61', - }, - }, - { - chainId: 56, - address: '0x55d398326f99059fF775485246999027B3197955', - name: 'Tether USD', - decimals: 18, - symbol: 'USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 56, - address: '0xa9251ca9DE909CB71783723713B21E4233fbf1B1', - name: 'Aave BNB Smart Chain USDT', - decimals: 18, - symbol: 'aBnbUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x55d398326f99059fF775485246999027B3197955', - }, - }, - { - chainId: 56, - address: '0x0471D185cc7Be61E154277cAB2396cD397663da6', - name: 'Static Aave BNB Smart Chain USDT', - decimals: 18, - symbol: 'stataBnbUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0x55d398326f99059fF775485246999027B3197955', - underlyingAToken: '0xa9251ca9DE909CB71783723713B21E4233fbf1B1', - }, - }, - { - chainId: 56, - address: '0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409', - name: 'First Digital USD', - decimals: 18, - symbol: 'FDUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/fdusd.svg', - }, - { - chainId: 56, - address: '0x75bd1A659bdC62e4C313950d44A2416faB43E785', - name: 'Aave BNB Smart Chain FDUSD', - decimals: 18, - symbol: 'aBnbFDUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afdusd.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409', - }, - }, - { - chainId: 56, - address: '0x4d074aAa0821073dA827f7bf6a02cF905b394ed0', - name: 'Static Aave BNB Smart Chain FDUSD', - decimals: 18, - symbol: 'stataBnbFDUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statafdusd.svg', - extensions: { - pool: '0x6807dc923806fE8Fd134338EABCA509979a7e0cB', - underlying: '0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409', - underlyingAToken: '0x75bd1A659bdC62e4C313950d44A2416faB43E785', - }, - }, - { - chainId: 42161, - address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 42161, - address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - name: 'Aave Arbitrum DAI', - decimals: 18, - symbol: 'aArbDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - }, - }, - { - chainId: 42161, - address: '0xc91c5297d7E161aCC74b482aAfCc75B85cc0bfeD', - name: 'Static Aave Arbitrum DAI', - decimals: 18, - symbol: 'stataArbDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - underlyingAToken: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - }, - }, - { - chainId: 42161, - address: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', - name: 'ChainLink Token', - decimals: 18, - symbol: 'LINK', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/link.svg', - }, - { - chainId: 42161, - address: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - name: 'Aave Arbitrum LINK', - decimals: 18, - symbol: 'aArbLINK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', - }, - }, - { - chainId: 42161, - address: '0x27dE098EF2772386cBCf1a4c8BEb886368b7F9a9', - name: 'Static Aave Arbitrum LINK', - decimals: 18, - symbol: 'stataArbLINK', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', - underlyingAToken: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - }, - }, - { - chainId: 42161, - address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', - name: 'USD Coin (Arb1)', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 42161, - address: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - name: 'Aave Arbitrum USDC', - decimals: 6, - symbol: 'aArbUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', - }, - }, - { - chainId: 42161, - address: '0x0Bc9E52051f553E75550CA22C196bf132c52Cf0B', - name: 'Static Aave Arbitrum USDC', - decimals: 6, - symbol: 'stataArbUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', - underlyingAToken: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - }, - }, - { - chainId: 42161, - address: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbtc.svg', - }, - { - chainId: 42161, - address: '0x078f358208685046a11C85e8ad32895DED33A249', - name: 'Aave Arbitrum WBTC', - decimals: 8, - symbol: 'aArbWBTC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', - }, - }, - { - chainId: 42161, - address: '0x32B95Fbe04e5a51cF99FeeF4e57Cf7e3FC9c5A93', - name: 'Static Aave Arbitrum WBTC', - decimals: 8, - symbol: 'stataArbWBTC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', - underlyingAToken: '0x078f358208685046a11C85e8ad32895DED33A249', - }, - }, - { - chainId: 42161, - address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 42161, - address: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - name: 'Aave Arbitrum WETH', - decimals: 18, - symbol: 'aArbWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', - }, - }, - { - chainId: 42161, - address: '0x352F3475716261dCC991Bd5F2aF973eB3D0F5878', - name: 'Static Aave Arbitrum WETH', - decimals: 18, - symbol: 'stataArbWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', - underlyingAToken: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - }, - }, - { - chainId: 42161, - address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 42161, - address: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - name: 'Aave Arbitrum USDT', - decimals: 6, - symbol: 'aArbUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', - }, - }, - { - chainId: 42161, - address: '0xb165a74407fE1e519d6bCbDeC1Ed3202B35a4140', - name: 'Static Aave Arbitrum USDT', - decimals: 6, - symbol: 'stataArbUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', - underlyingAToken: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - }, - }, - { - chainId: 42161, - address: '0xba5DdD1f9d7F570dc94a51479a000E3BCE967196', - name: 'Aave Token', - decimals: 18, - symbol: 'AAVE', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg', - }, - { - chainId: 42161, - address: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - name: 'Aave Arbitrum AAVE', - decimals: 18, - symbol: 'aArbAAVE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xba5DdD1f9d7F570dc94a51479a000E3BCE967196', - }, - }, - { - chainId: 42161, - address: '0x1C0c8EcED17aE093b3C1a1a8fFeBE2E9513a9346', - name: 'Static Aave Arbitrum AAVE', - decimals: 18, - symbol: 'stataArbAAVE', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xba5DdD1f9d7F570dc94a51479a000E3BCE967196', - underlyingAToken: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - }, - }, - { - chainId: 42161, - address: '0xD22a58f79e9481D1a88e00c343885A588b34b68B', - name: 'STASIS EURS Token', - decimals: 2, - symbol: 'EURS', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/eurs.svg', - }, - { - chainId: 42161, - address: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - name: 'Aave Arbitrum EURS', - decimals: 2, - symbol: 'aArbEURS', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aeurs.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xD22a58f79e9481D1a88e00c343885A588b34b68B', - }, - }, - { - chainId: 42161, - address: '0x9a40747BE51185A416B181789B671E78a8d045dD', - name: 'Static Aave Arbitrum EURS', - decimals: 2, - symbol: 'stataArbEURS', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataeurs.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xD22a58f79e9481D1a88e00c343885A588b34b68B', - underlyingAToken: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - }, - }, - { - chainId: 42161, - address: '0x5979D7b546E38E414F7E9822514be443A4800529', - name: 'Wrapped liquid staked Ether 2.0', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 42161, - address: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - name: 'Aave Arbitrum wstETH', - decimals: 18, - symbol: 'aArbwstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x5979D7b546E38E414F7E9822514be443A4800529', - }, - }, - { - chainId: 42161, - address: '0x7775d4Ae4Dbb79a624fB96AAcDB8Ca74F671c0DF', - name: 'Static Aave Arbitrum wstETH', - decimals: 18, - symbol: 'stataArbwstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x5979D7b546E38E414F7E9822514be443A4800529', - underlyingAToken: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - }, - }, - { - chainId: 42161, - address: '0x3F56e0c36d275367b8C502090EDF38289b3dEa0d', - name: 'Mai Stablecoin', - decimals: 18, - symbol: 'MAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/mai.svg', - }, - { - chainId: 42161, - address: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - name: 'Aave Arbitrum MAI', - decimals: 18, - symbol: 'aArbMAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3F56e0c36d275367b8C502090EDF38289b3dEa0d', - }, - }, - { - chainId: 42161, - address: '0xB4a0a2692D82301703B27082Cda45B083F68CAcE', - name: 'Static Aave Arbitrum MAI', - decimals: 18, - symbol: 'stataArbMAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statamai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3F56e0c36d275367b8C502090EDF38289b3dEa0d', - underlyingAToken: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - }, - }, - { - chainId: 42161, - address: '0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8', - name: 'Rocket Pool ETH', - decimals: 18, - symbol: 'rETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/reth.svg', - }, - { - chainId: 42161, - address: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - name: 'Aave Arbitrum rETH', - decimals: 18, - symbol: 'aArbrETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/areth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8', - }, - }, - { - chainId: 42161, - address: '0x68235105d6d33A19369D24b746cb7481FB2b34fd', - name: 'Static Aave Arbitrum rETH', - decimals: 18, - symbol: 'stataArbrETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statareth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8', - underlyingAToken: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - }, - }, - { - chainId: 42161, - address: '0x93b346b6BC2548dA6A1E7d98E9a421B42541425b', - name: 'LUSD Stablecoin', - decimals: 18, - symbol: 'LUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/lusd.svg', - }, - { - chainId: 42161, - address: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - name: 'Aave Arbitrum LUSD', - decimals: 18, - symbol: 'aArbLUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alusd.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x93b346b6BC2548dA6A1E7d98E9a421B42541425b', - }, - }, - { - chainId: 42161, - address: '0xDbB6314b5b07E63B7101844c0346309B79f8C20A', - name: 'Static Aave Arbitrum LUSD', - decimals: 18, - symbol: 'stataArbLUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalusd.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x93b346b6BC2548dA6A1E7d98E9a421B42541425b', - underlyingAToken: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - }, - }, - { - chainId: 42161, - address: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', - name: 'USD Coin', - decimals: 6, - symbol: 'USDCn', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 42161, - address: '0x724dc807b04555b71ed48a6896b6F41593b8C637', - name: 'Aave Arbitrum USDCn', - decimals: 6, - symbol: 'aArbUSDCn', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', - }, - }, - { - chainId: 42161, - address: '0x7CFaDFD5645B50bE87d546f42699d863648251ad', - name: 'Static Aave Arbitrum USDCn', - decimals: 6, - symbol: 'stataArbUSDCn', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', - underlyingAToken: '0x724dc807b04555b71ed48a6896b6F41593b8C637', - }, - }, - { - chainId: 42161, - address: '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F', - name: 'Frax', - decimals: 18, - symbol: 'FRAX', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/frax.svg', - }, - { - chainId: 42161, - address: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', - name: 'Aave Arbitrum FRAX', - decimals: 18, - symbol: 'aArbFRAX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afrax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F', - }, - }, - { - chainId: 42161, - address: '0x89AEc2023f89E26Dbb7eaa7a98fe3996f9d112A8', - name: 'Static Aave Arbitrum FRAX', - decimals: 18, - symbol: 'stataArbFRAX', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statafrax.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F', - underlyingAToken: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', - }, - }, - { - chainId: 42161, - address: '0x912CE59144191C1204E64559FE8253a0e49E6548', - name: 'Arbitrum', - decimals: 18, - symbol: 'ARB', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/arb.svg', - }, - { - chainId: 42161, - address: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', - name: 'Aave Arbitrum ARB', - decimals: 18, - symbol: 'aArbARB', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aarb.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x912CE59144191C1204E64559FE8253a0e49E6548', - }, - }, - { - chainId: 42161, - address: '0x9b5637d7952BC9fa2D693aAE51f3103760Bf2693', - name: 'Static Aave Arbitrum ARB', - decimals: 18, - symbol: 'stataArbARB', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataarb.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x912CE59144191C1204E64559FE8253a0e49E6548', - underlyingAToken: '0x6533afac2E7BCCB20dca161449A13A32D391fb00', - }, - }, - { - chainId: 42161, - address: '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', - name: 'Wrapped eETH', - decimals: 18, - symbol: 'weETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weeth.svg', - }, - { - chainId: 42161, - address: '0x8437d7C167dFB82ED4Cb79CD44B7a32A1dd95c77', - name: 'Aave Arbitrum weETH', - decimals: 18, - symbol: 'aArbweETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweeth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', - }, - }, - { - chainId: 42161, - address: '0x7dfF72693f6A4149b17e7C6314655f6A9F7c8B33', - name: 'Gho Token', - decimals: 18, - symbol: 'GHO', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/gho.svg', - }, - { - chainId: 42161, - address: '0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D', - name: 'Aave Arbitrum GHO', - decimals: 18, - symbol: 'aArbGHO', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/agho.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x7dfF72693f6A4149b17e7C6314655f6A9F7c8B33', - }, - }, - { - chainId: 42161, - address: '0xD9FBA68D89178e3538e708939332c79efC540179', - name: 'Static Aave Arbitrum GHO', - decimals: 18, - symbol: 'stataArbGHO', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statagho.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x7dfF72693f6A4149b17e7C6314655f6A9F7c8B33', - underlyingAToken: '0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D', - }, - }, - { - chainId: 10, - address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'DAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 10, - address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - name: 'Aave Optimism DAI', - decimals: 18, - symbol: 'aOptDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - }, - }, - { - chainId: 10, - address: '0x6dDc64289bE8a71A707fB057d5d07Cc756055d6e', - name: 'Static Aave Optimism DAI', - decimals: 18, - symbol: 'stataOptDAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statadai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', - underlyingAToken: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - }, - }, - { - chainId: 10, - address: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', - name: 'ChainLink Token', - decimals: 18, - symbol: 'LINK', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/link.svg', - }, - { - chainId: 10, - address: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - name: 'Aave Optimism LINK', - decimals: 18, - symbol: 'aOptLINK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', - }, - }, - { - chainId: 10, - address: '0x39BCf217ACc4Bf2fCaF7BC8800E69D986912c75e', - name: 'Static Aave Optimism LINK', - decimals: 18, - symbol: 'stataOptLINK', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', - underlyingAToken: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - }, - }, - { - chainId: 10, - address: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 10, - address: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - name: 'Aave Optimism USDC', - decimals: 6, - symbol: 'aOptUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', - }, - }, - { - chainId: 10, - address: '0x9F281eb58fd98ad98EDe0fc4C553AD4D73e7Ca2C', - name: 'Static Aave Optimism USDC', - decimals: 6, - symbol: 'stataOptUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', - underlyingAToken: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - }, - }, - { - chainId: 10, - address: '0x68f180fcCe6836688e9084f035309E29Bf0A2095', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'WBTC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbtc.svg', - }, - { - chainId: 10, - address: '0x078f358208685046a11C85e8ad32895DED33A249', - name: 'Aave Optimism WBTC', - decimals: 8, - symbol: 'aOptWBTC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x68f180fcCe6836688e9084f035309E29Bf0A2095', - }, - }, - { - chainId: 10, - address: '0x6d998FeEFC7B3664eaD09CAf02b5a0fc2E365F18', - name: 'Static Aave Optimism WBTC', - decimals: 8, - symbol: 'stataOptWBTC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x68f180fcCe6836688e9084f035309E29Bf0A2095', - underlyingAToken: '0x078f358208685046a11C85e8ad32895DED33A249', - }, - }, - { - chainId: 10, - address: '0x4200000000000000000000000000000000000006', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 10, - address: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - name: 'Aave Optimism WETH', - decimals: 18, - symbol: 'aOptWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x4200000000000000000000000000000000000006', - }, - }, - { - chainId: 10, - address: '0x98d69620C31869fD4822ceb6ADAB31180475FD37', - name: 'Static Aave Optimism WETH', - decimals: 18, - symbol: 'stataOptWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x4200000000000000000000000000000000000006', - underlyingAToken: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - }, - }, - { - chainId: 10, - address: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 10, - address: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - name: 'Aave Optimism USDT', - decimals: 6, - symbol: 'aOptUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', - }, - }, - { - chainId: 10, - address: '0x035c93db04E5aAea54E6cd0261C492a3e0638b37', - name: 'Static Aave Optimism USDT', - decimals: 6, - symbol: 'stataOptUSDT', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', - underlyingAToken: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - }, - }, - { - chainId: 10, - address: '0x76FB31fb4af56892A25e32cFC43De717950c9278', - name: 'Aave Token', - decimals: 18, - symbol: 'AAVE', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg', - }, - { - chainId: 10, - address: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - name: 'Aave Optimism AAVE', - decimals: 18, - symbol: 'aOptAAVE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x76FB31fb4af56892A25e32cFC43De717950c9278', - }, - }, - { - chainId: 10, - address: '0xae0Ca1B1Bc6cac26981B5e2b9c40f8Ce8A9082eE', - name: 'Static Aave Optimism AAVE', - decimals: 18, - symbol: 'stataOptAAVE', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x76FB31fb4af56892A25e32cFC43De717950c9278', - underlyingAToken: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - }, - }, - { - chainId: 10, - address: '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', - name: 'Synth sUSD', - decimals: 18, - symbol: 'sUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/susd.svg', - }, - { - chainId: 10, - address: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - name: 'Aave Optimism SUSD', - decimals: 18, - symbol: 'aOptSUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/asusd.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', - }, - }, - { - chainId: 10, - address: '0x3A956E2Fcc7e71Ea14b0257d40BEbdB287d19652', - name: 'Static Aave Optimism SUSD', - decimals: 18, - symbol: 'stataOptSUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statasusd.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', - underlyingAToken: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - }, - }, - { - chainId: 10, - address: '0x4200000000000000000000000000000000000042', - name: 'Optimism', - decimals: 18, - symbol: 'OP', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/op.svg', - }, - { - chainId: 10, - address: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - name: 'Aave Optimism OP', - decimals: 18, - symbol: 'aOptOP', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aop.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x4200000000000000000000000000000000000042', - }, - }, - { - chainId: 10, - address: '0xd4F1Cf9A038269FE8F03745C2875591Ad6438ab1', - name: 'Static Aave Optimism OP', - decimals: 18, - symbol: 'stataOptOP', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataop.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x4200000000000000000000000000000000000042', - underlyingAToken: '0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf', - }, - }, - { - chainId: 10, - address: '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb', - name: 'Wrapped liquid staked Ether 2.0', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 10, - address: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - name: 'Aave Optimism wstETH', - decimals: 18, - symbol: 'aOptwstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb', - }, - }, - { - chainId: 10, - address: '0xb972abef80046A57409e37a7DF5dEf2638917516', - name: 'Static Aave Optimism wstETH', - decimals: 18, - symbol: 'stataOptwstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb', - underlyingAToken: '0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA', - }, - }, - { - chainId: 10, - address: '0xc40F949F8a4e094D1b49a23ea9241D289B7b2819', - name: 'LUSD Stablecoin', - decimals: 18, - symbol: 'LUSD', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/lusd.svg', - }, - { - chainId: 10, - address: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - name: 'Aave Optimism LUSD', - decimals: 18, - symbol: 'aOptLUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alusd.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xc40F949F8a4e094D1b49a23ea9241D289B7b2819', - }, - }, - { - chainId: 10, - address: '0x84648dc3Cefb601bc28a49A07a1A8Bad04D30Ad3', - name: 'Static Aave Optimism LUSD', - decimals: 18, - symbol: 'stataOptLUSD', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statalusd.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xc40F949F8a4e094D1b49a23ea9241D289B7b2819', - underlyingAToken: '0x8Eb270e296023E9D92081fdF967dDd7878724424', - }, - }, - { - chainId: 10, - address: '0xdFA46478F9e5EA86d57387849598dbFB2e964b02', - name: 'Mai Stablecoin', - decimals: 18, - symbol: 'MAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/mai.svg', - }, - { - chainId: 10, - address: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - name: 'Aave Optimism MAI', - decimals: 18, - symbol: 'aOptMAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xdFA46478F9e5EA86d57387849598dbFB2e964b02', - }, - }, - { - chainId: 10, - address: '0x60495bC8D8Baf7E866888ecC00491e37B47dfF24', - name: 'Static Aave Optimism MAI', - decimals: 18, - symbol: 'stataOptMAI', - tags: ['aaveV3', 'staticAT'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statamai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xdFA46478F9e5EA86d57387849598dbFB2e964b02', - underlyingAToken: '0x8ffDf2DE812095b1D19CB146E4c004587C0A0692', - }, - }, - { - chainId: 10, - address: '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D', - name: 'Rocket Pool ETH', - decimals: 18, - symbol: 'rETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/reth.svg', - }, - { - chainId: 10, - address: '0x724dc807b04555b71ed48a6896b6F41593b8C637', - name: 'Aave Optimism rETH', - decimals: 18, - symbol: 'aOptrETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/areth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D', - }, - }, - { - chainId: 10, - address: '0xf9ce3c97b4b54F3D16861420f4816D9f68190B7B', - name: 'Static Aave Optimism rETH', - decimals: 18, - symbol: 'stataOptrETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statareth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x9Bcef72be871e61ED4fBbc7630889beE758eb81D', - underlyingAToken: '0x724dc807b04555b71ed48a6896b6F41593b8C637', - }, - }, - { - chainId: 10, - address: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', - name: 'USD Coin', - decimals: 6, - symbol: 'USDCn', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 10, - address: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', - name: 'Aave Optimism USDCn', - decimals: 6, - symbol: 'aOptUSDCn', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', - }, - }, - { - chainId: 10, - address: '0x4DD03dfD36548C840B563745e3FBeC320F37BA7e', - name: 'Static Aave Optimism USDCn', - decimals: 6, - symbol: 'stataOptUSDCn', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', - underlyingAToken: '0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5', - }, - }, - { - chainId: 534352, - address: '0x5300000000000000000000000000000000000004', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 534352, - address: '0xf301805bE1Df81102C957f6d4Ce29d2B8c056B2a', - name: 'Aave Scroll WETH', - decimals: 18, - symbol: 'aScrWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0x5300000000000000000000000000000000000004', - }, - }, - { - chainId: 534352, - address: '0x6b9DfaC194fa78a1882680E2cE19194D006AeEfd', - name: 'Static Aave Scroll WETH', - decimals: 18, - symbol: 'stataScrWETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweth.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0x5300000000000000000000000000000000000004', - underlyingAToken: '0xf301805bE1Df81102C957f6d4Ce29d2B8c056B2a', - }, - }, - { - chainId: 534352, - address: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4', - name: 'USD Coin', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 534352, - address: '0x1D738a3436A8C49CefFbaB7fbF04B660fb528CbD', - name: 'Aave Scroll USDC', - decimals: 6, - symbol: 'aScrUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4', - }, - }, - { - chainId: 534352, - address: '0x9fA123bC7E6b61cC8a9D893673a4C6E5392FF4A7', - name: 'Static Aave Scroll USDC', - decimals: 6, - symbol: 'stataScrUSDC', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statausdc.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4', - underlyingAToken: '0x1D738a3436A8C49CefFbaB7fbF04B660fb528CbD', - }, - }, - { - chainId: 534352, - address: '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32', - name: 'Wrapped liquid staked Ether 2.0', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 534352, - address: '0x5B1322eeb46240b02e20062b8F0F9908d525B09c', - name: 'Aave Scroll wstETH', - decimals: 18, - symbol: 'aScrwstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32', - }, - }, - { - chainId: 534352, - address: '0x6e368c4dBf083e18a29aE63FC06AF9deDb3242F0', - name: 'Static Aave Scroll wstETH', - decimals: 18, - symbol: 'stataScrwstETH', - tags: ['aaveV3', 'staticAT'], - logoURI: - 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32', - underlyingAToken: '0x5B1322eeb46240b02e20062b8F0F9908d525B09c', - }, - }, - { - chainId: 534352, - address: '0x01f0a31698C4d065659b9bdC21B3610292a1c506', - name: 'Wrapped eETH', - decimals: 18, - symbol: 'weETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weeth.svg', - }, - { - chainId: 534352, - address: '0xd80A5e16DBDC52Bd1C947CEDfA22c562Be9129C8', - name: 'Aave Scroll weETH', - decimals: 18, - symbol: 'aScrweETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweeth.svg', - extensions: { - pool: '0x11fCfe756c05AD438e312a7fd934381537D3cFfe', - underlying: '0x01f0a31698C4d065659b9bdC21B3610292a1c506', - }, - }, - { - chainId: 324, - address: '0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4', - name: 'USDC', - decimals: 6, - symbol: 'USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 324, - address: '0xE977F9B2a5ccf0457870a67231F23BE4DaecfbDb', - name: 'Aave ZkSync USDC', - decimals: 6, - symbol: 'aZksUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x78e30497a3c7527d953c6B1E3541b021A98Ac43c', - underlying: '0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4', - }, - }, - { - chainId: 324, - address: '0x493257fD37EDB34451f62EDf8D2a0C418852bA4C', - name: 'Tether USD', - decimals: 6, - symbol: 'USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 324, - address: '0xC48574bc5358c967d9447e7Df70230Fdb469e4E7', - name: 'Aave ZkSync USDT', - decimals: 6, - symbol: 'aZksUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x78e30497a3c7527d953c6B1E3541b021A98Ac43c', - underlying: '0x493257fD37EDB34451f62EDf8D2a0C418852bA4C', - }, - }, - { - chainId: 324, - address: '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', - name: 'Wrapped Ether', - decimals: 18, - symbol: 'WETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/weth.svg', - }, - { - chainId: 324, - address: '0xb7b93bCf82519bB757Fd18b23A389245Dbd8ca64', - name: 'Aave ZkSync WETH', - decimals: 18, - symbol: 'aZksWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x78e30497a3c7527d953c6B1E3541b021A98Ac43c', - underlying: '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91', - }, - }, - { - chainId: 324, - address: '0x703b52F2b28fEbcB60E1372858AF5b18849FE867', - name: 'Wrapped liquid staked Ether 2.0', - decimals: 18, - symbol: 'wstETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wsteth.svg', - }, - { - chainId: 324, - address: '0xd4e607633F3d984633E946aEA4eb71f92564c1c9', - name: 'Aave ZkSync wstETH', - decimals: 18, - symbol: 'aZkswstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x78e30497a3c7527d953c6B1E3541b021A98Ac43c', - underlying: '0x703b52F2b28fEbcB60E1372858AF5b18849FE867', - }, - }, - { - chainId: 324, - address: '0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E', - name: 'ZKsync', - decimals: 18, - symbol: 'ZK', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/zk.svg', - }, - { - chainId: 324, - address: '0xd6cD2c0fC55936498726CacC497832052A9B2D1B', - name: 'Aave ZkSync ZK', - decimals: 18, - symbol: 'aZksZK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/azk.svg', - extensions: { - pool: '0x78e30497a3c7527d953c6B1E3541b021A98Ac43c', - underlying: '0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E', - }, - }, - { - chainId: 1666600000, - address: '0xEf977d2f931C1978Db5F6747666fa1eACB0d0339', - name: 'Dai Stablecoin', - decimals: 18, - symbol: 'ONE_DAI', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/dai.svg', - }, - { - chainId: 1666600000, - address: '0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE', - name: 'Aave Harmony DAI', - decimals: 18, - symbol: 'aHarDAI', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/adai.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xEf977d2f931C1978Db5F6747666fa1eACB0d0339', - }, - }, - { - chainId: 1666600000, - address: '0x218532a12a389a4a92fC0C5Fb22901D1c19198aA', - name: 'ChainLink Token', - decimals: 18, - symbol: 'LINK', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/link.svg', - }, - { - chainId: 1666600000, - address: '0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530', - name: 'Aave Harmony LINK', - decimals: 18, - symbol: 'aHarLINK', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/alink.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x218532a12a389a4a92fC0C5Fb22901D1c19198aA', - }, - }, - { - chainId: 1666600000, - address: '0x985458E523dB3d53125813eD68c274899e9DfAb4', - name: 'USD Coin', - decimals: 6, - symbol: 'ONE_USDC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdc.svg', - }, - { - chainId: 1666600000, - address: '0x625E7708f30cA75bfd92586e17077590C60eb4cD', - name: 'Aave Harmony USDC', - decimals: 6, - symbol: 'aHarUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x985458E523dB3d53125813eD68c274899e9DfAb4', - }, - }, - { - chainId: 1666600000, - address: '0x3095c7557bCb296ccc6e363DE01b760bA031F2d9', - name: 'Wrapped BTC', - decimals: 8, - symbol: 'ONE_WBTC', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wbtc.svg', - }, - { - chainId: 1666600000, - address: '0x078f358208685046a11C85e8ad32895DED33A249', - name: 'Aave Harmony WBTC', - decimals: 8, - symbol: 'aHarWBTC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3095c7557bCb296ccc6e363DE01b760bA031F2d9', - }, - }, - { - chainId: 1666600000, - address: '0x6983D1E6DEf3690C4d616b13597A09e6193EA013', - name: 'ETH', - decimals: 18, - symbol: 'ONE_ETH', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/eth.svg', - }, - { - chainId: 1666600000, - address: '0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8', - name: 'Aave Harmony WETH', - decimals: 18, - symbol: 'aHarWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aeth.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x6983D1E6DEf3690C4d616b13597A09e6193EA013', - }, - }, - { - chainId: 1666600000, - address: '0x3C2B8Be99c50593081EAA2A724F0B8285F5aba8f', - name: 'Tether USD', - decimals: 6, - symbol: 'ONE_USDT', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usdt.svg', - }, - { - chainId: 1666600000, - address: '0x6ab707Aca953eDAeFBc4fD23bA73294241490620', - name: 'Aave Harmony USDT', - decimals: 6, - symbol: 'aHarUSDT', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdt.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0x3C2B8Be99c50593081EAA2A724F0B8285F5aba8f', - }, - }, - { - chainId: 1666600000, - address: '0xcF323Aad9E522B93F11c352CaA519Ad0E14eB40F', - name: 'Aave Token', - decimals: 18, - symbol: 'ONE_AAVE', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg', - }, - { - chainId: 1666600000, - address: '0xf329e36C7bF6E5E86ce2150875a84Ce77f477375', - name: 'Aave Harmony AAVE', - decimals: 18, - symbol: 'aHarAAVE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xcF323Aad9E522B93F11c352CaA519Ad0E14eB40F', - }, - }, - { - chainId: 1666600000, - address: '0xcF664087a5bB0237a0BAd6742852ec6c8d69A27a', - name: 'Wrapped ONE', - decimals: 18, - symbol: 'WONE', - tags: ['underlying'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wone.svg', - }, - { - chainId: 1666600000, - address: '0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97', - name: 'Aave Harmony WONE', - decimals: 18, - symbol: 'aHarWONE', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awone.svg', - extensions: { - pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', - underlying: '0xcF664087a5bB0237a0BAd6742852ec6c8d69A27a', - }, - }, - { - chainId: 1, - address: '0xC035a7cf15375cE2706766804551791aD035E0C2', - name: 'Aave Ethereum Lido wstETH', - decimals: 18, - symbol: 'aEthLidowstETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awsteth.svg', - extensions: { - pool: '0x4e033931ad43597d96D6bcc25c280717730B58B1', - underlying: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', - }, - }, - { - chainId: 1, - address: '0xfA1fDbBD71B0aA16162D76914d69cD8CB3Ef92da', - name: 'Aave Ethereum Lido WETH', - decimals: 18, - symbol: 'aEthLidoWETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg', - extensions: { - pool: '0x4e033931ad43597d96D6bcc25c280717730B58B1', - underlying: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', - }, - }, - { - chainId: 1, - address: '0x09AA30b182488f769a9824F15E6Ce58591Da4781', - name: 'Aave Ethereum Lido USDS', - decimals: 18, - symbol: 'aEthLidoUSDS', - tags: ['aTokenV3', 'aaveV3'], - extensions: { - pool: '0x4e033931ad43597d96D6bcc25c280717730B58B1', - underlying: '0xdC035D45d973E3EC169d2276DDab16f1e407384F', - }, - }, - { - chainId: 1, - address: '0x2A1FBcb52Ed4d9b23daD17E1E8Aed4BB0E6079b8', - name: 'Aave Ethereum Lido USDC', - decimals: 6, - symbol: 'aEthLidoUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x4e033931ad43597d96D6bcc25c280717730B58B1', - underlying: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - }, - }, - { - chainId: 1, - address: '0xbe1F842e7e0afd2c2322aae5d34bA899544b29db', - name: 'Aave Ethereum EtherFi weETH', - decimals: 18, - symbol: 'aEthEtherFiweETH', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweeth.svg', - extensions: { - pool: '0x0AA97c284e98396202b6A04024F5E2c65026F3c0', - underlying: '0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee', - }, - }, - { - chainId: 1, - address: '0x7380c583cDe4409eFF5DD3320D93a45D96B80E2e', - name: 'Aave Ethereum EtherFi USDC', - decimals: 6, - symbol: 'aEthEtherFiUSDC', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg', - extensions: { - pool: '0x0AA97c284e98396202b6A04024F5E2c65026F3c0', - underlying: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', - }, - }, - { - chainId: 1, - address: '0xdF7f48892244C6106EA784609f7de10AB36F9c7e', - name: 'Aave Ethereum EtherFi PYUSD', - decimals: 6, - symbol: 'aEthEtherFiPYUSD', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/apyusd.svg', - extensions: { - pool: '0x0AA97c284e98396202b6A04024F5E2c65026F3c0', - underlying: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8', - }, - }, - { - chainId: 1, - address: '0x6914ECCf50837dC61b43ee478a9BD9B439648956', - name: 'Aave Ethereum EtherFi FRAX', - decimals: 18, - symbol: 'aEthEtherFiFRAX', - tags: ['aTokenV3', 'aaveV3'], - logoURI: 'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/afrax.svg', - extensions: { - pool: '0x0AA97c284e98396202b6A04024F5E2c65026F3c0', - underlying: '0x853d955aCEf822Db058eb8505911ED77F175b99e', - }, - }, - ], - version: {major: 3, minor: 0, patch: 48}, - timestamp: '2024-10-08T13:07:37.712Z', -}; diff --git a/tokenlist.json b/tokenlist.json index c879f146..7f9eb8c9 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -533,6 +533,67 @@ "underlying": "0xD2eeC91055F07fE24C9cCB25828ecfEFd4be0c41" } }, + { + "chainId": 1, + "address": "0xd35f648C3C7f17cd1Ba92e5eac991E3EfcD4566d", + "name": "Aave Arc market USDC", + "decimals": 6, + "symbol": "aUSDC", + "tags": ["aTokenV2", "aaveV2"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausdc.svg", + "extensions": { + "pool": "0x37D7306019a38Af123e4b245Eb6C28AF552e0bB0", + "underlying": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + } + }, + { + "chainId": 1, + "address": "0xe6d6E7dA65A2C18109Ff56B7CBBdc7B706Fc13F8", + "name": "Aave Arc market WBTC", + "decimals": 8, + "symbol": "aWBTC", + "tags": ["aTokenV2", "aaveV2"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awbtc.svg", + "extensions": { + "pool": "0x37D7306019a38Af123e4b245Eb6C28AF552e0bB0", + "underlying": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" + } + }, + { + "chainId": 1, + "address": "0x319190E3Bbc595602A9E63B2bCfB61c6634355b1", + "name": "Aave Arc market WETH", + "decimals": 18, + "symbol": "aWETH", + "tags": ["aTokenV2", "aaveV2"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aweth.svg", + "extensions": { + "pool": "0x37D7306019a38Af123e4b245Eb6C28AF552e0bB0", + "underlying": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + } + }, + { + "chainId": 1, + "address": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9", + "name": "Aave Token", + "decimals": 18, + "symbol": "AAVE", + "tags": ["underlying"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg" + }, + { + "chainId": 1, + "address": "0x89eFaC495C65d43619c661df654ec64fc10C0A75", + "name": "Aave Arc market AAVE", + "decimals": 18, + "symbol": "aAAVE", + "tags": ["aTokenV2", "aaveV2"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aaave.svg", + "extensions": { + "pool": "0x37D7306019a38Af123e4b245Eb6C28AF552e0bB0", + "underlying": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9" + } + }, { "chainId": 1, "address": "0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811", @@ -638,15 +699,6 @@ "underlying": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984" } }, - { - "chainId": 1, - "address": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9", - "name": "Aave Token", - "decimals": 18, - "symbol": "AAVE", - "tags": ["underlying"], - "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/aave.svg" - }, { "chainId": 1, "address": "0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B", @@ -1418,7 +1470,8 @@ "name": "Wrapped Matic", "decimals": 18, "symbol": "WMATIC", - "tags": ["underlying"] + "tags": ["underlying"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/wmatic.svg" }, { "chainId": 137, @@ -1427,6 +1480,7 @@ "decimals": 18, "symbol": "amWMATIC", "tags": ["aTokenV2", "aaveV2"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awmatic.svg", "extensions": { "pool": "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", "underlying": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270" @@ -2098,6 +2152,7 @@ "decimals": 18, "symbol": "aEthMKR", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/amkr.svg", "extensions": { "pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", "underlying": "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2" @@ -2705,7 +2760,8 @@ "name": "tBTC v2", "decimals": 18, "symbol": "tBTC", - "tags": ["underlying"] + "tags": ["underlying"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/tbtc.svg" }, { "chainId": 1, @@ -2714,6 +2770,7 @@ "decimals": 18, "symbol": "aEthtBTC", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/atbtc.svg", "extensions": { "pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", "underlying": "0x18084fbA666a33d37592fA2633fD49a74DD93a88" @@ -2725,7 +2782,8 @@ "name": "Coinbase Wrapped BTC", "decimals": 8, "symbol": "cbBTC", - "tags": ["underlying"] + "tags": ["underlying"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/cbbtc.svg" }, { "chainId": 1, @@ -2734,6 +2792,7 @@ "decimals": 8, "symbol": "aEthcbBTC", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acbbtc.svg", "extensions": { "pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", "underlying": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf" @@ -2745,7 +2804,8 @@ "name": "USDS Stablecoin", "decimals": 18, "symbol": "USDS", - "tags": ["underlying"] + "tags": ["underlying"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/usds.svg" }, { "chainId": 1, @@ -2754,6 +2814,7 @@ "decimals": 18, "symbol": "aEthUSDS", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausds.svg", "extensions": { "pool": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", "underlying": "0xdC035D45d973E3EC169d2276DDab16f1e407384F" @@ -2955,6 +3016,7 @@ "decimals": 18, "symbol": "aPolWMATIC", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/awmatic.svg", "extensions": { "pool": "0x794a61358D6845594F94dc1DB02A252b5b4814aD", "underlying": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270" @@ -2967,6 +3029,7 @@ "decimals": 18, "symbol": "stataPolWMATIC", "tags": ["aaveV3", "staticAT"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawmatic.svg", "extensions": { "pool": "0x794a61358D6845594F94dc1DB02A252b5b4814aD", "underlying": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270", @@ -4005,7 +4068,8 @@ "name": "Coinbase Wrapped BTC", "decimals": 8, "symbol": "cbBTC", - "tags": ["underlying"] + "tags": ["underlying"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/cbbtc.svg" }, { "chainId": 8453, @@ -4014,6 +4078,7 @@ "decimals": 8, "symbol": "aBascbBTC", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/acbbtc.svg", "extensions": { "pool": "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5", "underlying": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf" @@ -6290,6 +6355,7 @@ "decimals": 18, "symbol": "aEthLidoUSDS", "tags": ["aTokenV3", "aaveV3"], + "logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/ausds.svg", "extensions": { "pool": "0x4e033931ad43597d96D6bcc25c280717730B58B1", "underlying": "0xdC035D45d973E3EC169d2276DDab16f1e407384F" @@ -6361,6 +6427,6 @@ } } ], - "version": { "major": 3, "minor": 0, "patch": 48 }, - "timestamp": "2024-10-08T13:07:37.712Z" + "version": { "major": 3, "minor": 0, "patch": 54 }, + "timestamp": "2024-10-09T07:36:59.289Z" } diff --git a/tsup.config.ts b/tsup.config.ts index f1053c75..c5b8e3d6 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -2,7 +2,7 @@ import {defineConfig} from 'tsup'; import {esbuildPluginFilePathExtensions} from 'esbuild-plugin-file-path-extensions'; // https://github.com/egoist/tsup/issues/953 -export default await defineConfig({ +export default defineConfig({ format: ['cjs', 'esm'], entry: ['src/**/*.ts'], outDir: './dist', diff --git a/ui/src/utils/getAddresses.ts b/ui/src/utils/getAddresses.ts index 96757be8..0141d158 100644 --- a/ui/src/utils/getAddresses.ts +++ b/ui/src/utils/getAddresses.ts @@ -1,5 +1,5 @@ import * as addressBook from '../../../src/ts/AaveAddressBook'; -import { isAddress, Address } from 'viem'; +import { isAddress, Address, zeroAddress } from 'viem'; import { CHAIN_ID_CLIENT_MAP } from '@bgd-labs/js-utils'; export type ListItem = { @@ -21,8 +21,7 @@ export function flattenObject( }); for (let [key, value] of entries) { - if (key === 'tokenlist') continue; - if (chainId && CHAIN_ID_CLIENT_MAP[chainId!].chain?.testnet) continue; + if (key === 'E_MODES') continue; const newPath = [...path, key]; if (key === 'CHAIN_ID') { @@ -30,7 +29,7 @@ export function flattenObject( } if (typeof value === 'object' && value !== null) { result.push(...flattenObject(value, newPath, chainId)); - } else if (isAddress(value as string)) { + } else if (isAddress(value as string) && value !== zeroAddress) { result.push({ path: newPath, value: value as Address, diff --git a/yarn.lock b/yarn.lock index 02bdb19a..8621390f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,10 +24,10 @@ gray-matter "^4.0.3" tsx "^4.7.1" -"@bgd-labs/react-web3-icons@^1.4.4": - version "1.4.7" - resolved "https://registry.yarnpkg.com/@bgd-labs/react-web3-icons/-/react-web3-icons-1.4.7.tgz#cceb9ddfecd02d39d0a31662cb498b76de1b2a07" - integrity sha512-ti4PmQ40z1Obx6kcfx4NTZE9UI9/PS5WxTySWXIYiJ2dgwv0oiCUDbV6LnlVtglFJWJEuGwjrk1+7zCPn/aMZQ== +"@bgd-labs/react-web3-icons@^1.5.3": + version "1.5.3" + resolved "https://registry.yarnpkg.com/@bgd-labs/react-web3-icons/-/react-web3-icons-1.5.3.tgz#51203d3547cb15dc92c9c2672ca68e7e8abe1156" + integrity sha512-jjBkyASYYm90odfMFmBsfMOfAfA+RpR7be3XHJpc82TnPTTjcGdVV2o6+2T7KKQlYDLPypkYvqjY5byS5IQNmA== dependencies: "@loadable/component" "5.16.4" react "18.3.1"