aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Instruction.h
diff options
context:
space:
mode:
authorJared Wasinger <j-wasinger@hotmail.com>2018-07-31 08:54:43 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-09-26 23:11:02 +0800
commitc6bd2979b1265cb81d35124a2785e3828658f7cc (patch)
treed2c57db0ac0509eba0342ce71ac819758fb62664 /libevmasm/Instruction.h
parenta86e1d187b929124c27365a8f2e185545c4157b1 (diff)
downloaddexon-solidity-c6bd2979b1265cb81d35124a2785e3828658f7cc.tar.gz
dexon-solidity-c6bd2979b1265cb81d35124a2785e3828658f7cc.tar.zst
dexon-solidity-c6bd2979b1265cb81d35124a2785e3828658f7cc.zip
Add assembly support for EXTCODEHASH (EIP-1052)
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 50c1f47d..63424eeb 100644
--- a/libevmasm/Instruction.h
+++ b/libevmasm/Instruction.h
@@ -82,6 +82,7 @@ enum class Instruction: uint8_t
EXTCODECOPY, ///< copy external code (from another contract)
RETURNDATASIZE = 0x3d, ///< get size of return data buffer
RETURNDATACOPY = 0x3e, ///< copy return data in current environment to memory
+ EXTCODEHASH = 0x3f, ///< get external code hash (from another contract)
BLOCKHASH = 0x40, ///< get hash of most recent complete block
COINBASE, ///< get the block's coinbase address