compiler/interop: add support for working with witnesses

This commit is contained in:
Roman Khimov 2020-05-18 19:04:20 +03:00
parent 87e7e157ae
commit 7e96f82a5b
3 changed files with 26 additions and 0 deletions

View file

@ -72,6 +72,7 @@ var syscalls = map[string]map[string]string{
"GetReferences": "Neo.Transaction.GetReferences",
"GetScript": "Neo.InvocationTransaction.GetScript",
"GetType": "Neo.Transaction.GetType",
"GetWitnesses": "Neo.Transaction.GetWitnesses",
},
"asset": {
"Create": "Neo.Asset.Create",
@ -117,4 +118,7 @@ var syscalls = map[string]map[string]string{
"Value": "Neo.Iterator.Value",
"Values": "Neo.Iterator.Values",
},
"witness": {
"GetVerificationScript": "Neo.Witness.GetVerificationScript",
},
}