You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there possibility to encode abi params without function name itself? My workaround is empting first 4 bytes for example:
val args = Tuple(Address.wrap("0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32"), 5)
val f = Function("(address,uint8)")
val callData = f.encodeCall(args)
it gives: 0xd6ec702b0000000000000000000000005757371414417b8c6caad45baef941abc7d3ab320000000000000000000000000000000000000000000000000000000000000005
then I clear first bytes. I bet that this library have such functionality.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi again :)
Is there possibility to encode abi params without function name itself? My workaround is empting first 4 bytes for example:
it gives:
0xd6ec702b0000000000000000000000005757371414417b8c6caad45baef941abc7d3ab320000000000000000000000000000000000000000000000000000000000000005
then I clear first bytes. I bet that this library have such functionality.
Thanks!
The text was updated successfully, but these errors were encountered: