Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3810,6 +3810,27 @@ address,name,chainId
0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9,AaveV3Scroll UI_POOL_DATA_PROVIDER,534352
0xE51642875Af07Fea1B03d821E41a9DB24bC4447E,AaveV3Scroll WALLET_BALANCE_PROVIDER,534352
0xE79Ca44408Dae5a57eA2a9594532f1E84d2edAa4,AaveV3Scroll WETH_GATEWAY,534352
0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af,AaveV3ScrollEtherFi AAVE_PROTOCOL_DATA_PROVIDER,534352
0x1dF462e2712496373A347f8ad10802a5E95f053D,AaveV3ScrollEtherFi ACL_ADMIN,534352
0xf751969521E20A972A0776CDB0497Fad0F773F1F,AaveV3ScrollEtherFi ACL_MANAGER,534352
0xde35f7711295Dfd0CD8bd94d46f65b8Acb182520,AaveV3ScrollEtherFi CONFIG_ENGINE,534352
0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4,AaveV3ScrollEtherFi DEFAULT_INCENTIVES_CONTROLLER,534352
0xd758C807Cf0BD82b737c2fC14935FEfe49C44141,AaveV3ScrollEtherFi DUST_BIN,534352
0x381433957104c19a3a3035071Ddf57fDd9Ec63d0,AaveV3ScrollEtherFi EMISSION_MANAGER,534352
0xBeC519531F0E78BcDdB295242fA4EC5251B38574,AaveV3ScrollEtherFi L2_ENCODER,534352
0xB1532b76D054c9F9E61b25c4d91f69B4133E4671,AaveV3ScrollEtherFi ORACLE,534352
0x6807dc923806fE8Fd134338EABCA509979a7e0cB,AaveV3ScrollEtherFi POOL,534352
0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D,AaveV3ScrollEtherFi POOL_ADDRESSES_PROVIDER,534352
0x2D97F8FA96886Fd923c065F5457F9DDd494e3877,AaveV3ScrollEtherFi POOL_ADDRESSES_PROVIDER_REGISTRY,534352
0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584,AaveV3ScrollEtherFi POOL_CONFIGURATOR,534352
0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9,AaveV3ScrollEtherFi POOL_CONFIGURATOR_IMPL,534352
0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D,AaveV3ScrollEtherFi POOL_IMPL,534352
0x2aB3580a805fB10CbAd567212C70e26C1B6769eC,AaveV3ScrollEtherFi PRICE_ORACLE_SENTINEL,534352
0xCC29b02a414B6Bb66490edAa25d3e8E9471Fcb96,AaveV3ScrollEtherFi STATA_FACTORY,534352
0x1236010CECea55998384e795B59815D871f5f94d,AaveV3ScrollEtherFi UI_INCENTIVE_DATA_PROVIDER,534352
0x41585C50524fb8c3899B43D7D797d9486AAc94DB,AaveV3ScrollEtherFi UI_POOL_DATA_PROVIDER,534352
0x36616cf17557639614c1cdDb356b1B83fc0B2132,AaveV3ScrollEtherFi WALLET_BALANCE_PROVIDER,534352
0x589750BA8aF186cE5B55391B0b7148cAD43a1619,AaveV3ScrollEtherFi WETH_GATEWAY,534352
0x538E0fC727ce4604e25354D082890cdb5553d33B,ChainlinkScroll AAVE_USD,534352
0xB4b121ebE4DdCdFD3378b9519A101678829fE8c6,ChainlinkScroll AVAX_USD,534352
0x1AC823FdC79c30b1aB1787FF5e5766D6f29235E1,ChainlinkScroll BNB_USD,534352
Expand Down Expand Up @@ -3854,6 +3875,8 @@ address,name,chainId
0xa835707d28e6C37C49d661742f2Fb5987367cEd4,GovernanceV3Scroll GRANULAR_GUARDIAN,534352
0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE,GovernanceV3Scroll PAYLOADS_CONTROLLER,534352
0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424,GovernanceV3Scroll PC_DATA_HELPER,534352
0x1bE9f691084554f3CB8Cc7dCa67BD08AF4355E5D,GovernanceV3ScrollEtherFi PERMISSIONED_PAYLOADS_CONTROLLER,534352
0x1dF462e2712496373A347f8ad10802a5E95f053D,GovernanceV3ScrollEtherFi PERMISSIONED_PAYLOADS_CONTROLLER_EXECUTOR,534352
0x22740deBa78d5a0c24C58C740e3715ec29de1bFa,MiscScroll AFC_SAFE,534352
0xC6f44D0daC966658Db36742f5153bDa0EBbb45ab,MiscScroll CREATE_3_FACTORY,534352
0xdef1FA4CEfe67365ba046a7C630D6B885298E210,MiscScroll MASIV_SAFE,534352
Expand Down
8 changes: 8 additions & 0 deletions scripts/configs/governance/scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ export const governanceConfigScroll: GovernanceConfig = {
GOVERNANCE_GUARDIAN: '0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b',
},
};

export const governanceConfigScrollEtherFi: GovernanceConfig = {
name: 'ScrollEtherFi',
CHAIN_ID: ChainId.scroll,
ADDRESSES: {
PERMISSIONED_PAYLOADS_CONTROLLER: '0x1bE9f691084554f3CB8Cc7dCa67BD08AF4355E5D',
},
};
17 changes: 17 additions & 0 deletions scripts/configs/pools/scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,20 @@ export const scrollProtoV3: PoolConfig = {
STATA_FACTORY: '0x01cfB64B99f717d791260ECb502e675d6E8Cf522',
},
};

export const etherFiScrollProtoV3: PoolConfig = {
name: 'ScrollEtherFi',
chainId: ChainId.scroll,
POOL_ADDRESSES_PROVIDER: '0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D',
additionalAddresses: {
L2_ENCODER: '0xBeC519531F0E78BcDdB295242fA4EC5251B38574',
CONFIG_ENGINE: '0xde35f7711295Dfd0CD8bd94d46f65b8Acb182520',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x2D97F8FA96886Fd923c065F5457F9DDd494e3877',
UI_INCENTIVE_DATA_PROVIDER: '0x1236010CECea55998384e795B59815D871f5f94d',
UI_POOL_DATA_PROVIDER: '0x41585C50524fb8c3899B43D7D797d9486AAc94DB',
WALLET_BALANCE_PROVIDER: '0x36616cf17557639614c1cdDb356b1B83fc0B2132',
WETH_GATEWAY: '0x589750BA8aF186cE5B55391B0b7148cAD43a1619',
DUST_BIN: '0xd758C807Cf0BD82b737c2fC14935FEfe49C44141',
STATA_FACTORY: '0xCC29b02a414B6Bb66490edAa25d3e8E9471Fcb96',
},
};
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type GovernanceV3Addresses = {
GOVERNANCE?: Hex;
VOTING_MACHINE?: Hex;
PAYLOADS_CONTROLLER?: Hex;
PERMISSIONED_PAYLOADS_CONTROLLER?: Hex;
VOTING_PORTAL_ETH_ETH?: Hex;
VOTING_PORTAL_ETH_AVAX?: Hex;
VOTING_PORTAL_ETH_POL?: Hex;
Expand Down
6 changes: 4 additions & 2 deletions scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {gnosisProtoV3} from './configs/pools/gnosis';
import {bnbProtoV3} from './configs/pools/bnb';
import {optimismProtoV3, optimismSepoliaProtoV3} from './configs/pools/optimism';
import {polygonProtoV2, polygonProtoV3} from './configs/pools/polygon';
import {scrollSepoliaProtoV3, scrollProtoV3} from './configs/pools/scroll';
import {scrollSepoliaProtoV3, scrollProtoV3, etherFiScrollProtoV3} from './configs/pools/scroll';
import {zkSyncProtoV3} from './configs/pools/zksync';
import {lineaProtoV3} from './configs/pools/linea';
import {celoProtoV3} from './configs/pools/celo';
Expand Down Expand Up @@ -60,7 +60,7 @@ import {gnosisAddresses} from './configs/networks/gnosis';
import {bnbAddresses} from './configs/networks/bnb';
import {celoAddresses} from './configs/networks/celo';
import {scrollAddresses} from './configs/networks/scroll';
import {governanceConfigScroll} from './configs/governance/scroll';
import {governanceConfigScroll, governanceConfigScrollEtherFi} from './configs/governance/scroll';
import {generateTokenList} from './generator/generateTokenList';
import {generateAaveV1} from './generator/protocolV1Generator';
import {governanceConfigZkSync} from './configs/governance/zksync';
Expand Down Expand Up @@ -108,6 +108,7 @@ async function main() {
governanceConfigBNB,
governanceConfigGnosis,
governanceConfigScroll,
governanceConfigScrollEtherFi,
governanceConfigZkSync,
governanceConfigCelo,
governanceConfigLinea,
Expand Down Expand Up @@ -146,6 +147,7 @@ async function main() {
optimismProtoV3,
optimismSepoliaProtoV3,
scrollProtoV3,
etherFiScrollProtoV3,
scrollSepoliaProtoV3,
zkSyncProtoV3,
// fantomTestnetProtoV3,
Expand Down
17 changes: 16 additions & 1 deletion scripts/generator/governanceV3Generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {writeFileSync} from 'fs';
import {Hex, getContract, Address, Client} from 'viem';
import {Addresses, GovernanceConfig} from '../configs/types';
import {
extractTypes,
generateJsConstants,
generateSolidityConstants,
prefixWithGeneratedWarning,
Expand Down Expand Up @@ -92,6 +93,20 @@ async function getGovernanceV3Addresses({CHAIN_ID, ADDRESSES}: GovernanceConfig)
};
addresses = {...addresses, ...executors};
}
if (ADDRESSES.PERMISSIONED_PAYLOADS_CONTROLLER) {
const executors = await fetchV3ExecutorAddresses(
getClient(CHAIN_ID),
ADDRESSES.PERMISSIONED_PAYLOADS_CONTROLLER,
);
addresses.PERMISSIONED_PAYLOADS_CONTROLLER = {
value: ADDRESSES.PERMISSIONED_PAYLOADS_CONTROLLER,
type: 'IPayloadsControllerCore',
};
addresses = {
...addresses,
PERMISSIONED_PAYLOADS_CONTROLLER_EXECUTOR: executors.EXECUTOR_LVL_1,
};
}
if (ADDRESSES.VOTING_MACHINE) {
const strategyAndWareHouse = await getVotingStrategyAndWarehouse(
ADDRESSES.VOTING_MACHINE,
Expand All @@ -110,7 +125,7 @@ export async function generateGovernanceLibrary(config: GovernanceConfig) {
`./src/${name}.sol`,
prefixWithPragma(
prefixWithGeneratedWarning(
`import {IGovernanceCore, IPayloadsControllerCore, IDataWarehouse, IVotingStrategy} from './GovernanceV3.sol';\n` +
`import {${extractTypes(addresses).join(', ')}} from './GovernanceV3.sol';\n\n` +
wrapIntoSolidityLibrary(
generateSolidityConstants({chainId: config.CHAIN_ID, addresses}),
name,
Expand Down
11 changes: 11 additions & 0 deletions scripts/generator/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,14 @@ export async function getTokenSymbol(client: Client, token: Hex): Promise<string
});
return await tokenContract.read.symbol();
}

export function extractTypes(addresses: Addresses): string[] {
const types = new Set<string>();
for (const key in addresses) {
const entry = addresses[key];
if (entry && typeof entry === 'object' && 'type' in entry && typeof entry.type === 'string') {
types.add(entry.type);
}
}
return Array.from(types);
}
98 changes: 98 additions & 0 deletions src/AaveV3ScrollEtherFi.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
// 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, ICollector} from './AaveV3.sol';
library AaveV3ScrollEtherFi {
// https://scrollscan.com/address/0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D);

// https://scrollscan.com/address/0x6807dc923806fE8Fd134338EABCA509979a7e0cB
IPool internal constant POOL = IPool(0x6807dc923806fE8Fd134338EABCA509979a7e0cB);

// https://scrollscan.com/address/0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584
IPoolConfigurator internal constant POOL_CONFIGURATOR =
IPoolConfigurator(0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584);

// https://scrollscan.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671
IAaveOracle internal constant ORACLE = IAaveOracle(0xB1532b76D054c9F9E61b25c4d91f69B4133E4671);

// https://scrollscan.com/address/0x2aB3580a805fB10CbAd567212C70e26C1B6769eC
address internal constant PRICE_ORACLE_SENTINEL = 0x2aB3580a805fB10CbAd567212C70e26C1B6769eC;

// https://scrollscan.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D;

// https://scrollscan.com/address/0xf751969521E20A972A0776CDB0497Fad0F773F1F
IACLManager internal constant ACL_MANAGER =
IACLManager(0xf751969521E20A972A0776CDB0497Fad0F773F1F);

// https://scrollscan.com/address/0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af);

// https://scrollscan.com/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
address internal constant POOL_IMPL = 0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D;

// https://scrollscan.com/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
address internal constant POOL_CONFIGURATOR_IMPL = 0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9;

// https://scrollscan.com/address/0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4
address internal constant DEFAULT_INCENTIVES_CONTROLLER =
0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4;

// https://scrollscan.com/address/0x381433957104c19a3a3035071Ddf57fDd9Ec63d0
address internal constant EMISSION_MANAGER = 0x381433957104c19a3a3035071Ddf57fDd9Ec63d0;

// https://scrollscan.com/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574
address internal constant L2_ENCODER = 0xBeC519531F0E78BcDdB295242fA4EC5251B38574;

// https://scrollscan.com/address/0xde35f7711295Dfd0CD8bd94d46f65b8Acb182520
address internal constant CONFIG_ENGINE = 0xde35f7711295Dfd0CD8bd94d46f65b8Acb182520;

// https://scrollscan.com/address/0x2D97F8FA96886Fd923c065F5457F9DDd494e3877
address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY =
0x2D97F8FA96886Fd923c065F5457F9DDd494e3877;

// https://scrollscan.com/address/0x1236010CECea55998384e795B59815D871f5f94d
address internal constant UI_INCENTIVE_DATA_PROVIDER = 0x1236010CECea55998384e795B59815D871f5f94d;

// https://scrollscan.com/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB
address internal constant UI_POOL_DATA_PROVIDER = 0x41585C50524fb8c3899B43D7D797d9486AAc94DB;

// https://scrollscan.com/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
address internal constant WALLET_BALANCE_PROVIDER = 0x36616cf17557639614c1cdDb356b1B83fc0B2132;

// https://scrollscan.com/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
address internal constant WETH_GATEWAY = 0x589750BA8aF186cE5B55391B0b7148cAD43a1619;

// https://scrollscan.com/address/0xd758C807Cf0BD82b737c2fC14935FEfe49C44141
address internal constant DUST_BIN = 0xd758C807Cf0BD82b737c2fC14935FEfe49C44141;

// https://scrollscan.com/address/0xCC29b02a414B6Bb66490edAa25d3e8E9471Fcb96
address internal constant STATA_FACTORY = 0xCC29b02a414B6Bb66490edAa25d3e8E9471Fcb96;
}
library AaveV3ScrollEtherFiAssets {}
library AaveV3ScrollEtherFiEModes {
uint8 internal constant NONE = 0;
}
library AaveV3ScrollEtherFiExternalLibraries {
// https://scrollscan.com/address/0x4fDB5d360f946CFD25b14F346f748204c0C6a2F4
address internal constant FLASHLOAN_LOGIC = 0x4fDB5d360f946CFD25b14F346f748204c0C6a2F4;

// https://scrollscan.com/address/0x5047AD5e603Ec4a2AB58aaE2321C07D8f4De6a8a
address internal constant BORROW_LOGIC = 0x5047AD5e603Ec4a2AB58aaE2321C07D8f4De6a8a;

// https://scrollscan.com/address/0x7fcE69A2bA3e78EeB36798cde2c94C70f3A043af
address internal constant E_MODE_LOGIC = 0x7fcE69A2bA3e78EeB36798cde2c94C70f3A043af;

// https://scrollscan.com/address/0x5934b283f7120500253f277CCcF4521528aE34D6
address internal constant LIQUIDATION_LOGIC = 0x5934b283f7120500253f277CCcF4521528aE34D6;

// https://scrollscan.com/address/0x564c42578A1b270EaE16c25Da39d901245881d1F
address internal constant POOL_LOGIC = 0x564c42578A1b270EaE16c25Da39d901245881d1F;

// https://scrollscan.com/address/0x1eF34B91afC368174F579067D1DB94325cDC7946
address internal constant SUPPLY_LOGIC = 0x1eF34B91afC368174F579067D1DB94325cDC7946;
}
15 changes: 15 additions & 0 deletions src/GovernanceV3ScrollEtherFi.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
import {IPayloadsControllerCore} from './GovernanceV3.sol';

library GovernanceV3ScrollEtherFi {
// https://scrollscan.com/address/0x1bE9f691084554f3CB8Cc7dCa67BD08AF4355E5D
IPayloadsControllerCore internal constant PERMISSIONED_PAYLOADS_CONTROLLER =
IPayloadsControllerCore(0x1bE9f691084554f3CB8Cc7dCa67BD08AF4355E5D);

// https://scrollscan.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant PERMISSIONED_PAYLOADS_CONTROLLER_EXECUTOR =
0x1dF462e2712496373A347f8ad10802a5E95f053D;
}
2 changes: 2 additions & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export * as GovernanceV3Base from './GovernanceV3Base';
export * as GovernanceV3BNB from './GovernanceV3BNB';
export * as GovernanceV3Gnosis from './GovernanceV3Gnosis';
export * as GovernanceV3Scroll from './GovernanceV3Scroll';
export * as GovernanceV3ScrollEtherFi from './GovernanceV3ScrollEtherFi';
export * as GovernanceV3ZkSync from './GovernanceV3ZkSync';
export * as GovernanceV3Celo from './GovernanceV3Celo';
export * as GovernanceV3Linea from './GovernanceV3Linea';
Expand Down Expand Up @@ -39,6 +40,7 @@ export * as AaveV3ArbitrumSepolia from './AaveV3ArbitrumSepolia';
export * as AaveV3Optimism from './AaveV3Optimism';
export * as AaveV3OptimismSepolia from './AaveV3OptimismSepolia';
export * as AaveV3Scroll from './AaveV3Scroll';
export * as AaveV3ScrollEtherFi from './AaveV3ScrollEtherFi';
export * as AaveV3ScrollSepolia from './AaveV3ScrollSepolia';
export * as AaveV3ZkSync from './AaveV3ZkSync';
export * as AaveV3EthereumLido from './AaveV3EthereumLido';
Expand Down
68 changes: 68 additions & 0 deletions src/ts/AaveV3ScrollEtherFi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// IPoolAddressesProvider https://scrollscan.com/address/0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D
export const POOL_ADDRESSES_PROVIDER = '0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D';

// IPool https://scrollscan.com/address/0x6807dc923806fE8Fd134338EABCA509979a7e0cB
export const POOL = '0x6807dc923806fE8Fd134338EABCA509979a7e0cB';

// IPoolConfigurator https://scrollscan.com/address/0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584
export const POOL_CONFIGURATOR = '0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584';

// IAaveOracle https://scrollscan.com/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671
export const ORACLE = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671';

// https://scrollscan.com/address/0x2aB3580a805fB10CbAd567212C70e26C1B6769eC
export const PRICE_ORACLE_SENTINEL = '0x2aB3580a805fB10CbAd567212C70e26C1B6769eC';

// https://scrollscan.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D';

// IACLManager https://scrollscan.com/address/0xf751969521E20A972A0776CDB0497Fad0F773F1F
export const ACL_MANAGER = '0xf751969521E20A972A0776CDB0497Fad0F773F1F';

// IPoolDataProvider https://scrollscan.com/address/0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x06C35Cfd3FC61eC2aC437f0d08840d5776b945af';

// https://scrollscan.com/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
export const POOL_IMPL = '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D';

// https://scrollscan.com/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
export const POOL_CONFIGURATOR_IMPL = '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9';

// https://scrollscan.com/address/0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4
export const DEFAULT_INCENTIVES_CONTROLLER = '0xC206C2764A9dBF27d599613b8F9A63ACd1160ab4';

// https://scrollscan.com/address/0x381433957104c19a3a3035071Ddf57fDd9Ec63d0
export const EMISSION_MANAGER = '0x381433957104c19a3a3035071Ddf57fDd9Ec63d0';

// https://scrollscan.com/address/0xBeC519531F0E78BcDdB295242fA4EC5251B38574
export const L2_ENCODER = '0xBeC519531F0E78BcDdB295242fA4EC5251B38574';

// https://scrollscan.com/address/0xde35f7711295Dfd0CD8bd94d46f65b8Acb182520
export const CONFIG_ENGINE = '0xde35f7711295Dfd0CD8bd94d46f65b8Acb182520';

// https://scrollscan.com/address/0x2D97F8FA96886Fd923c065F5457F9DDd494e3877
export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x2D97F8FA96886Fd923c065F5457F9DDd494e3877';

// https://scrollscan.com/address/0x1236010CECea55998384e795B59815D871f5f94d
export const UI_INCENTIVE_DATA_PROVIDER = '0x1236010CECea55998384e795B59815D871f5f94d';

// https://scrollscan.com/address/0x41585C50524fb8c3899B43D7D797d9486AAc94DB
export const UI_POOL_DATA_PROVIDER = '0x41585C50524fb8c3899B43D7D797d9486AAc94DB';

// https://scrollscan.com/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
export const WALLET_BALANCE_PROVIDER = '0x36616cf17557639614c1cdDb356b1B83fc0B2132';

// https://scrollscan.com/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
export const WETH_GATEWAY = '0x589750BA8aF186cE5B55391B0b7148cAD43a1619';

// https://scrollscan.com/address/0xd758C807Cf0BD82b737c2fC14935FEfe49C44141
export const DUST_BIN = '0xd758C807Cf0BD82b737c2fC14935FEfe49C44141';

// https://scrollscan.com/address/0xCC29b02a414B6Bb66490edAa25d3e8E9471Fcb96
export const STATA_FACTORY = '0xCC29b02a414B6Bb66490edAa25d3e8E9471Fcb96';

export const CHAIN_ID = 534352;
export const ASSETS = {} as const;
export const E_MODES = {} as const;
export const EXTERNAL_LIBRARIES = {} as const;
8 changes: 8 additions & 0 deletions src/ts/GovernanceV3ScrollEtherFi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// IPayloadsControllerCore https://scrollscan.com/address/0x1bE9f691084554f3CB8Cc7dCa67BD08AF4355E5D
export const PERMISSIONED_PAYLOADS_CONTROLLER = '0x1bE9f691084554f3CB8Cc7dCa67BD08AF4355E5D';

// https://scrollscan.com/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const PERMISSIONED_PAYLOADS_CONTROLLER_EXECUTOR =
'0x1dF462e2712496373A347f8ad10802a5E95f053D';

export const CHAIN_ID = 534352;
Loading
Loading