Skip to content

Commit

Permalink
feat: add risk steward and staticAToken for zksync
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlymite committed Sep 9, 2024
1 parent 878ae6a commit 65386f8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/configs/pools/zksync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export const zkSyncProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x82B3B951Cf43B42324B915Ab651a83D910f29D67',
UI_POOL_DATA_PROVIDER: '0x43312730DB351Dc099924462A42B442c0993F6B5',
WALLET_BALANCE_PROVIDER: '0xcb8Dc3C135e59B1252F057da44A8f43EE6B0dAB0',
WETH_GATEWAY: '0xA72d2e6C79F3e19b5cF51069e5eD1c0177b548EB'
WETH_GATEWAY: '0xA72d2e6C79F3e19b5cF51069e5eD1c0177b548EB',
STATIC_A_TOKEN_FACTORY: '0x1Bc8dbF1f5aF8094Aa166098131116CaAd6B22F9',
RISK_STEWARD: '0xDeDee21f34eff4e2902B95A106855834a608e19a',
},
initial: {
COLLECTOR: '0xd69Cbda644c6be817AaFb5Fd9174f50C33803B6b',
Expand Down
6 changes: 6 additions & 0 deletions src/AaveV3ZkSync.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ library AaveV3ZkSync {

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

// https://era.zksync.network//address/0x1Bc8dbF1f5aF8094Aa166098131116CaAd6B22F9
address internal constant STATIC_A_TOKEN_FACTORY = 0x1Bc8dbF1f5aF8094Aa166098131116CaAd6B22F9;

// https://era.zksync.network//address/0xDeDee21f34eff4e2902B95A106855834a608e19a
address internal constant RISK_STEWARD = 0xDeDee21f34eff4e2902B95A106855834a608e19a;
}

library AaveV3ZkSyncAssets {}
Expand Down
6 changes: 6 additions & 0 deletions src/ts/AaveV3ZkSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ export const WALLET_BALANCE_PROVIDER = '0xcb8Dc3C135e59B1252F057da44A8f43EE6B0dA
// https://era.zksync.network//address/0xA72d2e6C79F3e19b5cF51069e5eD1c0177b548EB
export const WETH_GATEWAY = '0xA72d2e6C79F3e19b5cF51069e5eD1c0177b548EB';

// https://era.zksync.network//address/0x1Bc8dbF1f5aF8094Aa166098131116CaAd6B22F9
export const STATIC_A_TOKEN_FACTORY = '0x1Bc8dbF1f5aF8094Aa166098131116CaAd6B22F9';

// https://era.zksync.network//address/0xDeDee21f34eff4e2902B95A106855834a608e19a
export const RISK_STEWARD = '0xDeDee21f34eff4e2902B95A106855834a608e19a';

export const CHAIN_ID = 324;
export const ASSETS = {} as const;
export const E_MODES = {
Expand Down

0 comments on commit 65386f8

Please sign in to comment.