-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
opcode.json
146 lines (146 loc) · 2.42 KB
/
opcode.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"0": "*STOP",
"1": "ADD",
"2": "MUL",
"3": "SUB",
"4": "DIV",
"5": "SDIV",
"6": "MOD",
"7": "SMOD",
"8": "ADDMOD",
"9": "MULMOD",
"10": "EXP",
"11": "SIGNEXTEND",
"16": "LT",
"17": "GT",
"18": "SLT",
"19": "SGT",
"20": "EQ",
"21": "ISZERO",
"22": "AND",
"23": "OR",
"24": "XOR",
"25": "NOT",
"26": "BYTE",
"27": "SHL",
"28": "SHR",
"29": "SAR",
"30": "ADDRESS",
"31": "BALANCE",
"32": "SHA3",
"48": "ADDRESS",
"49": "BALANCE",
"50": "ORIGIN",
"51": "CALLER",
"52": "CALLVALUE",
"53": "CALLDATALOAD",
"54": "CALLDATASIZE",
"55": "CALLDATACOPY",
"56": "CODESIZE",
"57": "CODECOPY",
"58": "GASPRICE",
"59": "EXTCODESIZE",
"60": "EXTCODECOPY",
"61": "RETURNDATASIZE",
"62": "RETURNDATACOPY",
"63": "EXTCODEHASH",
"64": "BLOCKHASH",
"65": "COINBASE",
"66": "TIMESTAMP",
"67": "NUMBER",
"68": "DIFFICULTY",
"69": "GASLIMIT",
"80": "POP",
"81": "MLOAD",
"82": "MSTORE",
"83": "MSTORE8",
"84": "SLOAD",
"85": "SSTORE",
"86": "*JUMP",
"87": "*JUMPI",
"88": "PC",
"89": "MSIZE",
"90": "GAS",
"91": "JUMPDEST",
"96": "PUSH1",
"97": "PUSH2",
"98": "PUSH3",
"99": "PUSH4",
"100": "PUSH5",
"101": "PUSH6",
"102": "PUSH7",
"103": "PUSH8",
"104": "PUSH9",
"105": "PUSH10",
"106": "PUSH11",
"107": "PUSH12",
"108": "PUSH13",
"109": "PUSH14",
"110": "PUSH15",
"111": "PUSH16",
"112": "PUSH17",
"113": "PUSH18",
"114": "PUSH19",
"115": "PUSH20",
"116": "PUSH21",
"117": "PUSH22",
"118": "PUSH23",
"119": "PUSH24",
"120": "PUSH25",
"121": "PUSH26",
"122": "PUSH27",
"123": "PUSH28",
"124": "PUSH29",
"125": "PUSH30",
"126": "PUSH31",
"127": "PUSH32",
"128": "DUP1",
"129": "DUP2",
"130": "DUP3",
"131": "DUP4",
"132": "DUP5",
"133": "DUP6",
"134": "DUP7",
"135": "DUP8",
"136": "DUP9",
"137": "DUP10",
"138": "DUP11",
"139": "DUP12",
"140": "DUP13",
"141": "DUP14",
"142": "DUP15",
"143": "DUP16",
"144": "SWAP1",
"145": "SWAP2",
"146": "SWAP3",
"147": "SWAP4",
"148": "SWAP5",
"149": "SWAP6",
"150": "SWAP7",
"151": "SWAP8",
"152": "SWAP9",
"153": "SWAP10",
"154": "SWAP11",
"155": "SWAP12",
"156": "SWAP13",
"157": "SWAP14",
"158": "SWAP15",
"159": "SWAP16",
"160": "LOG0",
"161": "LOG1",
"162": "LOG2",
"163": "LOG3",
"164": "LOG4",
"176": "PUSH",
"177": "DUP",
"178": "SWAP",
"240": "CREATE",
"241": "CALL",
"242": "CALLCODE",
"243": "*RETURN",
"244": "DELEGATECALL",
"245": "CREATE2",
"250": "STATICCALL",
"253": "*REVERT",
"255": "*SELFDESTRUCT"
}