aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Instruction.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-21 04:36:53 +0800
committerchriseth <chris@ethereum.org>2017-06-14 22:00:39 +0800
commitbec30051c57098bef482c9be2537bda46b7571ee (patch)
tree4c7e7aaf26048b268c0e4f4d3caeadda9d9b6ec9 /libevmasm/Instruction.h
parent1ae0e082b316adfc1a048928e5c535559d3780b3 (diff)
downloaddexon-solidity-bec30051c57098bef482c9be2537bda46b7571ee.tar.gz
dexon-solidity-bec30051c57098bef482c9be2537bda46b7571ee.tar.zst
dexon-solidity-bec30051c57098bef482c9be2537bda46b7571ee.zip
Introduce CREATE2 in the assembler
Diffstat (limited to 'libevmasm/Instruction.h')
-rw-r--r--libevmasm/Instruction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h
index a8c3bf4a..37cdccdb 100644
--- a/libevmasm/Instruction.h
+++ b/libevmasm/Instruction.h
@@ -187,6 +187,7 @@ enum class Instruction: uint8_t
CALLCODE, ///< message-call with another account's code only
RETURN, ///< halt execution returning output data
DELEGATECALL, ///< like CALLCODE but keeps caller's value and sender
+ CREATE2 = 0xfb, ///< create new account with associated code
REVERT = 0xfd, ///< halt execution, revert state and return output data
INVALID = 0xfe, ///< invalid instruction for expressing runtime errors (e.g., division-by-zero)