Hello everyone. Can someone help me with my issue please

In solidity we have:

abi.encodePacked(params.tokenIn, params.fee, params.tokenOut)

Which is [address, uint24, address]

How to decode this on my side using web3 ?

Sep 24, 2022, 7:37 PM
In web3py, you can use eth-abi library
https://eth-abi.readthedocs.io/en/latest/encoding.html
Sep 24, 2022, 7:55 PM

© 2024 Draquery.com All rights reserved.