I'm trying to send 12 integer as bytes to a contract function. If I use
the variable will become 0xc
The problem is that when contract function parses bytes, it reads uint256, so the result is revert.
How can I generate a hex with specific length? Like uint256, 128, 64, 32?
Edit: just tested manually and the variable I need is 0x000000000000000000000000000000000000000000000000000000000000000c There must be a way to generate it somehow.