I do not have the json interface as ABI, how can I construct the calldata?
This does not work because encodeFunctionCall does not accept string as method signature:
web3.eth.abi.encodeFunctionCall('upgradeToAndCall(address, bytes memory)', [arg1, arg2])
Does anyone know?
P.S: It's weird that encodeFunctionSignature accepts string as method signature