mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-24 09:25:21 +00:00
23cfebf621
* implemented add, mul, div, sub assign for identifiers. * Implemented struct field initialization. * Implemented imports * Implemented storage VM API (interop layer) + additional bug fixes when encountered. * Bumped version 0.12.0 * fixed double point extension on compiled output file. * Fixed bug where callExpr in returns where added to voidCall * fixed binExpr compare equal * Check the env for the gopath first * removed travis.yml * custom types + implemented general declarations. * commented out the storage test to make the build pass
12 lines
340 B
Go
12 lines
340 B
Go
package vm
|
|
|
|
// Syscalls is a mapping between the syscall function name
|
|
// and the registerd VM interop API.
|
|
var Syscalls = map[string]string{
|
|
// Storage API
|
|
"GetContext": "Neo.Storage.GetContext",
|
|
"Put": "Neo.Storage.Put",
|
|
"GetInt": "Neo.Storage.Get",
|
|
"GetString": "Neo.Storage.Get",
|
|
"Delete": "Neo.Storage.Delete",
|
|
}
|