diff --git a/README.md b/README.md index 74ae0c68..e17cc74a 100644 --- a/README.md +++ b/README.md @@ -21,60 +21,18 @@ import {AaveV2Ethereum} from "aave-address-book/AaveV2Ethereum.sol"; import {AaveV3Avalanche} from "aave-address-book/AaveV3Avalanche.sol"; ``` -Included addresses: - -```sh -// v2 libraries -ILendingPoolAddressesProvider POOL_ADDRESSES_PROVIDER; -ILendingPool POOL; -ILendingPoolConfigurator POOL_CONFIGURATOR; -IAaveOracle ORACLE; -IAaveProtocolDataProvider AAVE_PROTOCOL_DATA_PROVIDER; -address POOL_ADMIN; -address EMERGENCY_ADMIN; -ICollector COLLECTOR; - -// v3 libraries -IPoolAddressesProvider POOL_ADDRESSES_PROVIDER; -IPool POOL; -IPoolConfigurator POOL_CONFIGURATOR; -IAaveOracle ORACLE; -IAaveProtocolDataProvider AAVE_PROTOCOL_DATA_PROVIDER; -IACLManager ACL_MANAGER; -address ACL_ADMIN; -ICollector COLLECTOR; -address DEFAULT_INCENTIVES_CONTROLLER; -address DEFAULT_A_TOKEN_IMPL_REV_1; -address DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1; -address DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1; -``` - **Import addresses and interfaces to interact with Governance:** ```sh import {AaveGovernanceV2} from "aave-address-book/AaveGovernanceV2.sol"; -``` - -Included addresses: +import {IGovernanceCore} from "aave-address-book/GovernanceV3.sol"; -```sh -IAaveGovernanceV2 GOV; -address SHORT_EXECUTOR; -address LONG_EXECUTOR; -address ARC_TIMELOCK; -``` - -**Import miscellaneous addresses and interfaces relevant to the aave protocol:** - -```sh -import {AaveMisc} from "aave-address-book/AaveMisc.sol"; ``` -Included addresses: +**Import miscellaneous network addresses and interfaces relevant to the aave protocol:** ```sh -IAaveEcosystemReserveController AAVE_ECOSYSTEM_RESERVE_CONTROLLER; -address ECOSYSTEM_RESERVE; +import {Misc} from "aave-address-book/Aave.sol"; ``` ### Production Recommendations diff --git a/scripts/configs/networks/arbitrum.ts b/scripts/configs/networks/arbitrum.ts index a21c5324..dc68d3d1 100644 --- a/scripts/configs/networks/arbitrum.ts +++ b/scripts/configs/networks/arbitrum.ts @@ -4,5 +4,10 @@ import {NetworkAddresses} from '../types'; export const arbitrumAddresses: NetworkAddresses = { name: 'Arbitrum', chainId: ChainId.arbitrum_one, - addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, + addresses: { + PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', + TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', + PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', + CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', + }, }; diff --git a/scripts/configs/networks/avalanche.ts b/scripts/configs/networks/avalanche.ts index 503cba09..e7e30c41 100644 --- a/scripts/configs/networks/avalanche.ts +++ b/scripts/configs/networks/avalanche.ts @@ -4,5 +4,10 @@ import {NetworkAddresses} from '../types'; export const avalancheAddresses: NetworkAddresses = { name: 'Avalanche', chainId: ChainId.avalanche, - addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, + addresses: { + PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', + TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', + PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', + CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', + }, }; diff --git a/scripts/configs/networks/base.ts b/scripts/configs/networks/base.ts index 7ee7eb40..01365222 100644 --- a/scripts/configs/networks/base.ts +++ b/scripts/configs/networks/base.ts @@ -4,5 +4,10 @@ import {NetworkAddresses} from '../types'; export const baseAddresses: NetworkAddresses = { name: 'Base', chainId: ChainId.base, - addresses: {PARASWAP_FEE_CLAIMER: '0xAe940e61E9863178b71500c9B5faE2a04Da361a1'}, + addresses: { + PARASWAP_FEE_CLAIMER: '0xAe940e61E9863178b71500c9B5faE2a04Da361a1', + TRANSPARENT_PROXY_FACTORY: '0x05225Cd708bCa9253789C1374e4337a019e99D56', + PROXY_ADMIN: '0xc85b1E333aecc99340b2320493Fe2d22b8734795', + CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', + }, }; diff --git a/scripts/configs/networks/bnb.ts b/scripts/configs/networks/bnb.ts new file mode 100644 index 00000000..f86ecfcf --- /dev/null +++ b/scripts/configs/networks/bnb.ts @@ -0,0 +1,12 @@ +import {ChainId} from '../../generator/chains'; +import {NetworkAddresses} from '../types'; + +export const bnbAddresses: NetworkAddresses = { + name: 'BNB', + chainId: ChainId.bnb, + addresses: { + TRANSPARENT_PROXY_FACTORY: '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A', + PROXY_ADMIN: '0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c', + CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', + }, +}; diff --git a/scripts/configs/networks/ethereum.ts b/scripts/configs/networks/ethereum.ts index 6b0585c9..fe9d0427 100644 --- a/scripts/configs/networks/ethereum.ts +++ b/scripts/configs/networks/ethereum.ts @@ -1,8 +1,28 @@ +import {Hex} from 'viem'; import {ChainId} from '../../generator/chains'; -import {NetworkAddresses} from '../types'; +import {AddressInfo, NetworkAddresses} from '../types'; -export const ethereumAddresses: NetworkAddresses = { +export const ethereumAddresses: NetworkAddresses<{ + ECOSYSTEM_RESERVE: Hex; + AAVE_ECOSYSTEM_RESERVE_CONTROLLER: AddressInfo; + PROXY_ADMIN_LONG: Hex; + AAVE_SWAPPER: Hex; + AAVE_POL_ETH_BRIDGE: Hex; +}> = { name: 'Ethereum', chainId: ChainId.mainnet, - addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, + addresses: { + AAVE_ECOSYSTEM_RESERVE_CONTROLLER: { + value: '0x3d569673dAa0575c936c7c67c4E6AedA69CC630C', + type: 'IAaveEcosystemReserveController', + }, + ECOSYSTEM_RESERVE: '0x25F2226B597E8F9514B3F68F00f494cF4f286491', + PROXY_ADMIN_LONG: '0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517', + AAVE_SWAPPER: '0x3ea64b1C0194524b48F9118462C8E9cd61a243c7', + AAVE_POL_ETH_BRIDGE: '0xc928002904Ec475663A83063D492EA2aE09EbDA1', + PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', + TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', + PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', + CREATE_3_FACTORY: '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7', + }, }; diff --git a/scripts/configs/networks/metis.ts b/scripts/configs/networks/metis.ts new file mode 100644 index 00000000..725135ac --- /dev/null +++ b/scripts/configs/networks/metis.ts @@ -0,0 +1,12 @@ +import {ChainId} from '../../generator/chains'; +import {NetworkAddresses} from '../types'; + +export const metisAddresses: NetworkAddresses = { + name: 'Metis', + chainId: ChainId.metis, + addresses: { + TRANSPARENT_PROXY_FACTORY: '0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB', + PROXY_ADMIN: '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97', + CREATE_3_FACTORY: '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A', + }, +}; diff --git a/scripts/configs/networks/optimism.ts b/scripts/configs/networks/optimism.ts index c6892ade..fc72835f 100644 --- a/scripts/configs/networks/optimism.ts +++ b/scripts/configs/networks/optimism.ts @@ -4,5 +4,10 @@ import {NetworkAddresses} from '../types'; export const optimismAddresses: NetworkAddresses = { name: 'Optimism', chainId: ChainId.optimism, - addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, + addresses: { + PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', + TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', + PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', + CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', + }, }; diff --git a/scripts/configs/networks/polygon.ts b/scripts/configs/networks/polygon.ts index b1d449ca..ac735bdc 100644 --- a/scripts/configs/networks/polygon.ts +++ b/scripts/configs/networks/polygon.ts @@ -1,8 +1,15 @@ +import {Hex} from 'viem'; import {ChainId} from '../../generator/chains'; import {NetworkAddresses} from '../types'; -export const polygonAddresses: NetworkAddresses = { +export const polygonAddresses: NetworkAddresses<{AAVE_POL_ETH_BRIDGE: Hex}> = { name: 'Polygon', chainId: ChainId.polygon, - addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, + addresses: { + AAVE_POL_ETH_BRIDGE: '0xc928002904Ec475663A83063D492EA2aE09EbDA1', + PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', + TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', + PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', + CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', + }, }; diff --git a/scripts/configs/pools/arbitrum.ts b/scripts/configs/pools/arbitrum.ts index 0acd44ce..045678a8 100644 --- a/scripts/configs/pools/arbitrum.ts +++ b/scripts/configs/pools/arbitrum.ts @@ -23,7 +23,7 @@ export const arbitrumProtoV3: PoolConfig = { CAPS_PLUS_RISK_STEWARD: '0xADf86b537eF08591c2777E144322E8b0Ca7E82a7', DEBT_SWAP_ADAPTER: '0x9E8e9D6b0D24216F59043db68BDda1620892f549', L2_ENCODER: '0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC', - LISTING_ENGINE: '0x0EfdfC1A940DE4E7E6acC9Bb801481f81B17fd20', + CONFIG_ENGINE: '0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6', RATES_FACTORY: '0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896', REPAY_WITH_COLLATERAL_ADAPTER: '0x28201C152DC5B69A86FA54FCfd21bcA4C0eff3BA', diff --git a/scripts/configs/pools/avalanche.ts b/scripts/configs/pools/avalanche.ts index d117ffd2..6c4c4aaa 100644 --- a/scripts/configs/pools/avalanche.ts +++ b/scripts/configs/pools/avalanche.ts @@ -34,7 +34,7 @@ export const avalancheProtoV2: PoolConfig = { POOL_ADDRESSES_PROVIDER: '0xb6A86025F0FE1862B372cb0ca18CE3EDe02A318f', additionalAddresses: { DEBT_SWAP_ADAPTER: '0xc1D40f4cF36e4aE4108Ffa08818cD16c2d9aEF73', - LISTING_ENGINE: '0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c', + CONFIG_ENGINE: '0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c', MIGRATION_HELPER: '0xf50a080aC535e531EC33cC05b227E910De2fb1fA', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x4235E22d9C3f28DCDA82b58276cb6370B01265C2', PROOF_OF_RESERVE: '0x7fc3FCb14eF04A48Bb0c12f0c39CD74C249c37d8', @@ -56,7 +56,7 @@ export const avalancheProtoV3: PoolConfig = { additionalAddresses: { CAPS_PLUS_RISK_STEWARD: '0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5', DEBT_SWAP_ADAPTER: '0x8A9b2c132EA7676EE267F5b97b622083d6E3a2d4', - LISTING_ENGINE: '0x49581e5575F49263f556b91daf8fb41D7854D94B', + CONFIG_ENGINE: '0x0587B66Bc824368cFA5849bc56216a59260Df2c5', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6', PROOF_OF_RESERVE: '0xab22988D93d5F942fC6B6c6Ea285744809D1d9Cc', PROOF_OF_RESERVE_AGGREGATOR: '0x80f2c02224a2E548FC67c0bF705eBFA825dd5439', diff --git a/scripts/configs/pools/base.ts b/scripts/configs/pools/base.ts index 4877632b..67c37c36 100644 --- a/scripts/configs/pools/base.ts +++ b/scripts/configs/pools/base.ts @@ -11,7 +11,7 @@ export const baseProtoV3: PoolConfig = { WITHDRAW_SWAP_ADAPTER: '0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9', SWAP_COLLATERAL_ADAPTER: '0x2E549104c516b8657A7D888494DfbAbD7C70b464', REPAY_WITH_COLLATERAL_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0', - LISTING_ENGINE: '0xc7751400F809cdB0C167F87985083C558a0610F7', + CONFIG_ENGINE: '0xc7751400F809cdB0C167F87985083C558a0610F7', RATES_FACTORY: '0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832', L2_ENCODER: '0x39e97c588B2907Fb67F44fea256Ae3BA064207C5', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x2f6571d3Eb9a4e350C68C36bCD2afe39530078E2', diff --git a/scripts/configs/pools/ethereum.ts b/scripts/configs/pools/ethereum.ts index 697b005a..7973d8fa 100644 --- a/scripts/configs/pools/ethereum.ts +++ b/scripts/configs/pools/ethereum.ts @@ -47,7 +47,7 @@ export const mainnetProtoV2Pool: PoolConfig = { POOL_ADDRESSES_PROVIDER: '0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5', additionalAddresses: { DEBT_SWAP_ADAPTER: '0x6A6FA664D4Fa49a6a780a1D6143f079f8dd7C33d', - LISTING_ENGINE: '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9', + CONFIG_ENGINE: '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9', MIGRATION_HELPER: '0xb748952c7bc638f31775245964707bcc5ddfabfc', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x52D306e36E3B6B02c153d0266ff0f85d18BCD413', RATES_FACTORY: '0xbD37610BBB1ddc2a22797F7e3f531B59902b7bA7', @@ -65,7 +65,7 @@ export const mainnetAmmV2Pool: PoolConfig = { chainId: ChainId.mainnet, POOL_ADDRESSES_PROVIDER: '0xacc030ef66f9dfeae9cbb0cd1b25654b82cfa8d5', additionalAddresses: { - LISTING_ENGINE: '0xcfC26009618ec2Ca8787180116a37Caa354a465C', + CONFIG_ENGINE: '0xcfC26009618ec2Ca8787180116a37Caa354a465C', MIGRATION_HELPER: '0x3cd1dFB81C50A5300C60a181ED145a7286d81e0a', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x52D306e36E3B6B02c153d0266ff0f85d18BCD413', RATES_FACTORY: '0x6e4D068105052C3877116DCF86f5FF36B7eCa2B8', @@ -94,7 +94,7 @@ export const mainnetProtoV3Pool: PoolConfig = { DEBT_SWAP_ADAPTER: '0x8761e0370f94f68Db8EaA731f4fC581f6AD0Bd68', DELEGATION_AWARE_A_TOKEN_IMPL_REV_1: '0x21714092D90c7265F52fdfDae068EC11a23C6248', GHO_TOKEN: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f', - LISTING_ENGINE: '0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07', + CONFIG_ENGINE: '0xA3e44d830440dF5098520F62Ebec285B1198c51E', POOL_ADDRESSES_PROVIDER_REGISTRY: '0xbaA999AC55EAce41CcAE355c77809e68Bb345170', RATES_FACTORY: '0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896', REPAY_WITH_COLLATERAL_ADAPTER: '0x02e7B8511831B1b02d9018215a0f8f500Ea5c6B3', diff --git a/scripts/configs/pools/metis.ts b/scripts/configs/pools/metis.ts index da2bf055..591aa0c4 100644 --- a/scripts/configs/pools/metis.ts +++ b/scripts/configs/pools/metis.ts @@ -8,7 +8,7 @@ export const metisProtoV3: PoolConfig = { additionalAddresses: { CAPS_PLUS_RISK_STEWARD: '0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731', L2_ENCODER: '0x9f3A1B399A9074eBA63Dc4fc274bE2A2b2d80cB9', - LISTING_ENGINE: '0x857720ad258db0ACb180e76A5526c72CFCe6F8A7', + CONFIG_ENGINE: '0x8be473dCfA93132658821E67CbEB684ec8Ea2E74', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x9E7B73ffD9D2026F3ff4212c29E209E09C8A91F5', RATES_FACTORY: '0x87Aaba7cf8e1F319d0E3402d68017171201dEcd5', UI_INCENTIVE_DATA_PROVIDER: '0x3e7BC5EcE0f22DbB16c3e3EeA288a10A57d68927', diff --git a/scripts/configs/pools/optimism.ts b/scripts/configs/pools/optimism.ts index a684c72b..492a2742 100644 --- a/scripts/configs/pools/optimism.ts +++ b/scripts/configs/pools/optimism.ts @@ -23,7 +23,7 @@ export const optimismProtoV3: PoolConfig = { CAPS_PLUS_RISK_STEWARD: '0x5E76E98E0963EcDC6A065d1435F84065b7523f39', DEBT_SWAP_ADAPTER: '0xcFaE0D8c5707FCc6478D6a65fFA31efADeF8b8EC', L2_ENCODER: '0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC', - LISTING_ENGINE: '0x7A9A9c14B35E58ffa1cC84aB421acE0FdcD289E3', + CONFIG_ENGINE: '0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6', RATES_FACTORY: '0xDd81E6F85358292075B78fc8D5830BE8434aF8BA', REPAY_WITH_COLLATERAL_ADAPTER: '0xa12734e64417f61f8442E7D5132EdBFdbDDeF0fa', diff --git a/scripts/configs/pools/polygon.ts b/scripts/configs/pools/polygon.ts index 6023be04..45813f2b 100644 --- a/scripts/configs/pools/polygon.ts +++ b/scripts/configs/pools/polygon.ts @@ -34,7 +34,7 @@ export const polygonProtoV2: PoolConfig = { POOL_ADDRESSES_PROVIDER: '0xd05e3E715d945B59290df0ae8eF85c1BdB684744', additionalAddresses: { DEBT_SWAP_ADAPTER: '0x1E623A311948b531B07B6EA7CC34a9A2bCADADd0', - LISTING_ENGINE: '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9', + CONFIG_ENGINE: '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9', MIGRATION_HELPER: '0x3db487975aB1728DB5787b798866c2021B24ec52', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x3ac4e9aa29940770aeC38fe853a4bbabb2dA9C19', RATES_FACTORY: '0xD05003a24A17d9117B11eC04cF9743b050779c08', @@ -54,7 +54,7 @@ export const polygonProtoV3: PoolConfig = { additionalAddresses: { CAPS_PLUS_RISK_STEWARD: '0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f', DEBT_SWAP_ADAPTER: '0xb58Fd91558fa213D97Ac94C97F831c7289278084', - LISTING_ENGINE: '0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07', + CONFIG_ENGINE: '0xfFD6F13c9574bedb3f4E131e9C4320186AF83c1D', POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6', RATES_FACTORY: '0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896', REPAY_WITH_COLLATERAL_ADAPTER: '0xE3090207A2de94A856EA10a7e1Bd36dD6145712B', diff --git a/scripts/configs/types.ts b/scripts/configs/types.ts index 8b3a3475..5697099a 100644 --- a/scripts/configs/types.ts +++ b/scripts/configs/types.ts @@ -46,7 +46,7 @@ export interface PoolConfig { DEBT_SWAP_ADAPTER?: Hex; WITHDRAW_SWAP_ADAPTER?: Hex; POOL_ADDRESSES_PROVIDER_REGISTRY?: Hex; - LISTING_ENGINE?: Hex; + CONFIG_ENGINE?: Hex; MIGRATION_HELPER?: Hex; UI_POOL_DATA_PROVIDER?: Hex; UI_INCENTIVE_DATA_PROVIDER?: Hex; @@ -86,11 +86,14 @@ export type ReserveData = { /** * @dev config for addresses that belong more to a network then to a specific pool */ -export interface NetworkAddresses { +export interface NetworkAddresses = {}> { name: string; chainId: ChainId; addresses: { // https://github.com/bgd-labs/aave-paraswap-claimer PARASWAP_FEE_CLAIMER?: Hex; - }; + TRANSPARENT_PROXY_FACTORY?: Hex; + PROXY_ADMIN?: Hex; + CREATE_3_FACTORY?: Hex; + } & T; } diff --git a/scripts/generateAddresses.ts b/scripts/generateAddresses.ts index c55ac112..a31857f6 100644 --- a/scripts/generateAddresses.ts +++ b/scripts/generateAddresses.ts @@ -31,7 +31,6 @@ import {scrollAlphaProtoV3, scrollSepoliaProtoV3} from './configs/pools/scroll'; import {generateGovernanceLibrary} from './generator/governanceV3Generator'; import {generateProtocolV2Library} from './generator/protocolV2Generator'; import {generateProtocolV3Library} from './generator/protocolV3Generator'; -import {generateMisc} from './generator/miscGenerator'; import {generateGovV2} from './generator/governanceV2Generator'; import {prefixWithGeneratedWarning, prefixWithPragma} from './generator/utils'; import {generateSafetyModule} from './generator/safetyModuleGenerator'; @@ -51,6 +50,7 @@ import {ethereumAddresses} from './configs/networks/ethereum'; import {polygonAddresses} from './configs/networks/polygon'; import {fantomAddresses} from './configs/networks/fantom'; import {optimismAddresses} from './configs/networks/optimism'; +import {metisAddresses} from './configs/networks/metis'; async function main() { // cleanup ts artifacts @@ -122,10 +122,9 @@ async function main() { fantomAddresses, optimismAddresses, polygonAddresses, + metisAddresses, ].map((addresses) => generateNetworkAddresses(addresses)); - const miscImports = generateMisc(); - const govImports = generateGovV2(); const smImports = generateSafetyModule(); @@ -137,7 +136,6 @@ async function main() { v2LibraryNames, v3LibraryNames, networkAddresses, - miscImports, govImports, smImports, abis, diff --git a/scripts/generator/clients.ts b/scripts/generator/clients.ts index 1dcfcb18..e3e87ad3 100644 --- a/scripts/generator/clients.ts +++ b/scripts/generator/clients.ts @@ -26,7 +26,6 @@ export const RPC_PROVIDERS = { [ChainId.mainnet]: createPublicClient({ chain: mainnet, transport: fallback([ - http('https://eth.llamarpc.com'), http('https://ethereum.publicnode.com'), http('https://cloudflare-eth.com'), ]), diff --git a/scripts/generator/miscGenerator.ts b/scripts/generator/miscGenerator.ts deleted file mode 100644 index 4a560355..00000000 --- a/scripts/generator/miscGenerator.ts +++ /dev/null @@ -1,160 +0,0 @@ -import * as fs from 'fs'; -import {Addresses} from '../configs/types'; -import { - generateJsConstants, - generateSolidityConstants, - prefixWithGeneratedWarning, - prefixWithPragma, - wrapIntoSolidityLibrary, -} from './utils'; -import {ChainId} from './chains'; - -const miscAddresses: Addresses = { - ECOSYSTEM_RESERVE: '0x25F2226B597E8F9514B3F68F00f494cF4f286491', - AAVE_ECOSYSTEM_RESERVE_CONTROLLER: { - value: '0x3d569673dAa0575c936c7c67c4E6AedA69CC630C', - type: 'IAaveEcosystemReserveController', - }, - TRANSPARENT_PROXY_FACTORY_ETHEREUM: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', - PROXY_ADMIN_ETHEREUM: '0xD3cF979e676265e4f6379749DECe4708B9A22476', - CREATE_3_FACTORY_ETHEREUM: '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7', - PROXY_ADMIN_ETHEREUM_LONG: '0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517', - TRANSPARENT_PROXY_FACTORY_BINANCE: { - chainId: ChainId.binance, - type: 'address', - value: '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A', - }, - PROXY_ADMIN_BINANCE: { - chainId: ChainId.binance, - type: 'address', - value: '0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c', - }, - CREATE_3_FACTORY_BINANCE: { - chainId: ChainId.binance, - type: 'address', - value: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', - }, - TRANSPARENT_PROXY_FACTORY_POLYGON: { - chainId: ChainId.polygon, - type: 'address', - value: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', - }, - PROXY_ADMIN_POLYGON: { - chainId: ChainId.polygon, - type: 'address', - value: '0xD3cF979e676265e4f6379749DECe4708B9A22476', - }, - CREATE_3_FACTORY_POLYGON: { - chainId: ChainId.polygon, - type: 'address', - value: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', - }, - TRANSPARENT_PROXY_FACTORY_AVALANCHE: { - chainId: ChainId.avalanche, - type: 'address', - value: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', - }, - PROXY_ADMIN_AVALANCHE: { - chainId: ChainId.avalanche, - type: 'address', - value: '0xD3cF979e676265e4f6379749DECe4708B9A22476', - }, - CREATE_3_FACTORY_AVALANCHE: { - chainId: ChainId.avalanche, - type: 'address', - value: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', - }, - TRANSPARENT_PROXY_FACTORY_OPTIMISM: { - chainId: ChainId.optimism, - type: 'address', - value: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', - }, - PROXY_ADMIN_OPTIMISM: { - chainId: ChainId.optimism, - type: 'address', - value: '0xD3cF979e676265e4f6379749DECe4708B9A22476', - }, - CREATE_3_FACTORY_OPTIMISM: { - chainId: ChainId.optimism, - type: 'address', - value: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', - }, - TRANSPARENT_PROXY_FACTORY_ARBITRUM: { - chainId: ChainId.arbitrum_one, - type: 'address', - value: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', - }, - PROXY_ADMIN_ARBITRUM: { - chainId: ChainId.arbitrum_one, - type: 'address', - value: '0xD3cF979e676265e4f6379749DECe4708B9A22476', - }, - CREATE_3_FACTORY_ARBITRUM: { - chainId: ChainId.arbitrum_one, - type: 'address', - value: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', - }, - TRANSPARENT_PROXY_FACTORY_METIS: { - chainId: ChainId.metis, - type: 'address', - value: '0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB', - }, - PROXY_ADMIN_METIS: { - chainId: ChainId.metis, - type: 'address', - value: '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97', - }, - CREATE_3_FACTORY_METIS: { - chainId: ChainId.metis, - type: 'address', - value: '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A', - }, - TRANSPARENT_PROXY_FACTORY_BASE: { - chainId: ChainId.base, - type: 'address', - value: '0x05225Cd708bCa9253789C1374e4337a019e99D56', - }, - PROXY_ADMIN_BASE: { - chainId: ChainId.base, - type: 'address', - value: '0xc85b1E333aecc99340b2320493Fe2d22b8734795', - }, - CREATE_3_FACTORY_BASE: { - chainId: ChainId.base, - type: 'address', - value: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', - }, - AAVE_SWAPPER_ETHEREUM: '0x3ea64b1C0194524b48F9118462C8E9cd61a243c7', - AAVE_POL_ETH_BRIDGE: '0xc928002904Ec475663A83063D492EA2aE09EbDA1', -}; - -export function generateMisc() { - const name = 'AaveMisc'; - - fs.writeFileSync( - `./src/AaveMisc.sol`, - prefixWithGeneratedWarning( - prefixWithPragma( - `import {IAaveEcosystemReserveController} from './common/IAaveEcosystemReserveController.sol';\n` + - `import {IStreamable} from './common/IStreamable.sol';\n` + - wrapIntoSolidityLibrary( - generateSolidityConstants({chainId: ChainId.mainnet, addresses: miscAddresses}), - name, - ), - ), - ), - ); - fs.writeFileSync( - `./src/ts/AaveMisc.ts`, - prefixWithGeneratedWarning( - generateJsConstants({chainId: ChainId.mainnet, addresses: miscAddresses}).join('\n'), - ), - ); - return { - js: [`export * as ${name} from './${name}';`], - solidity: [ - `import {IAaveEcosystemReserveController, AaveMisc} from './AaveMisc.sol';`, - `import {${name}} from './${name}.sol';`, - ], - }; -} diff --git a/scripts/generator/networkGenerator.ts b/scripts/generator/networkGenerator.ts index 1fadff9f..3ca2f192 100644 --- a/scripts/generator/networkGenerator.ts +++ b/scripts/generator/networkGenerator.ts @@ -8,19 +8,23 @@ import { wrapIntoSolidityLibrary, } from './utils'; -export function generateNetworkAddresses(config: NetworkAddresses) { +export function generateNetworkAddresses(config: NetworkAddresses) { const name = `Misc${config.name}`; + let solidityLibrary = wrapIntoSolidityLibrary( + generateSolidityConstants({chainId: config.chainId, addresses: config.addresses}), + name, + ); + + if (/IAaveEcosystemReserveController/g.test(solidityLibrary)) + solidityLibrary = + `import {IAaveEcosystemReserveController} from './common/IAaveEcosystemReserveController.sol';\n` + + `import {IStreamable} from './common/IStreamable.sol';\n` + + solidityLibrary; + fs.writeFileSync( `./src/${name}.sol`, - prefixWithGeneratedWarning( - prefixWithPragma( - wrapIntoSolidityLibrary( - generateSolidityConstants({chainId: config.chainId, addresses: config.addresses}), - name, - ), - ), - ), + prefixWithGeneratedWarning(prefixWithPragma(solidityLibrary)), ); fs.writeFileSync( `./src/ts/${name}.ts`, diff --git a/src/AaveAddressBook.sol b/src/AaveAddressBook.sol index ff9e95a2..83f59514 100644 --- a/src/AaveAddressBook.sol +++ b/src/AaveAddressBook.sol @@ -46,8 +46,7 @@ import {MiscEthereum} from './MiscEthereum.sol'; import {MiscFantom} from './MiscFantom.sol'; import {MiscOptimism} from './MiscOptimism.sol'; import {MiscPolygon} from './MiscPolygon.sol'; -import {IAaveEcosystemReserveController, AaveMisc} from './AaveMisc.sol'; -import {AaveMisc} from './AaveMisc.sol'; +import {MiscMetis} from './MiscMetis.sol'; import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol'; import {AaveGovernanceV2} from './AaveGovernanceV2.sol'; import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol'; diff --git a/src/AaveMisc.sol b/src/AaveMisc.sol deleted file mode 100644 index 8d0028c3..00000000 --- a/src/AaveMisc.sol +++ /dev/null @@ -1,104 +0,0 @@ -// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR -// SPDX-License-Identifier: MIT -pragma solidity >=0.6.0; - -import {IAaveEcosystemReserveController} from './common/IAaveEcosystemReserveController.sol'; -import {IStreamable} from './common/IStreamable.sol'; - -library AaveMisc { - // https://etherscan.io/address/0x25F2226B597E8F9514B3F68F00f494cF4f286491 - address internal constant ECOSYSTEM_RESERVE = 0x25F2226B597E8F9514B3F68F00f494cF4f286491; - - // https://etherscan.io/address/0x3d569673dAa0575c936c7c67c4E6AedA69CC630C - IAaveEcosystemReserveController internal constant AAVE_ECOSYSTEM_RESERVE_CONTROLLER = - IAaveEcosystemReserveController(0x3d569673dAa0575c936c7c67c4E6AedA69CC630C); - - // https://etherscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 - address internal constant TRANSPARENT_PROXY_FACTORY_ETHEREUM = - 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; - - // https://etherscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 - address internal constant PROXY_ADMIN_ETHEREUM = 0xD3cF979e676265e4f6379749DECe4708B9A22476; - - // https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7 - address internal constant CREATE_3_FACTORY_ETHEREUM = 0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7; - - // https://etherscan.io/address/0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517 - address internal constant PROXY_ADMIN_ETHEREUM_LONG = 0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517; - - // https://etherscan.io/address/0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A - address internal constant TRANSPARENT_PROXY_FACTORY_BINANCE = - 0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A; - - // https://etherscan.io/address/0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c - address internal constant PROXY_ADMIN_BINANCE = 0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c; - - // https://etherscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 - address internal constant CREATE_3_FACTORY_BINANCE = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; - - // https://polygonscan.com/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 - address internal constant TRANSPARENT_PROXY_FACTORY_POLYGON = - 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; - - // https://polygonscan.com/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 - address internal constant PROXY_ADMIN_POLYGON = 0xD3cF979e676265e4f6379749DECe4708B9A22476; - - // https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 - address internal constant CREATE_3_FACTORY_POLYGON = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; - - // https://snowtrace.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 - address internal constant TRANSPARENT_PROXY_FACTORY_AVALANCHE = - 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; - - // https://snowtrace.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 - address internal constant PROXY_ADMIN_AVALANCHE = 0xD3cF979e676265e4f6379749DECe4708B9A22476; - - // https://snowtrace.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 - address internal constant CREATE_3_FACTORY_AVALANCHE = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; - - // https://explorer.optimism.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 - address internal constant TRANSPARENT_PROXY_FACTORY_OPTIMISM = - 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; - - // https://explorer.optimism.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 - address internal constant PROXY_ADMIN_OPTIMISM = 0xD3cF979e676265e4f6379749DECe4708B9A22476; - - // https://explorer.optimism.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 - address internal constant CREATE_3_FACTORY_OPTIMISM = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; - - // https://arbiscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 - address internal constant TRANSPARENT_PROXY_FACTORY_ARBITRUM = - 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; - - // https://arbiscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 - address internal constant PROXY_ADMIN_ARBITRUM = 0xD3cF979e676265e4f6379749DECe4708B9A22476; - - // https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 - address internal constant CREATE_3_FACTORY_ARBITRUM = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; - - // https://andromeda-explorer.metis.io/address/0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB - address internal constant TRANSPARENT_PROXY_FACTORY_METIS = - 0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB; - - // https://andromeda-explorer.metis.io/address/0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97 - address internal constant PROXY_ADMIN_METIS = 0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97; - - // https://andromeda-explorer.metis.io/address/0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A - address internal constant CREATE_3_FACTORY_METIS = 0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A; - - // https://basescan.org/address/0x05225Cd708bCa9253789C1374e4337a019e99D56 - address internal constant TRANSPARENT_PROXY_FACTORY_BASE = - 0x05225Cd708bCa9253789C1374e4337a019e99D56; - - // https://basescan.org/address/0xc85b1E333aecc99340b2320493Fe2d22b8734795 - address internal constant PROXY_ADMIN_BASE = 0xc85b1E333aecc99340b2320493Fe2d22b8734795; - - // https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 - address internal constant CREATE_3_FACTORY_BASE = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; - - // https://etherscan.io/address/0x3ea64b1C0194524b48F9118462C8E9cd61a243c7 - address internal constant AAVE_SWAPPER_ETHEREUM = 0x3ea64b1C0194524b48F9118462C8E9cd61a243c7; - - // https://etherscan.io/address/0xc928002904Ec475663A83063D492EA2aE09EbDA1 - address internal constant AAVE_POL_ETH_BRIDGE = 0xc928002904Ec475663A83063D492EA2aE09EbDA1; -} diff --git a/src/AaveV2Avalanche.sol b/src/AaveV2Avalanche.sol index 48c059be..04907e4a 100644 --- a/src/AaveV2Avalanche.sol +++ b/src/AaveV2Avalanche.sol @@ -48,7 +48,7 @@ library AaveV2Avalanche { address internal constant DEBT_SWAP_ADAPTER = 0xc1D40f4cF36e4aE4108Ffa08818cD16c2d9aEF73; // https://snowtrace.io/address/0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c - address internal constant LISTING_ENGINE = 0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c; + address internal constant CONFIG_ENGINE = 0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c; // https://snowtrace.io/address/0xf50a080aC535e531EC33cC05b227E910De2fb1fA address internal constant MIGRATION_HELPER = 0xf50a080aC535e531EC33cC05b227E910De2fb1fA; diff --git a/src/AaveV2Ethereum.sol b/src/AaveV2Ethereum.sol index 3e65ad83..7c214510 100644 --- a/src/AaveV2Ethereum.sol +++ b/src/AaveV2Ethereum.sol @@ -48,7 +48,7 @@ library AaveV2Ethereum { address internal constant DEBT_SWAP_ADAPTER = 0x6A6FA664D4Fa49a6a780a1D6143f079f8dd7C33d; // https://etherscan.io/address/0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9 - address internal constant LISTING_ENGINE = 0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9; + address internal constant CONFIG_ENGINE = 0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9; // https://etherscan.io/address/0xB748952c7BC638F31775245964707Bcc5DDFabFC address internal constant MIGRATION_HELPER = 0xB748952c7BC638F31775245964707Bcc5DDFabFC; diff --git a/src/AaveV2EthereumAMM.sol b/src/AaveV2EthereumAMM.sol index 4bf39bb3..2e92cd2a 100644 --- a/src/AaveV2EthereumAMM.sol +++ b/src/AaveV2EthereumAMM.sol @@ -45,7 +45,7 @@ library AaveV2EthereumAMM { address internal constant EMISSION_MANAGER = 0x0000000000000000000000000000000000000000; // https://etherscan.io/address/0xcfC26009618ec2Ca8787180116a37Caa354a465C - address internal constant LISTING_ENGINE = 0xcfC26009618ec2Ca8787180116a37Caa354a465C; + address internal constant CONFIG_ENGINE = 0xcfC26009618ec2Ca8787180116a37Caa354a465C; // https://etherscan.io/address/0x3cd1dFB81C50A5300C60a181ED145a7286d81e0a address internal constant MIGRATION_HELPER = 0x3cd1dFB81C50A5300C60a181ED145a7286d81e0a; diff --git a/src/AaveV2Polygon.sol b/src/AaveV2Polygon.sol index a88b50e6..2c147069 100644 --- a/src/AaveV2Polygon.sol +++ b/src/AaveV2Polygon.sol @@ -48,7 +48,7 @@ library AaveV2Polygon { address internal constant DEBT_SWAP_ADAPTER = 0x1E623A311948b531B07B6EA7CC34a9A2bCADADd0; // https://polygonscan.com/address/0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9 - address internal constant LISTING_ENGINE = 0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9; + address internal constant CONFIG_ENGINE = 0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9; // https://polygonscan.com/address/0x3db487975aB1728DB5787b798866c2021B24ec52 address internal constant MIGRATION_HELPER = 0x3db487975aB1728DB5787b798866c2021B24ec52; diff --git a/src/AaveV3Arbitrum.sol b/src/AaveV3Arbitrum.sol index 6c74788d..949540fa 100644 --- a/src/AaveV3Arbitrum.sol +++ b/src/AaveV3Arbitrum.sol @@ -64,8 +64,8 @@ library AaveV3Arbitrum { // https://arbiscan.io/address/0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC address internal constant L2_ENCODER = 0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC; - // https://arbiscan.io/address/0x0EfdfC1A940DE4E7E6acC9Bb801481f81B17fd20 - address internal constant LISTING_ENGINE = 0x0EfdfC1A940DE4E7E6acC9Bb801481f81B17fd20; + // https://arbiscan.io/address/0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f + address internal constant CONFIG_ENGINE = 0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f; // https://arbiscan.io/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = diff --git a/src/AaveV3Avalanche.sol b/src/AaveV3Avalanche.sol index 4a9902b6..78aed2f9 100644 --- a/src/AaveV3Avalanche.sol +++ b/src/AaveV3Avalanche.sol @@ -61,8 +61,8 @@ library AaveV3Avalanche { // https://snowtrace.io/address/0x8A9b2c132EA7676EE267F5b97b622083d6E3a2d4 address internal constant DEBT_SWAP_ADAPTER = 0x8A9b2c132EA7676EE267F5b97b622083d6E3a2d4; - // https://snowtrace.io/address/0x49581e5575F49263f556b91daf8fb41D7854D94B - address internal constant LISTING_ENGINE = 0x49581e5575F49263f556b91daf8fb41D7854D94B; + // https://snowtrace.io/address/0x0587B66Bc824368cFA5849bc56216a59260Df2c5 + address internal constant CONFIG_ENGINE = 0x0587B66Bc824368cFA5849bc56216a59260Df2c5; // https://snowtrace.io/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = diff --git a/src/AaveV3Base.sol b/src/AaveV3Base.sol index faf3c850..d147474a 100644 --- a/src/AaveV3Base.sol +++ b/src/AaveV3Base.sol @@ -72,7 +72,7 @@ library AaveV3Base { 0x78F8Bd884C3D738B74B420540659c82f392820e0; // https://basescan.org/address/0xc7751400F809cdB0C167F87985083C558a0610F7 - address internal constant LISTING_ENGINE = 0xc7751400F809cdB0C167F87985083C558a0610F7; + address internal constant CONFIG_ENGINE = 0xc7751400F809cdB0C167F87985083C558a0610F7; // https://basescan.org/address/0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832 address internal constant RATES_FACTORY = 0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832; diff --git a/src/AaveV3Ethereum.sol b/src/AaveV3Ethereum.sol index 3b1cbd31..232d249d 100644 --- a/src/AaveV3Ethereum.sol +++ b/src/AaveV3Ethereum.sol @@ -68,8 +68,8 @@ library AaveV3Ethereum { // https://etherscan.io/address/0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f address internal constant GHO_TOKEN = 0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f; - // https://etherscan.io/address/0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07 - address internal constant LISTING_ENGINE = 0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07; + // https://etherscan.io/address/0xA3e44d830440dF5098520F62Ebec285B1198c51E + address internal constant CONFIG_ENGINE = 0xA3e44d830440dF5098520F62Ebec285B1198c51E; // https://etherscan.io/address/0xbaA999AC55EAce41CcAE355c77809e68Bb345170 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = @@ -580,6 +580,26 @@ library AaveV3EthereumAssets { // https://etherscan.io/address/0xdef8F50155A6cf21181E29E400E8CffAE2d50968 address internal constant sDAI_INTEREST_RATE_STRATEGY = 0xdef8F50155A6cf21181E29E400E8CffAE2d50968; + + // https://etherscan.io/address/0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6 + address internal constant STG_UNDERLYING = 0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6; + + uint256 internal constant STG_DECIMALS = 18; + + // https://etherscan.io/address/0x1bA9843bD4327c6c77011406dE5fA8749F7E3479 + address internal constant STG_A_TOKEN = 0x1bA9843bD4327c6c77011406dE5fA8749F7E3479; + + // https://etherscan.io/address/0x655568bDd6168325EC7e58Bf39b21A856F906Dc2 + address internal constant STG_V_TOKEN = 0x655568bDd6168325EC7e58Bf39b21A856F906Dc2; + + // https://etherscan.io/address/0xc3115D0660b93AeF10F298886ae22E3Dd477E482 + address internal constant STG_S_TOKEN = 0xc3115D0660b93AeF10F298886ae22E3Dd477E482; + + // https://etherscan.io/address/0x7A9f34a0Aa917D438e9b6E630067062B7F8f6f3d + address internal constant STG_ORACLE = 0x7A9f34a0Aa917D438e9b6E630067062B7F8f6f3d; + + // https://etherscan.io/address/0x27eFE5db315b71753b2a38ED3d5dd7E9362ba93F + address internal constant STG_INTEREST_RATE_STRATEGY = 0x27eFE5db315b71753b2a38ED3d5dd7E9362ba93F; } library AaveV3EthereumEModes { diff --git a/src/AaveV3Metis.sol b/src/AaveV3Metis.sol index d5248346..3d0ba504 100644 --- a/src/AaveV3Metis.sol +++ b/src/AaveV3Metis.sol @@ -61,8 +61,8 @@ library AaveV3Metis { // https://andromeda-explorer.metis.io/address/0x9f3A1B399A9074eBA63Dc4fc274bE2A2b2d80cB9 address internal constant L2_ENCODER = 0x9f3A1B399A9074eBA63Dc4fc274bE2A2b2d80cB9; - // https://andromeda-explorer.metis.io/address/0x857720ad258db0ACb180e76A5526c72CFCe6F8A7 - address internal constant LISTING_ENGINE = 0x857720ad258db0ACb180e76A5526c72CFCe6F8A7; + // https://andromeda-explorer.metis.io/address/0x8be473dCfA93132658821E67CbEB684ec8Ea2E74 + address internal constant CONFIG_ENGINE = 0x8be473dCfA93132658821E67CbEB684ec8Ea2E74; // https://andromeda-explorer.metis.io/address/0x9E7B73ffD9D2026F3ff4212c29E209E09C8A91F5 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = diff --git a/src/AaveV3Optimism.sol b/src/AaveV3Optimism.sol index 45e26900..1671e43d 100644 --- a/src/AaveV3Optimism.sol +++ b/src/AaveV3Optimism.sol @@ -64,8 +64,8 @@ library AaveV3Optimism { // https://explorer.optimism.io/address/0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC address internal constant L2_ENCODER = 0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC; - // https://explorer.optimism.io/address/0x7A9A9c14B35E58ffa1cC84aB421acE0FdcD289E3 - address internal constant LISTING_ENGINE = 0x7A9A9c14B35E58ffa1cC84aB421acE0FdcD289E3; + // https://explorer.optimism.io/address/0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9 + address internal constant CONFIG_ENGINE = 0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9; // https://explorer.optimism.io/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = diff --git a/src/AaveV3Polygon.sol b/src/AaveV3Polygon.sol index 2611edb3..54aae783 100644 --- a/src/AaveV3Polygon.sol +++ b/src/AaveV3Polygon.sol @@ -61,8 +61,8 @@ library AaveV3Polygon { // https://polygonscan.com/address/0xb58Fd91558fa213D97Ac94C97F831c7289278084 address internal constant DEBT_SWAP_ADAPTER = 0xb58Fd91558fa213D97Ac94C97F831c7289278084; - // https://polygonscan.com/address/0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07 - address internal constant LISTING_ENGINE = 0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07; + // https://polygonscan.com/address/0xfFD6F13c9574bedb3f4E131e9C4320186AF83c1D + address internal constant CONFIG_ENGINE = 0xfFD6F13c9574bedb3f4E131e9C4320186AF83c1D; // https://polygonscan.com/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = diff --git a/src/MiscArbitrum.sol b/src/MiscArbitrum.sol index 999fe9f0..3b69a899 100644 --- a/src/MiscArbitrum.sol +++ b/src/MiscArbitrum.sol @@ -5,4 +5,13 @@ pragma solidity >=0.6.0; library MiscArbitrum { // https://arbiscan.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 address internal constant PARASWAP_FEE_CLAIMER = 0x9abf798f5314BFd793A9E57A654BEd35af4A1D60; + + // https://arbiscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; + + // https://arbiscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 + address internal constant PROXY_ADMIN = 0xD3cF979e676265e4f6379749DECe4708B9A22476; + + // https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 + address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; } diff --git a/src/MiscAvalanche.sol b/src/MiscAvalanche.sol index fbb832b4..7e82ed02 100644 --- a/src/MiscAvalanche.sol +++ b/src/MiscAvalanche.sol @@ -5,4 +5,13 @@ pragma solidity >=0.6.0; library MiscAvalanche { // https://snowtrace.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 address internal constant PARASWAP_FEE_CLAIMER = 0x9abf798f5314BFd793A9E57A654BEd35af4A1D60; + + // https://snowtrace.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; + + // https://snowtrace.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 + address internal constant PROXY_ADMIN = 0xD3cF979e676265e4f6379749DECe4708B9A22476; + + // https://snowtrace.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 + address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; } diff --git a/src/MiscBase.sol b/src/MiscBase.sol index 34aff4d9..e6bd3edc 100644 --- a/src/MiscBase.sol +++ b/src/MiscBase.sol @@ -5,4 +5,13 @@ pragma solidity >=0.6.0; library MiscBase { // https://basescan.org/address/0xAe940e61E9863178b71500c9B5faE2a04Da361a1 address internal constant PARASWAP_FEE_CLAIMER = 0xAe940e61E9863178b71500c9B5faE2a04Da361a1; + + // https://basescan.org/address/0x05225Cd708bCa9253789C1374e4337a019e99D56 + address internal constant TRANSPARENT_PROXY_FACTORY = 0x05225Cd708bCa9253789C1374e4337a019e99D56; + + // https://basescan.org/address/0xc85b1E333aecc99340b2320493Fe2d22b8734795 + address internal constant PROXY_ADMIN = 0xc85b1E333aecc99340b2320493Fe2d22b8734795; + + // https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 + address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; } diff --git a/src/MiscEthereum.sol b/src/MiscEthereum.sol index 69e901d4..ab59af25 100644 --- a/src/MiscEthereum.sol +++ b/src/MiscEthereum.sol @@ -2,7 +2,35 @@ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0; +import {IAaveEcosystemReserveController} from './common/IAaveEcosystemReserveController.sol'; +import {IStreamable} from './common/IStreamable.sol'; + library MiscEthereum { + // https://etherscan.io/address/0x3d569673dAa0575c936c7c67c4E6AedA69CC630C + IAaveEcosystemReserveController internal constant AAVE_ECOSYSTEM_RESERVE_CONTROLLER = + IAaveEcosystemReserveController(0x3d569673dAa0575c936c7c67c4E6AedA69CC630C); + + // https://etherscan.io/address/0x25F2226B597E8F9514B3F68F00f494cF4f286491 + address internal constant ECOSYSTEM_RESERVE = 0x25F2226B597E8F9514B3F68F00f494cF4f286491; + + // https://etherscan.io/address/0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517 + address internal constant PROXY_ADMIN_LONG = 0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517; + + // https://etherscan.io/address/0x3ea64b1C0194524b48F9118462C8E9cd61a243c7 + address internal constant AAVE_SWAPPER = 0x3ea64b1C0194524b48F9118462C8E9cd61a243c7; + + // https://etherscan.io/address/0xc928002904Ec475663A83063D492EA2aE09EbDA1 + address internal constant AAVE_POL_ETH_BRIDGE = 0xc928002904Ec475663A83063D492EA2aE09EbDA1; + // https://etherscan.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 address internal constant PARASWAP_FEE_CLAIMER = 0x9abf798f5314BFd793A9E57A654BEd35af4A1D60; + + // https://etherscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; + + // https://etherscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 + address internal constant PROXY_ADMIN = 0xD3cF979e676265e4f6379749DECe4708B9A22476; + + // https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7 + address internal constant CREATE_3_FACTORY = 0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7; } diff --git a/src/MiscMetis.sol b/src/MiscMetis.sol new file mode 100644 index 00000000..2bda9ce9 --- /dev/null +++ b/src/MiscMetis.sol @@ -0,0 +1,14 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// SPDX-License-Identifier: MIT +pragma solidity >=0.6.0; + +library MiscMetis { + // https://andromeda-explorer.metis.io/address/0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB + address internal constant TRANSPARENT_PROXY_FACTORY = 0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB; + + // https://andromeda-explorer.metis.io/address/0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97 + address internal constant PROXY_ADMIN = 0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97; + + // https://andromeda-explorer.metis.io/address/0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A + address internal constant CREATE_3_FACTORY = 0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A; +} diff --git a/src/MiscOptimism.sol b/src/MiscOptimism.sol index 45a972e7..fa059de4 100644 --- a/src/MiscOptimism.sol +++ b/src/MiscOptimism.sol @@ -5,4 +5,13 @@ pragma solidity >=0.6.0; library MiscOptimism { // https://explorer.optimism.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 address internal constant PARASWAP_FEE_CLAIMER = 0x9abf798f5314BFd793A9E57A654BEd35af4A1D60; + + // https://explorer.optimism.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; + + // https://explorer.optimism.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 + address internal constant PROXY_ADMIN = 0xD3cF979e676265e4f6379749DECe4708B9A22476; + + // https://explorer.optimism.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 + address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; } diff --git a/src/MiscPolygon.sol b/src/MiscPolygon.sol index 9f606c08..11ef271e 100644 --- a/src/MiscPolygon.sol +++ b/src/MiscPolygon.sol @@ -3,6 +3,18 @@ pragma solidity >=0.6.0; library MiscPolygon { + // https://polygonscan.com/address/0xc928002904Ec475663A83063D492EA2aE09EbDA1 + address internal constant AAVE_POL_ETH_BRIDGE = 0xc928002904Ec475663A83063D492EA2aE09EbDA1; + // https://polygonscan.com/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 address internal constant PARASWAP_FEE_CLAIMER = 0x9abf798f5314BFd793A9E57A654BEd35af4A1D60; + + // https://polygonscan.com/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 + address internal constant TRANSPARENT_PROXY_FACTORY = 0xB4e496f70602fE2AC6Ae511D028BA4D194773B29; + + // https://polygonscan.com/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 + address internal constant PROXY_ADMIN = 0xD3cF979e676265e4f6379749DECe4708B9A22476; + + // https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 + address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32; } diff --git a/src/ts/AaveAddressBook.ts b/src/ts/AaveAddressBook.ts index 67acaa5b..0b053b18 100644 --- a/src/ts/AaveAddressBook.ts +++ b/src/ts/AaveAddressBook.ts @@ -43,7 +43,7 @@ export * as MiscEthereum from './MiscEthereum'; export * as MiscFantom from './MiscFantom'; export * as MiscOptimism from './MiscOptimism'; export * as MiscPolygon from './MiscPolygon'; -export * as AaveMisc from './AaveMisc'; +export * as MiscMetis from './MiscMetis'; export * as AaveGovernanceV2 from './AaveGovernanceV2'; export * as AaveSafetyModule from './AaveSafetyModule'; export {IAaveGovernanceV2_ABI} from './abis/IAaveGovernanceV2'; diff --git a/src/ts/AaveMisc.ts b/src/ts/AaveMisc.ts deleted file mode 100644 index a27119f9..00000000 --- a/src/ts/AaveMisc.ts +++ /dev/null @@ -1,87 +0,0 @@ -// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR -// https://etherscan.io/address/0x25F2226B597E8F9514B3F68F00f494cF4f286491 -export const ECOSYSTEM_RESERVE = '0x25F2226B597E8F9514B3F68F00f494cF4f286491'; - -// IAaveEcosystemReserveController https://etherscan.io/address/0x3d569673dAa0575c936c7c67c4E6AedA69CC630C -export const AAVE_ECOSYSTEM_RESERVE_CONTROLLER = '0x3d569673dAa0575c936c7c67c4E6AedA69CC630C'; - -// https://etherscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 -export const TRANSPARENT_PROXY_FACTORY_ETHEREUM = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; - -// https://etherscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 -export const PROXY_ADMIN_ETHEREUM = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; - -// https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7 -export const CREATE_3_FACTORY_ETHEREUM = '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7'; - -// https://etherscan.io/address/0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517 -export const PROXY_ADMIN_ETHEREUM_LONG = '0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517'; - -// address https://etherscan.io/address/0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A -export const TRANSPARENT_PROXY_FACTORY_BINANCE = '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A'; - -// address https://etherscan.io/address/0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c -export const PROXY_ADMIN_BINANCE = '0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c'; - -// address https://etherscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 -export const CREATE_3_FACTORY_BINANCE = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; - -// address https://polygonscan.com/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 -export const TRANSPARENT_PROXY_FACTORY_POLYGON = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; - -// address https://polygonscan.com/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 -export const PROXY_ADMIN_POLYGON = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; - -// address https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 -export const CREATE_3_FACTORY_POLYGON = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; - -// address https://snowtrace.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 -export const TRANSPARENT_PROXY_FACTORY_AVALANCHE = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; - -// address https://snowtrace.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 -export const PROXY_ADMIN_AVALANCHE = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; - -// address https://snowtrace.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 -export const CREATE_3_FACTORY_AVALANCHE = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; - -// address https://explorer.optimism.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 -export const TRANSPARENT_PROXY_FACTORY_OPTIMISM = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; - -// address https://explorer.optimism.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 -export const PROXY_ADMIN_OPTIMISM = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; - -// address https://explorer.optimism.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 -export const CREATE_3_FACTORY_OPTIMISM = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; - -// address https://arbiscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 -export const TRANSPARENT_PROXY_FACTORY_ARBITRUM = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; - -// address https://arbiscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 -export const PROXY_ADMIN_ARBITRUM = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; - -// address https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 -export const CREATE_3_FACTORY_ARBITRUM = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; - -// address https://andromeda-explorer.metis.io/address/0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB -export const TRANSPARENT_PROXY_FACTORY_METIS = '0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB'; - -// address https://andromeda-explorer.metis.io/address/0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97 -export const PROXY_ADMIN_METIS = '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97'; - -// address https://andromeda-explorer.metis.io/address/0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A -export const CREATE_3_FACTORY_METIS = '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A'; - -// address https://basescan.org/address/0x05225Cd708bCa9253789C1374e4337a019e99D56 -export const TRANSPARENT_PROXY_FACTORY_BASE = '0x05225Cd708bCa9253789C1374e4337a019e99D56'; - -// address https://basescan.org/address/0xc85b1E333aecc99340b2320493Fe2d22b8734795 -export const PROXY_ADMIN_BASE = '0xc85b1E333aecc99340b2320493Fe2d22b8734795'; - -// address https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 -export const CREATE_3_FACTORY_BASE = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; - -// https://etherscan.io/address/0x3ea64b1C0194524b48F9118462C8E9cd61a243c7 -export const AAVE_SWAPPER_ETHEREUM = '0x3ea64b1C0194524b48F9118462C8E9cd61a243c7'; - -// https://etherscan.io/address/0xc928002904Ec475663A83063D492EA2aE09EbDA1 -export const AAVE_POL_ETH_BRIDGE = '0xc928002904Ec475663A83063D492EA2aE09EbDA1'; diff --git a/src/ts/AaveV2Avalanche.ts b/src/ts/AaveV2Avalanche.ts index 9fe205f4..07332d0d 100644 --- a/src/ts/AaveV2Avalanche.ts +++ b/src/ts/AaveV2Avalanche.ts @@ -36,7 +36,7 @@ export const EMISSION_MANAGER = '0x5CfCd7E6D055Ba4f7B998914336254aDE3F69f26'; export const DEBT_SWAP_ADAPTER = '0xc1D40f4cF36e4aE4108Ffa08818cD16c2d9aEF73'; // https://snowtrace.io/address/0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c -export const LISTING_ENGINE = '0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c'; +export const CONFIG_ENGINE = '0x7902F3c60f05b5A6b7e4Ce0Cac11Cb17bC8e607c'; // https://snowtrace.io/address/0xf50a080aC535e531EC33cC05b227E910De2fb1fA export const MIGRATION_HELPER = '0xf50a080aC535e531EC33cC05b227E910De2fb1fA'; diff --git a/src/ts/AaveV2Ethereum.ts b/src/ts/AaveV2Ethereum.ts index ab32ef26..4cb4bedb 100644 --- a/src/ts/AaveV2Ethereum.ts +++ b/src/ts/AaveV2Ethereum.ts @@ -36,7 +36,7 @@ export const EMISSION_MANAGER = '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5'; export const DEBT_SWAP_ADAPTER = '0x6A6FA664D4Fa49a6a780a1D6143f079f8dd7C33d'; // https://etherscan.io/address/0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9 -export const LISTING_ENGINE = '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9'; +export const CONFIG_ENGINE = '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9'; // https://etherscan.io/address/0xB748952c7BC638F31775245964707Bcc5DDFabFC export const MIGRATION_HELPER = '0xB748952c7BC638F31775245964707Bcc5DDFabFC'; diff --git a/src/ts/AaveV2EthereumAMM.ts b/src/ts/AaveV2EthereumAMM.ts index 4d4a1e0e..db5a5594 100644 --- a/src/ts/AaveV2EthereumAMM.ts +++ b/src/ts/AaveV2EthereumAMM.ts @@ -33,7 +33,7 @@ export const DEFAULT_INCENTIVES_CONTROLLER = '0x00000000000000000000000000000000 export const EMISSION_MANAGER = '0x0000000000000000000000000000000000000000'; // https://etherscan.io/address/0xcfC26009618ec2Ca8787180116a37Caa354a465C -export const LISTING_ENGINE = '0xcfC26009618ec2Ca8787180116a37Caa354a465C'; +export const CONFIG_ENGINE = '0xcfC26009618ec2Ca8787180116a37Caa354a465C'; // https://etherscan.io/address/0x3cd1dFB81C50A5300C60a181ED145a7286d81e0a export const MIGRATION_HELPER = '0x3cd1dFB81C50A5300C60a181ED145a7286d81e0a'; diff --git a/src/ts/AaveV2Polygon.ts b/src/ts/AaveV2Polygon.ts index 1cadb211..88e5ac50 100644 --- a/src/ts/AaveV2Polygon.ts +++ b/src/ts/AaveV2Polygon.ts @@ -36,7 +36,7 @@ export const EMISSION_MANAGER = '0x2bB25175d9B0F8965780209EB558Cc3b56cA6d32'; export const DEBT_SWAP_ADAPTER = '0x1E623A311948b531B07B6EA7CC34a9A2bCADADd0'; // https://polygonscan.com/address/0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9 -export const LISTING_ENGINE = '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9'; +export const CONFIG_ENGINE = '0x9eCed0293e7B73CFf4a2b4F9C82aAc8346158bd9'; // https://polygonscan.com/address/0x3db487975aB1728DB5787b798866c2021B24ec52 export const MIGRATION_HELPER = '0x3db487975aB1728DB5787b798866c2021B24ec52'; diff --git a/src/ts/AaveV3Arbitrum.ts b/src/ts/AaveV3Arbitrum.ts index 2bac7b2a..b3d394d8 100644 --- a/src/ts/AaveV3Arbitrum.ts +++ b/src/ts/AaveV3Arbitrum.ts @@ -50,8 +50,8 @@ export const DEBT_SWAP_ADAPTER = '0x9E8e9D6b0D24216F59043db68BDda1620892f549'; // https://arbiscan.io/address/0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC export const L2_ENCODER = '0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC'; -// https://arbiscan.io/address/0x0EfdfC1A940DE4E7E6acC9Bb801481f81B17fd20 -export const LISTING_ENGINE = '0x0EfdfC1A940DE4E7E6acC9Bb801481f81B17fd20'; +// https://arbiscan.io/address/0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f +export const CONFIG_ENGINE = '0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f'; // https://arbiscan.io/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x770ef9f4fe897e59daCc474EF11238303F9552b6'; diff --git a/src/ts/AaveV3Avalanche.ts b/src/ts/AaveV3Avalanche.ts index ca33ada8..46ae3d93 100644 --- a/src/ts/AaveV3Avalanche.ts +++ b/src/ts/AaveV3Avalanche.ts @@ -47,8 +47,8 @@ export const CAPS_PLUS_RISK_STEWARD = '0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD // https://snowtrace.io/address/0x8A9b2c132EA7676EE267F5b97b622083d6E3a2d4 export const DEBT_SWAP_ADAPTER = '0x8A9b2c132EA7676EE267F5b97b622083d6E3a2d4'; -// https://snowtrace.io/address/0x49581e5575F49263f556b91daf8fb41D7854D94B -export const LISTING_ENGINE = '0x49581e5575F49263f556b91daf8fb41D7854D94B'; +// https://snowtrace.io/address/0x0587B66Bc824368cFA5849bc56216a59260Df2c5 +export const CONFIG_ENGINE = '0x0587B66Bc824368cFA5849bc56216a59260Df2c5'; // https://snowtrace.io/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x770ef9f4fe897e59daCc474EF11238303F9552b6'; diff --git a/src/ts/AaveV3Base.ts b/src/ts/AaveV3Base.ts index c7f53a8b..00d032f3 100644 --- a/src/ts/AaveV3Base.ts +++ b/src/ts/AaveV3Base.ts @@ -57,7 +57,7 @@ export const SWAP_COLLATERAL_ADAPTER = '0x2E549104c516b8657A7D888494DfbAbD7C70b4 export const REPAY_WITH_COLLATERAL_ADAPTER = '0x78F8Bd884C3D738B74B420540659c82f392820e0'; // https://basescan.org/address/0xc7751400F809cdB0C167F87985083C558a0610F7 -export const LISTING_ENGINE = '0xc7751400F809cdB0C167F87985083C558a0610F7'; +export const CONFIG_ENGINE = '0xc7751400F809cdB0C167F87985083C558a0610F7'; // https://basescan.org/address/0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832 export const RATES_FACTORY = '0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832'; diff --git a/src/ts/AaveV3Ethereum.ts b/src/ts/AaveV3Ethereum.ts index bc0f6650..01a8a7d8 100644 --- a/src/ts/AaveV3Ethereum.ts +++ b/src/ts/AaveV3Ethereum.ts @@ -53,8 +53,8 @@ export const DELEGATION_AWARE_A_TOKEN_IMPL_REV_1 = '0x21714092D90c7265F52fdfDae0 // https://etherscan.io/address/0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f export const GHO_TOKEN = '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f'; -// https://etherscan.io/address/0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07 -export const LISTING_ENGINE = '0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07'; +// https://etherscan.io/address/0xA3e44d830440dF5098520F62Ebec285B1198c51E +export const CONFIG_ENGINE = '0xA3e44d830440dF5098520F62Ebec285B1198c51E'; // https://etherscan.io/address/0xbaA999AC55EAce41CcAE355c77809e68Bb345170 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xbaA999AC55EAce41CcAE355c77809e68Bb345170'; @@ -321,6 +321,16 @@ export const ASSETS = { ORACLE: '0x29081f7aB5a644716EfcDC10D5c926c5fEe9F72B', STATA_TOKEN: '0x0000000000000000000000000000000000000000', }, + STG: { + decimals: 18, + UNDERLYING: '0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6', + A_TOKEN: '0x1bA9843bD4327c6c77011406dE5fA8749F7E3479', + S_TOKEN: '0xc3115D0660b93AeF10F298886ae22E3Dd477E482', + V_TOKEN: '0x655568bDd6168325EC7e58Bf39b21A856F906Dc2', + INTEREST_RATE_STRATEGY: '0x27eFE5db315b71753b2a38ED3d5dd7E9362ba93F', + ORACLE: '0x7A9f34a0Aa917D438e9b6E630067062B7F8f6f3d', + STATA_TOKEN: '0x0000000000000000000000000000000000000000', + }, } as const; export const E_MODES = { NONE: 0, diff --git a/src/ts/AaveV3Metis.ts b/src/ts/AaveV3Metis.ts index 4a5400dc..a90e077d 100644 --- a/src/ts/AaveV3Metis.ts +++ b/src/ts/AaveV3Metis.ts @@ -47,8 +47,8 @@ export const CAPS_PLUS_RISK_STEWARD = '0x5f4d15d761528c57a5C30c43c1DAb26Fc545273 // https://andromeda-explorer.metis.io/address/0x9f3A1B399A9074eBA63Dc4fc274bE2A2b2d80cB9 export const L2_ENCODER = '0x9f3A1B399A9074eBA63Dc4fc274bE2A2b2d80cB9'; -// https://andromeda-explorer.metis.io/address/0x857720ad258db0ACb180e76A5526c72CFCe6F8A7 -export const LISTING_ENGINE = '0x857720ad258db0ACb180e76A5526c72CFCe6F8A7'; +// https://andromeda-explorer.metis.io/address/0x8be473dCfA93132658821E67CbEB684ec8Ea2E74 +export const CONFIG_ENGINE = '0x8be473dCfA93132658821E67CbEB684ec8Ea2E74'; // https://andromeda-explorer.metis.io/address/0x9E7B73ffD9D2026F3ff4212c29E209E09C8A91F5 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x9E7B73ffD9D2026F3ff4212c29E209E09C8A91F5'; diff --git a/src/ts/AaveV3Optimism.ts b/src/ts/AaveV3Optimism.ts index a2d6db6f..5f6083c7 100644 --- a/src/ts/AaveV3Optimism.ts +++ b/src/ts/AaveV3Optimism.ts @@ -50,8 +50,8 @@ export const DEBT_SWAP_ADAPTER = '0xcFaE0D8c5707FCc6478D6a65fFA31efADeF8b8EC'; // https://explorer.optimism.io/address/0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC export const L2_ENCODER = '0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC'; -// https://explorer.optimism.io/address/0x7A9A9c14B35E58ffa1cC84aB421acE0FdcD289E3 -export const LISTING_ENGINE = '0x7A9A9c14B35E58ffa1cC84aB421acE0FdcD289E3'; +// https://explorer.optimism.io/address/0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9 +export const CONFIG_ENGINE = '0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9'; // https://explorer.optimism.io/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x770ef9f4fe897e59daCc474EF11238303F9552b6'; diff --git a/src/ts/AaveV3Polygon.ts b/src/ts/AaveV3Polygon.ts index 52da0552..c18dd12f 100644 --- a/src/ts/AaveV3Polygon.ts +++ b/src/ts/AaveV3Polygon.ts @@ -47,8 +47,8 @@ export const CAPS_PLUS_RISK_STEWARD = '0xc5de989E0D1BF605d19478Fdd32Aa827a10b464 // https://polygonscan.com/address/0xb58Fd91558fa213D97Ac94C97F831c7289278084 export const DEBT_SWAP_ADAPTER = '0xb58Fd91558fa213D97Ac94C97F831c7289278084'; -// https://polygonscan.com/address/0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07 -export const LISTING_ENGINE = '0xE202F2fc4b6A37Ba53cfD15bE42a762A645FCA07'; +// https://polygonscan.com/address/0xfFD6F13c9574bedb3f4E131e9C4320186AF83c1D +export const CONFIG_ENGINE = '0xfFD6F13c9574bedb3f4E131e9C4320186AF83c1D'; // https://polygonscan.com/address/0x770ef9f4fe897e59daCc474EF11238303F9552b6 export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x770ef9f4fe897e59daCc474EF11238303F9552b6'; diff --git a/src/ts/MiscArbitrum.ts b/src/ts/MiscArbitrum.ts index 88caad93..c5b2d90a 100644 --- a/src/ts/MiscArbitrum.ts +++ b/src/ts/MiscArbitrum.ts @@ -1,3 +1,12 @@ // AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR // https://arbiscan.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 export const PARASWAP_FEE_CLAIMER = '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'; + +// https://arbiscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 +export const TRANSPARENT_PROXY_FACTORY = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; + +// https://arbiscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 +export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; + +// https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 +export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; diff --git a/src/ts/MiscAvalanche.ts b/src/ts/MiscAvalanche.ts index c97567f1..1a15d1e0 100644 --- a/src/ts/MiscAvalanche.ts +++ b/src/ts/MiscAvalanche.ts @@ -1,3 +1,12 @@ // AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR // https://snowtrace.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 export const PARASWAP_FEE_CLAIMER = '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'; + +// https://snowtrace.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 +export const TRANSPARENT_PROXY_FACTORY = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; + +// https://snowtrace.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 +export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; + +// https://snowtrace.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 +export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; diff --git a/src/ts/MiscBase.ts b/src/ts/MiscBase.ts index f81b9e02..90576824 100644 --- a/src/ts/MiscBase.ts +++ b/src/ts/MiscBase.ts @@ -1,3 +1,12 @@ // AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR // https://basescan.org/address/0xAe940e61E9863178b71500c9B5faE2a04Da361a1 export const PARASWAP_FEE_CLAIMER = '0xAe940e61E9863178b71500c9B5faE2a04Da361a1'; + +// https://basescan.org/address/0x05225Cd708bCa9253789C1374e4337a019e99D56 +export const TRANSPARENT_PROXY_FACTORY = '0x05225Cd708bCa9253789C1374e4337a019e99D56'; + +// https://basescan.org/address/0xc85b1E333aecc99340b2320493Fe2d22b8734795 +export const PROXY_ADMIN = '0xc85b1E333aecc99340b2320493Fe2d22b8734795'; + +// https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 +export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; diff --git a/src/ts/MiscEthereum.ts b/src/ts/MiscEthereum.ts index 534055dc..795fb64e 100644 --- a/src/ts/MiscEthereum.ts +++ b/src/ts/MiscEthereum.ts @@ -1,3 +1,27 @@ // AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// IAaveEcosystemReserveController https://etherscan.io/address/0x3d569673dAa0575c936c7c67c4E6AedA69CC630C +export const AAVE_ECOSYSTEM_RESERVE_CONTROLLER = '0x3d569673dAa0575c936c7c67c4E6AedA69CC630C'; + +// https://etherscan.io/address/0x25F2226B597E8F9514B3F68F00f494cF4f286491 +export const ECOSYSTEM_RESERVE = '0x25F2226B597E8F9514B3F68F00f494cF4f286491'; + +// https://etherscan.io/address/0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517 +export const PROXY_ADMIN_LONG = '0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517'; + +// https://etherscan.io/address/0x3ea64b1C0194524b48F9118462C8E9cd61a243c7 +export const AAVE_SWAPPER = '0x3ea64b1C0194524b48F9118462C8E9cd61a243c7'; + +// https://etherscan.io/address/0xc928002904Ec475663A83063D492EA2aE09EbDA1 +export const AAVE_POL_ETH_BRIDGE = '0xc928002904Ec475663A83063D492EA2aE09EbDA1'; + // https://etherscan.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 export const PARASWAP_FEE_CLAIMER = '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'; + +// https://etherscan.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 +export const TRANSPARENT_PROXY_FACTORY = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; + +// https://etherscan.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 +export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; + +// https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7 +export const CREATE_3_FACTORY = '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7'; diff --git a/src/ts/MiscMetis.ts b/src/ts/MiscMetis.ts new file mode 100644 index 00000000..2e9ea5a6 --- /dev/null +++ b/src/ts/MiscMetis.ts @@ -0,0 +1,9 @@ +// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// https://andromeda-explorer.metis.io/address/0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB +export const TRANSPARENT_PROXY_FACTORY = '0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB'; + +// https://andromeda-explorer.metis.io/address/0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97 +export const PROXY_ADMIN = '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97'; + +// https://andromeda-explorer.metis.io/address/0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A +export const CREATE_3_FACTORY = '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A'; diff --git a/src/ts/MiscOptimism.ts b/src/ts/MiscOptimism.ts index 4fbb61d8..5f8b8aa2 100644 --- a/src/ts/MiscOptimism.ts +++ b/src/ts/MiscOptimism.ts @@ -1,3 +1,12 @@ // AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR // https://explorer.optimism.io/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 export const PARASWAP_FEE_CLAIMER = '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'; + +// https://explorer.optimism.io/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 +export const TRANSPARENT_PROXY_FACTORY = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; + +// https://explorer.optimism.io/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 +export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; + +// https://explorer.optimism.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 +export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32'; diff --git a/src/ts/MiscPolygon.ts b/src/ts/MiscPolygon.ts index c3de1fc7..b431baf2 100644 --- a/src/ts/MiscPolygon.ts +++ b/src/ts/MiscPolygon.ts @@ -1,3 +1,15 @@ // AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR +// https://polygonscan.com/address/0xc928002904Ec475663A83063D492EA2aE09EbDA1 +export const AAVE_POL_ETH_BRIDGE = '0xc928002904Ec475663A83063D492EA2aE09EbDA1'; + // https://polygonscan.com/address/0x9abf798f5314BFd793A9E57A654BEd35af4A1D60 export const PARASWAP_FEE_CLAIMER = '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'; + +// https://polygonscan.com/address/0xB4e496f70602fE2AC6Ae511D028BA4D194773B29 +export const TRANSPARENT_PROXY_FACTORY = '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29'; + +// https://polygonscan.com/address/0xD3cF979e676265e4f6379749DECe4708B9A22476 +export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476'; + +// https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32 +export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';