// AUTOGENERATED - MANUAL CHANGES WILL BE REVERTED BY THE GENERATOR // SPDX-License-Identifier: MIT pragma solidity >=0.6.0; import {IPoolAddressesProvider, IPool, IPoolConfigurator, IAaveOracle, IPoolDataProvider, IACLManager, ICollector} from './AaveV3.sol'; library AaveV3MegaEth { // https://mega.etherscan.io/address/0x46Dcd5F4600319b02649Fd76B55aA6c1035CA478 IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER = IPoolAddressesProvider(0x46Dcd5F4600319b02649Fd76B55aA6c1035CA478); // https://mega.etherscan.io/address/0x7e324AbC5De01d112AfC03a584966ff199741C28 IPool internal constant POOL = IPool(0x7e324AbC5De01d112AfC03a584966ff199741C28); // https://mega.etherscan.io/address/0xF15D31Bc839A853C9068686043cEc6EC5995DAbB IPoolConfigurator internal constant POOL_CONFIGURATOR = IPoolConfigurator(0xF15D31Bc839A853C9068686043cEc6EC5995DAbB); // https://mega.etherscan.io/address/0x421117D7319E96d831972b3F7e970bbfe29C4F21 IAaveOracle internal constant ORACLE = IAaveOracle(0x421117D7319E96d831972b3F7e970bbfe29C4F21); // https://mega.etherscan.io/address/0xE2E8Badc5d50f8a6188577B89f50701cDE2D4e19 address internal constant ACL_ADMIN = 0xE2E8Badc5d50f8a6188577B89f50701cDE2D4e19; // https://mega.etherscan.io/address/0x390D369C3878F2C5205CFb6Ec7154FfA65491c3D IACLManager internal constant ACL_MANAGER = IACLManager(0x390D369C3878F2C5205CFb6Ec7154FfA65491c3D); // https://mega.etherscan.io/address/0x9588b453A4EE24a420830CB3302195cA7aA3b403 IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = IPoolDataProvider(0x9588b453A4EE24a420830CB3302195cA7aA3b403); // https://mega.etherscan.io/address/0x9FCa6A771996e13a7bc160D04906d4DaAf4066eD address internal constant POOL_IMPL = 0x9FCa6A771996e13a7bc160D04906d4DaAf4066eD; // https://mega.etherscan.io/address/0xFF42Ce30054dcE7dc7C1282a9a497aa58eaBCe99 address internal constant POOL_CONFIGURATOR_IMPL = 0xFF42Ce30054dcE7dc7C1282a9a497aa58eaBCe99; // https://mega.etherscan.io/address/0x3691FF69e22c1353df9F8b2c0B1B16aA5fEEc389 address internal constant DEFAULT_INCENTIVES_CONTROLLER = 0x3691FF69e22c1353df9F8b2c0B1B16aA5fEEc389; // https://mega.etherscan.io/address/0xCfC61568b91414DBf7Bb1a4344C633E1aB214bC9 address internal constant EMISSION_MANAGER = 0xCfC61568b91414DBf7Bb1a4344C633E1aB214bC9; // https://mega.etherscan.io/address/0x7E195b3fc91fDd51A9CD5070cC044602212Ac983 ICollector internal constant COLLECTOR = ICollector(0x7E195b3fc91fDd51A9CD5070cC044602212Ac983); // https://mega.etherscan.io/address/0x34CA0A24E0b7cbCEB77088AE539f57BA0650fC05 address internal constant DEFAULT_A_TOKEN_IMPL = 0x34CA0A24E0b7cbCEB77088AE539f57BA0650fC05; // https://mega.etherscan.io/address/0xfF01493C22208de3A89FE9CaFBDAE103acc72AF8 address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL = 0xfF01493C22208de3A89FE9CaFBDAE103acc72AF8; // https://mega.etherscan.io/address/0xA25d9f14CFA40d3227ED9a48B124667dDFfCFdDD address internal constant CONFIG_ENGINE = 0xA25d9f14CFA40d3227ED9a48B124667dDFfCFdDD; // https://mega.etherscan.io/address/0x085C658057bD4be6D09b8449e71d78601f9b2303 address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY = 0x085C658057bD4be6D09b8449e71d78601f9b2303; // https://mega.etherscan.io/address/0xD8994FE9B79f99CD0b13AE946F5cd866c6d12d00 address internal constant UI_INCENTIVE_DATA_PROVIDER = 0xD8994FE9B79f99CD0b13AE946F5cd866c6d12d00; // https://mega.etherscan.io/address/0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034 address internal constant UI_POOL_DATA_PROVIDER = 0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034; // https://mega.etherscan.io/address/0xD63f7658C66B2934Bd234D79D06aEF5290734B30 address internal constant WALLET_BALANCE_PROVIDER = 0xD63f7658C66B2934Bd234D79D06aEF5290734B30; // https://mega.etherscan.io/address/0xa119F84bC1b8083F5061E4cf53705cBf1065bA27 address internal constant WETH_GATEWAY = 0xa119F84bC1b8083F5061E4cf53705cBf1065bA27; // https://mega.etherscan.io/address/0x39bA8C26FC81e6A37a870115940AB32ed25c9ae7 address internal constant L2_ENCODER = 0x39bA8C26FC81e6A37a870115940AB32ed25c9ae7; // https://mega.etherscan.io/address/0x593B71Fb93CDAC960E093C59eDDE323BFc165A48 address internal constant STATA_FACTORY = 0x593B71Fb93CDAC960E093C59eDDE323BFc165A48; // https://mega.etherscan.io/address/0xb5a1Fe36dcf5Ba149Cb8d90A03f4709141eE5442 address internal constant RISK_STEWARD = 0xb5a1Fe36dcf5Ba149Cb8d90A03f4709141eE5442; // https://mega.etherscan.io/address/0x36CF7a4377aAf1988E01a4b38224FC8D583E50A9 address internal constant RISK_COUNCIL = 0x36CF7a4377aAf1988E01a4b38224FC8D583E50A9; // https://mega.etherscan.io/address/0x8d1dac82259FdE48D8086CC42cAa98E825C5B643 address internal constant DUST_BIN = 0x8d1dac82259FdE48D8086CC42cAa98E825C5B643; } library AaveV3MegaEthAssets { // https://mega.etherscan.io/address/0x4200000000000000000000000000000000000006 address internal constant WETH_UNDERLYING = 0x4200000000000000000000000000000000000006; uint8 internal constant WETH_DECIMALS = 18; // https://mega.etherscan.io/address/0xa31E6b433382062e8A1dA41485f7b234D97c3f4d address internal constant WETH_A_TOKEN = 0xa31E6b433382062e8A1dA41485f7b234D97c3f4d; // https://mega.etherscan.io/address/0x09ADCCC7AF2aBD356c18A4CadF2e5cC250f300E9 address internal constant WETH_V_TOKEN = 0x09ADCCC7AF2aBD356c18A4CadF2e5cC250f300E9; // https://mega.etherscan.io/address/0xcA4e254D95637DE95E2a2F79244b03380d697feD address internal constant WETH_ORACLE = 0xcA4e254D95637DE95E2a2F79244b03380d697feD; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant WETH_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x72E831E28Ba5A6d55Eb752981D0426b411E4dbbF address internal constant WETH_STATA_TOKEN = 0x72E831E28Ba5A6d55Eb752981D0426b411E4dbbF; // https://mega.etherscan.io/address/0xB0F70C0bD6FD87dbEb7C10dC692a2a6106817072 address internal constant BTCb_UNDERLYING = 0xB0F70C0bD6FD87dbEb7C10dC692a2a6106817072; uint8 internal constant BTCb_DECIMALS = 8; // https://mega.etherscan.io/address/0x0889d59eA7178ee5B71DA01949a5cB42aaFBe337 address internal constant BTCb_A_TOKEN = 0x0889d59eA7178ee5B71DA01949a5cB42aaFBe337; // https://mega.etherscan.io/address/0x15B550784928C5b1A93849CA5d6caA18B2545B6d address internal constant BTCb_V_TOKEN = 0x15B550784928C5b1A93849CA5d6caA18B2545B6d; // https://mega.etherscan.io/address/0xc6E3007B597f6F5a6330d43053D1EF73cCbbE721 address internal constant BTCb_ORACLE = 0xc6E3007B597f6F5a6330d43053D1EF73cCbbE721; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant BTCb_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x3FBe2d59F93AD0e54077861E810B2868c544C333 address internal constant BTCb_STATA_TOKEN = 0x3FBe2d59F93AD0e54077861E810B2868c544C333; // https://mega.etherscan.io/address/0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb address internal constant USDT0_UNDERLYING = 0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb; uint8 internal constant USDT0_DECIMALS = 6; // https://mega.etherscan.io/address/0xE2283E01a667b512c340f19B499d86fbc885D5Ef address internal constant USDT0_A_TOKEN = 0xE2283E01a667b512c340f19B499d86fbc885D5Ef; // https://mega.etherscan.io/address/0xB951225133b5eed3D88645E4Bb1360136FF70D9a address internal constant USDT0_V_TOKEN = 0xB951225133b5eed3D88645E4Bb1360136FF70D9a; // https://mega.etherscan.io/address/0xAe95ff42e16468AB1DfD405c9533C9b67d87d66A address internal constant USDT0_ORACLE = 0xAe95ff42e16468AB1DfD405c9533C9b67d87d66A; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant USDT0_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x31552822e76a991CEB44dE047A26441E530D6510 address internal constant USDT0_STATA_TOKEN = 0x31552822e76a991CEB44dE047A26441E530D6510; // https://mega.etherscan.io/address/0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7 address internal constant USDm_UNDERLYING = 0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7; uint8 internal constant USDm_DECIMALS = 18; // https://mega.etherscan.io/address/0x5dF82810CB4B8f3e0Da3c031cCc9208ee9cF9500 address internal constant USDm_A_TOKEN = 0x5dF82810CB4B8f3e0Da3c031cCc9208ee9cF9500; // https://mega.etherscan.io/address/0x6B408d6c479C304794abC60a4693A3AD2D3c2D0D address internal constant USDm_V_TOKEN = 0x6B408d6c479C304794abC60a4693A3AD2D3c2D0D; // https://mega.etherscan.io/address/0xe5448B8318493c6e3F72E21e8BDB8242d3299FB5 address internal constant USDm_ORACLE = 0xe5448B8318493c6e3F72E21e8BDB8242d3299FB5; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant USDm_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x0a21f20c528B54Ab54573A21f948B242d19E3ef1 address internal constant USDm_STATA_TOKEN = 0x0a21f20c528B54Ab54573A21f948B242d19E3ef1; // https://mega.etherscan.io/address/0x601aC63637933D88285A025C685AC4e9a92a98dA address internal constant wstETH_UNDERLYING = 0x601aC63637933D88285A025C685AC4e9a92a98dA; uint8 internal constant wstETH_DECIMALS = 18; // https://mega.etherscan.io/address/0xaD2de503b5c723371d6B38A5224A2E12E103DfB8 address internal constant wstETH_A_TOKEN = 0xaD2de503b5c723371d6B38A5224A2E12E103DfB8; // https://mega.etherscan.io/address/0x259A9Cd7628f6D15ef384887dd90bb7A0283fEf9 address internal constant wstETH_V_TOKEN = 0x259A9Cd7628f6D15ef384887dd90bb7A0283fEf9; // https://mega.etherscan.io/address/0x376397e34eA968e79DC6F629E6210ba25311a3ce address internal constant wstETH_ORACLE = 0x376397e34eA968e79DC6F629E6210ba25311a3ce; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant wstETH_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x03A53f1FABC40D548198ECd79997600982B0a36E address internal constant wstETH_STATA_TOKEN = 0x03A53f1FABC40D548198ECd79997600982B0a36E; // https://mega.etherscan.io/address/0x4Fc44BE15e9B6E30C1E774E2C87A21D3E8b5403F address internal constant wrsETH_UNDERLYING = 0x4Fc44BE15e9B6E30C1E774E2C87A21D3E8b5403F; uint8 internal constant wrsETH_DECIMALS = 18; // https://mega.etherscan.io/address/0xb8578af311353b44B14bb4480EBB4DE608EC7e1B address internal constant wrsETH_A_TOKEN = 0xb8578af311353b44B14bb4480EBB4DE608EC7e1B; // https://mega.etherscan.io/address/0xd7B71D855bBAcd3f11F623400bc870AB3448AfF7 address internal constant wrsETH_V_TOKEN = 0xd7B71D855bBAcd3f11F623400bc870AB3448AfF7; // https://mega.etherscan.io/address/0x6356b92Bc636CCe722e0F53DDc24a86baE64216E address internal constant wrsETH_ORACLE = 0x6356b92Bc636CCe722e0F53DDc24a86baE64216E; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant wrsETH_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x09601A65e7de7BC8A19813D263dD9E98bFdC3c57 address internal constant ezETH_UNDERLYING = 0x09601A65e7de7BC8A19813D263dD9E98bFdC3c57; uint8 internal constant ezETH_DECIMALS = 18; // https://mega.etherscan.io/address/0x03C99Cce547b1c2E74442b73E6f588A66D19597e address internal constant ezETH_A_TOKEN = 0x03C99Cce547b1c2E74442b73E6f588A66D19597e; // https://mega.etherscan.io/address/0x1505f48Bd4db0fF8B28817D2C0Fb95Abcb8eEbbc address internal constant ezETH_V_TOKEN = 0x1505f48Bd4db0fF8B28817D2C0Fb95Abcb8eEbbc; // https://mega.etherscan.io/address/0xd7Da71D3acf07C604A925799B0b48E2Ec607584D address internal constant ezETH_ORACLE = 0xd7Da71D3acf07C604A925799B0b48E2Ec607584D; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant ezETH_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34 address internal constant USDe_UNDERLYING = 0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34; uint8 internal constant USDe_DECIMALS = 18; // https://mega.etherscan.io/address/0x78f2cB75D664d6f71433174056c25A5958B4016F address internal constant USDe_A_TOKEN = 0x78f2cB75D664d6f71433174056c25A5958B4016F; // https://mega.etherscan.io/address/0x7dD785D88A64dd7db6b46DaD4d2e0728CC65e009 address internal constant USDe_V_TOKEN = 0x7dD785D88A64dd7db6b46DaD4d2e0728CC65e009; // https://mega.etherscan.io/address/0x6B00ffb3852E87c13b7f56660a7dfF64191180B3 address internal constant USDe_ORACLE = 0x6B00ffb3852E87c13b7f56660a7dfF64191180B3; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant USDe_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; // https://mega.etherscan.io/address/0xB955033Afc19816e83655C28461574D77b3097bb address internal constant USDe_STATA_TOKEN = 0xB955033Afc19816e83655C28461574D77b3097bb; // https://mega.etherscan.io/address/0x88887bE419578051FF9F4eb6C858A951921D8888 address internal constant stcUSD_UNDERLYING = 0x88887bE419578051FF9F4eb6C858A951921D8888; uint8 internal constant stcUSD_DECIMALS = 18; // https://mega.etherscan.io/address/0xB1B4B54780fDf4FFa82c9C1e83BEc12c63BC8eBB address internal constant stcUSD_A_TOKEN = 0xB1B4B54780fDf4FFa82c9C1e83BEc12c63BC8eBB; // https://mega.etherscan.io/address/0x9c9a07734F7a2A1467C4eE577E652F9a14E2bB72 address internal constant stcUSD_V_TOKEN = 0x9c9a07734F7a2A1467C4eE577E652F9a14E2bB72; // https://mega.etherscan.io/address/0xBBC579Ee0A3fD6E9240965C5f57b7e5b3e3809A8 address internal constant stcUSD_ORACLE = 0xBBC579Ee0A3fD6E9240965C5f57b7e5b3e3809A8; // https://mega.etherscan.io/address/0x5cC4f782cFe249286476A7eFfD9D7bd215768194 address internal constant stcUSD_INTEREST_RATE_STRATEGY = 0x5cC4f782cFe249286476A7eFfD9D7bd215768194; } library AaveV3MegaEthEModes { uint8 internal constant NONE = 0; uint8 internal constant WETH__USDT0_USDm = 1; uint8 internal constant BTCb__USDT0_USDm = 2; uint8 internal constant wstETH__USDT0_USDm = 3; uint8 internal constant wstETH__WETH = 4; uint8 internal constant wrsETH__WETH = 5; uint8 internal constant ezETH__WETH = 6; uint8 internal constant USDe__USDT0_USDm = 7; uint8 internal constant stcUSD__USDT0_USDm = 8; } library AaveV3MegaEthExternalLibraries { // https://mega.etherscan.io/address/0xC27a4d7AC0623B129919786d88714eF16132BEaE address internal constant FLASHLOAN_LOGIC = 0xC27a4d7AC0623B129919786d88714eF16132BEaE; // https://mega.etherscan.io/address/0x52Da0ce88202D1542543598D1e1e27F0d344726A address internal constant BORROW_LOGIC = 0x52Da0ce88202D1542543598D1e1e27F0d344726A; // https://mega.etherscan.io/address/0x96D5686812e33Ab509ECCDb38C89d15607B2a413 address internal constant LIQUIDATION_LOGIC = 0x96D5686812e33Ab509ECCDb38C89d15607B2a413; // https://mega.etherscan.io/address/0xD70593841C57cbaA04957cc3EAcE95708e48853b address internal constant POOL_LOGIC = 0xD70593841C57cbaA04957cc3EAcE95708e48853b; // https://mega.etherscan.io/address/0x584C7d8c4cb05304FE5Ac7fbc97f20A10Fb07564 address internal constant SUPPLY_LOGIC = 0x584C7d8c4cb05304FE5Ac7fbc97f20A10Fb07564; }