Hello devs.

Had a small dobut.
We use abi.encodeWithSignature to create a payload and then a call function with or without arguments .

However, how do we pass msg.value using abi.encodeWithSignature?
I mean if there is a function that does not take any parameter but needs the msg.value? How do I interact with such function using abi.encodeWithSignature?

Jan 19, 2021, 5:28 AM

© 2024 Draquery.com All rights reserved.