Skip to content

Commit

Permalink
feat: add static a token factory (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Nov 29, 2023
1 parent 31a00c7 commit 03e04f0
Show file tree
Hide file tree
Showing 59 changed files with 4,223 additions and 3,759 deletions.
9 changes: 9 additions & 0 deletions scripts/configs/networks/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ export const ethereumAddresses: NetworkAddresses<{
AAVE_MERKLE_DISTRIBUTOR: '0xa88c6D90eAe942291325f9ae3c66f3563B93FE10',
},
};

export const sepoliaAddresses: NetworkAddresses = {
name: 'Sepolia',
chainId: ChainId.sepolia,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0x3Bad08c7b17D77cE12A2e1438Db2353b58F7c4a2',
PROXY_ADMIN: '0x8dDa7a1E3e96EB13BE50bB59e80485227E3DE2e7',
},
};
9 changes: 9 additions & 0 deletions scripts/configs/networks/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ export const polygonAddresses: NetworkAddresses<{AAVE_POL_ETH_BRIDGE: Hex}> = {
AAVE_MERKLE_DISTRIBUTOR: '0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b',
},
};

export const mumbaiAddresses: NetworkAddresses = {
name: 'Mumbai',
chainId: ChainId.mumbai,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0x49A726CC7B438dBc4fB89a9548B5E8691e1C35A6',
PROXY_ADMIN: '0xaebfFE29D8E823e8E43695648F418fa8c30AF879',
},
};
2 changes: 1 addition & 1 deletion scripts/configs/pools/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const arbitrumProtoV3: PoolConfig = {
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6',
RATES_FACTORY: '0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896',
REPAY_WITH_COLLATERAL_ADAPTER: '0x28201C152DC5B69A86FA54FCfd21bcA4C0eff3BA',
STATIC_A_TOKEN_FACTORY: '0xD9419920a9768d6EdaBbe5b93cB4B5B9F3019823',
STATIC_A_TOKEN_FACTORY: '0x411D79b8cC43384FDE66CaBf9b6a17180c842511',
SWAP_COLLATERAL_ADAPTER: '0xF3C3F14dd7BDb7E03e6EBc3bc5Ffc6D66De12251',
UI_INCENTIVE_DATA_PROVIDER: '0xDA67AF3403555Ce0AE3ffC22fDb7354458277358',
UI_POOL_DATA_PROVIDER: '0x145dE30c929a065582da84Cf96F88460dB9745A7',
Expand Down
2 changes: 1 addition & 1 deletion scripts/configs/pools/avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const avalancheProtoV3: PoolConfig = {
PROOF_OF_RESERVE_AGGREGATOR: '0x80f2c02224a2E548FC67c0bF705eBFA825dd5439',
RATES_FACTORY: '0xDd81E6F85358292075B78fc8D5830BE8434aF8BA',
REPAY_WITH_COLLATERAL_ADAPTER: '0x49F5B996814fEd1dd39285B92A59CFb2dfd8D4f9',
STATIC_A_TOKEN_FACTORY: '0xbD37610BBB1ddc2a22797F7e3f531B59902b7bA7',
STATIC_A_TOKEN_FACTORY: '0x691C316b2Eec7e64d17e7E3E01f3dB44c9CcEf19',
SWAP_COLLATERAL_ADAPTER: '0x2Cf641F7C0eac2788A7924B82d6Ca8EB7bAa4E3A',
UI_INCENTIVE_DATA_PROVIDER: '0x265d414f80b0fca9505710e6F16dB4b67555D365',
UI_POOL_DATA_PROVIDER: '0xF71DBe0FAEF1473ffC607d4c555dfF0aEaDb878d',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/pools/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const baseProtoV3: PoolConfig = {
WITHDRAW_SWAP_ADAPTER: '0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9',
SWAP_COLLATERAL_ADAPTER: '0x2E549104c516b8657A7D888494DfbAbD7C70b464',
REPAY_WITH_COLLATERAL_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
STATIC_A_TOKEN_FACTORY: '0x940F9a5d5F9ED264990D0eaee1F3DD60B4Cb9A22',
CONFIG_ENGINE: '0xc7751400F809cdB0C167F87985083C558a0610F7',
RATES_FACTORY: '0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832',
L2_ENCODER: '0x39e97c588B2907Fb67F44fea256Ae3BA064207C5',
Expand Down
3 changes: 2 additions & 1 deletion scripts/configs/pools/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const sepoliaProtoV3: PoolConfig = {
UI_POOL_DATA_PROVIDER: '0x69529987FA4A075D0C00B0128fa848dc9ebbE9CE',
WALLET_BALANCE_PROVIDER: '0xCD4e0d6D2b1252E2A709B8aE97DBA31164C5a709',
WETH_GATEWAY: '0x387d311e47e80b498169e6fb51d3193167d89F7D',
STATIC_A_TOKEN_FACTORY: '0xd210dFB43B694430B8d31762B5199e30c31266C8',
},
};

Expand Down Expand Up @@ -99,7 +100,7 @@ export const mainnetProtoV3Pool: PoolConfig = {
POOL_ADDRESSES_PROVIDER_REGISTRY: '0xbaA999AC55EAce41CcAE355c77809e68Bb345170',
RATES_FACTORY: '0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896',
REPAY_WITH_COLLATERAL_ADAPTER: '0x02e7B8511831B1b02d9018215a0f8f500Ea5c6B3',
STATIC_A_TOKEN_FACTORY: '0x17D0D723a6741C8E154594a8850D29D58Bcc9218',
STATIC_A_TOKEN_FACTORY: '0x411D79b8cC43384FDE66CaBf9b6a17180c842511',
SWAP_COLLATERAL_ADAPTER: '0xADC0A53095A0af87F3aa29FE0715B5c28016364e',
UI_GHO_DATA_PROVIDER: '0x379c1EDD1A41218bdbFf960a9d5AD2818Bf61aE8',
UI_INCENTIVE_DATA_PROVIDER: '0x162A7AC02f547ad796CA549f757e2b8d1D9b10a6',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/pools/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ export const gnosisProtoV3: PoolConfig = {
WETH_GATEWAY: '0xb7E51aA2A5f4dD478F183A593F67637ed6F1d1D9',
CAPS_PLUS_RISK_STEWARD: '0x33AE1f41546a2e05368Bf789b3d868813c0Ae658',
FREEZING_STEWARD: '0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5',
STATIC_A_TOKEN_FACTORY: '0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6',
},
};
1 change: 1 addition & 0 deletions scripts/configs/pools/metis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ export const metisProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x3e7BC5EcE0f22DbB16c3e3EeA288a10A57d68927',
UI_POOL_DATA_PROVIDER: '0x7dd60bd8507fDC3d300d53427b7AE566701a7320',
WALLET_BALANCE_PROVIDER: '0x1df710eb1E2FD9C21494aF2BFb1F210a4185885b',
STATIC_A_TOKEN_FACTORY: '0x9C62AdC332888F56998542415c38D7CDf3Ff7619',
},
};
2 changes: 1 addition & 1 deletion scripts/configs/pools/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const optimismProtoV3: PoolConfig = {
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6',
RATES_FACTORY: '0xDd81E6F85358292075B78fc8D5830BE8434aF8BA',
REPAY_WITH_COLLATERAL_ADAPTER: '0xa12734e64417f61f8442E7D5132EdBFdbDDeF0fa',
STATIC_A_TOKEN_FACTORY: '0xD9419920a9768d6EdaBbe5b93cB4B5B9F3019823',
STATIC_A_TOKEN_FACTORY: '0x22D76094730fA377184100EFB8CEfC673B89B372',
SWAP_COLLATERAL_ADAPTER: '0x830C5A67a0C95D69dA5fb7801Ac1773c6fB53857',
UI_INCENTIVE_DATA_PROVIDER: '0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7',
UI_POOL_DATA_PROVIDER: '0xbd83DdBE37fc91923d59C8c1E0bDe0CccCa332d5',
Expand Down
3 changes: 2 additions & 1 deletion scripts/configs/pools/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const mumbaiProtoV3: PoolConfig = {
UI_POOL_DATA_PROVIDER: '0xD64dDe119f11C88850FD596BE11CE398CC5893e6',
WALLET_BALANCE_PROVIDER: '0xD8A70FC58BC069CFE6529EBF0c1Db067f2b5347E',
WETH_GATEWAY: '0x8dA9412AbB78db20d0B496573D9066C474eA21B8',
STATIC_A_TOKEN_FACTORY: '0x4df6bfA5522aAd4C80e6C95b613B92AC019f2d3e',
},
};

Expand Down Expand Up @@ -59,7 +60,7 @@ export const polygonProtoV3: PoolConfig = {
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x770ef9f4fe897e59daCc474EF11238303F9552b6',
RATES_FACTORY: '0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896',
REPAY_WITH_COLLATERAL_ADAPTER: '0xE3090207A2de94A856EA10a7e1Bd36dD6145712B',
STATIC_A_TOKEN_FACTORY: '0x2B218C73f63820CE86655d16A79C333E24fEB0BE',
STATIC_A_TOKEN_FACTORY: '0x397202AB0b4E7C954ac0c493c00749C517210953',
SWAP_COLLATERAL_ADAPTER: '0xC4aff49fCeD8ac1D818a6DCAB063f9f97E66ec5E',
UI_INCENTIVE_DATA_PROVIDER: '0x874313A46e4957D29FAAC43BF5Eb2B144894f557',
UI_POOL_DATA_PROVIDER: '0xC69728f11E9E6127733751c8410432913123acf1',
Expand Down
8 changes: 5 additions & 3 deletions scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ import {baseAddresses} from './configs/networks/base';
import {generateNetworkAddresses} from './generator/networkGenerator';
import {arbitrumAddresses} from './configs/networks/arbitrum';
import {avalancheAddresses} from './configs/networks/avalanche';
import {ethereumAddresses} from './configs/networks/ethereum';
import {polygonAddresses} from './configs/networks/polygon';
import {ethereumAddresses, sepoliaAddresses} from './configs/networks/ethereum';
import {mumbaiAddresses, polygonAddresses} from './configs/networks/polygon';
import {fantomAddresses} from './configs/networks/fantom';
import {optimismAddresses} from './configs/networks/optimism';
import {metisAddresses} from './configs/networks/metis';
Expand Down Expand Up @@ -132,7 +132,9 @@ async function main() {
polygonAddresses,
metisAddresses,
gnosisAddresses,
bnbAddresses
bnbAddresses,
sepoliaAddresses,
mumbaiAddresses,
].map((addresses) => generateNetworkAddresses(addresses));

const govImports = generateGovV2();
Expand Down
6 changes: 5 additions & 1 deletion scripts/generator/assetsLibraryGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function fixSymbol(symbol: string, _underlying: string) {
case '0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4':
return 'BPT_BAL_WETH';
case '0xaf88d065e77c8cc2239327c5edb3a432268e5831':
case '0x0b2c639c533813f4aa9d7837caf62653d097ff85':
return 'USDCn';
}
return symbol.replace('-', '_').replace('.', '').replace(' ', '_').replace('1', 'ONE_');
Expand All @@ -63,7 +64,7 @@ export function generateAssetsLibrary(
) {
const formattedReservesData = reservesData.map(({symbol: _symbol, ...rest}) => {
const symbol = fixSymbol(_symbol, rest.UNDERLYING);
return {
const addresses = {
[`${symbol}_UNDERLYING`]: rest.UNDERLYING,
[`${symbol}_DECIMALS`]: {value: rest.decimals, type: 'uint8'},
[`${symbol}_A_TOKEN`]: rest.A_TOKEN,
Expand All @@ -72,6 +73,9 @@ export function generateAssetsLibrary(
[`${symbol}_ORACLE`]: rest.ORACLE,
[`${symbol}_INTEREST_RATE_STRATEGY`]: rest.INTEREST_RATE_STRATEGY,
};
if (rest.STATA_TOKEN && rest.STATA_TOKEN != zeroAddress)
addresses[`${symbol}_STATA_TOKEN`] = rest.STATA_TOKEN;
return addresses;
});

const innerObject = reservesData.reduce(
Expand Down
2 changes: 1 addition & 1 deletion scripts/generator/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const RPC_PROVIDERS = {
}),
[ChainId.gnosis]: createPublicClient({
chain: gnosis,
transport: http(),
transport: http(process.env.RPC_GNOSIS),
batch: {
multicall: true,
},
Expand Down
2 changes: 2 additions & 0 deletions src/AaveAddressBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ import {MiscPolygon} from './MiscPolygon.sol';
import {MiscMetis} from './MiscMetis.sol';
import {MiscGnosis} from './MiscGnosis.sol';
import {MiscBNB} from './MiscBNB.sol';
import {MiscSepolia} from './MiscSepolia.sol';
import {MiscMumbai} from './MiscMumbai.sol';
import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol';
import {AaveGovernanceV2} from './AaveGovernanceV2.sol';
import {AaveGovernanceV2, IGovernanceStrategy} from './AaveGovernanceV2.sol';
Expand Down
49 changes: 47 additions & 2 deletions src/AaveV3Arbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ library AaveV3Arbitrum {
address internal constant REPAY_WITH_COLLATERAL_ADAPTER =
0x28201C152DC5B69A86FA54FCfd21bcA4C0eff3BA;

// https://arbiscan.io/address/0xD9419920a9768d6EdaBbe5b93cB4B5B9F3019823
address internal constant STATIC_A_TOKEN_FACTORY = 0xD9419920a9768d6EdaBbe5b93cB4B5B9F3019823;
// https://arbiscan.io/address/0x411D79b8cC43384FDE66CaBf9b6a17180c842511
address internal constant STATIC_A_TOKEN_FACTORY = 0x411D79b8cC43384FDE66CaBf9b6a17180c842511;

// https://arbiscan.io/address/0xF3C3F14dd7BDb7E03e6EBc3bc5Ffc6D66De12251
address internal constant SWAP_COLLATERAL_ADAPTER = 0xF3C3F14dd7BDb7E03e6EBc3bc5Ffc6D66De12251;
Expand Down Expand Up @@ -124,6 +124,9 @@ library AaveV3ArbitrumAssets {
// https://arbiscan.io/address/0xA901Bf68Bebde17ba382e499C3e9EbAe649DF276
address internal constant DAI_INTEREST_RATE_STRATEGY = 0xA901Bf68Bebde17ba382e499C3e9EbAe649DF276;

// https://arbiscan.io/address/0xc91c5297d7E161aCC74b482aAfCc75B85cc0bfeD
address internal constant DAI_STATA_TOKEN = 0xc91c5297d7E161aCC74b482aAfCc75B85cc0bfeD;

// https://arbiscan.io/address/0xf97f4df75117a78c1A5a0DBb814Af92458539FB4
address internal constant LINK_UNDERLYING = 0xf97f4df75117a78c1A5a0DBb814Af92458539FB4;

Expand All @@ -145,6 +148,9 @@ library AaveV3ArbitrumAssets {
address internal constant LINK_INTEREST_RATE_STRATEGY =
0x9b34E3e183c9b0d1a08fF57a8fb59c821616295f;

// https://arbiscan.io/address/0x27dE098EF2772386cBCf1a4c8BEb886368b7F9a9
address internal constant LINK_STATA_TOKEN = 0x27dE098EF2772386cBCf1a4c8BEb886368b7F9a9;

// https://arbiscan.io/address/0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
address internal constant USDC_UNDERLYING = 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8;

Expand All @@ -166,6 +172,9 @@ library AaveV3ArbitrumAssets {
address internal constant USDC_INTEREST_RATE_STRATEGY =
0x53b13a6D43F647D788411Abfd28D229C274AfBF9;

// https://arbiscan.io/address/0x0Bc9E52051f553E75550CA22C196bf132c52Cf0B
address internal constant USDC_STATA_TOKEN = 0x0Bc9E52051f553E75550CA22C196bf132c52Cf0B;

// https://arbiscan.io/address/0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f
address internal constant WBTC_UNDERLYING = 0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f;

Expand All @@ -187,6 +196,9 @@ library AaveV3ArbitrumAssets {
address internal constant WBTC_INTEREST_RATE_STRATEGY =
0x8F183Ee74C790CB558232a141099b316D6C8Ba6E;

// https://arbiscan.io/address/0x32B95Fbe04e5a51cF99FeeF4e57Cf7e3FC9c5A93
address internal constant WBTC_STATA_TOKEN = 0x32B95Fbe04e5a51cF99FeeF4e57Cf7e3FC9c5A93;

// https://arbiscan.io/address/0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
address internal constant WETH_UNDERLYING = 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1;

Expand All @@ -208,6 +220,9 @@ library AaveV3ArbitrumAssets {
address internal constant WETH_INTEREST_RATE_STRATEGY =
0x9a158802cD924747EF336cA3F9DE3bdb60Cf43D3;

// https://arbiscan.io/address/0x352F3475716261dCC991Bd5F2aF973eB3D0F5878
address internal constant WETH_STATA_TOKEN = 0x352F3475716261dCC991Bd5F2aF973eB3D0F5878;

// https://arbiscan.io/address/0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
address internal constant USDT_UNDERLYING = 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9;

Expand All @@ -229,6 +244,9 @@ library AaveV3ArbitrumAssets {
address internal constant USDT_INTEREST_RATE_STRATEGY =
0xA901Bf68Bebde17ba382e499C3e9EbAe649DF276;

// https://arbiscan.io/address/0xb165a74407fE1e519d6bCbDeC1Ed3202B35a4140
address internal constant USDT_STATA_TOKEN = 0xb165a74407fE1e519d6bCbDeC1Ed3202B35a4140;

// https://arbiscan.io/address/0xba5DdD1f9d7F570dc94a51479a000E3BCE967196
address internal constant AAVE_UNDERLYING = 0xba5DdD1f9d7F570dc94a51479a000E3BCE967196;

Expand All @@ -250,6 +268,9 @@ library AaveV3ArbitrumAssets {
address internal constant AAVE_INTEREST_RATE_STRATEGY =
0x9b34E3e183c9b0d1a08fF57a8fb59c821616295f;

// https://arbiscan.io/address/0x1C0c8EcED17aE093b3C1a1a8fFeBE2E9513a9346
address internal constant AAVE_STATA_TOKEN = 0x1C0c8EcED17aE093b3C1a1a8fFeBE2E9513a9346;

// https://arbiscan.io/address/0xD22a58f79e9481D1a88e00c343885A588b34b68B
address internal constant EURS_UNDERLYING = 0xD22a58f79e9481D1a88e00c343885A588b34b68B;

Expand All @@ -271,6 +292,9 @@ library AaveV3ArbitrumAssets {
address internal constant EURS_INTEREST_RATE_STRATEGY =
0xCbDC7D7984D7AD59434f0B1999D2006898C40f9A;

// https://arbiscan.io/address/0x9a40747BE51185A416B181789B671E78a8d045dD
address internal constant EURS_STATA_TOKEN = 0x9a40747BE51185A416B181789B671E78a8d045dD;

// https://arbiscan.io/address/0x5979D7b546E38E414F7E9822514be443A4800529
address internal constant wstETH_UNDERLYING = 0x5979D7b546E38E414F7E9822514be443A4800529;

Expand All @@ -292,6 +316,9 @@ library AaveV3ArbitrumAssets {
address internal constant wstETH_INTEREST_RATE_STRATEGY =
0x4b8D3277d49E114C8F2D6E0B2eD310e29226fe16;

// https://arbiscan.io/address/0x7775d4Ae4Dbb79a624fB96AAcDB8Ca74F671c0DF
address internal constant wstETH_STATA_TOKEN = 0x7775d4Ae4Dbb79a624fB96AAcDB8Ca74F671c0DF;

// https://arbiscan.io/address/0x3F56e0c36d275367b8C502090EDF38289b3dEa0d
address internal constant MAI_UNDERLYING = 0x3F56e0c36d275367b8C502090EDF38289b3dEa0d;

Expand All @@ -312,6 +339,9 @@ library AaveV3ArbitrumAssets {
// https://arbiscan.io/address/0x588b62C84533232E3A881e096E5D639Fa754F093
address internal constant MAI_INTEREST_RATE_STRATEGY = 0x588b62C84533232E3A881e096E5D639Fa754F093;

// https://arbiscan.io/address/0xB4a0a2692D82301703B27082Cda45B083F68CAcE
address internal constant MAI_STATA_TOKEN = 0xB4a0a2692D82301703B27082Cda45B083F68CAcE;

// https://arbiscan.io/address/0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8
address internal constant rETH_UNDERLYING = 0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8;

Expand All @@ -333,6 +363,9 @@ library AaveV3ArbitrumAssets {
address internal constant rETH_INTEREST_RATE_STRATEGY =
0xC82dF96432346cFb632473eB619Db3B8AC280234;

// https://arbiscan.io/address/0x68235105d6d33A19369D24b746cb7481FB2b34fd
address internal constant rETH_STATA_TOKEN = 0x68235105d6d33A19369D24b746cb7481FB2b34fd;

// https://arbiscan.io/address/0x93b346b6BC2548dA6A1E7d98E9a421B42541425b
address internal constant LUSD_UNDERLYING = 0x93b346b6BC2548dA6A1E7d98E9a421B42541425b;

Expand All @@ -354,6 +387,9 @@ library AaveV3ArbitrumAssets {
address internal constant LUSD_INTEREST_RATE_STRATEGY =
0xaDbdb3d6B51151e4CDF32e4050B6F03D2bfB6477;

// https://arbiscan.io/address/0xDbB6314b5b07E63B7101844c0346309B79f8C20A
address internal constant LUSD_STATA_TOKEN = 0xDbB6314b5b07E63B7101844c0346309B79f8C20A;

// https://arbiscan.io/address/0xaf88d065e77c8cC2239327C5EDb3A432268e5831
address internal constant USDCn_UNDERLYING = 0xaf88d065e77c8cC2239327C5EDb3A432268e5831;

Expand All @@ -375,6 +411,9 @@ library AaveV3ArbitrumAssets {
address internal constant USDCn_INTEREST_RATE_STRATEGY =
0x44CaDF6E49895640D9De85ac01d97D44429Ad0A4;

// https://arbiscan.io/address/0x7CFaDFD5645B50bE87d546f42699d863648251ad
address internal constant USDCn_STATA_TOKEN = 0x7CFaDFD5645B50bE87d546f42699d863648251ad;

// https://arbiscan.io/address/0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F
address internal constant FRAX_UNDERLYING = 0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F;

Expand All @@ -396,6 +435,9 @@ library AaveV3ArbitrumAssets {
address internal constant FRAX_INTEREST_RATE_STRATEGY =
0xA901Bf68Bebde17ba382e499C3e9EbAe649DF276;

// https://arbiscan.io/address/0x89AEc2023f89E26Dbb7eaa7a98fe3996f9d112A8
address internal constant FRAX_STATA_TOKEN = 0x89AEc2023f89E26Dbb7eaa7a98fe3996f9d112A8;

// https://arbiscan.io/address/0x912CE59144191C1204E64559FE8253a0e49E6548
address internal constant ARB_UNDERLYING = 0x912CE59144191C1204E64559FE8253a0e49E6548;

Expand All @@ -415,6 +457,9 @@ library AaveV3ArbitrumAssets {

// https://arbiscan.io/address/0xD87974E8ED49AB16d5053ba793F4e17078Be0426
address internal constant ARB_INTEREST_RATE_STRATEGY = 0xD87974E8ED49AB16d5053ba793F4e17078Be0426;

// https://arbiscan.io/address/0x9b5637d7952BC9fa2D693aAE51f3103760Bf2693
address internal constant ARB_STATA_TOKEN = 0x9b5637d7952BC9fa2D693aAE51f3103760Bf2693;
}

library AaveV3ArbitrumEModes {
Expand Down
Loading

0 comments on commit 03e04f0

Please sign in to comment.