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

where and which dexContractAddress in FlashLoanArbitrage.sol #2

Open
codebaya opened this issue May 26, 2023 · 1 comment
Open

where and which dexContractAddress in FlashLoanArbitrage.sol #2

codebaya opened this issue May 26, 2023 · 1 comment

Comments

@codebaya
Copy link

Hi

Thank you for your code
if you have a change to reply my issue,
Please give me an guidance

it's been long time to follow up your course.
so it might change some contract address
I've tried to find the dexContractAddress but I can't yet
please which address whould I replace for the dexContractAddress in FlashLoanArbitrage.sol

contract FlashLoanArbitrage is FlashLoanSimpleReceiverBase {
address payable owner;

// Aave ERC20 Token addresses on Goerli network
address private immutable daiAddress =
    0xBa8DCeD3512925e52FE67b1b5329187589072A55;
address private immutable usdcAddress =
    0x65aFADD39029741B3b8f0756952C74678c9cEC93;
address private dexContractAddress =0xC911B590248d127aD18546B186cC6B324e99F02c(this is what I found it please let me know if it's right)

i found like
PoolAddressesProvider-Aave │ '0xC911B590248d127aD18546B186cC6B324e99F02c' │

is it right address to replace?

Please let me find the right dexContractAddress

Thank you so much

@intervations
Copy link

From my understanding, it is your DEX contract address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants