From 6fac273d5d951d26135f18ebb442db94cff057d6 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 a573fb530..4ac9b1c37 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -62,10 +62,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": {