Skip to main content

Questions tagged [etherjs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
5k views

How to mock smart contract function for testing (in hardhat)

In my Test I want to mock an external function that I call inside my smart contract to test both conditions without writing and deploying an extra fake smart contract. My Contract //SPDX-License-...
Majd TL's user avatar
  • 3,257
3 votes
1 answer
4k views

Uniswap Universal Router - Decoding the Execute function parameters

I used the method described in this thread (Decode Uniswap Universal Router transaction in ethers.js) and decoded most of the data of a transaction at this link: https://arbiscan.io/tx/...
python_rok's user avatar