Skip to main content

Table 4 Opcode descriptions (Crytic 2021)

From: Detecting DeFi securities violations from token smart contract code

Opcode

Description

SWAPn

Exchange first and nth stack item

DUPn

Duplicate nth stack item

SHL

“Shift left”

PUSHn

Put n-byte item on the stack

LOGn

Append log record with n topics

MLOAD

Load a word previously saved to memory

SLT

“Signed less-than comparison”

RETURN

Stop code execution and return output data