Skip to content

Commit

Permalink
feat: add SavingsDaiTokenWrapper address on Ethereum (#6)
Browse files Browse the repository at this point in the history
* feat: add SavingsDaiTokenWrapper address on Ethereum

* fix: indent issue
  • Loading branch information
parth-15 authored Nov 23, 2023
1 parent df2735e commit d9836d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
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: '0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16',
},
};
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/0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16
address internal constant SAVINGS_DAI_TOKEN_WRAPPER = 0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16;
}

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/0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16
export const SAVINGS_DAI_TOKEN_WRAPPER = '0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16';

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

0 comments on commit d9836d6

Please sign in to comment.