pipermerriam / ethereum-function-signature-registry

Registry of 4byte function signatures and their human readable counterparts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codecs.decoder

natank1 opened this issue · comments

When I am using the decoding \encodign functions, I experience the following:
array['hex_signature’]= ‘0x403eaa4e'
array[“text_signature”]= 'predictDeterministicAddress(bytes[],uint256)'

encode_hex(array['text_signature’])=√b’0x7072656469637444657465726d696e6973746963416464726573732862797465735b5d2c75696e7432353629'
decode_hex(encode_hex(array['text_signature'])) =b'predictDeterministicAddress(bytes[],uint256)’

But. Decode_hex on array[“hex_signature"] doesn’t provide any function. How come?