I have an event with the signature Event(address, uint256, string) which my smart contract emit from time to time. I am testing said contract on a ganache test net where when the Ganache picks up these events, it decodes them perfectly. Yet when I try to decode the abi encoding of said event using the rpc-json response there seems to be something wrong with the encoding even though everything else (tx-hash etc.) lines up:
I tested with address being 0xa96403a52c4b63fefda2f24734a7c1f69a36b24a, the uint256 being 1 and the string being hello and get this result:
This is the uint256 which is 1:
I don't know what this is:
This is the length of the string, followed by the utf8 encoding of "hello", correctly by 27 bytes of padding to make it 32 bytes in total:
Could anyone help me out in decoding the address here and correct me in case I did something wrong decoding the other stuff? Thank you so much in advance!