-
Notifications
You must be signed in to change notification settings - Fork 56
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: adds v3 ethereum protocol addresses. adds patch to take into acc… #49
Merged
+374
−86
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ export enum ChainId { | |
} | ||
|
||
const RPC_PROVIDERS = { | ||
[ChainId.mainnet]: "https://rpc.flashbots.net", | ||
[ChainId.mainnet]: 'https://rpc.tenderly.co/fork/1e8e167f-4a45-4ac5-8ce1-4045b07a0faf',//"https://rpc.flashbots.net", | ||
[ChainId.goerli]: "https://eth-goerli.public.blastapi.io", | ||
[ChainId.mumbai]: "https://polygon-testnet.public.blastapi.io", | ||
[ChainId.polygon]: "https://polygon-rpc.com", | ||
|
@@ -289,6 +289,15 @@ export const pools: Pool[] = [ | |
FAUCET: "0xC52eA1F19C22E5a3725105BC0cf4988614e84D98", | ||
}, | ||
}, | ||
{ | ||
name: "AaveV3Ethereum", | ||
chainId: ChainId.mainnet, | ||
addressProvider: "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e", | ||
version: 3, | ||
// additionalAddresses: { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be removed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no need added here all the extra addresses that are on deployment but we cant bia rpc right now |
||
// WETH_GATEWAY: "0x6f7f2440006221F893c587b88f01afc42B6F8d2e", | ||
// }, | ||
}, | ||
].map((m) => ({ | ||
...m, | ||
// fix checksum | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// SPDX-License-Identifier: MIT | ||
// AUTOGENERATED - DON'T MANUALLY CHANGE | ||
pragma solidity >=0.6.0; | ||
|
||
import {IPoolAddressesProvider, IPool, IPoolConfigurator, IAaveOracle, IPoolDataProvider, IACLManager, ICollector} from "./AaveV3.sol"; | ||
|
||
library AaveV3Ethereum { | ||
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER = | ||
IPoolAddressesProvider(0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e); | ||
|
||
IPool internal constant POOL = | ||
IPool(0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2); | ||
|
||
IPoolConfigurator internal constant POOL_CONFIGURATOR = | ||
IPoolConfigurator(0x64b761D848206f447Fe2dd461b0c635Ec39EbB27); | ||
|
||
IAaveOracle internal constant ORACLE = | ||
IAaveOracle(0x54586bE62E3c3580375aE3723C145253060Ca0C2); | ||
|
||
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER = | ||
IPoolDataProvider(0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3); | ||
|
||
IACLManager internal constant ACL_MANAGER = | ||
IACLManager(0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0); | ||
|
||
address internal constant ACL_ADMIN = | ||
0xEE56e2B3D491590B5b31738cC34d5232F378a8D5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// AUTOGENERATED - DON'T MANUALLY CHANGE | ||
export const POOL_ADDRESSES_PROVIDER = | ||
"0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e"; | ||
export const POOL = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2"; | ||
export const POOL_CONFIGURATOR = "0x64b761D848206f447Fe2dd461b0c635Ec39EbB27"; | ||
export const ORACLE = "0x54586bE62E3c3580375aE3723C145253060Ca0C2"; | ||
export const AAVE_PROTOCOL_DATA_PROVIDER = | ||
"0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3"; | ||
export const ACL_MANAGER = "0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0"; | ||
export const ACL_ADMIN = "0xEE56e2B3D491590B5b31738cC34d5232F378a8D5"; | ||
export const CHAIN_ID = 1; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which is the rationale of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to get the addresses on the v3.0.1 deployed on tenderly.