vm: add PACKMAP/PACKSTRUCT, extend UNPACK

See neo-project/neo-vm#443.
This commit is contained in:
Roman Khimov 2021-11-12 14:10:41 +03:00
parent 0a7f8afcea
commit 3e6ce3c221
6 changed files with 145 additions and 50 deletions

View file

@ -196,6 +196,8 @@ const (
WITHIN Opcode = 0xBB
// Advanced data structures (arrays, structures, maps).
PACKMAP Opcode = 0xBE
PACKSTRUCT Opcode = 0xBF
PACK Opcode = 0xC0
UNPACK Opcode = 0xC1
NEWARRAY0 Opcode = 0xC2