From f69e654260b0982a5c721a78869d1b677f14d05c Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Sun, 17 May 2020 21:16:53 +0300 Subject: [PATCH] compiler: add missing asset syscalls, sort them --- pkg/compiler/syscall.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkg/compiler/syscall.go b/pkg/compiler/syscall.go index c0baaaa03..f934700fb 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -59,10 +59,15 @@ var syscalls = map[string]map[string]string{ "GetScript": "Neo.Transaction.GetScript", }, "asset": { + "Create": "Neo.Asset.Create", + "GetAdmin": "Neo.Asset.GetAdmin", + "GetAmount": "Neo.Asset.GetAmount", "GetAssetID": "Neo.Asset.GetAssetID", "GetAssetType": "Neo.Asset.GetAssetType", - "GetAmount": "Neo.Asset.GetAmount", - "Create": "Neo.Asset.Create", + "GetAvailable": "Neo.Asset.GetAvailable", + "GetIssuer": "Neo.Asset.GetIssuer", + "GetOwner": "Neo.Asset.GetOwner", + "GetPrecision": "Neo.Asset.GetPrecision", "Renew": "Neo.Asset.Renew", }, "contract": {