vm: implement ISTYPE opcode

Also make StackItemType public and reorder it according to NEO3.
This commit is contained in:
Evgenii Stratonikov 2020-04-24 13:46:46 +03:00
parent 48a41bd737
commit d3b9aef8e2
6 changed files with 142 additions and 22 deletions

View file

@ -162,6 +162,9 @@ const (
REMOVE Opcode = 0xD2
CLEARITEMS Opcode = 0xD3
// Types
ISTYPE Opcode = 0xD9
// Exceptions
THROW Opcode = 0xF0
THROWIFNOT Opcode = 0xF1