0

the contract isnt verified but etherscan knows whats being called. how can we write what we got from the input data back into abi form

1
  • There is 4byte.directory an online databases signatures. Etherescan might have its own database from registered contracts.
    – Ismael
    Jan 23, 2021 at 19:57

1 Answer 1

0

The transaction calls the DEFAULT_ADMIN_ROLE() function without passing any additional parameters, that's all.

2
  • yes but like if i wanted to call that too without how could i write the abi for that? (the contract is unverified) soz for being a noob ><
    – JaredK
    Jan 23, 2021 at 12:12
  • abi.encodeWithSignature("DEFAULT_ADMIN_ROLE()")
    – Mad Jackal
    Jan 23, 2021 at 13:22

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.