acuarica / evm

A Symbolic Ethereum Virtual Machine (EVM) bytecode interpreter, parser and decompiler, along with several other utils for programmatically extracting information from EVM bytecode.
https://acuarica.github.io/evm/
MIT License
46 stars 5 forks source link

Support to patch contract functions and events using an external API #64

Closed acuarica closed 5 months ago

acuarica commented 5 months ago

The service https://openchain.xyz/signatures provides an API to lookup up function and event signatures in batch.[1]

Use this API[1] endpoint to patch function and event signatures.


[1] https://docs.openchain.xyz/#/default/get_signature_database_v1_lookup

acuarica commented 5 months ago

Note the implementation uses fetch, which is only available in Node >= 18.[1]


[1] https://developer.mozilla.org/en-US/docs/Web/API/fetch#browser_compatibility