Skip to content

Commit

Permalink
feat: upgrade weth gateway (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Jan 4, 2024
1 parent ee8a24e commit 575eac6
Show file tree
Hide file tree
Showing 32 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion scripts/configs/pools/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const arbitrumProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0xDA67AF3403555Ce0AE3ffC22fDb7354458277358',
UI_POOL_DATA_PROVIDER: '0x145dE30c929a065582da84Cf96F88460dB9745A7',
WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a',
WETH_GATEWAY: '0xB5Ee21786D28c5Ba61661550879475976B707099',
WETH_GATEWAY: '0xecD4bd3121F9FD604ffaC631bF6d41ec12f1fafb',
WITHDRAW_SWAP_ADAPTER: '0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9',
},
};
4 changes: 2 additions & 2 deletions scripts/configs/pools/avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const avalancheProtoV2: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x11979886A6dBAE27D7a72c49fCF3F23240D647bF',
UI_POOL_DATA_PROVIDER: '0x00e50FAB64eBB37b87df06Aa46b8B35d5f1A4e1A',
WALLET_BALANCE_PROVIDER: '0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6',
WETH_GATEWAY: '0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b',
WETH_GATEWAY: '0x68c815cB8C8390bc3F2CE99265044dEC9D350C49',
},
};

Expand All @@ -68,7 +68,7 @@ export const avalancheProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x265d414f80b0fca9505710e6F16dB4b67555D365',
UI_POOL_DATA_PROVIDER: '0xF71DBe0FAEF1473ffC607d4c555dfF0aEaDb878d',
WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a',
WETH_GATEWAY: '0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7',
WETH_GATEWAY: '0x2DeC8BCE3471eD65B1bB558Fa28439D45bF446d0',
WITHDRAW_SWAP_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
},
};
2 changes: 1 addition & 1 deletion scripts/configs/pools/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export const baseProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0xEdD3b4737C1a0011626631a977b91Cf3E944982d',
UI_POOL_DATA_PROVIDER: '0x174446a6741300cD2E7C1b1A636Fee99c8F83502',
WALLET_BALANCE_PROVIDER: '0x5779b29B0a34577d927E8D511B595ef9abbFAE82',
WETH_GATEWAY: '0x18CD499E3d7ed42FEbA981ac9236A278E4Cdc2ee',
WETH_GATEWAY: '0x8be473dCfA93132658821E67CbEB684ec8Ea2E74',
},
};
2 changes: 1 addition & 1 deletion scripts/configs/pools/bnb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const bnbProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x1236010CECea55998384e795B59815D871f5f94d',
UI_POOL_DATA_PROVIDER: '0x952F938949F965C70c83853e7ff28aa7af91005b',
WALLET_BALANCE_PROVIDER: '0x36616cf17557639614c1cdDb356b1B83fc0B2132',
WETH_GATEWAY: '0x589750BA8aF186cE5B55391B0b7148cAD43a1619',
WETH_GATEWAY: '0xd91d1331db4F436DaF47Ec9Dd86deCb8EEF946B4',
WITHDRAW_SWAP_ADAPTER: '0x5E2d083417D12d4B0824E14Ecd48D26831F4Da7D',
},
initial: {
Expand Down
6 changes: 3 additions & 3 deletions scripts/configs/pools/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const mainnetProtoV2Pool: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0xD01ab9a6577E1D84F142e44D49380e23A340387d',
UI_POOL_DATA_PROVIDER: '0x00e50FAB64eBB37b87df06Aa46b8B35d5f1A4e1A',
WALLET_BALANCE_PROVIDER: '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922',
WETH_GATEWAY: '0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31',
WETH_GATEWAY: '0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24',
},
};

Expand All @@ -73,7 +73,7 @@ export const mainnetAmmV2Pool: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0xD01ab9a6577E1D84F142e44D49380e23A340387d',
UI_POOL_DATA_PROVIDER: '0x00e50FAB64eBB37b87df06Aa46b8B35d5f1A4e1A',
WALLET_BALANCE_PROVIDER: '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922',
WETH_GATEWAY: '0x1C4a4e31231F71Fc34867D034a9E68f6fC798249',
WETH_GATEWAY: '0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC',
},
};

Expand Down Expand Up @@ -106,7 +106,7 @@ export const mainnetProtoV3Pool: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x162A7AC02f547ad796CA549f757e2b8d1D9b10a6',
UI_POOL_DATA_PROVIDER: '0x91c0eA31b49B69Ea18607702c5d9aC360bf3dE7d',
WALLET_BALANCE_PROVIDER: '0xC7be5307ba715ce89b152f3Df0658295b3dbA8E2',
WETH_GATEWAY: '0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C',
WETH_GATEWAY: '0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9',
WITHDRAW_SWAP_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
SAVINGS_DAI_TOKEN_WRAPPER: '0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034',
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/configs/pools/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const gnosisProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9',
UI_POOL_DATA_PROVIDER: '0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809',
WALLET_BALANCE_PROVIDER: '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D',
WETH_GATEWAY: '0xb7E51aA2A5f4dD478F183A593F67637ed6F1d1D9',
WETH_GATEWAY: '0xfE76366A986B72c3f2923e05E6ba07b7de5401e4',
CAPS_PLUS_RISK_STEWARD: '0x33AE1f41546a2e05368Bf789b3d868813c0Ae658',
FREEZING_STEWARD: '0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5',
STATIC_A_TOKEN_FACTORY: '0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6',
Expand Down
2 changes: 1 addition & 1 deletion scripts/configs/pools/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const optimismProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7',
UI_POOL_DATA_PROVIDER: '0xbd83DdBE37fc91923d59C8c1E0bDe0CccCa332d5',
WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a',
WETH_GATEWAY: '0x76D3030728e52DEB8848d5613aBaDE88441cbc59',
WETH_GATEWAY: '0xe9E52021f4e11DEAD8661812A0A6c8627abA2a54',
WITHDRAW_SWAP_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
},
};
4 changes: 2 additions & 2 deletions scripts/configs/pools/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const polygonProtoV2: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x645654D59A5226CBab969b1f5431aA47CBf64ab8',
UI_POOL_DATA_PROVIDER: '0x204f2Eb81D996729829debC819f7992DCEEfE7b1',
WALLET_BALANCE_PROVIDER: '0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e',
WETH_GATEWAY: '0xAeBF56223F044a73A513FAD7E148A9075227eD9b',
WETH_GATEWAY: '0xf1e6d4347105138B51E2bacA9A22fA228309ebB1',
},
};

Expand All @@ -65,7 +65,7 @@ export const polygonProtoV3: PoolConfig = {
UI_INCENTIVE_DATA_PROVIDER: '0x874313A46e4957D29FAAC43BF5Eb2B144894f557',
UI_POOL_DATA_PROVIDER: '0xC69728f11E9E6127733751c8410432913123acf1',
WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a',
WETH_GATEWAY: '0x1e4b7A6b903680eab0c5dAbcb8fD429cD2a9598c',
WETH_GATEWAY: '0xC1E320966c485ebF2A0A2A6d3c0Dc860A156eB1B',
WITHDRAW_SWAP_ADAPTER: '0x78F8Bd884C3D738B74B420540659c82f392820e0',
},
};
4 changes: 2 additions & 2 deletions src/AaveV2Avalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ library AaveV2Avalanche {
// https://snowtrace.io/address/0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6
address internal constant WALLET_BALANCE_PROVIDER = 0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6;

// https://snowtrace.io/address/0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b
address internal constant WETH_GATEWAY = 0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b;
// https://snowtrace.io/address/0x68c815cB8C8390bc3F2CE99265044dEC9D350C49
address internal constant WETH_GATEWAY = 0x68c815cB8C8390bc3F2CE99265044dEC9D350C49;
}

library AaveV2AvalancheAssets {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ library AaveV2Ethereum {
// https://etherscan.io/address/0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922
address internal constant WALLET_BALANCE_PROVIDER = 0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922;

// https://etherscan.io/address/0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31
address internal constant WETH_GATEWAY = 0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31;
// https://etherscan.io/address/0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24
address internal constant WETH_GATEWAY = 0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24;
}

library AaveV2EthereumAssets {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2EthereumAMM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ library AaveV2EthereumAMM {
// https://etherscan.io/address/0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922
address internal constant WALLET_BALANCE_PROVIDER = 0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922;

// https://etherscan.io/address/0x1C4a4e31231F71Fc34867D034a9E68f6fC798249
address internal constant WETH_GATEWAY = 0x1C4a4e31231F71Fc34867D034a9E68f6fC798249;
// https://etherscan.io/address/0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC
address internal constant WETH_GATEWAY = 0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC;
}

library AaveV2EthereumAMMAssets {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2Polygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ library AaveV2Polygon {
// https://polygonscan.com/address/0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e
address internal constant WALLET_BALANCE_PROVIDER = 0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e;

// https://polygonscan.com/address/0xAeBF56223F044a73A513FAD7E148A9075227eD9b
address internal constant WETH_GATEWAY = 0xAeBF56223F044a73A513FAD7E148A9075227eD9b;
// https://polygonscan.com/address/0xf1e6d4347105138B51E2bacA9A22fA228309ebB1
address internal constant WETH_GATEWAY = 0xf1e6d4347105138B51E2bacA9A22fA228309ebB1;
}

library AaveV2PolygonAssets {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Arbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ library AaveV3Arbitrum {
// https://arbiscan.io/address/0xBc790382B3686abffE4be14A030A96aC6154023a
address internal constant WALLET_BALANCE_PROVIDER = 0xBc790382B3686abffE4be14A030A96aC6154023a;

// https://arbiscan.io/address/0xB5Ee21786D28c5Ba61661550879475976B707099
address internal constant WETH_GATEWAY = 0xB5Ee21786D28c5Ba61661550879475976B707099;
// https://arbiscan.io/address/0xecD4bd3121F9FD604ffaC631bF6d41ec12f1fafb
address internal constant WETH_GATEWAY = 0xecD4bd3121F9FD604ffaC631bF6d41ec12f1fafb;

// https://arbiscan.io/address/0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9
address internal constant WITHDRAW_SWAP_ADAPTER = 0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Avalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ library AaveV3Avalanche {
// https://snowtrace.io/address/0xBc790382B3686abffE4be14A030A96aC6154023a
address internal constant WALLET_BALANCE_PROVIDER = 0xBc790382B3686abffE4be14A030A96aC6154023a;

// https://snowtrace.io/address/0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7
address internal constant WETH_GATEWAY = 0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7;
// https://snowtrace.io/address/0x2DeC8BCE3471eD65B1bB558Fa28439D45bF446d0
address internal constant WETH_GATEWAY = 0x2DeC8BCE3471eD65B1bB558Fa28439D45bF446d0;

// https://snowtrace.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
address internal constant WITHDRAW_SWAP_ADAPTER = 0x78F8Bd884C3D738B74B420540659c82f392820e0;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3BNB.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ library AaveV3BNB {
// https://bscscan.com/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
address internal constant WALLET_BALANCE_PROVIDER = 0x36616cf17557639614c1cdDb356b1B83fc0B2132;

// https://bscscan.com/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
address internal constant WETH_GATEWAY = 0x589750BA8aF186cE5B55391B0b7148cAD43a1619;
// https://bscscan.com/address/0xd91d1331db4F436DaF47Ec9Dd86deCb8EEF946B4
address internal constant WETH_GATEWAY = 0xd91d1331db4F436DaF47Ec9Dd86deCb8EEF946B4;

// https://bscscan.com/address/0x5E2d083417D12d4B0824E14Ecd48D26831F4Da7D
address internal constant WITHDRAW_SWAP_ADAPTER = 0x5E2d083417D12d4B0824E14Ecd48D26831F4Da7D;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ library AaveV3Base {
// https://basescan.org/address/0x5779b29B0a34577d927E8D511B595ef9abbFAE82
address internal constant WALLET_BALANCE_PROVIDER = 0x5779b29B0a34577d927E8D511B595ef9abbFAE82;

// https://basescan.org/address/0x18CD499E3d7ed42FEbA981ac9236A278E4Cdc2ee
address internal constant WETH_GATEWAY = 0x18CD499E3d7ed42FEbA981ac9236A278E4Cdc2ee;
// https://basescan.org/address/0x8be473dCfA93132658821E67CbEB684ec8Ea2E74
address internal constant WETH_GATEWAY = 0x8be473dCfA93132658821E67CbEB684ec8Ea2E74;
}

library AaveV3BaseAssets {
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ library AaveV3Ethereum {
// https://etherscan.io/address/0xC7be5307ba715ce89b152f3Df0658295b3dbA8E2
address internal constant WALLET_BALANCE_PROVIDER = 0xC7be5307ba715ce89b152f3Df0658295b3dbA8E2;

// https://etherscan.io/address/0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C
address internal constant WETH_GATEWAY = 0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C;
// https://etherscan.io/address/0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9
address internal constant WETH_GATEWAY = 0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9;

// https://etherscan.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
address internal constant WITHDRAW_SWAP_ADAPTER = 0x78F8Bd884C3D738B74B420540659c82f392820e0;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Gnosis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ library AaveV3Gnosis {
// https://blockscout.com/xdai/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
address internal constant WALLET_BALANCE_PROVIDER = 0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D;

// https://blockscout.com/xdai/mainnet/address/0xb7E51aA2A5f4dD478F183A593F67637ed6F1d1D9
address internal constant WETH_GATEWAY = 0xb7E51aA2A5f4dD478F183A593F67637ed6F1d1D9;
// https://blockscout.com/xdai/mainnet/address/0xfE76366A986B72c3f2923e05E6ba07b7de5401e4
address internal constant WETH_GATEWAY = 0xfE76366A986B72c3f2923e05E6ba07b7de5401e4;

// https://blockscout.com/xdai/mainnet/address/0x33AE1f41546a2e05368Bf789b3d868813c0Ae658
address internal constant CAPS_PLUS_RISK_STEWARD = 0x33AE1f41546a2e05368Bf789b3d868813c0Ae658;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Optimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ library AaveV3Optimism {
// https://explorer.optimism.io/address/0xBc790382B3686abffE4be14A030A96aC6154023a
address internal constant WALLET_BALANCE_PROVIDER = 0xBc790382B3686abffE4be14A030A96aC6154023a;

// https://explorer.optimism.io/address/0x76D3030728e52DEB8848d5613aBaDE88441cbc59
address internal constant WETH_GATEWAY = 0x76D3030728e52DEB8848d5613aBaDE88441cbc59;
// https://explorer.optimism.io/address/0xe9E52021f4e11DEAD8661812A0A6c8627abA2a54
address internal constant WETH_GATEWAY = 0xe9E52021f4e11DEAD8661812A0A6c8627abA2a54;

// https://explorer.optimism.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
address internal constant WITHDRAW_SWAP_ADAPTER = 0x78F8Bd884C3D738B74B420540659c82f392820e0;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Polygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ library AaveV3Polygon {
// https://polygonscan.com/address/0xBc790382B3686abffE4be14A030A96aC6154023a
address internal constant WALLET_BALANCE_PROVIDER = 0xBc790382B3686abffE4be14A030A96aC6154023a;

// https://polygonscan.com/address/0x1e4b7A6b903680eab0c5dAbcb8fD429cD2a9598c
address internal constant WETH_GATEWAY = 0x1e4b7A6b903680eab0c5dAbcb8fD429cD2a9598c;
// https://polygonscan.com/address/0xC1E320966c485ebF2A0A2A6d3c0Dc860A156eB1B
address internal constant WETH_GATEWAY = 0xC1E320966c485ebF2A0A2A6d3c0Dc860A156eB1B;

// https://polygonscan.com/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
address internal constant WITHDRAW_SWAP_ADAPTER = 0x78F8Bd884C3D738B74B420540659c82f392820e0;
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2Avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export const UI_POOL_DATA_PROVIDER = '0x00e50FAB64eBB37b87df06Aa46b8B35d5f1A4e1A
// https://snowtrace.io/address/0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6
export const WALLET_BALANCE_PROVIDER = '0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6';

// https://snowtrace.io/address/0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b
export const WETH_GATEWAY = '0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b';
// https://snowtrace.io/address/0x68c815cB8C8390bc3F2CE99265044dEC9D350C49
export const WETH_GATEWAY = '0x68c815cB8C8390bc3F2CE99265044dEC9D350C49';

export const CHAIN_ID = 43114;
export const ASSETS = {
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export const UI_POOL_DATA_PROVIDER = '0x00e50FAB64eBB37b87df06Aa46b8B35d5f1A4e1A
// https://etherscan.io/address/0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922
export const WALLET_BALANCE_PROVIDER = '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922';

// https://etherscan.io/address/0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31
export const WETH_GATEWAY = '0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31';
// https://etherscan.io/address/0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24
export const WETH_GATEWAY = '0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24';

export const CHAIN_ID = 1;
export const ASSETS = {
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2EthereumAMM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export const UI_POOL_DATA_PROVIDER = '0x00e50FAB64eBB37b87df06Aa46b8B35d5f1A4e1A
// https://etherscan.io/address/0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922
export const WALLET_BALANCE_PROVIDER = '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922';

// https://etherscan.io/address/0x1C4a4e31231F71Fc34867D034a9E68f6fC798249
export const WETH_GATEWAY = '0x1C4a4e31231F71Fc34867D034a9E68f6fC798249';
// https://etherscan.io/address/0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC
export const WETH_GATEWAY = '0xbe9a7B3F2f54E18D7C0a17B03ad84Ac2D1D28eAC';

export const CHAIN_ID = 1;
export const ASSETS = {
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2Polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export const UI_POOL_DATA_PROVIDER = '0x204f2Eb81D996729829debC819f7992DCEEfE7b1
// https://polygonscan.com/address/0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e
export const WALLET_BALANCE_PROVIDER = '0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e';

// https://polygonscan.com/address/0xAeBF56223F044a73A513FAD7E148A9075227eD9b
export const WETH_GATEWAY = '0xAeBF56223F044a73A513FAD7E148A9075227eD9b';
// https://polygonscan.com/address/0xf1e6d4347105138B51E2bacA9A22fA228309ebB1
export const WETH_GATEWAY = '0xf1e6d4347105138B51E2bacA9A22fA228309ebB1';

export const CHAIN_ID = 137;
export const ASSETS = {
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export const UI_POOL_DATA_PROVIDER = '0x145dE30c929a065582da84Cf96F88460dB9745A7
// https://arbiscan.io/address/0xBc790382B3686abffE4be14A030A96aC6154023a
export const WALLET_BALANCE_PROVIDER = '0xBc790382B3686abffE4be14A030A96aC6154023a';

// https://arbiscan.io/address/0xB5Ee21786D28c5Ba61661550879475976B707099
export const WETH_GATEWAY = '0xB5Ee21786D28c5Ba61661550879475976B707099';
// https://arbiscan.io/address/0xecD4bd3121F9FD604ffaC631bF6d41ec12f1fafb
export const WETH_GATEWAY = '0xecD4bd3121F9FD604ffaC631bF6d41ec12f1fafb';

// https://arbiscan.io/address/0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9
export const WITHDRAW_SWAP_ADAPTER = '0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export const UI_POOL_DATA_PROVIDER = '0xF71DBe0FAEF1473ffC607d4c555dfF0aEaDb878d
// https://snowtrace.io/address/0xBc790382B3686abffE4be14A030A96aC6154023a
export const WALLET_BALANCE_PROVIDER = '0xBc790382B3686abffE4be14A030A96aC6154023a';

// https://snowtrace.io/address/0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7
export const WETH_GATEWAY = '0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7';
// https://snowtrace.io/address/0x2DeC8BCE3471eD65B1bB558Fa28439D45bF446d0
export const WETH_GATEWAY = '0x2DeC8BCE3471eD65B1bB558Fa28439D45bF446d0';

// https://snowtrace.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
export const WITHDRAW_SWAP_ADAPTER = '0x78F8Bd884C3D738B74B420540659c82f392820e0';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3BNB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export const UI_POOL_DATA_PROVIDER = '0x952F938949F965C70c83853e7ff28aa7af91005b
// https://bscscan.com/address/0x36616cf17557639614c1cdDb356b1B83fc0B2132
export const WALLET_BALANCE_PROVIDER = '0x36616cf17557639614c1cdDb356b1B83fc0B2132';

// https://bscscan.com/address/0x589750BA8aF186cE5B55391B0b7148cAD43a1619
export const WETH_GATEWAY = '0x589750BA8aF186cE5B55391B0b7148cAD43a1619';
// https://bscscan.com/address/0xd91d1331db4F436DaF47Ec9Dd86deCb8EEF946B4
export const WETH_GATEWAY = '0xd91d1331db4F436DaF47Ec9Dd86deCb8EEF946B4';

// https://bscscan.com/address/0x5E2d083417D12d4B0824E14Ecd48D26831F4Da7D
export const WITHDRAW_SWAP_ADAPTER = '0x5E2d083417D12d4B0824E14Ecd48D26831F4Da7D';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export const UI_POOL_DATA_PROVIDER = '0x174446a6741300cD2E7C1b1A636Fee99c8F83502
// https://basescan.org/address/0x5779b29B0a34577d927E8D511B595ef9abbFAE82
export const WALLET_BALANCE_PROVIDER = '0x5779b29B0a34577d927E8D511B595ef9abbFAE82';

// https://basescan.org/address/0x18CD499E3d7ed42FEbA981ac9236A278E4Cdc2ee
export const WETH_GATEWAY = '0x18CD499E3d7ed42FEbA981ac9236A278E4Cdc2ee';
// https://basescan.org/address/0x8be473dCfA93132658821E67CbEB684ec8Ea2E74
export const WETH_GATEWAY = '0x8be473dCfA93132658821E67CbEB684ec8Ea2E74';

export const CHAIN_ID = 8453;
export const ASSETS = {
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export const UI_POOL_DATA_PROVIDER = '0x91c0eA31b49B69Ea18607702c5d9aC360bf3dE7d
// https://etherscan.io/address/0xC7be5307ba715ce89b152f3Df0658295b3dbA8E2
export const WALLET_BALANCE_PROVIDER = '0xC7be5307ba715ce89b152f3Df0658295b3dbA8E2';

// https://etherscan.io/address/0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C
export const WETH_GATEWAY = '0xD322A49006FC828F9B5B37Ab215F99B4E5caB19C';
// https://etherscan.io/address/0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9
export const WETH_GATEWAY = '0x893411580e590D62dDBca8a703d61Cc4A8c7b2b9';

// https://etherscan.io/address/0x78F8Bd884C3D738B74B420540659c82f392820e0
export const WITHDRAW_SWAP_ADAPTER = '0x78F8Bd884C3D738B74B420540659c82f392820e0';
Expand Down
Loading

0 comments on commit 575eac6

Please sign in to comment.