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

fix: Update ParaSwapRepayAdapter in Polygon V2 #754

Merged
merged 1 commit into from
Dec 30, 2024
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
2 changes: 1 addition & 1 deletion safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ address,name,chainId
0x56C8Aa7e4fCAbaaD5e87d6847D0901134939A13a,AaveV2Polygon POOL_CONFIGURATOR_IMPL,137
0x1685D81212580DD4cDA287616C2f6F4794927e18,AaveV2Polygon POOL_IMPL,137
0xD05003a24A17d9117B11eC04cF9743b050779c08,AaveV2Polygon RATES_FACTORY,137
0xE84cF064a0a65290Ae5673b500699f3753063936,AaveV2Polygon REPAY_WITH_COLLATERAL_ADAPTER,137
0x6D49dC81a1f07a6B1902DC79bc2D408cb9D555d1,AaveV2Polygon REPAY_WITH_COLLATERAL_ADAPTER,137
0x35784a624D4FfBC3594f4d16fA3801FeF063241c,AaveV2Polygon SWAP_COLLATERAL_ADAPTER,137
0x645654D59A5226CBab969b1f5431aA47CBf64ab8,AaveV2Polygon UI_INCENTIVE_DATA_PROVIDER,137
0x204f2Eb81D996729829debC819f7992DCEEfE7b1,AaveV2Polygon UI_POOL_DATA_PROVIDER,137
Expand Down
2 changes: 1 addition & 1 deletion scripts/configs/pools/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const polygonProtoV2: PoolConfig = {
MIGRATION_HELPER: '0x3db487975aB1728DB5787b798866c2021B24ec52',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0x3ac4e9aa29940770aeC38fe853a4bbabb2dA9C19',
RATES_FACTORY: '0xD05003a24A17d9117B11eC04cF9743b050779c08',
REPAY_WITH_COLLATERAL_ADAPTER: '0xE84cF064a0a65290Ae5673b500699f3753063936',
REPAY_WITH_COLLATERAL_ADAPTER: '0x6D49dC81a1f07a6B1902DC79bc2D408cb9D555d1',
SWAP_COLLATERAL_ADAPTER: '0x35784a624D4FfBC3594f4d16fA3801FeF063241c',
UI_INCENTIVE_DATA_PROVIDER: '0x645654D59A5226CBab969b1f5431aA47CBf64ab8',
UI_POOL_DATA_PROVIDER: '0x204f2Eb81D996729829debC819f7992DCEEfE7b1',
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2Polygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ library AaveV2Polygon {
// https://polygonscan.com/address/0xD05003a24A17d9117B11eC04cF9743b050779c08
address internal constant RATES_FACTORY = 0xD05003a24A17d9117B11eC04cF9743b050779c08;

// https://polygonscan.com/address/0xE84cF064a0a65290Ae5673b500699f3753063936
// https://polygonscan.com/address/0x6D49dC81a1f07a6B1902DC79bc2D408cb9D555d1
address internal constant REPAY_WITH_COLLATERAL_ADAPTER =
0xE84cF064a0a65290Ae5673b500699f3753063936;
0x6D49dC81a1f07a6B1902DC79bc2D408cb9D555d1;

// https://polygonscan.com/address/0x35784a624D4FfBC3594f4d16fA3801FeF063241c
address internal constant SWAP_COLLATERAL_ADAPTER = 0x35784a624D4FfBC3594f4d16fA3801FeF063241c;
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2Polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0x3ac4e9aa29940770aeC38fe853a4b
// https://polygonscan.com/address/0xD05003a24A17d9117B11eC04cF9743b050779c08
export const RATES_FACTORY = '0xD05003a24A17d9117B11eC04cF9743b050779c08';

// https://polygonscan.com/address/0xE84cF064a0a65290Ae5673b500699f3753063936
export const REPAY_WITH_COLLATERAL_ADAPTER = '0xE84cF064a0a65290Ae5673b500699f3753063936';
// https://polygonscan.com/address/0x6D49dC81a1f07a6B1902DC79bc2D408cb9D555d1
export const REPAY_WITH_COLLATERAL_ADAPTER = '0x6D49dC81a1f07a6B1902DC79bc2D408cb9D555d1';

// https://polygonscan.com/address/0x35784a624D4FfBC3594f4d16fA3801FeF063241c
export const SWAP_COLLATERAL_ADAPTER = '0x35784a624D4FfBC3594f4d16fA3801FeF063241c';
Expand Down
Loading