All Questions
1 question
1
vote
0
answers
224
views
How to manually generate calldata
Here's my code snippet:
function getCalldata(string calldata _func, string calldata _param1, uint256 _param2) public pure returns (bytes memory) {
return abi.encodeWithSignature(_func, _param1,...