aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-21 18:54:36 +0800
committerobscuren <geffobscura@gmail.com>2014-03-21 18:54:36 +0800
commitfa1db8d2dcbc12fd9b343e6572c541d92fe7cb55 (patch)
tree828c67cd8ce30868a2dd57a25bd5d3d412fff335 /ethutil
parent9cf8ce9ef82bfb37fea92bbea6a8d326af00adc8 (diff)
downloaddexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.tar
dexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.tar.gz
dexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.tar.bz2
dexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.tar.lz
dexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.tar.xz
dexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.tar.zst
dexon-fa1db8d2dcbc12fd9b343e6572c541d92fe7cb55.zip
Implemented closure arguments
Diffstat (limited to 'ethutil')
-rw-r--r--ethutil/parsing.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/ethutil/parsing.go b/ethutil/parsing.go
index 9ff2827a0..b2e9d9fee 100644
--- a/ethutil/parsing.go
+++ b/ethutil/parsing.go
@@ -65,12 +65,16 @@ var OpCodes = map[string]byte{
"JUMP": 0x59,
"JUMPI": 0x5a,
"PC": 0x5b,
- "MEMSIZE": 0x5c,
+ "MSIZE": 0x5c,
// 0x60 range - closures
"CREATE": 0x60,
"CALL": 0x61,
"RETURN": 0x62,
+
+ // 0x70 range - other
+ "LOG": 0x70,
+ "SUICIDE": 0x7f,
}
func IsOpCode(s string) bool {