Skip to content

Lesson 13 : call_Exception error #5710

Closed Answered by alfaqi
zeeshan615 asked this question in Q&A
Jun 19, 2023 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

in getWeth function,

const iWeth = await ethers.getContractAt(
   "IWeth",
   "0xdd13E55209Fd76AfE204dBda4007C227904f0a81",
   deployer
)

you have to use address of WETH
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
instead of this
0xdd13E55209Fd76AfE204dBda4007C227904f0a81

which is defined in helper-hardhat-config.js as wethToken

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@zeeshan615
Comment options

Comment options

You must be logged in to vote
9 replies
@alfaqi
Comment options

@zeeshan615
Comment options

@zeeshan615
Comment options

@alfaqi
Comment options

Answer selected by zeeshan615
@zeeshan615
Comment options

@zeeshan615
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants