Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added scroll contracts #307

Merged
merged 4 commits into from
Jan 4, 2024
Merged
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
12 changes: 12 additions & 0 deletions scripts/configs/governance/scroll.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {ChainId} from '../../generator/chains';
import {GovernanceConfig} from '../types';

export const governanceConfigScroll: GovernanceConfig = {
name: 'Scroll',
CHAIN_ID: ChainId.scroll,
ADDRESSES: {
CROSS_CHAIN_CONTROLLER: '0x03073D3F4769f6b6604d616238fD6c636C99AD0A',
PAYLOADS_CONTROLLER: '0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE',
PC_DATA_HELPER: '0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424',
},
};
13 changes: 13 additions & 0 deletions scripts/configs/networks/scroll.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {ChainId} from '../../generator/chains';
import {NetworkAddresses} from '../types';

export const scrollAddresses: NetworkAddresses = {
name: 'Scroll',
chainId: ChainId.scroll,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0xFa2eeb2d0054C3Db2A606E2cd9EE111b62707D1e',
PROXY_ADMIN: '0x782559e349b084bB7C07c08404aE6E3436cDAE2E',
// TODO: CREATE_3_FACTORY: '',
// TODO: PROTOCOL_GUARDIAN: '',
},
};
24 changes: 24 additions & 0 deletions scripts/configs/pools/scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,27 @@ export const scrollSepoliaProtoV3: PoolConfig = {
WETH_GATEWAY: '0x57ce905CfD7f986A929A26b006f797d181dB706e',
},
};

export const scrollProtoV3: PoolConfig = {
name: 'Scroll',
chainId: ChainId.scroll,
POOL_ADDRESSES_PROVIDER: '0xdc5D225Df17df184d11015B91C4A10cd7834e2aC',
additionalAddresses: {
L2_ENCODER: '0x0ffE481FBF0AE2282A5E1f701fab266aF487A97D',
CAPS_PLUS_RISK_STEWARD: '0x36a92f2373400050656256B03Fa189145b708921',
FREEZING_STEWARD: '0xCC3958a77c001a5608768537F628cA3b0A2A9386',
CONFIG_ENGINE: '0x22913D4E21D44EF7662B118A6540450e25fE09a9',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0xb0633e01310a09C1Ee71a96c057DcF9c13fd6F62',
RATES_FACTORY: '0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe',
UI_INCENTIVE_DATA_PROVIDER: '0x9E7DF170E44093d6738057157CA048794B02555d',
UI_POOL_DATA_PROVIDER: '0x29CF7aC4Fc122085c0D4DE8894f878F0b141F799',
WALLET_BALANCE_PROVIDER: '0x07D04EfAAA0Ac69D19d107795aF247C42Eb50F1C',
WETH_GATEWAY: '0x93c597e5229f76679d7646cC9161B59Cc0DE78B9'
},
initial: {
COLLECTOR: '0x83a9EFE0485e7C227F29fe376132EfF746B45E96',
DEFAULT_A_TOKEN_IMPL: '0xA9E3fFb25C369e44862DD3e87Be4420abb879965',
DEFAULT_VARIABLE_DEBT_TOKEN_IMPL: '0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c',
DEFAULT_STABLE_DEBT_TOKEN_IMPL: '0x07c319CaCAcF9422fA18f3e7389A0BE1B64cAB86',
},
};
7 changes: 6 additions & 1 deletion scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
polygonProtoV2,
polygonProtoV3,
} from './configs/pools/polygon';
import {scrollAlphaProtoV3, scrollSepoliaProtoV3} from './configs/pools/scroll';
import {scrollAlphaProtoV3, scrollSepoliaProtoV3, scrollProtoV3} from './configs/pools/scroll';
import {generateGovernanceLibrary} from './generator/governanceV3Generator';
import {generateProtocolV2Library} from './generator/protocolV2Generator';
import {generateProtocolV3Library} from './generator/protocolV3Generator';
Expand All @@ -56,6 +56,8 @@ import {optimismAddresses} from './configs/networks/optimism';
import {metisAddresses} from './configs/networks/metis';
import {gnosisAddresses} from './configs/networks/gnosis';
import {bnbAddresses} from './configs/networks/bnb';
import {scrollAddresses} from './configs/networks/scroll';
import {governanceConfigScroll} from './configs/governance/scroll';

async function main() {
// cleanup ts artifacts
Expand Down Expand Up @@ -83,6 +85,7 @@ async function main() {
governanceConfigBase,
governanceConfigBNB,
governanceConfigGnosis,
governanceConfigScroll,
].map((config) => generateGovernanceLibrary(config)),
);
const v2LibraryNames = await Promise.all(
Expand Down Expand Up @@ -114,6 +117,7 @@ async function main() {
arbitrumProtoV3,
optimismGoerliProtoV3,
optimismProtoV3,
scrollProtoV3,
scrollAlphaProtoV3,
scrollSepoliaProtoV3,
fantomTestnetProtoV3,
Expand All @@ -133,6 +137,7 @@ async function main() {
metisAddresses,
gnosisAddresses,
bnbAddresses,
scrollAddresses,
sepoliaAddresses,
mumbaiAddresses,
].map((addresses) => generateNetworkAddresses(addresses));
Expand Down
1 change: 1 addition & 0 deletions scripts/generator/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export enum ChainId {
optimism_goerli = 420,
harmony = 1666600000,
sepolia = 11155111,
scroll = 534352,
scroll_alpha = 534353,
scroll_sepolia = 534351,
metis = 1088,
Expand Down
8 changes: 8 additions & 0 deletions scripts/generator/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
optimismGoerli,
fantom,
fantomTestnet,
scroll,
scrollTestnet,
scrollSepolia,
metis,
Expand Down Expand Up @@ -167,4 +168,11 @@ export const RPC_PROVIDERS = {
multicall: true,
},
}),
[ChainId.scroll]: createPublicClient({
chain: scroll,
transport: http(process.env.RPC_SCROLL),
batch: {
multicall: true,
},
}),
} as const;
3 changes: 3 additions & 0 deletions src/AaveAddressBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {GovernanceV3Metis} from './GovernanceV3Metis.sol';
import {GovernanceV3Base} from './GovernanceV3Base.sol';
import {GovernanceV3BNB} from './GovernanceV3BNB.sol';
import {GovernanceV3Gnosis} from './GovernanceV3Gnosis.sol';
import {GovernanceV3Scroll} from './GovernanceV3Scroll.sol';
import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol';
import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol';
import {AaveV2Ethereum} from './AaveV2Ethereum.sol';
Expand All @@ -37,6 +38,7 @@ import {AaveV3ArbitrumGoerli} from './AaveV3ArbitrumGoerli.sol';
import {AaveV3Arbitrum} from './AaveV3Arbitrum.sol';
import {AaveV3OptimismGoerli} from './AaveV3OptimismGoerli.sol';
import {AaveV3Optimism} from './AaveV3Optimism.sol';
import {AaveV3Scroll} from './AaveV3Scroll.sol';
import {AaveV3ScrollAlpha} from './AaveV3ScrollAlpha.sol';
import {AaveV3ScrollSepolia} from './AaveV3ScrollSepolia.sol';
import {AaveV3FantomTestnet} from './AaveV3FantomTestnet.sol';
Expand All @@ -52,6 +54,7 @@ import {MiscPolygon} from './MiscPolygon.sol';
import {MiscMetis} from './MiscMetis.sol';
import {MiscGnosis} from './MiscGnosis.sol';
import {MiscBNB} from './MiscBNB.sol';
import {MiscScroll} from './MiscScroll.sol';
import {MiscSepolia} from './MiscSepolia.sol';
import {MiscMumbai} from './MiscMumbai.sol';
import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol';
Expand Down
92 changes: 92 additions & 0 deletions src/AaveV3Scroll.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

import {IPoolAddressesProvider, IPool, IPoolConfigurator, IAaveOracle, IPoolDataProvider, IACLManager} from './AaveV3.sol';
import {ICollector} from './common/ICollector.sol';

library AaveV3Scroll {
// https://scrollscan.com/address/0xdc5D225Df17df184d11015B91C4A10cd7834e2aC
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0xdc5D225Df17df184d11015B91C4A10cd7834e2aC);

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

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

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

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

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

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

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

// https://scrollscan.com/address/0x83a9EFE0485e7C227F29fe376132EfF746B45E96
ICollector internal constant COLLECTOR = ICollector(0x83a9EFE0485e7C227F29fe376132EfF746B45E96);

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

// https://scrollscan.com/address/0xA9E3fFb25C369e44862DD3e87Be4420abb879965
address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xA9E3fFb25C369e44862DD3e87Be4420abb879965;

// https://scrollscan.com/address/0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c
address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 =
0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c;

// https://scrollscan.com/address/0x07c319CaCAcF9422fA18f3e7389A0BE1B64cAB86
address internal constant DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 =
0x07c319CaCAcF9422fA18f3e7389A0BE1B64cAB86;

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

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

// https://scrollscan.com/address/0x36a92f2373400050656256B03Fa189145b708921
address internal constant CAPS_PLUS_RISK_STEWARD = 0x36a92f2373400050656256B03Fa189145b708921;

// https://scrollscan.com/address/0xCC3958a77c001a5608768537F628cA3b0A2A9386
address internal constant FREEZING_STEWARD = 0xCC3958a77c001a5608768537F628cA3b0A2A9386;

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

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

// https://scrollscan.com/address/0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe
address internal constant RATES_FACTORY = 0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe;

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

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

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

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

library AaveV3ScrollAssets {}

library AaveV3ScrollEModes {}
23 changes: 23 additions & 0 deletions src/GovernanceV3Scroll.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

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

library GovernanceV3Scroll {
// https://scrollscan.com/address/0x03073D3F4769f6b6604d616238fD6c636C99AD0A
address internal constant CROSS_CHAIN_CONTROLLER = 0x03073D3F4769f6b6604d616238fD6c636C99AD0A;

// https://scrollscan.com/address/0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE
IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER =
IPayloadsControllerCore(0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE);

// https://scrollscan.com/address/0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424
address internal constant PC_DATA_HELPER = 0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424;

// https://scrollscan.com/address/0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24
address internal constant EXECUTOR_LVL_1 = 0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24;

// https://scrollscan.com/address/0x0000000000000000000000000000000000000000
address internal constant EXECUTOR_LVL_2 = 0x0000000000000000000000000000000000000000;
}
11 changes: 11 additions & 0 deletions src/MiscScroll.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

library MiscScroll {
// https://scrollscan.com/address/0xFa2eeb2d0054C3Db2A606E2cd9EE111b62707D1e
address internal constant TRANSPARENT_PROXY_FACTORY = 0xFa2eeb2d0054C3Db2A606E2cd9EE111b62707D1e;

// https://scrollscan.com/address/0x782559e349b084bB7C07c08404aE6E3436cDAE2E
address internal constant PROXY_ADMIN = 0x782559e349b084bB7C07c08404aE6E3436cDAE2E;
}
3 changes: 3 additions & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export * as GovernanceV3Metis from './GovernanceV3Metis';
export * as GovernanceV3Base from './GovernanceV3Base';
export * as GovernanceV3BNB from './GovernanceV3BNB';
export * as GovernanceV3Gnosis from './GovernanceV3Gnosis';
export * as GovernanceV3Scroll from './GovernanceV3Scroll';
export * as AaveV2EthereumAMM from './AaveV2EthereumAMM';
export * as AaveV2EthereumArc from './AaveV2EthereumArc';
export * as AaveV2Ethereum from './AaveV2Ethereum';
Expand All @@ -34,6 +35,7 @@ export * as AaveV3ArbitrumGoerli from './AaveV3ArbitrumGoerli';
export * as AaveV3Arbitrum from './AaveV3Arbitrum';
export * as AaveV3OptimismGoerli from './AaveV3OptimismGoerli';
export * as AaveV3Optimism from './AaveV3Optimism';
export * as AaveV3Scroll from './AaveV3Scroll';
export * as AaveV3ScrollAlpha from './AaveV3ScrollAlpha';
export * as AaveV3ScrollSepolia from './AaveV3ScrollSepolia';
export * as AaveV3FantomTestnet from './AaveV3FantomTestnet';
Expand All @@ -49,6 +51,7 @@ export * as MiscPolygon from './MiscPolygon';
export * as MiscMetis from './MiscMetis';
export * as MiscGnosis from './MiscGnosis';
export * as MiscBNB from './MiscBNB';
export * as MiscScroll from './MiscScroll';
export * as MiscSepolia from './MiscSepolia';
export * as MiscMumbai from './MiscMumbai';
export * as AaveGovernanceV2 from './AaveGovernanceV2';
Expand Down
76 changes: 76 additions & 0 deletions src/ts/AaveV3Scroll.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// IPoolAddressesProvider https://scrollscan.com/address/0xdc5D225Df17df184d11015B91C4A10cd7834e2aC
export const POOL_ADDRESSES_PROVIDER = '0xdc5D225Df17df184d11015B91C4A10cd7834e2aC';

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

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

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

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

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

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

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

// ICollector https://scrollscan.com/address/0x83a9EFE0485e7C227F29fe376132EfF746B45E96
export const COLLECTOR = '0x83a9EFE0485e7C227F29fe376132EfF746B45E96';

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

// https://scrollscan.com/address/0xA9E3fFb25C369e44862DD3e87Be4420abb879965
export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xA9E3fFb25C369e44862DD3e87Be4420abb879965';

// https://scrollscan.com/address/0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c
export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x95eeA7A0b16C8ee3A923D3F5ebe6d77C0332084c';

// https://scrollscan.com/address/0x07c319CaCAcF9422fA18f3e7389A0BE1B64cAB86
export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0x07c319CaCAcF9422fA18f3e7389A0BE1B64cAB86';

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

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

// https://scrollscan.com/address/0x36a92f2373400050656256B03Fa189145b708921
export const CAPS_PLUS_RISK_STEWARD = '0x36a92f2373400050656256B03Fa189145b708921';

// https://scrollscan.com/address/0xCC3958a77c001a5608768537F628cA3b0A2A9386
export const FREEZING_STEWARD = '0xCC3958a77c001a5608768537F628cA3b0A2A9386';

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

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

// https://scrollscan.com/address/0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe
export const RATES_FACTORY = '0xeF4d1F3F0dCe46C1Ad684F23Ea3aA542592A8cFe';

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

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

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

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

export const CHAIN_ID = 534352;
export const ASSETS = {} as const;
export const E_MODES = {} as const;
14 changes: 14 additions & 0 deletions src/ts/GovernanceV3Scroll.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// https://scrollscan.com/address/0x03073D3F4769f6b6604d616238fD6c636C99AD0A
export const CROSS_CHAIN_CONTROLLER = '0x03073D3F4769f6b6604d616238fD6c636C99AD0A';

// IPayloadsControllerCore https://scrollscan.com/address/0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE
export const PAYLOADS_CONTROLLER = '0x6b6B41c0f8C223715f712BE83ceC3c37bbfDC3fE';

// https://scrollscan.com/address/0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424
export const PC_DATA_HELPER = '0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424';

// https://scrollscan.com/address/0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24
export const EXECUTOR_LVL_1 = '0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24';

// https://scrollscan.com/address/0x0000000000000000000000000000000000000000
export const EXECUTOR_LVL_2 = '0x0000000000000000000000000000000000000000';
Loading