Skip to content

Commit

Permalink
feat: add zksync addresses (#500)
Browse files Browse the repository at this point in the history
* feat: add zksync addresses

* fix: generated addresses

* fix: new addresses

* chore: update origin lib

* feat: zksync pool contracts

* feat: update addresses zksync

* fix: addresses

* fix: update to new proxy factory

* chore: update origin

* feat: add guardian and config engine

* fix: addresses

* fix: add granular guardian

* fix: added gov guardian

---------

Co-authored-by: Harsh Pandey <harshsatishpandey@gmail.com>
  • Loading branch information
sendra and brotherlymite authored Aug 7, 2024
1 parent ecf4c7e commit 0a91312
Show file tree
Hide file tree
Showing 14 changed files with 326 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aave-v3-origin
Submodule aave-v3-origin updated 162 files
14 changes: 14 additions & 0 deletions scripts/configs/governance/zksync.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {ChainId} from '@bgd-labs/js-utils';
import {GovernanceConfig} from '../types';

export const governanceConfigZkSync: GovernanceConfig = {
name: 'ZkSync',
CHAIN_ID: ChainId.zkSync,
ADDRESSES: {
CROSS_CHAIN_CONTROLLER: '0x800813f4714BC7A0a95310e3fB9e4f18872CA92C',
PAYLOADS_CONTROLLER: '0x2E79349c3F5e4751E87b966812C9E65E805996F1',
PC_DATA_HELPER: '0xe28A3235DCF1Acb8397B546bd588bAAFD7081505',
GRANULAR_GUARDIAN: '0xe0e23196D42b54F262a3DE952e6B34B197D1A228',
GOVERNANCE_GUARDIAN: '0x4257bf0746D783f0D962913d7d8AFA408B62547E',
},
};
13 changes: 13 additions & 0 deletions scripts/configs/networks/zksync.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {Hex} from 'viem';
import {ChainId} from '@bgd-labs/js-utils';
import {NetworkAddresses} from '../types';

export const zkSyncAddresses: NetworkAddresses = {
name: 'ZkSync',
chainId: ChainId.zkSync,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0x903A3228c4C58e94787CB33EE83e087bCFcF0a91',
PROXY_ADMIN: '0x158d6c497317367CEa3CBAb0BD84E6de236F060D',
PROTOCOL_GUARDIAN: '0xba845c27903F7dDB5c676e5b74728C871057E000',
},
};
23 changes: 23 additions & 0 deletions scripts/configs/pools/zksync.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import {ChainId} from '@bgd-labs/js-utils';
import {PoolConfig} from '../types';

export const zkSyncProtoV3: PoolConfig = {
name: 'ZkSync',
chainId: ChainId.zkSync,
POOL_ADDRESSES_PROVIDER: '0xE8bC6e12faf260dbA1c942134070221B11BF37Fb',
additionalAddresses: {
L2_ENCODER: '0x54478961c63F981066859c6aac4160f2d7A658E3',
CONFIG_ENGINE: '0x8942E8873246e7c0996ebB95Eaff8e888bABDf66',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x396C44011e58108eC3a7Ad83B5c9FB4B256Ba5D7',
UI_INCENTIVE_DATA_PROVIDER: '0xEeaC35776B35837318c317E0aE57AFdef7eeF40a',
UI_POOL_DATA_PROVIDER: '0xff9D92509A5C60636718BE40Be5CA0b4fE3fACcD',
WALLET_BALANCE_PROVIDER: '0x3BE5B5E817440f0CDcA46f89518BE4a67875Acb3',
WETH_GATEWAY: '0x5E6aB3f1F82469929f4E4243d110CaBD2Dce5f60'
},
initial: {
COLLECTOR: '0x34c480f4e3fCb59e2521886950f801af88f68632',
DEFAULT_A_TOKEN_IMPL: '0xC2769946125F117B66EB30eE0c2E69C3FE5dF4Cc',
DEFAULT_VARIABLE_DEBT_TOKEN_IMPL: '0x7b9bF948D5925a8FCF5193C34DBEaca318028115',
DEFAULT_STABLE_DEBT_TOKEN_IMPL: '0xB0349F079C04b953DD9704c29dc631D5cBA1a52f',
},
};
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export type GovernanceV3Addresses = {
EMERGENCY_REGISTRY?: Hex;
GOVERNANCE_POWER_STRATEGY?: Hex;
GRANULAR_GUARDIAN?: Hex;
GOVERNANCE_GUARDIAN?: Hex;
};

export interface GovernanceConfig {
Expand Down
6 changes: 6 additions & 0 deletions scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {polygonZkEvmProtoV3} from './configs/pools/polygonZkEvm';
import {optimismProtoV3, optimismSepoliaProtoV3} from './configs/pools/optimism';
import {polygonProtoV2, polygonProtoV3} from './configs/pools/polygon';
import {scrollSepoliaProtoV3, scrollProtoV3} from './configs/pools/scroll';
import {zkSyncProtoV3} from './configs/pools/zksync';
import {generateGovernanceLibrary} from './generator/governanceV3Generator';
import {generateProtocolV2Library} from './generator/protocolV2Generator';
import {generateProtocolV3Library} from './generator/protocolV3Generator';
Expand Down Expand Up @@ -58,6 +59,8 @@ import {governanceConfigScroll} from './configs/governance/scroll';
import {governanceConfigPolygonZkEvm} from './configs/governance/polygonZkEvm';
import {generateTokenList} from './generator/generateTokenList';
import {generateAaveV1} from './generator/protocolV1Generator';
import {governanceConfigZkSync} from './configs/governance/zksync';
import {zkSyncAddresses} from './configs/networks/zksync';

async function main() {
// cleanup ts artifacts
Expand Down Expand Up @@ -86,6 +89,7 @@ async function main() {
governanceConfigGnosis,
governanceConfigScroll,
governanceConfigPolygonZkEvm,
governanceConfigZkSync,
].map((config) => generateGovernanceLibrary(config)),
);
const v1Library = generateAaveV1();
Expand Down Expand Up @@ -119,6 +123,7 @@ async function main() {
optimismSepoliaProtoV3,
scrollProtoV3,
scrollSepoliaProtoV3,
zkSyncProtoV3,
fantomTestnetProtoV3,
fantomProtoV3,
harmonyProtoV3,
Expand Down Expand Up @@ -147,6 +152,7 @@ async function main() {
scrollAddresses,
polygonZkEvmAddresses,
sepoliaAddresses,
zkSyncAddresses,
].map((addresses) => generateNetworkAddresses(addresses));

const govImports = generateGovV2();
Expand Down
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 {GovernanceV3BNB} from './GovernanceV3BNB.sol';
import {GovernanceV3Gnosis} from './GovernanceV3Gnosis.sol';
import {GovernanceV3Scroll} from './GovernanceV3Scroll.sol';
import {GovernanceV3PolygonZkEvm} from './GovernanceV3PolygonZkEvm.sol';
import {GovernanceV3ZkSync} from './GovernanceV3ZkSync.sol';
import {AaveV1} from './AaveV1.sol';
import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol';
import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol';
Expand All @@ -38,6 +39,7 @@ import {AaveV3Optimism} from './AaveV3Optimism.sol';
import {AaveV3OptimismSepolia} from './AaveV3OptimismSepolia.sol';
import {AaveV3Scroll} from './AaveV3Scroll.sol';
import {AaveV3ScrollSepolia} from './AaveV3ScrollSepolia.sol';
import {AaveV3ZkSync} from './AaveV3ZkSync.sol';
import {AaveV3FantomTestnet} from './AaveV3FantomTestnet.sol';
import {AaveV3Fantom} from './AaveV3Fantom.sol';
import {AaveV3Harmony} from './AaveV3Harmony.sol';
Expand All @@ -59,5 +61,6 @@ import {MiscBNB} from './MiscBNB.sol';
import {MiscScroll} from './MiscScroll.sol';
import {MiscPolygonZkEvm} from './MiscPolygonZkEvm.sol';
import {MiscSepolia} from './MiscSepolia.sol';
import {MiscZkSync} from './MiscZkSync.sol';
import {AaveGovernanceV2} from './AaveGovernanceV2.sol';
import {AaveSafetyModule} from './AaveSafetyModule.sol';
111 changes: 111 additions & 0 deletions src/AaveV3ZkSync.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
// 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 AaveV3ZkSync {
// https://era.zksync.network//address/0xE8bC6e12faf260dbA1c942134070221B11BF37Fb
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0xE8bC6e12faf260dbA1c942134070221B11BF37Fb);

// https://era.zksync.network//address/0x5a823a7bAeda24DF00d0412F2738172C4dD48a13
IPool internal constant POOL = IPool(0x5a823a7bAeda24DF00d0412F2738172C4dD48a13);

// https://era.zksync.network//address/0xCa4FaD1F6cAcE075C1706a0E3Bf481A91D51bC85
address internal constant POOL_IMPL = 0xCa4FaD1F6cAcE075C1706a0E3Bf481A91D51bC85;

// https://era.zksync.network//address/0xEFbc49BB1A3481Cd964f2d5046971b9358D21eEd
IPoolConfigurator internal constant POOL_CONFIGURATOR =
IPoolConfigurator(0xEFbc49BB1A3481Cd964f2d5046971b9358D21eEd);

// https://era.zksync.network//address/0x622C92fa29635e5b45Dc52A054330F58245e5cb5
address internal constant POOL_CONFIGURATOR_IMPL = 0x622C92fa29635e5b45Dc52A054330F58245e5cb5;

// https://era.zksync.network//address/0x72C9aA92deB6D3A612939f002643A2aC65d4756a
IAaveOracle internal constant ORACLE = IAaveOracle(0x72C9aA92deB6D3A612939f002643A2aC65d4756a);

// https://era.zksync.network//address/0x8F77AEAfC2335F103F3Cc2C74a57b93fE061085F
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x8F77AEAfC2335F103F3Cc2C74a57b93fE061085F);

// https://era.zksync.network//address/0x9c63E38f3FCef5e1b1d7E647c1e39Ddc1e15e5D8
IACLManager internal constant ACL_MANAGER =
IACLManager(0x9c63E38f3FCef5e1b1d7E647c1e39Ddc1e15e5D8);

// https://era.zksync.network//address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020
address internal constant ACL_ADMIN = 0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020;

// https://era.zksync.network//address/0x34c480f4e3fCb59e2521886950f801af88f68632
ICollector internal constant COLLECTOR = ICollector(0x34c480f4e3fCb59e2521886950f801af88f68632);

// https://era.zksync.network//address/0x896ED1635aEE1C64d68336A53eebaf04C276254e
address internal constant DEFAULT_INCENTIVES_CONTROLLER =
0x896ED1635aEE1C64d68336A53eebaf04C276254e;

// https://era.zksync.network//address/0xC2769946125F117B66EB30eE0c2E69C3FE5dF4Cc
address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0xC2769946125F117B66EB30eE0c2E69C3FE5dF4Cc;

// https://era.zksync.network//address/0x7b9bF948D5925a8FCF5193C34DBEaca318028115
address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 =
0x7b9bF948D5925a8FCF5193C34DBEaca318028115;

// https://era.zksync.network//address/0xB0349F079C04b953DD9704c29dc631D5cBA1a52f
address internal constant DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 =
0xB0349F079C04b953DD9704c29dc631D5cBA1a52f;

// https://era.zksync.network//address/0x595ef5910b3d3f287cA71b539021238Bc5F727AD
address internal constant EMISSION_MANAGER = 0x595ef5910b3d3f287cA71b539021238Bc5F727AD;

// https://era.zksync.network//address/0x54478961c63F981066859c6aac4160f2d7A658E3
address internal constant L2_ENCODER = 0x54478961c63F981066859c6aac4160f2d7A658E3;

// https://era.zksync.network//address/0x8942E8873246e7c0996ebB95Eaff8e888bABDf66
address internal constant CONFIG_ENGINE = 0x8942E8873246e7c0996ebB95Eaff8e888bABDf66;

// https://era.zksync.network//address/0x396C44011e58108eC3a7Ad83B5c9FB4B256Ba5D7
address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY =
0x396C44011e58108eC3a7Ad83B5c9FB4B256Ba5D7;

// https://era.zksync.network//address/0xEeaC35776B35837318c317E0aE57AFdef7eeF40a
address internal constant UI_INCENTIVE_DATA_PROVIDER = 0xEeaC35776B35837318c317E0aE57AFdef7eeF40a;

// https://era.zksync.network//address/0xff9D92509A5C60636718BE40Be5CA0b4fE3fACcD
address internal constant UI_POOL_DATA_PROVIDER = 0xff9D92509A5C60636718BE40Be5CA0b4fE3fACcD;

// https://era.zksync.network//address/0x3BE5B5E817440f0CDcA46f89518BE4a67875Acb3
address internal constant WALLET_BALANCE_PROVIDER = 0x3BE5B5E817440f0CDcA46f89518BE4a67875Acb3;

// https://era.zksync.network//address/0x5E6aB3f1F82469929f4E4243d110CaBD2Dce5f60
address internal constant WETH_GATEWAY = 0x5E6aB3f1F82469929f4E4243d110CaBD2Dce5f60;
}

library AaveV3ZkSyncAssets {}

library AaveV3ZkSyncEModes {
uint8 internal constant NONE = 0;
}

library AaveV3ZkSyncExternalLibraries {
// https://era.zksync.network//address/0xb9f1FdECc1169900a543CB8E9c1F24ee6dD7C665
address internal constant FLASHLOAN_LOGIC = 0xb9f1FdECc1169900a543CB8E9c1F24ee6dD7C665;

// https://era.zksync.network//address/0x8821156340E25f0d9f4ad79349944158b9B7370E
address internal constant BORROW_LOGIC = 0x8821156340E25f0d9f4ad79349944158b9B7370E;

// https://era.zksync.network//address/0x9E1c74428FAffDe164d2B6A4f707B0d0B177E69b
address internal constant BRIDGE_LOGIC = 0x9E1c74428FAffDe164d2B6A4f707B0d0B177E69b;

// https://era.zksync.network//address/0x94Eff35Bb1eF2089b61Ac8daeBff6987D45BEc53
address internal constant E_MODE_LOGIC = 0x94Eff35Bb1eF2089b61Ac8daeBff6987D45BEc53;

// https://era.zksync.network//address/0xd04CDe0FF78f3E5aa26d6eCB0b2cd62Ebc734821
address internal constant LIQUIDATION_LOGIC = 0xd04CDe0FF78f3E5aa26d6eCB0b2cd62Ebc734821;

// https://era.zksync.network//address/0xEe9A09200Ea8925bDB6CAA5739338D8716036f6F
address internal constant POOL_LOGIC = 0xEe9A09200Ea8925bDB6CAA5739338D8716036f6F;

// https://era.zksync.network//address/0x29292DcB190CB037105135a2c962F736c26787d8
address internal constant SUPPLY_LOGIC = 0x29292DcB190CB037105135a2c962F736c26787d8;
}
26 changes: 26 additions & 0 deletions src/GovernanceV3ZkSync.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 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 GovernanceV3ZkSync {
// https://era.zksync.network//address/0x800813f4714BC7A0a95310e3fB9e4f18872CA92C
address internal constant CROSS_CHAIN_CONTROLLER = 0x800813f4714BC7A0a95310e3fB9e4f18872CA92C;

// https://era.zksync.network//address/0x2E79349c3F5e4751E87b966812C9E65E805996F1
IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER =
IPayloadsControllerCore(0x2E79349c3F5e4751E87b966812C9E65E805996F1);

// https://era.zksync.network//address/0xe28A3235DCF1Acb8397B546bd588bAAFD7081505
address internal constant PC_DATA_HELPER = 0xe28A3235DCF1Acb8397B546bd588bAAFD7081505;

// https://era.zksync.network//address/0xe0e23196D42b54F262a3DE952e6B34B197D1A228
address internal constant GRANULAR_GUARDIAN = 0xe0e23196D42b54F262a3DE952e6B34B197D1A228;

// https://era.zksync.network//address/0x4257bf0746D783f0D962913d7d8AFA408B62547E
address internal constant GOVERNANCE_GUARDIAN = 0x4257bf0746D783f0D962913d7d8AFA408B62547E;

// https://era.zksync.network//address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020
address internal constant EXECUTOR_LVL_1 = 0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020;
}
14 changes: 14 additions & 0 deletions src/MiscZkSync.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

library MiscZkSync {
// https://era.zksync.network//address/0x903A3228c4C58e94787CB33EE83e087bCFcF0a91
address internal constant TRANSPARENT_PROXY_FACTORY = 0x903A3228c4C58e94787CB33EE83e087bCFcF0a91;

// https://era.zksync.network//address/0x158d6c497317367CEa3CBAb0BD84E6de236F060D
address internal constant PROXY_ADMIN = 0x158d6c497317367CEa3CBAb0BD84E6de236F060D;

// https://era.zksync.network//address/0xba845c27903F7dDB5c676e5b74728C871057E000
address internal constant PROTOCOL_GUARDIAN = 0xba845c27903F7dDB5c676e5b74728C871057E000;
}
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 GovernanceV3BNB from './GovernanceV3BNB';
export * as GovernanceV3Gnosis from './GovernanceV3Gnosis';
export * as GovernanceV3Scroll from './GovernanceV3Scroll';
export * as GovernanceV3PolygonZkEvm from './GovernanceV3PolygonZkEvm';
export * as GovernanceV3ZkSync from './GovernanceV3ZkSync';
export * as AaveV1 from './AaveV1';
export * as AaveV2EthereumAMM from './AaveV2EthereumAMM';
export * as AaveV2EthereumArc from './AaveV2EthereumArc';
Expand All @@ -35,6 +36,7 @@ export * as AaveV3Optimism from './AaveV3Optimism';
export * as AaveV3OptimismSepolia from './AaveV3OptimismSepolia';
export * as AaveV3Scroll from './AaveV3Scroll';
export * as AaveV3ScrollSepolia from './AaveV3ScrollSepolia';
export * as AaveV3ZkSync from './AaveV3ZkSync';
export * as AaveV3FantomTestnet from './AaveV3FantomTestnet';
export * as AaveV3Fantom from './AaveV3Fantom';
export * as AaveV3Harmony from './AaveV3Harmony';
Expand All @@ -56,6 +58,7 @@ export * as MiscBNB from './MiscBNB';
export * as MiscScroll from './MiscScroll';
export * as MiscPolygonZkEvm from './MiscPolygonZkEvm';
export * as MiscSepolia from './MiscSepolia';
export * as MiscZkSync from './MiscZkSync';
export * as AaveGovernanceV2 from './AaveGovernanceV2';
export * as AaveSafetyModule from './AaveSafetyModule';
export {tokenlist} from './tokenlist';
Expand Down
81 changes: 81 additions & 0 deletions src/ts/AaveV3ZkSync.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// IPoolAddressesProvider https://era.zksync.network//address/0xE8bC6e12faf260dbA1c942134070221B11BF37Fb
export const POOL_ADDRESSES_PROVIDER = '0xE8bC6e12faf260dbA1c942134070221B11BF37Fb';

// IPool https://era.zksync.network//address/0x5a823a7bAeda24DF00d0412F2738172C4dD48a13
export const POOL = '0x5a823a7bAeda24DF00d0412F2738172C4dD48a13';

// https://era.zksync.network//address/0xCa4FaD1F6cAcE075C1706a0E3Bf481A91D51bC85
export const POOL_IMPL = '0xCa4FaD1F6cAcE075C1706a0E3Bf481A91D51bC85';

// IPoolConfigurator https://era.zksync.network//address/0xEFbc49BB1A3481Cd964f2d5046971b9358D21eEd
export const POOL_CONFIGURATOR = '0xEFbc49BB1A3481Cd964f2d5046971b9358D21eEd';

// https://era.zksync.network//address/0x622C92fa29635e5b45Dc52A054330F58245e5cb5
export const POOL_CONFIGURATOR_IMPL = '0x622C92fa29635e5b45Dc52A054330F58245e5cb5';

// IAaveOracle https://era.zksync.network//address/0x72C9aA92deB6D3A612939f002643A2aC65d4756a
export const ORACLE = '0x72C9aA92deB6D3A612939f002643A2aC65d4756a';

// IPoolDataProvider https://era.zksync.network//address/0x8F77AEAfC2335F103F3Cc2C74a57b93fE061085F
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x8F77AEAfC2335F103F3Cc2C74a57b93fE061085F';

// IACLManager https://era.zksync.network//address/0x9c63E38f3FCef5e1b1d7E647c1e39Ddc1e15e5D8
export const ACL_MANAGER = '0x9c63E38f3FCef5e1b1d7E647c1e39Ddc1e15e5D8';

// https://era.zksync.network//address/0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020
export const ACL_ADMIN = '0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020';

// ICollector https://era.zksync.network//address/0x34c480f4e3fCb59e2521886950f801af88f68632
export const COLLECTOR = '0x34c480f4e3fCb59e2521886950f801af88f68632';

// https://era.zksync.network//address/0x896ED1635aEE1C64d68336A53eebaf04C276254e
export const DEFAULT_INCENTIVES_CONTROLLER = '0x896ED1635aEE1C64d68336A53eebaf04C276254e';

// https://era.zksync.network//address/0xC2769946125F117B66EB30eE0c2E69C3FE5dF4Cc
export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0xC2769946125F117B66EB30eE0c2E69C3FE5dF4Cc';

// https://era.zksync.network//address/0x7b9bF948D5925a8FCF5193C34DBEaca318028115
export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x7b9bF948D5925a8FCF5193C34DBEaca318028115';

// https://era.zksync.network//address/0xB0349F079C04b953DD9704c29dc631D5cBA1a52f
export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0xB0349F079C04b953DD9704c29dc631D5cBA1a52f';

// https://era.zksync.network//address/0x595ef5910b3d3f287cA71b539021238Bc5F727AD
export const EMISSION_MANAGER = '0x595ef5910b3d3f287cA71b539021238Bc5F727AD';

// https://era.zksync.network//address/0x54478961c63F981066859c6aac4160f2d7A658E3
export const L2_ENCODER = '0x54478961c63F981066859c6aac4160f2d7A658E3';

// https://era.zksync.network//address/0x8942E8873246e7c0996ebB95Eaff8e888bABDf66
export const CONFIG_ENGINE = '0x8942E8873246e7c0996ebB95Eaff8e888bABDf66';

// https://era.zksync.network//address/0x396C44011e58108eC3a7Ad83B5c9FB4B256Ba5D7
export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x396C44011e58108eC3a7Ad83B5c9FB4B256Ba5D7';

// https://era.zksync.network//address/0xEeaC35776B35837318c317E0aE57AFdef7eeF40a
export const UI_INCENTIVE_DATA_PROVIDER = '0xEeaC35776B35837318c317E0aE57AFdef7eeF40a';

// https://era.zksync.network//address/0xff9D92509A5C60636718BE40Be5CA0b4fE3fACcD
export const UI_POOL_DATA_PROVIDER = '0xff9D92509A5C60636718BE40Be5CA0b4fE3fACcD';

// https://era.zksync.network//address/0x3BE5B5E817440f0CDcA46f89518BE4a67875Acb3
export const WALLET_BALANCE_PROVIDER = '0x3BE5B5E817440f0CDcA46f89518BE4a67875Acb3';

// https://era.zksync.network//address/0x5E6aB3f1F82469929f4E4243d110CaBD2Dce5f60
export const WETH_GATEWAY = '0x5E6aB3f1F82469929f4E4243d110CaBD2Dce5f60';

export const CHAIN_ID = 324;
export const ASSETS = {} as const;
export const E_MODES = {
NONE: 0,
} as const;
export const EXTERNAL_LIBRARIES = {
FLASHLOAN_LOGIC: '0xb9f1FdECc1169900a543CB8E9c1F24ee6dD7C665',
BORROW_LOGIC: '0x8821156340E25f0d9f4ad79349944158b9B7370E',
BRIDGE_LOGIC: '0x9E1c74428FAffDe164d2B6A4f707B0d0B177E69b',
E_MODE_LOGIC: '0x94Eff35Bb1eF2089b61Ac8daeBff6987D45BEc53',
LIQUIDATION_LOGIC: '0xd04CDe0FF78f3E5aa26d6eCB0b2cd62Ebc734821',
POOL_LOGIC: '0xEe9A09200Ea8925bDB6CAA5739338D8716036f6F',
SUPPLY_LOGIC: '0x29292DcB190CB037105135a2c962F736c26787d8',
} as const;
Loading

0 comments on commit 0a91312

Please sign in to comment.