From 5c6e33bb5b82cf0c9e8f92a977a9a70c434144fd Mon Sep 17 00:00:00 2001 From: Harsh Pandey Date: Mon, 19 Feb 2024 14:35:01 +0530 Subject: [PATCH 1/4] feat: celo pool addresses --- package.json | 2 +- scripts/configs/networks/celo.ts | 12 +++++ scripts/configs/pools/celo.ts | 24 +++++++++ scripts/generateAddresses.ts | 4 ++ src/AaveAddressBook.sol | 2 + src/AaveV3Celo.sol | 86 ++++++++++++++++++++++++++++++++ src/MiscCelo.sol | 14 ++++++ src/ts/AaveAddressBook.ts | 2 + src/ts/AaveV3Celo.ts | 70 ++++++++++++++++++++++++++ src/ts/MiscCelo.ts | 11 ++++ yarn.lock | 8 +-- 11 files changed, 230 insertions(+), 5 deletions(-) create mode 100644 scripts/configs/networks/celo.ts create mode 100644 scripts/configs/pools/celo.ts create mode 100644 src/AaveV3Celo.sol create mode 100644 src/MiscCelo.sol create mode 100644 src/ts/AaveV3Celo.ts create mode 100644 src/ts/MiscCelo.ts diff --git a/package.json b/package.json index c60fccd4..3300a075 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ }, "homepage": "https://github.com/bgd-labs/aave-address-book#readme", "devDependencies": { - "@bgd-labs/js-utils": "^1.1.1", + "@bgd-labs/js-utils": "^1.2.1", "@types/node": "^20.10.5", "@uniswap/token-lists": "^1.0.0-beta.33", "ajv": "^8.12.0", diff --git a/scripts/configs/networks/celo.ts b/scripts/configs/networks/celo.ts new file mode 100644 index 00000000..579929f2 --- /dev/null +++ b/scripts/configs/networks/celo.ts @@ -0,0 +1,12 @@ +import {ChainId} from '@bgd-labs/js-utils'; +import {NetworkAddresses} from '../types'; + +export const celoAddresses: NetworkAddresses = { + name: 'Celo', + chainId: ChainId.celo, + addresses: { + TRANSPARENT_PROXY_FACTORY: '0xb172a90A7C238969CE9B27cc19D13b60A91e7F00', + PROTOCOL_GUARDIAN: '0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6', + PROXY_ADMIN: '0x01d678F1bbE148C96e7501F1Ac41661904F84F61' + }, +}; diff --git a/scripts/configs/pools/celo.ts b/scripts/configs/pools/celo.ts new file mode 100644 index 00000000..365c4d07 --- /dev/null +++ b/scripts/configs/pools/celo.ts @@ -0,0 +1,24 @@ +import {ChainId} from '@bgd-labs/js-utils'; +import {PoolConfig} from '../types'; + +export const celoProtoV3: PoolConfig = { + name: 'Celo', + chainId: ChainId.celo, + POOL_ADDRESSES_PROVIDER: '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D', + additionalAddresses: { + CAPS_PLUS_RISK_STEWARD: '0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022', + FREEZING_STEWARD: '0xcb0670258e5961CCA85D8F71D29C1167Ef20De99', + CONFIG_ENGINE: '0x3238FC1d642b60F41a35f62570237656C85F4744', + POOL_ADDRESSES_PROVIDER_REGISTRY: '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9', + RATES_FACTORY: '0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213', + UI_INCENTIVE_DATA_PROVIDER: '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C', + UI_POOL_DATA_PROVIDER: '0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85', + WALLET_BALANCE_PROVIDER: '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671' + }, + initial: { + COLLECTOR: '0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9', + DEFAULT_A_TOKEN_IMPL: '0x6c23bAF050ec192afc0B967a93b83e6c5405df43', + DEFAULT_VARIABLE_DEBT_TOKEN_IMPL: '0x777fBA024bA1228fDa76149A4ff8B23475ed057D', + DEFAULT_STABLE_DEBT_TOKEN_IMPL: '0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b', + }, +}; diff --git a/scripts/generateAddresses.ts b/scripts/generateAddresses.ts index a6650f93..24341e89 100644 --- a/scripts/generateAddresses.ts +++ b/scripts/generateAddresses.ts @@ -31,6 +31,7 @@ import { polygonProtoV3, } from './configs/pools/polygon'; import {scrollSepoliaProtoV3, scrollProtoV3} from './configs/pools/scroll'; +import {celoProtoV3} from './configs/pools/celo'; import {generateGovernanceLibrary} from './generator/governanceV3Generator'; import {generateProtocolV2Library} from './generator/protocolV2Generator'; import {generateProtocolV3Library} from './generator/protocolV3Generator'; @@ -59,6 +60,7 @@ import {gnosisAddresses} from './configs/networks/gnosis'; import {bnbAddresses} from './configs/networks/bnb'; import {scrollAddresses} from './configs/networks/scroll'; import {polygonZkEvmAddresses} from './configs/networks/polygonZkEvm'; +import {celoAddresses} from './configs/networks/celo'; import {governanceConfigScroll} from './configs/governance/scroll'; import {governanceConfigPolygonZkEvm} from './configs/governance/polygonZkEvm'; import {generateTokenList} from './generator/generateTokenList'; @@ -120,6 +122,7 @@ async function main() { gnosisProtoV3, polygonZkEvmProtoV3, bnbProtoV3, + celoProtoV3, arbitrumProtoV3, optimismGoerliProtoV3, optimismProtoV3, @@ -147,6 +150,7 @@ async function main() { bnbAddresses, scrollAddresses, polygonZkEvmAddresses, + celoAddresses, sepoliaAddresses, mumbaiAddresses, ].map((addresses) => generateNetworkAddresses(addresses)); diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index c7005971..fd0d9642 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -36,6 +36,7 @@ import {AaveV3Metis} from './AaveV3Metis.sol'; import {AaveV3Gnosis} from './AaveV3Gnosis.sol'; import {AaveV3PolygonZkEvm} from './AaveV3PolygonZkEvm.sol'; import {AaveV3BNB} from './AaveV3BNB.sol'; +import {AaveV3Celo} from './AaveV3Celo.sol'; import {AaveV3Arbitrum} from './AaveV3Arbitrum.sol'; import {AaveV3OptimismGoerli} from './AaveV3OptimismGoerli.sol'; import {AaveV3Optimism} from './AaveV3Optimism.sol'; @@ -56,6 +57,7 @@ import {MiscGnosis} from './MiscGnosis.sol'; import {MiscBNB} from './MiscBNB.sol'; import {MiscScroll} from './MiscScroll.sol'; import {MiscPolygonZkEvm} from './MiscPolygonZkEvm.sol'; +import {MiscCelo} from './MiscCelo.sol'; import {MiscSepolia} from './MiscSepolia.sol'; import {MiscMumbai} from './MiscMumbai.sol'; import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol'; diff --git a/src/AaveV3Celo.sol b/src/AaveV3Celo.sol new file mode 100644 index 00000000..260e1547 --- /dev/null +++ b/src/AaveV3Celo.sol @@ -0,0 +1,86 @@ +// 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 AaveV3Celo { + // https://explorer.celo.org/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D + IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER = + IPoolAddressesProvider(0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D); + + // https://explorer.celo.org/mainnet/address/0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA + IPool internal constant POOL = IPool(0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA); + + // https://explorer.celo.org/mainnet/address/0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d + IPoolConfigurator internal constant POOL_CONFIGURATOR = + IPoolConfigurator(0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d); + + // https://explorer.celo.org/mainnet/address/0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1 + IAaveOracle internal constant ORACLE = IAaveOracle(0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1); + + // https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000 + address internal constant PRICE_ORACLE_SENTINEL = 0x0000000000000000000000000000000000000000; + + // https://explorer.celo.org/mainnet/address/0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697 + IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = + IPoolDataProvider(0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697); + + // https://explorer.celo.org/mainnet/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 + IACLManager internal constant ACL_MANAGER = + IACLManager(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741); + + // https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D + address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D; + + // https://explorer.celo.org/mainnet/address/0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9 + ICollector internal constant COLLECTOR = ICollector(0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9); + + // https://explorer.celo.org/mainnet/address/0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF + address internal constant DEFAULT_INCENTIVES_CONTROLLER = + 0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF; + + // https://explorer.celo.org/mainnet/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43 + address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x6c23bAF050ec192afc0B967a93b83e6c5405df43; + + // https://explorer.celo.org/mainnet/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D + address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = + 0x777fBA024bA1228fDa76149A4ff8B23475ed057D; + + // https://explorer.celo.org/mainnet/address/0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b + address internal constant DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = + 0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b; + + // https://explorer.celo.org/mainnet/address/0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E + address internal constant EMISSION_MANAGER = 0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E; + + // https://explorer.celo.org/mainnet/address/0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022 + address internal constant CAPS_PLUS_RISK_STEWARD = 0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022; + + // https://explorer.celo.org/mainnet/address/0xcb0670258e5961CCA85D8F71D29C1167Ef20De99 + address internal constant FREEZING_STEWARD = 0xcb0670258e5961CCA85D8F71D29C1167Ef20De99; + + // https://explorer.celo.org/mainnet/address/0x3238FC1d642b60F41a35f62570237656C85F4744 + address internal constant CONFIG_ENGINE = 0x3238FC1d642b60F41a35f62570237656C85F4744; + + // https://explorer.celo.org/mainnet/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9 + address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = + 0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9; + + // https://explorer.celo.org/mainnet/address/0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213 + address internal constant RATES_FACTORY = 0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213; + + // https://explorer.celo.org/mainnet/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C + address internal constant UI_INCENTIVE_DATA_PROVIDER = 0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C; + + // https://explorer.celo.org/mainnet/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85 + address internal constant UI_POOL_DATA_PROVIDER = 0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85; + + // https://explorer.celo.org/mainnet/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 + address internal constant WALLET_BALANCE_PROVIDER = 0xB1532b76D054c9F9E61b25c4d91f69B4133E4671; +} + +library AaveV3CeloAssets {} + +library AaveV3CeloEModes {} diff --git a/src/MiscCelo.sol b/src/MiscCelo.sol new file mode 100644 index 00000000..121ff2d5 --- /dev/null +++ b/src/MiscCelo.sol @@ -0,0 +1,14 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// SPDX-License-Identifier: MIT +pragma solidity >=0.6.0; + +library MiscCelo { + // https://explorer.celo.org/mainnet/address/0xb172a90A7C238969CE9B27cc19D13b60A91e7F00 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xb172a90A7C238969CE9B27cc19D13b60A91e7F00; + + // https://explorer.celo.org/mainnet/address/0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6 + address internal constant PROTOCOL_GUARDIAN = 0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6; + + // https://explorer.celo.org/mainnet/address/0x01d678F1bbE148C96e7501F1Ac41661904F84F61 + address internal constant PROXY_ADMIN = 0x01d678F1bbE148C96e7501F1Ac41661904F84F61; +} diff --git a/src/ts/AaveAddressBook.ts b/src/ts/AaveAddressBook.ts index 619e1bbd..aae1a26a 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -33,6 +33,7 @@ export * as AaveV3Metis from './AaveV3Metis'; export * as AaveV3Gnosis from './AaveV3Gnosis'; export * as AaveV3PolygonZkEvm from './AaveV3PolygonZkEvm'; export * as AaveV3BNB from './AaveV3BNB'; +export * as AaveV3Celo from './AaveV3Celo'; export * as AaveV3Arbitrum from './AaveV3Arbitrum'; export * as AaveV3OptimismGoerli from './AaveV3OptimismGoerli'; export * as AaveV3Optimism from './AaveV3Optimism'; @@ -53,6 +54,7 @@ export * as MiscGnosis from './MiscGnosis'; export * as MiscBNB from './MiscBNB'; export * as MiscScroll from './MiscScroll'; export * as MiscPolygonZkEvm from './MiscPolygonZkEvm'; +export * as MiscCelo from './MiscCelo'; export * as MiscSepolia from './MiscSepolia'; export * as MiscMumbai from './MiscMumbai'; export * as AaveGovernanceV2 from './AaveGovernanceV2'; diff --git a/src/ts/AaveV3Celo.ts b/src/ts/AaveV3Celo.ts new file mode 100644 index 00000000..8e6cb70a --- /dev/null +++ b/src/ts/AaveV3Celo.ts @@ -0,0 +1,70 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// IPoolAddressesProvider https://explorer.celo.org/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D +export const POOL_ADDRESSES_PROVIDER = '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D'; + +// IPool https://explorer.celo.org/mainnet/address/0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA +export const POOL = '0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA'; + +// IPoolConfigurator https://explorer.celo.org/mainnet/address/0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d +export const POOL_CONFIGURATOR = '0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d'; + +// IAaveOracle https://explorer.celo.org/mainnet/address/0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1 +export const ORACLE = '0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1'; + +// https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000 +export const PRICE_ORACLE_SENTINEL = '0x0000000000000000000000000000000000000000'; + +// IPoolDataProvider https://explorer.celo.org/mainnet/address/0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697 +export const AAVE_PROTOCOL_DATA_PROVIDER = '0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697'; + +// IACLManager https://explorer.celo.org/mainnet/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741 +export const ACL_MANAGER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741'; + +// https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D +export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; + +// ICollector https://explorer.celo.org/mainnet/address/0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9 +export const COLLECTOR = '0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9'; + +// https://explorer.celo.org/mainnet/address/0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF +export const DEFAULT_INCENTIVES_CONTROLLER = '0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF'; + +// https://explorer.celo.org/mainnet/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43 +export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x6c23bAF050ec192afc0B967a93b83e6c5405df43'; + +// https://explorer.celo.org/mainnet/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D +export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x777fBA024bA1228fDa76149A4ff8B23475ed057D'; + +// https://explorer.celo.org/mainnet/address/0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b +export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b'; + +// https://explorer.celo.org/mainnet/address/0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E +export const EMISSION_MANAGER = '0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E'; + +// https://explorer.celo.org/mainnet/address/0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022 +export const CAPS_PLUS_RISK_STEWARD = '0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022'; + +// https://explorer.celo.org/mainnet/address/0xcb0670258e5961CCA85D8F71D29C1167Ef20De99 +export const FREEZING_STEWARD = '0xcb0670258e5961CCA85D8F71D29C1167Ef20De99'; + +// https://explorer.celo.org/mainnet/address/0x3238FC1d642b60F41a35f62570237656C85F4744 +export const CONFIG_ENGINE = '0x3238FC1d642b60F41a35f62570237656C85F4744'; + +// https://explorer.celo.org/mainnet/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9 +export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9'; + +// https://explorer.celo.org/mainnet/address/0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213 +export const RATES_FACTORY = '0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213'; + +// https://explorer.celo.org/mainnet/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C +export const UI_INCENTIVE_DATA_PROVIDER = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C'; + +// https://explorer.celo.org/mainnet/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85 +export const UI_POOL_DATA_PROVIDER = '0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85'; + +// https://explorer.celo.org/mainnet/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671 +export const WALLET_BALANCE_PROVIDER = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671'; + +export const CHAIN_ID = 42220; +export const ASSETS = {} as const; +export const E_MODES = {} as const; diff --git a/src/ts/MiscCelo.ts b/src/ts/MiscCelo.ts new file mode 100644 index 00000000..b51129b2 --- /dev/null +++ b/src/ts/MiscCelo.ts @@ -0,0 +1,11 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// https://explorer.celo.org/mainnet/address/0xb172a90A7C238969CE9B27cc19D13b60A91e7F00 +export const TRANSPARENT_PROXY_FACTORY = '0xb172a90A7C238969CE9B27cc19D13b60A91e7F00'; + +// https://explorer.celo.org/mainnet/address/0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6 +export const PROTOCOL_GUARDIAN = '0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6'; + +// https://explorer.celo.org/mainnet/address/0x01d678F1bbE148C96e7501F1Ac41661904F84F61 +export const PROXY_ADMIN = '0x01d678F1bbE148C96e7501F1Ac41661904F84F61'; + +export const CHAIN_ID = 42220; diff --git a/yarn.lock b/yarn.lock index 6eadf187..f1154007 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,10 +7,10 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== -"@bgd-labs/js-utils@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.1.1.tgz#0e400061169cd38d1dd44b401dc3c05b904cbd76" - integrity sha512-CWzoY+3IWpu/YhDgVYbnZhBEGQ8kGJwAgqZexrIkD9+GJh5raEcOWByV8psWapOwttWO4ppxS/RgmMdJQ5Hhxg== +"@bgd-labs/js-utils@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.2.1.tgz#01c9db4f046c2afa5db403a396f913e7a59c7f33" + integrity sha512-FvAeqjHFF0bi/TzN0FR3W97IBn9I4WJjMRWyUf/4fTSB0l2dLL1563fRok+i9con7T651imcg/YhiE7Gd9vKtQ== dependencies: "@supercharge/promise-pool" "^3.1.0" bs58 "^5.0.0" From 39043c509f0a8fb83b125339cec6d9283da63f61 Mon Sep 17 00:00:00 2001 From: sendra Date: Wed, 21 Feb 2024 15:30:18 +0100 Subject: [PATCH 2/4] fix: added gov and adi celo addresses --- scripts/configs/governance/celo.ts | 12 ++++++++++++ scripts/generateAddresses.ts | 2 ++ src/AaveAddressBook.sol | 1 + src/AaveV3Ethereum.sol | 3 +++ src/GovernanceV3Celo.sol | 23 +++++++++++++++++++++++ src/ts/AaveAddressBook.ts | 1 + src/ts/AaveV3Ethereum.ts | 2 +- src/ts/GovernanceV3Celo.ts | 16 ++++++++++++++++ tokenlist.json | 17 +++++++++++++++-- 9 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 scripts/configs/governance/celo.ts create mode 100644 src/GovernanceV3Celo.sol create mode 100644 src/ts/GovernanceV3Celo.ts diff --git a/scripts/configs/governance/celo.ts b/scripts/configs/governance/celo.ts new file mode 100644 index 00000000..29a0e6d8 --- /dev/null +++ b/scripts/configs/governance/celo.ts @@ -0,0 +1,12 @@ +import {ChainId} from '@bgd-labs/js-utils'; +import {GovernanceConfig} from '../types'; + +export const governanceConfigCelo: GovernanceConfig = { + name: 'Celo', + CHAIN_ID: ChainId.celo, + ADDRESSES: { + CROSS_CHAIN_CONTROLLER: '0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79', + PAYLOADS_CONTROLLER: '0xa70964C9952b08559d5Cb977B44930f4f36bFA9d', + PC_DATA_HELPER: '0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424', + }, +}; diff --git a/scripts/generateAddresses.ts b/scripts/generateAddresses.ts index 24341e89..c8845759 100644 --- a/scripts/generateAddresses.ts +++ b/scripts/generateAddresses.ts @@ -64,6 +64,7 @@ import {celoAddresses} from './configs/networks/celo'; import {governanceConfigScroll} from './configs/governance/scroll'; import {governanceConfigPolygonZkEvm} from './configs/governance/polygonZkEvm'; import {generateTokenList} from './generator/generateTokenList'; +import {governanceConfigCelo} from './configs/governance/celo'; async function main() { // cleanup ts artifacts @@ -93,6 +94,7 @@ async function main() { governanceConfigGnosis, governanceConfigScroll, governanceConfigPolygonZkEvm, + governanceConfigCelo, ].map((config) => generateGovernanceLibrary(config)), ); const v2LibraryNames = await Promise.all( diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index fd0d9642..7984d2b2 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -16,6 +16,7 @@ import {GovernanceV3BNB} from './GovernanceV3BNB.sol'; import {GovernanceV3Gnosis} from './GovernanceV3Gnosis.sol'; import {GovernanceV3Scroll} from './GovernanceV3Scroll.sol'; import {GovernanceV3PolygonZkEvm} from './GovernanceV3PolygonZkEvm.sol'; +import {GovernanceV3Celo} from './GovernanceV3Celo.sol'; import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol'; import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol'; import {AaveV2Ethereum} from './AaveV2Ethereum.sol'; diff --git a/src/AaveV3Ethereum.sol b/src/AaveV3Ethereum.sol index 405a838e..332f9a7a 100644 --- a/src/AaveV3Ethereum.sol +++ b/src/AaveV3Ethereum.sol @@ -709,6 +709,9 @@ library AaveV3EthereumAssets { // https://etherscan.io/address/0xAC4f9019608f3A359Ba6a576DC4deC9561D2e514 address internal constant PYUSD_INTEREST_RATE_STRATEGY = 0xAC4f9019608f3A359Ba6a576DC4deC9561D2e514; + + // https://etherscan.io/address/0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152 + address internal constant PYUSD_STATA_TOKEN = 0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152; } library AaveV3EthereumEModes { diff --git a/src/GovernanceV3Celo.sol b/src/GovernanceV3Celo.sol new file mode 100644 index 00000000..f8986270 --- /dev/null +++ b/src/GovernanceV3Celo.sol @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: MIT +pragma solidity >=0.6.0; + +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +import {IGovernanceCore, IPayloadsControllerCore, IDataWarehouse, IVotingStrategy} from './GovernanceV3.sol'; + +library GovernanceV3Celo { + // https://explorer.celo.org/mainnet/address/0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79 + address internal constant CROSS_CHAIN_CONTROLLER = 0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79; + + // https://explorer.celo.org/mainnet/address/0xa70964C9952b08559d5Cb977B44930f4f36bFA9d + IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER = + IPayloadsControllerCore(0xa70964C9952b08559d5Cb977B44930f4f36bFA9d); + + // https://explorer.celo.org/mainnet/address/0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424 + address internal constant PC_DATA_HELPER = 0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424; + + // https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D + address internal constant EXECUTOR_LVL_1 = 0x1dF462e2712496373A347f8ad10802a5E95f053D; + + // https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000 + address internal constant EXECUTOR_LVL_2 = 0x0000000000000000000000000000000000000000; +} diff --git a/src/ts/AaveAddressBook.ts b/src/ts/AaveAddressBook.ts index aae1a26a..73a982b6 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -13,6 +13,7 @@ export * as GovernanceV3BNB from './GovernanceV3BNB'; export * as GovernanceV3Gnosis from './GovernanceV3Gnosis'; export * as GovernanceV3Scroll from './GovernanceV3Scroll'; export * as GovernanceV3PolygonZkEvm from './GovernanceV3PolygonZkEvm'; +export * as GovernanceV3Celo from './GovernanceV3Celo'; export * as AaveV2EthereumAMM from './AaveV2EthereumAMM'; export * as AaveV2EthereumArc from './AaveV2EthereumArc'; export * as AaveV2Ethereum from './AaveV2Ethereum'; diff --git a/src/ts/AaveV3Ethereum.ts b/src/ts/AaveV3Ethereum.ts index e4b206d6..17f5eefa 100644 --- a/src/ts/AaveV3Ethereum.ts +++ b/src/ts/AaveV3Ethereum.ts @@ -372,7 +372,7 @@ export const ASSETS = { V_TOKEN: '0x57B67e4DE077085Fd0AF2174e9c14871BE664546', INTEREST_RATE_STRATEGY: '0xAC4f9019608f3A359Ba6a576DC4deC9561D2e514', ORACLE: '0x8f1dF6D7F2db73eECE86a18b4381F4707b918FB1', - STATA_TOKEN: '0x0000000000000000000000000000000000000000', + STATA_TOKEN: '0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152', }, } as const; export const E_MODES = { diff --git a/src/ts/GovernanceV3Celo.ts b/src/ts/GovernanceV3Celo.ts new file mode 100644 index 00000000..cbdaa80a --- /dev/null +++ b/src/ts/GovernanceV3Celo.ts @@ -0,0 +1,16 @@ +// https://explorer.celo.org/mainnet/address/0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79 +export const CROSS_CHAIN_CONTROLLER = '0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79'; + +// IPayloadsControllerCore https://explorer.celo.org/mainnet/address/0xa70964C9952b08559d5Cb977B44930f4f36bFA9d +export const PAYLOADS_CONTROLLER = '0xa70964C9952b08559d5Cb977B44930f4f36bFA9d'; + +// https://explorer.celo.org/mainnet/address/0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424 +export const PC_DATA_HELPER = '0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424'; + +// https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D +export const EXECUTOR_LVL_1 = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; + +// https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000 +export const EXECUTOR_LVL_2 = '0x0000000000000000000000000000000000000000'; + +export const CHAIN_ID = 42220; diff --git a/tokenlist.json b/tokenlist.json index 6833a9ff..b09c5935 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -22,8 +22,8 @@ "description": "Tokens that are wrapped into a 4626 Vault" } }, - "timestamp": "2024-02-14T19:30:30.913Z", - "version": { "major": 3, "minor": 0, "patch": 3 }, + "timestamp": "2024-02-21T14:29:38.178Z", + "version": { "major": 3, "minor": 0, "patch": 4 }, "tokens": [ { "chainId": 1, @@ -2761,6 +2761,19 @@ "underlying": "0x6c3ea9036406852006290770BEdFcAbA0e23A0e8" } }, + { + "chainId": 1, + "address": "0x00F2a835758B33f3aC53516Ebd69f3dc77B0D152", + "name": "Static Aave Ethereum PYUSD", + "decimals": 6, + "symbol": "stataEthPYUSD", + "tags": ["aaveV3", "stataToken"], + "extensions": { + "pool": "AaveV3Ethereum", + "underlying": "0x6c3ea9036406852006290770BEdFcAbA0e23A0e8", + "underlyingAToken": "0x0C0d01AbF3e6aDfcA0989eBbA9d6e85dD58EaB1E" + } + }, { "chainId": 11155111, "address": "0xFF34B3d4Aee8ddCd6F9AFFFB6Fe49bD371b8a357", From af91df3de37dc3a08e732a3135bd815c9139cf85 Mon Sep 17 00:00:00 2001 From: Harsh Pandey Date: Thu, 29 Feb 2024 18:15:49 +0530 Subject: [PATCH 3/4] feat: add sepolia base addresses --- package.json | 2 +- 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 | 32 ++++-- 12 files changed, 341 insertions(+), 14 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/package.json b/package.json index 60cb731d..c814bf66 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "homepage": "https://github.com/bgd-labs/aave-address-book#readme", "devDependencies": { - "@bgd-labs/js-utils": "^1.2.1", + "@bgd-labs/js-utils": "^@1.3.1", "@types/node": "^20.10.5", "@uniswap/token-lists": "^1.0.0-beta.33", "ajv": "^8.12.0", 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 68558d72..e5997760 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'; @@ -120,6 +122,7 @@ async function main() { avalancheProtoV3, fujiProtoV3, baseProtoV3, + baseSepoliaProtoV3, metisProtoV3, gnosisProtoV3, polygonZkEvmProtoV3, @@ -143,6 +146,7 @@ async function main() { arbitrumSepoliaAddresses, avalancheAddresses, baseAddresses, + baseSepoliaAddresses, ethereumAddresses, fantomAddresses, optimismAddresses, diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index 37b16cd6..fdc531ef 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -33,6 +33,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'; @@ -49,6 +50,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 815539d4..e284cfa3 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -30,6 +30,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'; @@ -46,6 +47,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 cc9605e7..a81e1d73 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -22,8 +22,8 @@ "description": "Tokens that are wrapped into a 4626 Vault" } }, - "timestamp": "2024-02-21T09:06:48.186Z", - "version": { "major": 3, "minor": 0, "patch": 6 }, + "timestamp": "2024-02-29T12:31:00.440Z", + "version": { "major": 3, "minor": 0, "patch": 7 }, "tokens": [ { "chainId": 1, @@ -4937,6 +4937,46 @@ "underlying": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" } }, + { + "chainId": 84532, + "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", + "name": "USDC", + "decimals": 6, + "symbol": "USDC", + "tags": ["underlying"] + }, + { + "chainId": 84532, + "address": "0xf53B60F4006cab2b3C4688ce41fD5362427A2A66", + "name": "Aave Base Sepolia USDC", + "decimals": 6, + "symbol": "aBasSepUSDC", + "tags": ["aTokenV3", "aaveV3"], + "extensions": { + "pool": "0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b", + "underlying": "0x036CbD53842c5426634e7929541eC2318f3dCF7e" + } + }, + { + "chainId": 84532, + "address": "0x4200000000000000000000000000000000000006", + "name": "Wrapped Ether", + "decimals": 18, + "symbol": "WETH", + "tags": ["underlying"] + }, + { + "chainId": 84532, + "address": "0x96e32dE4B1d1617B8c2AE13a88B9cC287239b13f", + "name": "Aave Base Sepolia WETH", + "decimals": 18, + "symbol": "aBasSepWETH", + "tags": ["aTokenV3", "aaveV3"], + "extensions": { + "pool": "0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b", + "underlying": "0x4200000000000000000000000000000000000006" + } + }, { "chainId": 1088, "address": "0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0", diff --git a/yarn.lock b/yarn.lock index f1154007..0a4560d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,15 +7,15 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== -"@bgd-labs/js-utils@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.2.1.tgz#01c9db4f046c2afa5db403a396f913e7a59c7f33" - integrity sha512-FvAeqjHFF0bi/TzN0FR3W97IBn9I4WJjMRWyUf/4fTSB0l2dLL1563fRok+i9con7T651imcg/YhiE7Gd9vKtQ== +"@bgd-labs/js-utils@^@1.3.1": + version "1.3.1-6ccc11e9eb549f3c99f693d7eed254cbbc40465c.0" + resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.3.1-6ccc11e9eb549f3c99f693d7eed254cbbc40465c.0.tgz#2c8063b77ade112869b2ea24f8af2d4fe0424744" + integrity sha512-g7kMx4BttNVYdQa/eMYc0tULDDNiDZz+JumJP2Pw64D41OGijq8R+QUFvN5bZTJRf+gIvBMD+KwmZez8trfntw== dependencies: - "@supercharge/promise-pool" "^3.1.0" + "@supercharge/promise-pool" "^3.1.1" bs58 "^5.0.0" gray-matter "^4.0.3" - tsx "^4.4.0" + tsx "^4.7.1" "@esbuild/aix-ppc64@0.19.10": version "0.19.10" @@ -296,10 +296,10 @@ dependencies: antlr4ts "^0.5.0-alpha.4" -"@supercharge/promise-pool@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@supercharge/promise-pool/-/promise-pool-3.1.0.tgz#308b9f4d4bf1d607695f916d9454a3556cd4c2b4" - integrity sha512-gB3NukbIcYzRtPoE6dx9svQYPodxvnfQlaaQd8N/z87E6WaMfRE7o5HwB+LZ+KeM0nsNAq1n4TmBtfz1VCUR+Q== +"@supercharge/promise-pool@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@supercharge/promise-pool/-/promise-pool-3.1.1.tgz#237d4e151b8591e2ff4f0ae388f7d6b4741bacc0" + integrity sha512-TgCm6jVqMPv+OgD5uBNND/CkCwNDdXPQlcprtnXsWSBpTCy0q5CI6vRj+jsUiXE1xeRaKIX4UeaYJqzZBL92sg== "@types/node@^20.10.5": version "20.10.5" @@ -1054,7 +1054,7 @@ tsup@^8.0.1: sucrase "^3.20.3" tree-kill "^1.2.2" -tsx@^4.4.0, tsx@^4.7.0: +tsx@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.7.0.tgz#1689cfe7dda495ca1f9a66d4cad79cb57b9f6f4a" integrity sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg== @@ -1064,6 +1064,16 @@ tsx@^4.4.0, tsx@^4.7.0: optionalDependencies: fsevents "~2.3.3" +tsx@^4.7.1: + version "4.7.1" + resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.7.1.tgz#27af6cbf4e1cdfcb9b5425b1c61bb7e668eb5e84" + integrity sha512-8d6VuibXHtlN5E3zFkgY8u4DX7Y3Z27zvvPKVmLon/D4AjuKzarkUBTLDBgj9iTQ0hg5xM7c/mYiRVM+HETf0g== + dependencies: + esbuild "~0.19.10" + get-tsconfig "^4.7.2" + optionalDependencies: + fsevents "~2.3.3" + typescript@^5.3.3: version "5.3.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" From 4e260cdf62a32c1ca2c9a87be5d9da4e759fd9a1 Mon Sep 17 00:00:00 2001 From: Harsh Pandey Date: Thu, 29 Feb 2024 18:17:35 +0530 Subject: [PATCH 4/4] Revert "feat: add sepolia base addresses" This reverts commit af91df3de37dc3a08e732a3135bd815c9139cf85. --- package.json | 2 +- 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 | 32 ++---- 12 files changed, 14 insertions(+), 341 deletions(-) delete mode 100644 scripts/configs/networks/baseSepolia.ts delete mode 100644 scripts/configs/pools/baseSepolia.ts delete mode 100644 src/AaveV3BaseSepolia.sol delete mode 100644 src/MiscBaseSepolia.sol delete mode 100644 src/ts/AaveV3BaseSepolia.ts delete mode 100644 src/ts/MiscBaseSepolia.ts diff --git a/package.json b/package.json index c814bf66..60cb731d 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "homepage": "https://github.com/bgd-labs/aave-address-book#readme", "devDependencies": { - "@bgd-labs/js-utils": "^@1.3.1", + "@bgd-labs/js-utils": "^1.2.1", "@types/node": "^20.10.5", "@uniswap/token-lists": "^1.0.0-beta.33", "ajv": "^8.12.0", diff --git a/scripts/configs/networks/baseSepolia.ts b/scripts/configs/networks/baseSepolia.ts deleted file mode 100644 index f726d70c..00000000 --- a/scripts/configs/networks/baseSepolia.ts +++ /dev/null @@ -1,11 +0,0 @@ -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 deleted file mode 100644 index 09c8c87f..00000000 --- a/scripts/configs/pools/baseSepolia.ts +++ /dev/null @@ -1,18 +0,0 @@ -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 e5997760..68558d72 100644 --- a/scripts/generateAddresses.ts +++ b/scripts/generateAddresses.ts @@ -8,7 +8,6 @@ import { fujiProtoV3, } from './configs/pools/avalanche'; import {baseProtoV3} from './configs/pools/base'; -import {baseSepoliaProtoV3} from './configs/pools/baseSepolia'; import { mainnetProtoV3Pool, mainnetAmmV2Pool, @@ -49,7 +48,6 @@ 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'; @@ -122,7 +120,6 @@ async function main() { avalancheProtoV3, fujiProtoV3, baseProtoV3, - baseSepoliaProtoV3, metisProtoV3, gnosisProtoV3, polygonZkEvmProtoV3, @@ -146,7 +143,6 @@ async function main() { arbitrumSepoliaAddresses, avalancheAddresses, baseAddresses, - baseSepoliaAddresses, ethereumAddresses, fantomAddresses, optimismAddresses, diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index fdc531ef..37b16cd6 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -33,7 +33,6 @@ 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'; @@ -50,7 +49,6 @@ 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 deleted file mode 100644 index 80069957..00000000 --- a/src/AaveV3BaseSepolia.sol +++ /dev/null @@ -1,130 +0,0 @@ -// 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 deleted file mode 100644 index 2c502eb9..00000000 --- a/src/MiscBaseSepolia.sol +++ /dev/null @@ -1,11 +0,0 @@ -// 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 e284cfa3..815539d4 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -30,7 +30,6 @@ 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'; @@ -47,7 +46,6 @@ 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 deleted file mode 100644 index 0f89cb44..00000000 --- a/src/ts/AaveV3BaseSepolia.ts +++ /dev/null @@ -1,91 +0,0 @@ -// 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 deleted file mode 100644 index f620d488..00000000 --- a/src/ts/MiscBaseSepolia.ts +++ /dev/null @@ -1,8 +0,0 @@ -// 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 a81e1d73..cc9605e7 100644 --- a/tokenlist.json +++ b/tokenlist.json @@ -22,8 +22,8 @@ "description": "Tokens that are wrapped into a 4626 Vault" } }, - "timestamp": "2024-02-29T12:31:00.440Z", - "version": { "major": 3, "minor": 0, "patch": 7 }, + "timestamp": "2024-02-21T09:06:48.186Z", + "version": { "major": 3, "minor": 0, "patch": 6 }, "tokens": [ { "chainId": 1, @@ -4937,46 +4937,6 @@ "underlying": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" } }, - { - "chainId": 84532, - "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", - "name": "USDC", - "decimals": 6, - "symbol": "USDC", - "tags": ["underlying"] - }, - { - "chainId": 84532, - "address": "0xf53B60F4006cab2b3C4688ce41fD5362427A2A66", - "name": "Aave Base Sepolia USDC", - "decimals": 6, - "symbol": "aBasSepUSDC", - "tags": ["aTokenV3", "aaveV3"], - "extensions": { - "pool": "0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b", - "underlying": "0x036CbD53842c5426634e7929541eC2318f3dCF7e" - } - }, - { - "chainId": 84532, - "address": "0x4200000000000000000000000000000000000006", - "name": "Wrapped Ether", - "decimals": 18, - "symbol": "WETH", - "tags": ["underlying"] - }, - { - "chainId": 84532, - "address": "0x96e32dE4B1d1617B8c2AE13a88B9cC287239b13f", - "name": "Aave Base Sepolia WETH", - "decimals": 18, - "symbol": "aBasSepWETH", - "tags": ["aTokenV3", "aaveV3"], - "extensions": { - "pool": "0x07eA79F68B2B3df564D0A34F8e19D9B1e339814b", - "underlying": "0x4200000000000000000000000000000000000006" - } - }, { "chainId": 1088, "address": "0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0", diff --git a/yarn.lock b/yarn.lock index 0a4560d0..f1154007 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,15 +7,15 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== -"@bgd-labs/js-utils@^@1.3.1": - version "1.3.1-6ccc11e9eb549f3c99f693d7eed254cbbc40465c.0" - resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.3.1-6ccc11e9eb549f3c99f693d7eed254cbbc40465c.0.tgz#2c8063b77ade112869b2ea24f8af2d4fe0424744" - integrity sha512-g7kMx4BttNVYdQa/eMYc0tULDDNiDZz+JumJP2Pw64D41OGijq8R+QUFvN5bZTJRf+gIvBMD+KwmZez8trfntw== +"@bgd-labs/js-utils@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@bgd-labs/js-utils/-/js-utils-1.2.1.tgz#01c9db4f046c2afa5db403a396f913e7a59c7f33" + integrity sha512-FvAeqjHFF0bi/TzN0FR3W97IBn9I4WJjMRWyUf/4fTSB0l2dLL1563fRok+i9con7T651imcg/YhiE7Gd9vKtQ== dependencies: - "@supercharge/promise-pool" "^3.1.1" + "@supercharge/promise-pool" "^3.1.0" bs58 "^5.0.0" gray-matter "^4.0.3" - tsx "^4.7.1" + tsx "^4.4.0" "@esbuild/aix-ppc64@0.19.10": version "0.19.10" @@ -296,10 +296,10 @@ dependencies: antlr4ts "^0.5.0-alpha.4" -"@supercharge/promise-pool@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@supercharge/promise-pool/-/promise-pool-3.1.1.tgz#237d4e151b8591e2ff4f0ae388f7d6b4741bacc0" - integrity sha512-TgCm6jVqMPv+OgD5uBNND/CkCwNDdXPQlcprtnXsWSBpTCy0q5CI6vRj+jsUiXE1xeRaKIX4UeaYJqzZBL92sg== +"@supercharge/promise-pool@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@supercharge/promise-pool/-/promise-pool-3.1.0.tgz#308b9f4d4bf1d607695f916d9454a3556cd4c2b4" + integrity sha512-gB3NukbIcYzRtPoE6dx9svQYPodxvnfQlaaQd8N/z87E6WaMfRE7o5HwB+LZ+KeM0nsNAq1n4TmBtfz1VCUR+Q== "@types/node@^20.10.5": version "20.10.5" @@ -1054,7 +1054,7 @@ tsup@^8.0.1: sucrase "^3.20.3" tree-kill "^1.2.2" -tsx@^4.7.0: +tsx@^4.4.0, tsx@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.7.0.tgz#1689cfe7dda495ca1f9a66d4cad79cb57b9f6f4a" integrity sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg== @@ -1064,16 +1064,6 @@ tsx@^4.7.0: optionalDependencies: fsevents "~2.3.3" -tsx@^4.7.1: - version "4.7.1" - resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.7.1.tgz#27af6cbf4e1cdfcb9b5425b1c61bb7e668eb5e84" - integrity sha512-8d6VuibXHtlN5E3zFkgY8u4DX7Y3Z27zvvPKVmLon/D4AjuKzarkUBTLDBgj9iTQ0hg5xM7c/mYiRVM+HETf0g== - dependencies: - esbuild "~0.19.10" - get-tsconfig "^4.7.2" - optionalDependencies: - fsevents "~2.3.3" - typescript@^5.3.3: version "5.3.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"