neo-go/pkg/vm/syscall.go
Evgeniy Kulikov 630919bf7d Fix typos and warnings for GoReport / GolangCiLinter (#132)
- typos
- gofmt -s
- govet warnings
- golangci-lint run
2019-02-09 16:53:58 +01:00

19 lines
594 B
Go

package vm
// Syscalls are a mapping between the syscall function name
// and the registered VM interop API.
var Syscalls = map[string]string{
// Storage API
"GetContext": "Neo.Storage.GetContext",
"Put": "Neo.Storage.Put",
"Get": "Neo.Storage.Get",
"Delete": "Neo.Storage.Delete",
// Runtime API
"GetTrigger": "Neo.Runtime.GetTrigger",
"CheckWitness": "Neo.Runtime.CheckWitness",
"GetCurrentBlock": "Neo.Runtime.GetCurrentBlock",
"GetTime": "Neo.Runtime.GetTime",
"Notify": "Neo.Runtime.Notify",
"Log": "Neo.Runtime.Log",
}