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: add new stata tokens #719

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ address,name,chainId
0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB,AaveV3Ethereum ASSETS WETH INTEREST_RATE_STRATEGY,1
0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419,AaveV3Ethereum ASSETS WETH ORACLE,1
0x252231882FB38481497f3C767469106297c8d93b,AaveV3Ethereum ASSETS WETH STATIC_A_TOKEN,1
0x0bfc9d54Fc184518A81162F8fB99c2eACa081202,AaveV3Ethereum ASSETS WETH STATA_TOKEN,1
0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0,AaveV3Ethereum ASSETS wstETH UNDERLYING,1
0x0B925eD163218f6662a35e0f0371Ac234f9E9371,AaveV3Ethereum ASSETS wstETH A_TOKEN,1
0xC96113eED8cAB59cD8A66813bCB0cEb29F06D2e4,AaveV3Ethereum ASSETS wstETH V_TOKEN,1
Expand All @@ -419,6 +420,7 @@ address,name,chainId
0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB,AaveV3Ethereum ASSETS USDC INTEREST_RATE_STRATEGY,1
0x736bF902680e68989886e9807CD7Db4B3E015d3C,AaveV3Ethereum ASSETS USDC ORACLE,1
0x73edDFa87C71ADdC275c2b9890f5c3a8480bC9E6,AaveV3Ethereum ASSETS USDC STATIC_A_TOKEN,1
0xD4fa2D31b7968E448877f69A96DE69f5de8cD23E,AaveV3Ethereum ASSETS USDC STATA_TOKEN,1
0x6B175474E89094C44Da98b954EedeAC495271d0F,AaveV3Ethereum ASSETS DAI UNDERLYING,1
0x018008bfb33d285247A21d44E50697654f754e63,AaveV3Ethereum ASSETS DAI A_TOKEN,1
0xcF8d0c70c850859266f5C338b38F9D663181C314,AaveV3Ethereum ASSETS DAI V_TOKEN,1
Expand Down Expand Up @@ -449,6 +451,7 @@ address,name,chainId
0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB,AaveV3Ethereum ASSETS USDT INTEREST_RATE_STRATEGY,1
0xC26D4a1c46d884cfF6dE9800B6aE7A8Cf48B4Ff8,AaveV3Ethereum ASSETS USDT ORACLE,1
0x862c57d48becB45583AEbA3f489696D22466Ca1b,AaveV3Ethereum ASSETS USDT STATIC_A_TOKEN,1
0x7Bc3485026Ac48b6cf9BaF0A377477Fff5703Af8,AaveV3Ethereum ASSETS USDT STATA_TOKEN,1
0xae78736Cd615f374D3085123A210448E74Fc6393,AaveV3Ethereum ASSETS rETH UNDERLYING,1
0xCc9EE9483f662091a1de4795249E24aC0aC2630f,AaveV3Ethereum ASSETS rETH A_TOKEN,1
0xae8593DD575FE29A9745056aA91C4b746eee62C8,AaveV3Ethereum ASSETS rETH V_TOKEN,1
Expand Down Expand Up @@ -627,6 +630,7 @@ address,name,chainId
0x35bb522b102326ea3F1141661dF4626C87000e3E,AaveV3Ethereum REPAY_WITH_COLLATERAL_ADAPTER,1
0x7C7143f4bE189928A6a98D8686c5e84c893c59c7,AaveV3Ethereum RISK_STEWARD,1
0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034,AaveV3Ethereum SAVINGS_DAI_TOKEN_WRAPPER,1
0xCb0b5cA20b6C5C02A9A3B2cE433650768eD2974F,AaveV3Ethereum STATA_FACTORY,1
0x411D79b8cC43384FDE66CaBf9b6a17180c842511,AaveV3Ethereum STATIC_A_TOKEN_FACTORY,1
0xADC0A53095A0af87F3aa29FE0715B5c28016364e,AaveV3Ethereum SWAP_COLLATERAL_ADAPTER,1
0x379c1EDD1A41218bdbFf960a9d5AD2818Bf61aE8,AaveV3Ethereum UI_GHO_DATA_PROVIDER,1
Expand Down Expand Up @@ -690,11 +694,13 @@ address,name,chainId
0xE439edd2625772AA635B437C099C607B6eb7d35f,AaveV3EthereumLido ASSETS wstETH V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS wstETH INTEREST_RATE_STRATEGY,1
0xB4aB0c94159bc2d8C133946E7241368fc2F2a010,AaveV3EthereumLido ASSETS wstETH ORACLE,1
0x775F661b0bD1739349b9A2A3EF60be277c5d2D29,AaveV3EthereumLido ASSETS wstETH STATA_TOKEN,1
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,AaveV3EthereumLido ASSETS WETH UNDERLYING,1
0xfA1fDbBD71B0aA16162D76914d69cD8CB3Ef92da,AaveV3EthereumLido ASSETS WETH A_TOKEN,1
0x91b7d78BF92db564221f6B5AeE744D1727d1Dd1e,AaveV3EthereumLido ASSETS WETH V_TOKEN,1
0x8958b1C39269167527821f8c276Ef7504883f2fa,AaveV3EthereumLido ASSETS WETH INTEREST_RATE_STRATEGY,1
0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419,AaveV3EthereumLido ASSETS WETH ORACLE,1
0x0FE906e030a44eF24CA8c7dC7B7c53A6C4F00ce9,AaveV3EthereumLido ASSETS WETH STATA_TOKEN,1
0xdC035D45d973E3EC169d2276DDab16f1e407384F,AaveV3EthereumLido ASSETS USDS UNDERLYING,1
0x09AA30b182488f769a9824F15E6Ce58591Da4781,AaveV3EthereumLido ASSETS USDS A_TOKEN,1
0x2D9fe18b6c35FE439cC15D932cc5C943bf2d901E,AaveV3EthereumLido ASSETS USDS V_TOKEN,1
Expand Down Expand Up @@ -732,6 +738,7 @@ address,name,chainId
0xf5b4664CB6D13189345119c60a948cdc7785d0FE,AaveV3EthereumLido POOL_IMPL,1
0x66E1aBdb06e7363a618D65a910c540dfED23754f,AaveV3EthereumLido REPAY_WITH_COLLATERAL_ADAPTER,1
0x30adC2f98ff78fDde12F191Acb82699f640694FB,AaveV3EthereumLido RISK_STEWARD,1
0x347C75d19718a05148687E13dca259aD016aB411,AaveV3EthereumLido STATA_FACTORY,1
0xD0887AA7fEBC8962c622493646195e7c76D94fCE,AaveV3EthereumLido SWAP_COLLATERAL_ADAPTER,1
0xe3dFf4052F0bF6134ACb73bEaE8fe2317d71F047,AaveV3EthereumLido UI_INCENTIVE_DATA_PROVIDER,1
0x3F78BBD206e4D3c504Eb854232EdA7e47E9Fd8FC,AaveV3EthereumLido UI_POOL_DATA_PROVIDER,1
Expand Down Expand Up @@ -1015,18 +1022,21 @@ address,name,chainId
0x4cE496f0a390745102540faF041EF92FfD588b44,AaveV3Gnosis ASSETS WETH INTEREST_RATE_STRATEGY,100
0xa767f745331D267c7751297D982b050c93985627,AaveV3Gnosis ASSETS WETH ORACLE,100
0xD843FB478c5aA9759FeA3f3c98D467e2F136190a,AaveV3Gnosis ASSETS WETH STATIC_A_TOKEN,100
0x57f664882F762FA37903FC864e2B633D384B411A,AaveV3Gnosis ASSETS WETH STATA_TOKEN,100
0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6,AaveV3Gnosis ASSETS wstETH UNDERLYING,100
0x23e4E76D01B2002BE436CE8d6044b0aA2f68B68a,AaveV3Gnosis ASSETS wstETH A_TOKEN,100
0x9D881f67F20B49243c98f53d2B9E91E39d02Ae09,AaveV3Gnosis ASSETS wstETH V_TOKEN,100
0x4cE496f0a390745102540faF041EF92FfD588b44,AaveV3Gnosis ASSETS wstETH INTEREST_RATE_STRATEGY,100
0x8Ee42Ba520cA106294163fb8b1ffE9C6Fba35507,AaveV3Gnosis ASSETS wstETH ORACLE,100
0xECfD0638175e291BA3F784A58FB9D38a25418904,AaveV3Gnosis ASSETS wstETH STATIC_A_TOKEN,100
0x773CDA0CADe2A3d86E6D4e30699d40bB95174ff2,AaveV3Gnosis ASSETS wstETH STATA_TOKEN,100
0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb,AaveV3Gnosis ASSETS GNO UNDERLYING,100
0xA1Fa064A85266E2Ca82DEe5C5CcEC84DF445760e,AaveV3Gnosis ASSETS GNO A_TOKEN,100
0xBc59E99198DbA71985A66E1713cC89FFEC53f7FC,AaveV3Gnosis ASSETS GNO V_TOKEN,100
0x4cE496f0a390745102540faF041EF92FfD588b44,AaveV3Gnosis ASSETS GNO INTEREST_RATE_STRATEGY,100
0x22441d81416430A54336aB28765abd31a792Ad37,AaveV3Gnosis ASSETS GNO ORACLE,100
0x2D737e2B0e175f05D0904C208d6C4e40da570f65,AaveV3Gnosis ASSETS GNO STATIC_A_TOKEN,100
0x7c16F0185A26Db0AE7a9377f23BC18ea7ce5d644,AaveV3Gnosis ASSETS GNO STATA_TOKEN,100
0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83,AaveV3Gnosis ASSETS USDC UNDERLYING,100
0xc6B7AcA6DE8a6044E0e32d0c841a89244A10D284,AaveV3Gnosis ASSETS USDC A_TOKEN,100
0x5F6f7B0a87CA3CF3d0b431Ae03EF3305180BFf4d,AaveV3Gnosis ASSETS USDC V_TOKEN,100
Expand Down Expand Up @@ -1057,6 +1067,7 @@ address,name,chainId
0x4cE496f0a390745102540faF041EF92FfD588b44,AaveV3Gnosis ASSETS USDCe INTEREST_RATE_STRATEGY,100
0x0a2d05bc646C65A029e602c257DfA14adF8BfAd2,AaveV3Gnosis ASSETS USDCe ORACLE,100
0xf0E7eC247b918311afa054E0AEdb99d74c31b809,AaveV3Gnosis ASSETS USDCe STATIC_A_TOKEN,100
0x51350d88c1bd32Cc6A79368c9Fb70373Fb71F375,AaveV3Gnosis ASSETS USDCe STATA_TOKEN,100
0x33AE1f41546a2e05368Bf789b3d868813c0Ae658,AaveV3Gnosis CAPS_PLUS_RISK_STEWARD,100
0x3e652E97ff339B73421f824F5b03d75b62F1Fb51,AaveV3Gnosis COLLECTOR,100
0x97CB9e81d480A2AB03299760654C1DDC0C16bE07,AaveV3Gnosis CONFIG_ENGINE,100
Expand All @@ -1075,6 +1086,7 @@ address,name,chainId
0xF2C312BfAF4CF0429DB4DA15a0cf5F770Ea3E770,AaveV3Gnosis POOL_IMPL,100
0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB,AaveV3Gnosis REPAY_WITH_COLLATERAL_ADAPTER,100
0x677c9f358dA5DC83aF6760a839E4448D72840d04,AaveV3Gnosis RISK_STEWARD,100
0x33992721c565dA3248bd3af80524e054F5F05b42,AaveV3Gnosis STATA_FACTORY,100
0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6,AaveV3Gnosis STATIC_A_TOKEN_FACTORY,100
0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4,AaveV3Gnosis SWAP_COLLATERAL_ADAPTER,100
0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16,AaveV3Gnosis UI_INCENTIVE_DATA_PROVIDER,100
Expand Down
5 changes: 2 additions & 3 deletions scripts/configs/pools/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const mainnetProtoV3Pool: PoolConfig = {
WETH_GATEWAY: '0xA434D495249abE33E031Fe71a969B81f3c07950D',
WITHDRAW_SWAP_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
SAVINGS_DAI_TOKEN_WRAPPER: '0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034',
STATA_FACTORY: '0xCb0b5cA20b6C5C02A9A3B2cE433650768eD2974F',
},
};

Expand All @@ -102,9 +103,7 @@ export const lidoEthereumMainnetProtoV3Pool: PoolConfig = {
CAPS_PLUS_RISK_STEWARD: '0x3843b29118fFC18d5d12EE079d0324E1bF115e69',
RISK_STEWARD: '0x30adC2f98ff78fDde12F191Acb82699f640694FB',
DEBT_SWAP_ADAPTER: '0xd1B2dec98A95B773C4909B5CD8FB455F467A527f',
// STATIC_A_TOKEN_FACTORY: '',
// FREEZING_STEWARD: '',
// RATES_FACTORY: '',
STATA_FACTORY: '0x347C75d19718a05148687E13dca259aD016aB411',
},
};

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,6 +16,7 @@ export const gnosisProtoV3: PoolConfig = {
RISK_STEWARD: '0x677c9f358dA5DC83aF6760a839E4448D72840d04',
FREEZING_STEWARD: '0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5',
STATIC_A_TOKEN_FACTORY: '0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6',
STATA_FACTORY: '0x33992721c565dA3248bd3af80524e054F5F05b42',
REPAY_WITH_COLLATERAL_ADAPTER: '0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB',
SWAP_COLLATERAL_ADAPTER: '0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4',
DEBT_SWAP_ADAPTER: '0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034',
Expand Down
12 changes: 12 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ library AaveV3Ethereum {

// https://etherscan.io/address/0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034
address internal constant SAVINGS_DAI_TOKEN_WRAPPER = 0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034;

// https://etherscan.io/address/0xCb0b5cA20b6C5C02A9A3B2cE433650768eD2974F
address internal constant STATA_FACTORY = 0xCb0b5cA20b6C5C02A9A3B2cE433650768eD2974F;
}
library AaveV3EthereumAssets {
// https://etherscan.io/address/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Expand All @@ -129,6 +132,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x252231882FB38481497f3C767469106297c8d93b
address internal constant WETH_STATIC_A_TOKEN = 0x252231882FB38481497f3C767469106297c8d93b;

// https://etherscan.io/address/0x0bfc9d54Fc184518A81162F8fB99c2eACa081202
address internal constant WETH_STATA_TOKEN = 0x0bfc9d54Fc184518A81162F8fB99c2eACa081202;

// https://etherscan.io/address/0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
address internal constant wstETH_UNDERLYING = 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0;

Expand Down Expand Up @@ -192,6 +198,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x73edDFa87C71ADdC275c2b9890f5c3a8480bC9E6
address internal constant USDC_STATIC_A_TOKEN = 0x73edDFa87C71ADdC275c2b9890f5c3a8480bC9E6;

// https://etherscan.io/address/0xD4fa2D31b7968E448877f69A96DE69f5de8cD23E
address internal constant USDC_STATA_TOKEN = 0xD4fa2D31b7968E448877f69A96DE69f5de8cD23E;

// https://etherscan.io/address/0x6B175474E89094C44Da98b954EedeAC495271d0F
address internal constant DAI_UNDERLYING = 0x6B175474E89094C44Da98b954EedeAC495271d0F;

Expand Down Expand Up @@ -296,6 +305,9 @@ library AaveV3EthereumAssets {
// https://etherscan.io/address/0x862c57d48becB45583AEbA3f489696D22466Ca1b
address internal constant USDT_STATIC_A_TOKEN = 0x862c57d48becB45583AEbA3f489696D22466Ca1b;

// https://etherscan.io/address/0x7Bc3485026Ac48b6cf9BaF0A377477Fff5703Af8
address internal constant USDT_STATA_TOKEN = 0x7Bc3485026Ac48b6cf9BaF0A377477Fff5703Af8;

// https://etherscan.io/address/0xae78736Cd615f374D3085123A210448E74Fc6393
address internal constant rETH_UNDERLYING = 0xae78736Cd615f374D3085123A210448E74Fc6393;

Expand Down
9 changes: 9 additions & 0 deletions src/AaveV3EthereumLido.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ library AaveV3EthereumLido {

// https://etherscan.io/address/0xd1B2dec98A95B773C4909B5CD8FB455F467A527f
address internal constant DEBT_SWAP_ADAPTER = 0xd1B2dec98A95B773C4909B5CD8FB455F467A527f;

// https://etherscan.io/address/0x347C75d19718a05148687E13dca259aD016aB411
address internal constant STATA_FACTORY = 0x347C75d19718a05148687E13dca259aD016aB411;
}
library AaveV3EthereumLidoAssets {
// https://etherscan.io/address/0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
Expand All @@ -110,6 +113,9 @@ library AaveV3EthereumLidoAssets {
address internal constant wstETH_INTEREST_RATE_STRATEGY =
0x8958b1C39269167527821f8c276Ef7504883f2fa;

// https://etherscan.io/address/0x775F661b0bD1739349b9A2A3EF60be277c5d2D29
address internal constant wstETH_STATA_TOKEN = 0x775F661b0bD1739349b9A2A3EF60be277c5d2D29;

// https://etherscan.io/address/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
address internal constant WETH_UNDERLYING = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

Expand All @@ -128,6 +134,9 @@ library AaveV3EthereumLidoAssets {
address internal constant WETH_INTEREST_RATE_STRATEGY =
0x8958b1C39269167527821f8c276Ef7504883f2fa;

// https://etherscan.io/address/0x0FE906e030a44eF24CA8c7dC7B7c53A6C4F00ce9
address internal constant WETH_STATA_TOKEN = 0x0FE906e030a44eF24CA8c7dC7B7c53A6C4F00ce9;

// https://etherscan.io/address/0xdC035D45d973E3EC169d2276DDab16f1e407384F
address internal constant USDS_UNDERLYING = 0xdC035D45d973E3EC169d2276DDab16f1e407384F;

Expand Down
15 changes: 15 additions & 0 deletions src/AaveV3Gnosis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ library AaveV3Gnosis {
// https://gnosisscan.io/address/0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6
address internal constant STATIC_A_TOKEN_FACTORY = 0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6;

// https://gnosisscan.io/address/0x33992721c565dA3248bd3af80524e054F5F05b42
address internal constant STATA_FACTORY = 0x33992721c565dA3248bd3af80524e054F5F05b42;

// https://gnosisscan.io/address/0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB
address internal constant REPAY_WITH_COLLATERAL_ADAPTER =
0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB;
Expand Down Expand Up @@ -119,6 +122,9 @@ library AaveV3GnosisAssets {
// https://gnosisscan.io/address/0xD843FB478c5aA9759FeA3f3c98D467e2F136190a
address internal constant WETH_STATIC_A_TOKEN = 0xD843FB478c5aA9759FeA3f3c98D467e2F136190a;

// https://gnosisscan.io/address/0x57f664882F762FA37903FC864e2B633D384B411A
address internal constant WETH_STATA_TOKEN = 0x57f664882F762FA37903FC864e2B633D384B411A;

// https://gnosisscan.io/address/0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6
address internal constant wstETH_UNDERLYING = 0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6;

Expand All @@ -140,6 +146,9 @@ library AaveV3GnosisAssets {
// https://gnosisscan.io/address/0xECfD0638175e291BA3F784A58FB9D38a25418904
address internal constant wstETH_STATIC_A_TOKEN = 0xECfD0638175e291BA3F784A58FB9D38a25418904;

// https://gnosisscan.io/address/0x773CDA0CADe2A3d86E6D4e30699d40bB95174ff2
address internal constant wstETH_STATA_TOKEN = 0x773CDA0CADe2A3d86E6D4e30699d40bB95174ff2;

// https://gnosisscan.io/address/0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
address internal constant GNO_UNDERLYING = 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb;

Expand All @@ -160,6 +169,9 @@ library AaveV3GnosisAssets {
// https://gnosisscan.io/address/0x2D737e2B0e175f05D0904C208d6C4e40da570f65
address internal constant GNO_STATIC_A_TOKEN = 0x2D737e2B0e175f05D0904C208d6C4e40da570f65;

// https://gnosisscan.io/address/0x7c16F0185A26Db0AE7a9377f23BC18ea7ce5d644
address internal constant GNO_STATA_TOKEN = 0x7c16F0185A26Db0AE7a9377f23BC18ea7ce5d644;

// https://gnosisscan.io/address/0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83
address internal constant USDC_UNDERLYING = 0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83;

Expand Down Expand Up @@ -264,6 +276,9 @@ library AaveV3GnosisAssets {

// https://gnosisscan.io/address/0xf0E7eC247b918311afa054E0AEdb99d74c31b809
address internal constant USDCe_STATIC_A_TOKEN = 0xf0E7eC247b918311afa054E0AEdb99d74c31b809;

// https://gnosisscan.io/address/0x51350d88c1bd32Cc6A79368c9Fb70373Fb71F375
address internal constant USDCe_STATA_TOKEN = 0x51350d88c1bd32Cc6A79368c9Fb70373Fb71F375;
}
library AaveV3GnosisEModes {
uint8 internal constant NONE = 0;
Expand Down
6 changes: 6 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export const WITHDRAW_SWAP_ADAPTER = '0x78F8Bd884C3D738B74B420540659c82f392820e0
// https://etherscan.io/address/0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034
export const SAVINGS_DAI_TOKEN_WRAPPER = '0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034';

// https://etherscan.io/address/0xCb0b5cA20b6C5C02A9A3B2cE433650768eD2974F
export const STATA_FACTORY = '0xCb0b5cA20b6C5C02A9A3B2cE433650768eD2974F';

export const CHAIN_ID = 1;
export const ASSETS = {
WETH: {
Expand All @@ -103,6 +106,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB',
ORACLE: '0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419',
STATIC_A_TOKEN: '0x252231882FB38481497f3C767469106297c8d93b',
STATA_TOKEN: '0x0bfc9d54Fc184518A81162F8fB99c2eACa081202',
},
wstETH: {
decimals: 18,
Expand Down Expand Up @@ -133,6 +137,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB',
ORACLE: '0x736bF902680e68989886e9807CD7Db4B3E015d3C',
STATIC_A_TOKEN: '0x73edDFa87C71ADdC275c2b9890f5c3a8480bC9E6',
STATA_TOKEN: '0xD4fa2D31b7968E448877f69A96DE69f5de8cD23E',
},
DAI: {
decimals: 18,
Expand Down Expand Up @@ -183,6 +188,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB',
ORACLE: '0xC26D4a1c46d884cfF6dE9800B6aE7A8Cf48B4Ff8',
STATIC_A_TOKEN: '0x862c57d48becB45583AEbA3f489696D22466Ca1b',
STATA_TOKEN: '0x7Bc3485026Ac48b6cf9BaF0A377477Fff5703Af8',
},
rETH: {
decimals: 18,
Expand Down
5 changes: 5 additions & 0 deletions src/ts/AaveV3EthereumLido.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export const RISK_STEWARD = '0x30adC2f98ff78fDde12F191Acb82699f640694FB';
// https://etherscan.io/address/0xd1B2dec98A95B773C4909B5CD8FB455F467A527f
export const DEBT_SWAP_ADAPTER = '0xd1B2dec98A95B773C4909B5CD8FB455F467A527f';

// https://etherscan.io/address/0x347C75d19718a05148687E13dca259aD016aB411
export const STATA_FACTORY = '0x347C75d19718a05148687E13dca259aD016aB411';

export const CHAIN_ID = 1;
export const ASSETS = {
wstETH: {
Expand All @@ -87,6 +90,7 @@ export const ASSETS = {
V_TOKEN: '0xE439edd2625772AA635B437C099C607B6eb7d35f',
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0xB4aB0c94159bc2d8C133946E7241368fc2F2a010',
STATA_TOKEN: '0x775F661b0bD1739349b9A2A3EF60be277c5d2D29',
},
WETH: {
decimals: 18,
Expand All @@ -96,6 +100,7 @@ export const ASSETS = {
V_TOKEN: '0x91b7d78BF92db564221f6B5AeE744D1727d1Dd1e',
INTEREST_RATE_STRATEGY: '0x8958b1C39269167527821f8c276Ef7504883f2fa',
ORACLE: '0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419',
STATA_TOKEN: '0x0FE906e030a44eF24CA8c7dC7B7c53A6C4F00ce9',
},
USDS: {
decimals: 18,
Expand Down
7 changes: 7 additions & 0 deletions src/ts/AaveV3Gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ export const FREEZING_STEWARD = '0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5';
// https://gnosisscan.io/address/0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6
export const STATIC_A_TOKEN_FACTORY = '0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6';

// https://gnosisscan.io/address/0x33992721c565dA3248bd3af80524e054F5F05b42
export const STATA_FACTORY = '0x33992721c565dA3248bd3af80524e054F5F05b42';

// https://gnosisscan.io/address/0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB
export const REPAY_WITH_COLLATERAL_ADAPTER = '0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB';

Expand All @@ -94,6 +97,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x4cE496f0a390745102540faF041EF92FfD588b44',
ORACLE: '0xa767f745331D267c7751297D982b050c93985627',
STATIC_A_TOKEN: '0xD843FB478c5aA9759FeA3f3c98D467e2F136190a',
STATA_TOKEN: '0x57f664882F762FA37903FC864e2B633D384B411A',
},
wstETH: {
decimals: 18,
Expand All @@ -104,6 +108,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x4cE496f0a390745102540faF041EF92FfD588b44',
ORACLE: '0x8Ee42Ba520cA106294163fb8b1ffE9C6Fba35507',
STATIC_A_TOKEN: '0xECfD0638175e291BA3F784A58FB9D38a25418904',
STATA_TOKEN: '0x773CDA0CADe2A3d86E6D4e30699d40bB95174ff2',
},
GNO: {
decimals: 18,
Expand All @@ -114,6 +119,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x4cE496f0a390745102540faF041EF92FfD588b44',
ORACLE: '0x22441d81416430A54336aB28765abd31a792Ad37',
STATIC_A_TOKEN: '0x2D737e2B0e175f05D0904C208d6C4e40da570f65',
STATA_TOKEN: '0x7c16F0185A26Db0AE7a9377f23BC18ea7ce5d644',
},
USDC: {
decimals: 6,
Expand Down Expand Up @@ -164,6 +170,7 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0x4cE496f0a390745102540faF041EF92FfD588b44',
ORACLE: '0x0a2d05bc646C65A029e602c257DfA14adF8BfAd2',
STATIC_A_TOKEN: '0xf0E7eC247b918311afa054E0AEdb99d74c31b809',
STATA_TOKEN: '0x51350d88c1bd32Cc6A79368c9Fb70373Fb71F375',
},
} as const;
export const E_MODES = {
Expand Down
Loading
Loading