I have a constant method in a Smart Contract that returns this array:
(uint256 _field1, uint256 _field2, uint256 _field3, address _field4, string _field5)
When invoking it I got this hex result:
0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000058581b50000000000000000000000000f28dafbfeb41bf32869c9d498da0d651d0206ed400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000414869204a75616e2c2074686973206973206d61726b65747061792073656e64696e6720666972737420626c6f636b636861696e2065766572206d6573736167652100000000000000000000000000000000000000000000000000000000000000
How can I parse it? How can I know the exact padding for every field? Thx!