Skip to content

Commit

Permalink
feat: add base debt swap (#255)
Browse files Browse the repository at this point in the history
* feat: add base debt swap

* fix: update base generated files
  • Loading branch information
sakulstra authored Sep 28, 2023
1 parent a041491 commit 225d138
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/configs/pools/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const baseProtoV3: PoolConfig = {
POOL_ADDRESSES_PROVIDER: '0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D',
additionalAddresses: {
CAPS_PLUS_RISK_STEWARD: '0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6',
DEBT_SWAP_ADAPTER: '0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731',
LISTING_ENGINE: '0xc7751400F809cdB0C167F87985083C558a0610F7',
RATES_FACTORY: '0x0D1Fe8eAdb0a3e44C4Cc9D73De8dA50C1E475832',
L2_ENCODER: '0x39e97c588B2907Fb67F44fea256Ae3BA064207C5',
Expand Down
3 changes: 3 additions & 0 deletions src/AaveV3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ library AaveV3Base {
// https://basescan.org/address/0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6
address internal constant CAPS_PLUS_RISK_STEWARD = 0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6;

// https://basescan.org/address/0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731
address internal constant DEBT_SWAP_ADAPTER = 0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731;

// https://basescan.org/address/0xc7751400F809cdB0C167F87985083C558a0610F7
address internal constant LISTING_ENGINE = 0xc7751400F809cdB0C167F87985083C558a0610F7;

Expand Down
3 changes: 3 additions & 0 deletions src/ts/AaveV3Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export const EMISSION_MANAGER = '0x6533A273F3aC84Df91DCD654D6EBAbA73687e246';
// https://basescan.org/address/0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6
export const CAPS_PLUS_RISK_STEWARD = '0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6';

// https://basescan.org/address/0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731
export const DEBT_SWAP_ADAPTER = '0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731';

// https://basescan.org/address/0xc7751400F809cdB0C167F87985083C558a0610F7
export const LISTING_ENGINE = '0xc7751400F809cdB0C167F87985083C558a0610F7';

Expand Down

0 comments on commit 225d138

Please sign in to comment.