From 573f481205620c12046c3d784512ab67692a3423 Mon Sep 17 00:00:00 2001 From: Harsh Pandey Date: Thu, 7 Mar 2024 17:07:52 +0530 Subject: [PATCH] feat: base sepolia addresses (#384) * feat: add sepolia base addresses * fix: lockfile * chore: update lockfile --- scripts/configs/networks/baseSepolia.ts | 11 ++ scripts/configs/pools/baseSepolia.ts | 18 ++++ scripts/generateAddresses.ts | 4 + src/AaveAddressBook.sol | 2 + src/AaveV3BaseSepolia.sol | 130 ++++++++++++++++++++++++ src/MiscBaseSepolia.sol | 11 ++ src/ts/AaveAddressBook.ts | 2 + src/ts/AaveV3BaseSepolia.ts | 91 +++++++++++++++++ src/ts/MiscBaseSepolia.ts | 8 ++ tokenlist.json | 44 ++++++++ yarn.lock | 6 +- 11 files changed, 324 insertions(+), 3 deletions(-) create mode 100644 scripts/configs/networks/baseSepolia.ts create mode 100644 scripts/configs/pools/baseSepolia.ts create mode 100644 src/AaveV3BaseSepolia.sol create mode 100644 src/MiscBaseSepolia.sol create mode 100644 src/ts/AaveV3BaseSepolia.ts create mode 100644 src/ts/MiscBaseSepolia.ts diff --git a/scripts/configs/networks/baseSepolia.ts b/scripts/configs/networks/baseSepolia.ts new file mode 100644 index 00000000..f726d70c --- /dev/null +++ b/scripts/configs/networks/baseSepolia.ts @@ -0,0 +1,11 @@ +import {ChainId} from '@bgd-labs/js-utils'; +import {NetworkAddresses} from '../types'; + +export const baseSepoliaAddresses: NetworkAddresses = { + name: 'BaseSepolia', + chainId: ChainId.base_sepolia, + addresses: { + TRANSPARENT_PROXY_FACTORY: '0xd90f09ea5ee893b8c0564719e855f1cf0455d894', + PROXY_ADMIN: '0xF9e48edc704BDF494309cA457BCea4c0696f591d', + }, +}; diff --git a/scripts/configs/pools/baseSepolia.ts b/scripts/configs/pools/baseSepolia.ts new file mode 100644 index 00000000..09c8c87f --- /dev/null +++ b/scripts/configs/pools/baseSepolia.ts @@ -0,0 +1,18 @@ +import {ChainId} from '@bgd-labs/js-utils'; +import {PoolConfig} from '../types'; + +export const baseSepoliaProtoV3: PoolConfig = { + name: 'BaseSepolia', + chainId: ChainId.base_sepolia, + POOL_ADDRESSES_PROVIDER: '0xd449FeD49d9C443688d6816fE6872F21402e41de', + additionalAddresses: { + CONFIG_ENGINE: '0xC18ECB3DEf8BAaB2be2714324c5AdA75608e0a48', + RATES_FACTORY: '0x777fBA024bA1228fDa76149A4ff8B23475ed057D', + L2_ENCODER: '0x458d281bFFCE958E34571B33F1F26Bd42Aa27c44', + POOL_ADDRESSES_PROVIDER_REGISTRY: '0x1169e227cD901899A02c8FD242251a311D73b252', + UI_INCENTIVE_DATA_PROVIDER: '0x52Cb5CDf732889be3fd5d5E3A5D589446e060C0D', + UI_POOL_DATA_PROVIDER: '0x884702E4b1d0a2900369E83d5765d537F469cAC9', + WALLET_BALANCE_PROVIDER: '0xdeB02056E277174566A1c425a8e60550142B70A2', + WETH_GATEWAY: '0xF6Dac650dA5616Bc3206e969D7868e7c25805171', + }, +}; diff --git a/scripts/generateAddresses.ts b/scripts/generateAddresses.ts index 0aa4f6e1..fa15947b 100644 --- a/scripts/generateAddresses.ts +++ b/scripts/generateAddresses.ts @@ -8,6 +8,7 @@ import { fujiProtoV3, } from './configs/pools/avalanche'; import {baseProtoV3} from './configs/pools/base'; +import {baseSepoliaProtoV3} from './configs/pools/baseSepolia'; import { mainnetProtoV3Pool, mainnetAmmV2Pool, @@ -48,6 +49,7 @@ import {governanceConfigBase} from './configs/governance/base'; import {governanceConfigBNB} from './configs/governance/bnb'; import {governanceConfigGnosis} from './configs/governance/gnosis'; import {baseAddresses} from './configs/networks/base'; +import {baseSepoliaAddresses} from './configs/networks/baseSepolia'; import {generateNetworkAddresses} from './generator/networkGenerator'; import {arbitrumAddresses, arbitrumSepoliaAddresses} from './configs/networks/arbitrum'; import {avalancheAddresses} from './configs/networks/avalanche'; @@ -118,6 +120,7 @@ async function main() { avalancheProtoV3, fujiProtoV3, baseProtoV3, + baseSepoliaProtoV3, metisProtoV3, gnosisProtoV3, polygonZkEvmProtoV3, @@ -140,6 +143,7 @@ async function main() { arbitrumSepoliaAddresses, avalancheAddresses, baseAddresses, + baseSepoliaAddresses, ethereumAddresses, fantomAddresses, optimismAddresses, diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index ed959ce6..fd43de89 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -32,6 +32,7 @@ import {AaveV3Mumbai} from './AaveV3Mumbai.sol'; import {AaveV3Avalanche} from './AaveV3Avalanche.sol'; import {AaveV3Fuji} from './AaveV3Fuji.sol'; import {AaveV3Base} from './AaveV3Base.sol'; +import {AaveV3BaseSepolia} from './AaveV3BaseSepolia.sol'; import {AaveV3Metis} from './AaveV3Metis.sol'; import {AaveV3Gnosis} from './AaveV3Gnosis.sol'; import {AaveV3PolygonZkEvm} from './AaveV3PolygonZkEvm.sol'; @@ -47,6 +48,7 @@ import {MiscArbitrum} from './MiscArbitrum.sol'; import {MiscArbitrumSepolia} from './MiscArbitrumSepolia.sol'; import {MiscAvalanche} from './MiscAvalanche.sol'; import {MiscBase} from './MiscBase.sol'; +import {MiscBaseSepolia} from './MiscBaseSepolia.sol'; import {MiscEthereum} from './MiscEthereum.sol'; import {MiscFantom} from './MiscFantom.sol'; import {MiscOptimism} from './MiscOptimism.sol'; diff --git a/src/AaveV3BaseSepolia.sol b/src/AaveV3BaseSepolia.sol new file mode 100644 index 00000000..80069957 --- /dev/null +++ b/src/AaveV3BaseSepolia.sol @@ -0,0 +1,130 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// SPDX-License-Identifier: MIT +pragma solidity >=0.6.0; + +import {IPoolAddressesProvider, IPool, IPoolConfigurator, IAaveOracle, IPoolDataProvider, IACLManager} from './AaveV3.sol'; +import {ICollector} from './common/ICollector.sol'; + +library AaveV3BaseSepolia { + // https://sepolia.basescan.org/address/0xd449FeD49d9C443688d6816fE6872F21402e41de + IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER = + IPoolAddressesProvider(0xd449FeD49d9C443688d6816fE6872F21402e41de); + + // https://sepolia.basescan.org/address/0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b + IPool internal constant POOL = IPool(0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b); + + // https://sepolia.basescan.org/address/0x347Ae6820F48e9Dd563235742d89FAef6ffCaA72 + IPoolConfigurator internal constant POOL_CONFIGURATOR = + IPoolConfigurator(0x347Ae6820F48e9Dd563235742d89FAef6ffCaA72); + + // https://sepolia.basescan.org/address/0x29E1eF0209275D0F403E8C57861C2df8706eA244 + IAaveOracle internal constant ORACLE = IAaveOracle(0x29E1eF0209275D0F403E8C57861C2df8706eA244); + + // https://sepolia.basescan.org/address/0x0000000000000000000000000000000000000000 + address internal constant PRICE_ORACLE_SENTINEL = 0x0000000000000000000000000000000000000000; + + // https://sepolia.basescan.org/address/0x80437224dc5Dcb43C5fC87CBdE73152418055274 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x80437224dc5Dcb43C5fC87CBdE73152418055274); + + // https://sepolia.basescan.org/address/0x6C505C31714f14e8af2A03633EB2Cdfb4959138F + IACLManager internal constant ACL_MANAGER = + IACLManager(0x6C505C31714f14e8af2A03633EB2Cdfb4959138F); + + // https://sepolia.basescan.org/address/0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5 + address internal constant ACL_ADMIN = 0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5; + + // https://sepolia.basescan.org/address/0xaE1d70F59e87Adf9Bd3CFdE8F4bB709F69368C6C + ICollector internal constant COLLECTOR = ICollector(0xaE1d70F59e87Adf9Bd3CFdE8F4bB709F69368C6C); + + // https://sepolia.basescan.org/address/0x659FbB419151b8e752C4589DffcA3403865B7232 + address internal constant DEFAULT_INCENTIVES_CONTROLLER = + 0x659FbB419151b8e752C4589DffcA3403865B7232; + + // https://sepolia.basescan.org/address/0x8601E80972A2a89b78185fbacd560d2202202B26 + address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x8601E80972A2a89b78185fbacd560d2202202B26; + + // https://sepolia.basescan.org/address/0x6ea0CBeF9A58bA33D3867e221E34c49bC8Fc91BD + address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = + 0x6ea0CBeF9A58bA33D3867e221E34c49bC8Fc91BD; + + // https://sepolia.basescan.org/address/0x3E02696004a98D757791e6eD352a047c21571a6d + address internal constant DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = + 0x3E02696004a98D757791e6eD352a047c21571a6d; + + // https://sepolia.basescan.org/address/0x0D42405bc97AeF309c22aB2D30dD3d35eD41d05f + address internal constant EMISSION_MANAGER = 0x0D42405bc97AeF309c22aB2D30dD3d35eD41d05f; + + // https://sepolia.basescan.org/address/0xC18ECB3DEf8BAaB2be2714324c5AdA75608e0a48 + address internal constant CONFIG_ENGINE = 0xC18ECB3DEf8BAaB2be2714324c5AdA75608e0a48; + + // https://sepolia.basescan.org/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D + address internal constant RATES_FACTORY = 0x777fBA024bA1228fDa76149A4ff8B23475ed057D; + + // https://sepolia.basescan.org/address/0x458d281bFFCE958E34571B33F1F26Bd42Aa27c44 + address internal constant L2_ENCODER = 0x458d281bFFCE958E34571B33F1F26Bd42Aa27c44; + + // https://sepolia.basescan.org/address/0x1169e227cD901899A02c8FD242251a311D73b252 + address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = + 0x1169e227cD901899A02c8FD242251a311D73b252; + + // https://sepolia.basescan.org/address/0x52Cb5CDf732889be3fd5d5E3A5D589446e060C0D + address internal constant UI_INCENTIVE_DATA_PROVIDER = 0x52Cb5CDf732889be3fd5d5E3A5D589446e060C0D; + + // https://sepolia.basescan.org/address/0x884702E4b1d0a2900369E83d5765d537F469cAC9 + address internal constant UI_POOL_DATA_PROVIDER = 0x884702E4b1d0a2900369E83d5765d537F469cAC9; + + // https://sepolia.basescan.org/address/0xdeB02056E277174566A1c425a8e60550142B70A2 + address internal constant WALLET_BALANCE_PROVIDER = 0xdeB02056E277174566A1c425a8e60550142B70A2; + + // https://sepolia.basescan.org/address/0xF6Dac650dA5616Bc3206e969D7868e7c25805171 + address internal constant WETH_GATEWAY = 0xF6Dac650dA5616Bc3206e969D7868e7c25805171; +} + +library AaveV3BaseSepoliaAssets { + // https://sepolia.basescan.org/address/0x036CbD53842c5426634e7929541eC2318f3dCF7e + address internal constant USDC_UNDERLYING = 0x036CbD53842c5426634e7929541eC2318f3dCF7e; + + uint8 internal constant USDC_DECIMALS = 6; + + // https://sepolia.basescan.org/address/0xf53B60F4006cab2b3C4688ce41fD5362427A2A66 + address internal constant USDC_A_TOKEN = 0xf53B60F4006cab2b3C4688ce41fD5362427A2A66; + + // https://sepolia.basescan.org/address/0xe248511Fd529222f349C6Fd92328f6C5cd876Da0 + address internal constant USDC_V_TOKEN = 0xe248511Fd529222f349C6Fd92328f6C5cd876Da0; + + // https://sepolia.basescan.org/address/0x883EEdD8F05871e8dc7b678E70fCc69552e43701 + address internal constant USDC_S_TOKEN = 0x883EEdD8F05871e8dc7b678E70fCc69552e43701; + + // https://sepolia.basescan.org/address/0xd30e2101a97dcbAeBCBC04F14C3f624E67A35165 + address internal constant USDC_ORACLE = 0xd30e2101a97dcbAeBCBC04F14C3f624E67A35165; + + // https://sepolia.basescan.org/address/0xeAD4Bb251567ef526D48F3b8Ed701AC91B2970DE + address internal constant USDC_INTEREST_RATE_STRATEGY = + 0xeAD4Bb251567ef526D48F3b8Ed701AC91B2970DE; + + // https://sepolia.basescan.org/address/0x4200000000000000000000000000000000000006 + address internal constant WETH_UNDERLYING = 0x4200000000000000000000000000000000000006; + + uint8 internal constant WETH_DECIMALS = 18; + + // https://sepolia.basescan.org/address/0x96e32dE4B1d1617B8c2AE13a88B9cC287239b13f + address internal constant WETH_A_TOKEN = 0x96e32dE4B1d1617B8c2AE13a88B9cC287239b13f; + + // https://sepolia.basescan.org/address/0xf0F0025Dc51f532Ab84c33Eb9d01583EAa0F74c7 + address internal constant WETH_V_TOKEN = 0xf0F0025Dc51f532Ab84c33Eb9d01583EAa0F74c7; + + // https://sepolia.basescan.org/address/0x7A43D1E0A55F2a3f3BC93f4FBE6C9AC9C1d2853D + address internal constant WETH_S_TOKEN = 0x7A43D1E0A55F2a3f3BC93f4FBE6C9AC9C1d2853D; + + // https://sepolia.basescan.org/address/0x4aDC67696bA383F43DD60A9e78F2C97Fbbfc7cb1 + address internal constant WETH_ORACLE = 0x4aDC67696bA383F43DD60A9e78F2C97Fbbfc7cb1; + + // https://sepolia.basescan.org/address/0xbc2a73F06dB09ed7e2AE45e4d7526362B3af02A7 + address internal constant WETH_INTEREST_RATE_STRATEGY = + 0xbc2a73F06dB09ed7e2AE45e4d7526362B3af02A7; +} + +library AaveV3BaseSepoliaEModes { + uint8 internal constant NONE = 0; +} diff --git a/src/MiscBaseSepolia.sol b/src/MiscBaseSepolia.sol new file mode 100644 index 00000000..2c502eb9 --- /dev/null +++ b/src/MiscBaseSepolia.sol @@ -0,0 +1,11 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// SPDX-License-Identifier: MIT +pragma solidity >=0.6.0; + +library MiscBaseSepolia { + // https://sepolia.basescan.org/address/0xD90f09Ea5eE893b8c0564719E855f1CF0455D894 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xD90f09Ea5eE893b8c0564719E855f1CF0455D894; + + // https://sepolia.basescan.org/address/0xF9e48edc704BDF494309cA457BCea4c0696f591d + address internal constant PROXY_ADMIN = 0xF9e48edc704BDF494309cA457BCea4c0696f591d; +} diff --git a/src/ts/AaveAddressBook.ts b/src/ts/AaveAddressBook.ts index 846d349d..74850a2d 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -29,6 +29,7 @@ export * as AaveV3Mumbai from './AaveV3Mumbai'; export * as AaveV3Avalanche from './AaveV3Avalanche'; export * as AaveV3Fuji from './AaveV3Fuji'; export * as AaveV3Base from './AaveV3Base'; +export * as AaveV3BaseSepolia from './AaveV3BaseSepolia'; export * as AaveV3Metis from './AaveV3Metis'; export * as AaveV3Gnosis from './AaveV3Gnosis'; export * as AaveV3PolygonZkEvm from './AaveV3PolygonZkEvm'; @@ -44,6 +45,7 @@ export * as MiscArbitrum from './MiscArbitrum'; export * as MiscArbitrumSepolia from './MiscArbitrumSepolia'; export * as MiscAvalanche from './MiscAvalanche'; export * as MiscBase from './MiscBase'; +export * as MiscBaseSepolia from './MiscBaseSepolia'; export * as MiscEthereum from './MiscEthereum'; export * as MiscFantom from './MiscFantom'; export * as MiscOptimism from './MiscOptimism'; diff --git a/src/ts/AaveV3BaseSepolia.ts b/src/ts/AaveV3BaseSepolia.ts new file mode 100644 index 00000000..0f89cb44 --- /dev/null +++ b/src/ts/AaveV3BaseSepolia.ts @@ -0,0 +1,91 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// IPoolAddressesProvider https://sepolia.basescan.org/address/0xd449FeD49d9C443688d6816fE6872F21402e41de +export const POOL_ADDRESSES_PROVIDER = '0xd449FeD49d9C443688d6816fE6872F21402e41de'; + +// IPool https://sepolia.basescan.org/address/0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b +export const POOL = '0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b'; + +// IPoolConfigurator https://sepolia.basescan.org/address/0x347Ae6820F48e9Dd563235742d89FAef6ffCaA72 +export const POOL_CONFIGURATOR = '0x347Ae6820F48e9Dd563235742d89FAef6ffCaA72'; + +// IAaveOracle https://sepolia.basescan.org/address/0x29E1eF0209275D0F403E8C57861C2df8706eA244 +export const ORACLE = '0x29E1eF0209275D0F403E8C57861C2df8706eA244'; + +// https://sepolia.basescan.org/address/0x0000000000000000000000000000000000000000 +export const PRICE_ORACLE_SENTINEL = '0x0000000000000000000000000000000000000000'; + +// IPoolDataProvider https://sepolia.basescan.org/address/0x80437224dc5Dcb43C5fC87CBdE73152418055274 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x80437224dc5Dcb43C5fC87CBdE73152418055274'; + +// IACLManager https://sepolia.basescan.org/address/0x6C505C31714f14e8af2A03633EB2Cdfb4959138F +export const ACL_MANAGER = '0x6C505C31714f14e8af2A03633EB2Cdfb4959138F'; + +// https://sepolia.basescan.org/address/0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5 +export const ACL_ADMIN = '0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5'; + +// ICollector https://sepolia.basescan.org/address/0xaE1d70F59e87Adf9Bd3CFdE8F4bB709F69368C6C +export const COLLECTOR = '0xaE1d70F59e87Adf9Bd3CFdE8F4bB709F69368C6C'; + +// https://sepolia.basescan.org/address/0x659FbB419151b8e752C4589DffcA3403865B7232 +export const DEFAULT_INCENTIVES_CONTROLLER = '0x659FbB419151b8e752C4589DffcA3403865B7232'; + +// https://sepolia.basescan.org/address/0x8601E80972A2a89b78185fbacd560d2202202B26 +export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x8601E80972A2a89b78185fbacd560d2202202B26'; + +// https://sepolia.basescan.org/address/0x6ea0CBeF9A58bA33D3867e221E34c49bC8Fc91BD +export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x6ea0CBeF9A58bA33D3867e221E34c49bC8Fc91BD'; + +// https://sepolia.basescan.org/address/0x3E02696004a98D757791e6eD352a047c21571a6d +export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0x3E02696004a98D757791e6eD352a047c21571a6d'; + +// https://sepolia.basescan.org/address/0x0D42405bc97AeF309c22aB2D30dD3d35eD41d05f +export const EMISSION_MANAGER = '0x0D42405bc97AeF309c22aB2D30dD3d35eD41d05f'; + +// https://sepolia.basescan.org/address/0xC18ECB3DEf8BAaB2be2714324c5AdA75608e0a48 +export const CONFIG_ENGINE = '0xC18ECB3DEf8BAaB2be2714324c5AdA75608e0a48'; + +// https://sepolia.basescan.org/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D +export const RATES_FACTORY = '0x777fBA024bA1228fDa76149A4ff8B23475ed057D'; + +// https://sepolia.basescan.org/address/0x458d281bFFCE958E34571B33F1F26Bd42Aa27c44 +export const L2_ENCODER = '0x458d281bFFCE958E34571B33F1F26Bd42Aa27c44'; + +// https://sepolia.basescan.org/address/0x1169e227cD901899A02c8FD242251a311D73b252 +export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x1169e227cD901899A02c8FD242251a311D73b252'; + +// https://sepolia.basescan.org/address/0x52Cb5CDf732889be3fd5d5E3A5D589446e060C0D +export const UI_INCENTIVE_DATA_PROVIDER = '0x52Cb5CDf732889be3fd5d5E3A5D589446e060C0D'; + +// https://sepolia.basescan.org/address/0x884702E4b1d0a2900369E83d5765d537F469cAC9 +export const UI_POOL_DATA_PROVIDER = '0x884702E4b1d0a2900369E83d5765d537F469cAC9'; + +// https://sepolia.basescan.org/address/0xdeB02056E277174566A1c425a8e60550142B70A2 +export const WALLET_BALANCE_PROVIDER = '0xdeB02056E277174566A1c425a8e60550142B70A2'; + +// https://sepolia.basescan.org/address/0xF6Dac650dA5616Bc3206e969D7868e7c25805171 +export const WETH_GATEWAY = '0xF6Dac650dA5616Bc3206e969D7868e7c25805171'; + +export const CHAIN_ID = 84532; +export const ASSETS = { + USDC: { + decimals: 6, + UNDERLYING: '0x036CbD53842c5426634e7929541eC2318f3dCF7e', + A_TOKEN: '0xf53B60F4006cab2b3C4688ce41fD5362427A2A66', + S_TOKEN: '0x883EEdD8F05871e8dc7b678E70fCc69552e43701', + V_TOKEN: '0xe248511Fd529222f349C6Fd92328f6C5cd876Da0', + INTEREST_RATE_STRATEGY: '0xeAD4Bb251567ef526D48F3b8Ed701AC91B2970DE', + ORACLE: '0xd30e2101a97dcbAeBCBC04F14C3f624E67A35165', + }, + WETH: { + decimals: 18, + UNDERLYING: '0x4200000000000000000000000000000000000006', + A_TOKEN: '0x96e32dE4B1d1617B8c2AE13a88B9cC287239b13f', + S_TOKEN: '0x7A43D1E0A55F2a3f3BC93f4FBE6C9AC9C1d2853D', + V_TOKEN: '0xf0F0025Dc51f532Ab84c33Eb9d01583EAa0F74c7', + INTEREST_RATE_STRATEGY: '0xbc2a73F06dB09ed7e2AE45e4d7526362B3af02A7', + ORACLE: '0x4aDC67696bA383F43DD60A9e78F2C97Fbbfc7cb1', + }, +} as const; +export const E_MODES = { + NONE: 0, +} as const; diff --git a/src/ts/MiscBaseSepolia.ts b/src/ts/MiscBaseSepolia.ts new file mode 100644 index 00000000..f620d488 --- /dev/null +++ b/src/ts/MiscBaseSepolia.ts @@ -0,0 +1,8 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// https://sepolia.basescan.org/address/0xD90f09Ea5eE893b8c0564719E855f1CF0455D894 +export const TRANSPARENT_PROXY_FACTORY = '0xD90f09Ea5eE893b8c0564719E855f1CF0455D894'; + +// https://sepolia.basescan.org/address/0xF9e48edc704BDF494309cA457BCea4c0696f591d +export const PROXY_ADMIN = '0xF9e48edc704BDF494309cA457BCea4c0696f591d'; + +export const CHAIN_ID = 84532; diff --git a/tokenlist.json b/tokenlist.json index 305599ac..6180fe41 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -5382,6 +5382,50 @@ "underlyingAToken": "0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB" } }, + { + "chainId": 84532, + "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", + "name": "USDC", + "decimals": 6, + "symbol": "USDC", + "tags": ["underlying"], + "logoURI": "ipfs://QmbhThHCdcMQ5bmQLpQ5zQsXHjP6jXoe84CGFuxEVskiV9" + }, + { + "chainId": 84532, + "address": "0xf53B60F4006cab2b3C4688ce41fD5362427A2A66", + "name": "Aave Base Sepolia USDC", + "decimals": 6, + "symbol": "aBasSepUSDC", + "tags": ["aTokenV3", "aaveV3"], + "logoURI": "ipfs://QmcUgFhpDzaGxQXvacRJjnQeECQhVCGWNkRfouu8hCkESo", + "extensions": { + "pool": "0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b", + "underlying": "0x036CbD53842c5426634e7929541eC2318f3dCF7e" + } + }, + { + "chainId": 84532, + "address": "0x4200000000000000000000000000000000000006", + "name": "Wrapped Ether", + "decimals": 18, + "symbol": "WETH", + "tags": ["underlying"], + "logoURI": "ipfs://QmQUcgNk4wBhEchxQjjoSkvUXTb9Lzw9SCZoygwktjSNqd" + }, + { + "chainId": 84532, + "address": "0x96e32dE4B1d1617B8c2AE13a88B9cC287239b13f", + "name": "Aave Base Sepolia WETH", + "decimals": 18, + "symbol": "aBasSepWETH", + "tags": ["aTokenV3", "aaveV3"], + "logoURI": "ipfs://Qma7MhjhSCiMyjDs1Zu3csUH4gYnPsT2DWPH7E9VjJDX2a", + "extensions": { + "pool": "0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b", + "underlying": "0x4200000000000000000000000000000000000006" + } + }, { "chainId": 1088, "address": "0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0", diff --git a/yarn.lock b/yarn.lock index 278e6f5c..6b71cb38 100644 --- a/yarn.lock +++ b/yarn.lock @@ -402,9 +402,9 @@ integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== "@types/node@>=13.7.0": - version "20.11.19" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.19.tgz#b466de054e9cb5b3831bee38938de64ac7f81195" - integrity sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ== + version "20.11.23" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.23.tgz#5c156571ccb4200a2408084f472e1927d719c01e" + integrity sha512-ZUarKKfQuRILSNYt32FuPL20HS7XwNT7/uRwSV8tiHWfyyVwDLYZNF6DZKc2bove++pgfsXn9sUwII/OsQ82cQ== dependencies: undici-types "~5.26.4"