From 7abd35b358330b40dbea8a926b5d33beb577acd6 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Sun, 17 May 2020 21:32:07 +0300 Subject: [PATCH] compiler: add support for attribute syscalls --- pkg/compiler/syscall.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/compiler/syscall.go b/pkg/compiler/syscall.go index f934700fb..66336a141 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -7,6 +7,10 @@ var syscalls = map[string]map[string]string{ "GetVotes": "Neo.Account.GetVotes", "IsStandard": "Neo.Account.IsStandard", }, + "attribute": { + "GetUsage": "Neo.Attribute.GetUsage", + "GetData": "Neo.Attribute.GetData", + }, "storage": { "GetContext": "Neo.Storage.GetContext", "Put": "Neo.Storage.Put",