2

Is there a way to look at the assembly code equivalent of a specific solidity function the compiler creates? What's the easiest way to do so during development?

1

I am assuming you are using Remix IDE for smart contract development.

1) In Remix IDE deploy the smart contract.

2) Execute the function of deployed smart contract.

3) Debug the function that you have executed.

4) See the instructions for that function.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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