Opcode Type
Represents an EVM opcode.
Union cases
| Union case |
Description
|
Full Usage:
ADD
|
Addition operation |
Full Usage:
ADDMOD
|
Modulo addition operation |
Full Usage:
ADDRESS
|
Get address of currently executing account |
Full Usage:
AND
|
Bitwise AND operation |
Full Usage:
BALANCE
|
Get balance of the given account |
Full Usage:
BASEFEE
|
|
Full Usage:
BLOCKHASH
|
Get the hash of one of the 256 most recent complete blocks |
Full Usage:
BYTE
|
Retrieve single byte from word |
Full Usage:
CALL
|
Message-call into an account |
Full Usage:
CALLCODE
|
Message-call into this account with alternative account's code |
Full Usage:
CALLDATACOPY
|
Copy input data in current environment to memory |
Full Usage:
CALLDATALOAD
|
Get input data of current environment |
Full Usage:
CALLDATASIZE
|
Get size of input data in current environment |
Full Usage:
CALLER
|
Get caller address |
Full Usage:
CALLVALUE
|
Get deposited value by the instruction/transaction responsible for this execution |
Full Usage:
CHAINID
|
|
Full Usage:
CODECOPY
|
Copy code running in current environment to memory |
Full Usage:
CODESIZE
|
Get size of code running in current environment |
Full Usage:
COINBASE
|
Get the block's beneficiary address |
Full Usage:
CREATE
|
Create a new account with associated code |
Full Usage:
CREATE2
|
Create a new account and set creation address to sha3(sender + sha3(init code)) % 2**160 |
Full Usage:
DELEGATECALL
|
Message-call into this account with an alternative account's code, but persisting into this account with an alternative account's code |
Full Usage:
DIFFICULTY
|
Get the block's difficulty |
Full Usage:
DIV
|
Integer division operation |
Full Usage:
DUP1
|
Duplicate 1st stack item |
Full Usage:
DUP10
|
Duplicate 10th stack item |
Full Usage:
DUP11
|
Duplicate 11th stack item |
Full Usage:
DUP12
|
Duplicate 12th stack item |
Full Usage:
DUP13
|
Duplicate 13th stack item |
Full Usage:
DUP14
|
Duplicate 14th stack item |
Full Usage:
DUP15
|
Duplicate 15th stack item |
Full Usage:
DUP16
|
Duplicate 16th stack item |
Full Usage:
DUP2
|
Duplicate 2nd stack item |
Full Usage:
DUP3
|
Duplicate 3rd stack item |
Full Usage:
DUP4
|
Duplicate 4th stack item |
Full Usage:
DUP5
|
Duplicate 5th stack item |
Full Usage:
DUP6
|
Duplicate 6th stack item |
Full Usage:
DUP7
|
Duplicate 7th stack item |
Full Usage:
DUP8
|
Duplicate 8th stack item |
Full Usage:
DUP9
|
Duplicate 9th stack item |
Full Usage:
EQ
|
Equality comparison |
Full Usage:
EXP
|
Exponential operation |
Full Usage:
EXTCODECOPY
|
Copy an account's code to memory |
Full Usage:
EXTCODEHASH
|
|
Full Usage:
EXTCODESIZE
|
Get size of an account's code |
Full Usage:
GAS
|
Get the amount of available gas, including the corresponding reduction the amount of available gas |
Full Usage:
GASLIMIT
|
Get the block's gas limit |
Full Usage:
GASPRICE
|
Get price of gas in current environment |
Full Usage:
GETPC
|
Get the value of the program counter prior to the increment |
Full Usage:
GT
|
Greater-than comparison |
Full Usage:
INVALID
|
Designated invalid instruction |
Full Usage:
ISZERO
|
Simple not operator |
Full Usage:
JUMP
|
Alter the program counter |
Full Usage:
JUMPDEST
|
Mark a valid destination for jumps |
Full Usage:
JUMPI
|
Conditionally alter the program counter |
Full Usage:
LOG0
|
Append log record with no topics |
Full Usage:
LOG1
|
Append log record with one topic |
Full Usage:
LOG2
|
Append log record with two topics |
Full Usage:
LOG3
|
Append log record with three topics |
Full Usage:
LOG4
|
Append log record with four topics |
Full Usage:
LT
|
Less-than comparison |
Full Usage:
MCOPY
|
Copy bytes from memory to memory |
Full Usage:
MLOAD
|
Load word from memory |
Full Usage:
MOD
|
Modulo remainder operation |
Full Usage:
MSIZE
|
Get the size of active memory in bytes |
Full Usage:
MSTORE
|
Save word to memory |
Full Usage:
MSTORE8
|
Save byte to memory |
Full Usage:
MUL
|
Multiplication operation |
Full Usage:
MULMOD
|
Modulo multiplication operation |
Full Usage:
NOT
|
Bitwise NOT operation |
Full Usage:
NUMBER
|
Get the block's number |
Full Usage:
OR
|
Bitwise OR operation |
Full Usage:
ORIGIN
|
Get execution origination address |
Full Usage:
POP
|
Remove word from stack |
Full Usage:
PUSH0
|
Place zero value on stack |
|
Place 1 byte item on stack
|
|
Place 10-byte item on stack
|
|
Place 11-byte item on stack
|
|
Place 12-byte item on stack
|
|
Place 13-byte item on stack
|
|
Place 14-byte item on stack
|
|
Place 15-byte item on stack
|
|
Place 16-byte item on stack
|
|
Place 17-byte item on stack
|
|
Place 18-byte item on stack
|
|
Place 19-byte item on stack
|
|
Place 2-byte item on stack
|
|
Place 20-byte item on stack
|
|
Place 21-byte item on stack
|
|
Place 22-byte item on stack
|
|
Place 23-byte item on stack
|
|
Place 24-byte item on stack
|
|
Place 25-byte item on stack
|
|
Place 26-byte item on stack
|
|
Place 27-byte item on stack
|
|
Place 28-byte item on stack
|
|
Place 29-byte item on stack
|
|
Place 3-byte item on stack
|
|
Place 30-byte item on stack
|
|
Place 31-byte item on stack
|
|
Place 32-byte (full word) item on stack
|
|
Place 4-byte item on stack
|
|
Place 5-byte item on stack
|
|
Place 6-byte item on stack
|
|
Place 7-byte item on stack
|
|
Place 8-byte item on stack
|
|
Place 9-byte item on stack
|
Full Usage:
RETURN
|
Halt execution returning output data |
Full Usage:
RETURNDATACOPY
|
Copies data from the return data buffer to memory |
Full Usage:
RETURNDATASIZE
|
Pushes the size of the return data buffer onto the stack |
Full Usage:
REVERT
|
Stop execution and revert state changes, without consuming all provided gas and providing a reason |
Full Usage:
SAR
|
Arithmetic Shift Right |
Full Usage:
SDIV
|
Signed integer division operation (truncated) |
Full Usage:
SELFBALANCE
|
|
Full Usage:
SELFDESTRUCT
|
Halt execution and register account for later deletion |
Full Usage:
SGT
|
Signed greater-than comparison |
Full Usage:
SHA3
|
Compute Keccak-256 hash |
Full Usage:
SHL
|
Shift Left |
Full Usage:
SHR
|
Logical Shift Right |
Full Usage:
SIGNEXTEND
|
Extend length of two's complement signed integer |
Full Usage:
SLOAD
|
Load word from storage |
Full Usage:
SLT
|
Signed less-than comparison |
Full Usage:
SMOD
|
Signed modulo remainder operation |
Full Usage:
SSTORE
|
Save word to storage |
Full Usage:
STATICCALL
|
Similar to CALL, but does not modify state |
Full Usage:
STOP
|
Halts execution |
Full Usage:
SUB
|
Subtraction operation |
Full Usage:
SWAP1
|
Exchange 1st and 2nd stack items |
Full Usage:
SWAP10
|
Exchange 1st and 11th stack items |
Full Usage:
SWAP11
|
Exchange 1st and 12th stack items |
Full Usage:
SWAP12
|
Exchange 1st and 13th stack items |
Full Usage:
SWAP13
|
Exchange 1st and 14th stack items |
Full Usage:
SWAP14
|
Exchange 1st and 15th stack items |
Full Usage:
SWAP15
|
Exchange 1st and 16th stack items |
Full Usage:
SWAP16
|
Exchange 1st and 17th stack items |
Full Usage:
SWAP2
|
Exchange 1st and 3rd stack items |
Full Usage:
SWAP3
|
Exchange 1st and 4th stack items |
Full Usage:
SWAP4
|
Exchange 1st and 5th stack items |
Full Usage:
SWAP5
|
Exchange 1st and 6th stack items |
Full Usage:
SWAP6
|
Exchange 1st and 7th stack items |
Full Usage:
SWAP7
|
Exchange 1st and 8th stack items |
Full Usage:
SWAP8
|
Exchange 1st and 9th stack items |
Full Usage:
SWAP9
|
Exchange 1st and 10th stack items |
Full Usage:
TIMESTAMP
|
Get the block's timestamp |
Full Usage:
TLOAD
|
Load word from transient storage |
Full Usage:
TSTORE
|
Save word to transient storage |
Full Usage:
XOR
|
Bitwise XOR operation |
Instance members
| Instance member |
Description
|
Full Usage:
this.IsADD
Returns: bool
|
|
Full Usage:
this.IsADDMOD
Returns: bool
|
|
Full Usage:
this.IsADDRESS
Returns: bool
|
|
Full Usage:
this.IsAND
Returns: bool
|
|
Full Usage:
this.IsBALANCE
Returns: bool
|
|
Full Usage:
this.IsBASEFEE
Returns: bool
|
|
Full Usage:
this.IsBLOCKHASH
Returns: bool
|
|
Full Usage:
this.IsBYTE
Returns: bool
|
|
Full Usage:
this.IsCALL
Returns: bool
|
|
Full Usage:
this.IsCALLCODE
Returns: bool
|
|
Full Usage:
this.IsCALLDATACOPY
Returns: bool
|
|
Full Usage:
this.IsCALLDATALOAD
Returns: bool
|
|
Full Usage:
this.IsCALLDATASIZE
Returns: bool
|
|
Full Usage:
this.IsCALLER
Returns: bool
|
|
Full Usage:
this.IsCALLVALUE
Returns: bool
|
|
Full Usage:
this.IsCHAINID
Returns: bool
|
|
Full Usage:
this.IsCODECOPY
Returns: bool
|
|
Full Usage:
this.IsCODESIZE
Returns: bool
|
|
Full Usage:
this.IsCOINBASE
Returns: bool
|
|
Full Usage:
this.IsCREATE
Returns: bool
|
|
Full Usage:
this.IsCREATE2
Returns: bool
|
|
Full Usage:
this.IsDELEGATECALL
Returns: bool
|
|
Full Usage:
this.IsDIFFICULTY
Returns: bool
|
|
Full Usage:
this.IsDIV
Returns: bool
|
|
Full Usage:
this.IsDUP1
Returns: bool
|
|
Full Usage:
this.IsDUP10
Returns: bool
|
|
Full Usage:
this.IsDUP11
Returns: bool
|
|
Full Usage:
this.IsDUP12
Returns: bool
|
|
Full Usage:
this.IsDUP13
Returns: bool
|
|
Full Usage:
this.IsDUP14
Returns: bool
|
|
Full Usage:
this.IsDUP15
Returns: bool
|
|
Full Usage:
this.IsDUP16
Returns: bool
|
|
Full Usage:
this.IsDUP2
Returns: bool
|
|
Full Usage:
this.IsDUP3
Returns: bool
|
|
Full Usage:
this.IsDUP4
Returns: bool
|
|
Full Usage:
this.IsDUP5
Returns: bool
|
|
Full Usage:
this.IsDUP6
Returns: bool
|
|
Full Usage:
this.IsDUP7
Returns: bool
|
|
Full Usage:
this.IsDUP8
Returns: bool
|
|
Full Usage:
this.IsDUP9
Returns: bool
|
|
Full Usage:
this.IsEQ
Returns: bool
|
|
Full Usage:
this.IsEXP
Returns: bool
|
|
Full Usage:
this.IsEXTCODECOPY
Returns: bool
|
|
Full Usage:
this.IsEXTCODEHASH
Returns: bool
|
|
Full Usage:
this.IsEXTCODESIZE
Returns: bool
|
|
Full Usage:
this.IsGAS
Returns: bool
|
|
Full Usage:
this.IsGASLIMIT
Returns: bool
|
|
Full Usage:
this.IsGASPRICE
Returns: bool
|
|
Full Usage:
this.IsGETPC
Returns: bool
|
|
Full Usage:
this.IsGT
Returns: bool
|
|
Full Usage:
this.IsINVALID
Returns: bool
|
|
Full Usage:
this.IsISZERO
Returns: bool
|
|
Full Usage:
this.IsJUMP
Returns: bool
|
|
Full Usage:
this.IsJUMPDEST
Returns: bool
|
|
Full Usage:
this.IsJUMPI
Returns: bool
|
|
Full Usage:
this.IsLOG0
Returns: bool
|
|
Full Usage:
this.IsLOG1
Returns: bool
|
|
Full Usage:
this.IsLOG2
Returns: bool
|
|
Full Usage:
this.IsLOG3
Returns: bool
|
|
Full Usage:
this.IsLOG4
Returns: bool
|
|
Full Usage:
this.IsLT
Returns: bool
|
|
Full Usage:
this.IsMCOPY
Returns: bool
|
|
Full Usage:
this.IsMLOAD
Returns: bool
|
|
Full Usage:
this.IsMOD
Returns: bool
|
|
Full Usage:
this.IsMSIZE
Returns: bool
|
|
Full Usage:
this.IsMSTORE
Returns: bool
|
|
Full Usage:
this.IsMSTORE8
Returns: bool
|
|
Full Usage:
this.IsMUL
Returns: bool
|
|
Full Usage:
this.IsMULMOD
Returns: bool
|
|
Full Usage:
this.IsNOT
Returns: bool
|
|
Full Usage:
this.IsNUMBER
Returns: bool
|
|
Full Usage:
this.IsOR
Returns: bool
|
|
Full Usage:
this.IsORIGIN
Returns: bool
|
|
Full Usage:
this.IsPOP
Returns: bool
|
|
Full Usage:
this.IsPUSH0
Returns: bool
|
|
Full Usage:
this.IsPUSH1
Returns: bool
|
|
Full Usage:
this.IsPUSH10
Returns: bool
|
|
Full Usage:
this.IsPUSH11
Returns: bool
|
|
Full Usage:
this.IsPUSH12
Returns: bool
|
|
Full Usage:
this.IsPUSH13
Returns: bool
|
|
Full Usage:
this.IsPUSH14
Returns: bool
|
|
Full Usage:
this.IsPUSH15
Returns: bool
|
|
Full Usage:
this.IsPUSH16
Returns: bool
|
|
Full Usage:
this.IsPUSH17
Returns: bool
|
|
Full Usage:
this.IsPUSH18
Returns: bool
|
|
Full Usage:
this.IsPUSH19
Returns: bool
|
|
Full Usage:
this.IsPUSH2
Returns: bool
|
|
Full Usage:
this.IsPUSH20
Returns: bool
|
|
Full Usage:
this.IsPUSH21
Returns: bool
|
|
Full Usage:
this.IsPUSH22
Returns: bool
|
|
Full Usage:
this.IsPUSH23
Returns: bool
|
|
Full Usage:
this.IsPUSH24
Returns: bool
|
|
Full Usage:
this.IsPUSH25
Returns: bool
|
|
Full Usage:
this.IsPUSH26
Returns: bool
|
|
Full Usage:
this.IsPUSH27
Returns: bool
|
|
Full Usage:
this.IsPUSH28
Returns: bool
|
|
Full Usage:
this.IsPUSH29
Returns: bool
|
|
Full Usage:
this.IsPUSH3
Returns: bool
|
|
Full Usage:
this.IsPUSH30
Returns: bool
|
|
Full Usage:
this.IsPUSH31
Returns: bool
|
|
Full Usage:
this.IsPUSH32
Returns: bool
|
|
Full Usage:
this.IsPUSH4
Returns: bool
|
|
Full Usage:
this.IsPUSH5
Returns: bool
|
|
Full Usage:
this.IsPUSH6
Returns: bool
|
|
Full Usage:
this.IsPUSH7
Returns: bool
|
|
Full Usage:
this.IsPUSH8
Returns: bool
|
|
Full Usage:
this.IsPUSH9
Returns: bool
|
|
Full Usage:
this.IsRETURN
Returns: bool
|
|
Full Usage:
this.IsRETURNDATACOPY
Returns: bool
|
|
Full Usage:
this.IsRETURNDATASIZE
Returns: bool
|
|
Full Usage:
this.IsREVERT
Returns: bool
|
|
Full Usage:
this.IsSAR
Returns: bool
|
|
Full Usage:
this.IsSDIV
Returns: bool
|
|
Full Usage:
this.IsSELFBALANCE
Returns: bool
|
|
Full Usage:
this.IsSELFDESTRUCT
Returns: bool
|
|
Full Usage:
this.IsSGT
Returns: bool
|
|
Full Usage:
this.IsSHA3
Returns: bool
|
|
Full Usage:
this.IsSHL
Returns: bool
|
|
Full Usage:
this.IsSHR
Returns: bool
|
|
Full Usage:
this.IsSIGNEXTEND
Returns: bool
|
|
Full Usage:
this.IsSLOAD
Returns: bool
|
|
Full Usage:
this.IsSLT
Returns: bool
|
|
Full Usage:
this.IsSMOD
Returns: bool
|
|
Full Usage:
this.IsSSTORE
Returns: bool
|
|
Full Usage:
this.IsSTATICCALL
Returns: bool
|
|
Full Usage:
this.IsSTOP
Returns: bool
|
|
Full Usage:
this.IsSUB
Returns: bool
|
|
Full Usage:
this.IsSWAP1
Returns: bool
|
|
Full Usage:
this.IsSWAP10
Returns: bool
|
|
Full Usage:
this.IsSWAP11
Returns: bool
|
|
Full Usage:
this.IsSWAP12
Returns: bool
|
|
Full Usage:
this.IsSWAP13
Returns: bool
|
|
Full Usage:
this.IsSWAP14
Returns: bool
|
|
Full Usage:
this.IsSWAP15
Returns: bool
|
|
Full Usage:
this.IsSWAP16
Returns: bool
|
|
Full Usage:
this.IsSWAP2
Returns: bool
|
|
Full Usage:
this.IsSWAP3
Returns: bool
|
|
Full Usage:
this.IsSWAP4
Returns: bool
|
|
Full Usage:
this.IsSWAP5
Returns: bool
|
|
Full Usage:
this.IsSWAP6
Returns: bool
|
|
Full Usage:
this.IsSWAP7
Returns: bool
|
|
Full Usage:
this.IsSWAP8
Returns: bool
|
|
Full Usage:
this.IsSWAP9
Returns: bool
|
|
Full Usage:
this.IsTIMESTAMP
Returns: bool
|
|
Full Usage:
this.IsTLOAD
Returns: bool
|
|
Full Usage:
this.IsTSTORE
Returns: bool
|
|
Full Usage:
this.IsXOR
Returns: bool
|
|
B2R2