From d5d497ccd78a418394d96e3f87cbd2adf4fcc3e9 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 18 May 2020 13:20:49 +0300 Subject: [PATCH] compiler: add support for enumerator interop package --- pkg/compiler/syscall.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/compiler/syscall.go b/pkg/compiler/syscall.go index 77367a514..82d49a16e 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -11,6 +11,12 @@ var syscalls = map[string]map[string]string{ "GetUsage": "Neo.Attribute.GetUsage", "GetData": "Neo.Attribute.GetData", }, + "enumerator": { + "Concat": "Neo.Enumerator.Concat", + "Create": "Neo.Enumerator.Create", + "Next": "Neo.Enumerator.Next", + "Value": "Neo.Enumerator.Value", + }, "storage": { "GetContext": "Neo.Storage.GetContext", "Put": "Neo.Storage.Put",