0

I am actually working for a research, I'm studying what happened in DAO Hack and I'm looking for some infos in the ABI of TheDarkDAO's smart contract. Exactly I am trying to understand how to discover the activity name behind a method signature from an ABI. I already tried to use Ethereum Function Database to search them but i found nothing. So, there is a question: How can i extract an activity name of a method signature from an ABI? Thank you so much!

2
  • Could you clarify ? What do you mean by activity name ? Given your link, It feels like you are using function signature in place of function identifier and activity name in place of function signature, maybe I'm just misunderstanding though.
    – hroussille
    Commented Dec 6, 2021 at 10:51
  • My bad, i mean text signature for activity name!
    – Zerodrome
    Commented Dec 7, 2021 at 0:19

1 Answer 1

0

Look like you're trying to decompile a smart contract. How can you do that? You can't.

Unless the creators of the smart contract verified the contract, it's not possible to decompile the bytecode into human-readable source code.

Here is the explanation of smart contract verification. You might want to check if the smart contract is verified. If it is, it will look like this on Etherscan:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.