mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
630919bf7d
- typos - gofmt -s - govet warnings - golangci-lint run
19 lines
594 B
Go
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",
|
|
}
|