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

Add SavingsDaiTokenWrapper address on Ethereum (#6) #300

Merged
merged 2 commits into from
Dec 20, 2023
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
1 change: 1 addition & 0 deletions scripts/configs/pools/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ export const mainnetProtoV3Pool: PoolConfig = {
WALLET_BALANCE_PROVIDER: '0xC7be5307ba715ce89b152f3Df0658295b3dbA8E2',
WETH_GATEWAY: '0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C',
WITHDRAW_SWAP_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
SAVINGS_DAI_TOKEN_WRAPPER: '0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034',
},
};
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface PoolConfig {
SWAP_COLLATERAL_ADAPTER?: Hex;
DEBT_SWAP_ADAPTER?: Hex;
WITHDRAW_SWAP_ADAPTER?: Hex;
SAVINGS_DAI_TOKEN_WRAPPER?: Hex;
POOL_ADDRESSES_PROVIDER_REGISTRY?: Hex;
LISTING_ENGINE?: Hex;
MIGRATION_HELPER?: Hex;
Expand Down
3 changes: 3 additions & 0 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ library AaveV3Ethereum {

// https://etherscan.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
address internal constant WITHDRAW_SWAP_ADAPTER = 0x78F8Bd884C3D738B74B420540659c82f392820e0;

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

library AaveV3EthereumAssets {
Expand Down
3 changes: 3 additions & 0 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ export const WETH_GATEWAY = '0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C';
// https://etherscan.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
export const WITHDRAW_SWAP_ADAPTER = '0x78F8Bd884C3D738B74B420540659c82f392820e0';

// https://etherscan.io/address/0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034
export const SAVINGS_DAI_TOKEN_WRAPPER = '0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034';

export const CHAIN_ID = 1;
export const ASSETS = {
WETH: {
Expand Down