Studying the etherscan platform and some contracts,

-->> accounts >> contract accounts >> selecting one contract,

under Contract Code there is an option to switch between Bytecodes View and Opcodes View.

What exactly is Opcodes View here and what does it represent?

There are some keywords like PUSH1, MSTORE, MLOAD, DUP1, GAS, SUB and CALLCODE in this view that repeat frequently.

What are these and what do they do?

Opcodes are the individual instructions that the Ethereum Virtual Machine (EVM) understands. You're looking at the equivalent of X86 assembly language, but for the EVM instead of your computer.

  • but these are for contract creation isn't it? is there a way to figure out what are the opcodes for a function call? – s.matthew.english Aug 4 '17 at 15:28

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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