forked from TrueCloudLab/neoneo-go
4bd5b2812e
* support VM to pass method and arguments to a script. * added support for type assertions in smartcontracts. * added native vm support for print. * moved VM API packages to vm -> API * reverted the native Print opcode in favor of runtime.Log * added support for registering custom interop hooks in the VM. * Updated README * Updated compiler with @OPTIMIZE tags * Moved more tests to VM package. * optimized and refactored compiler and vm API * updated README with new smartcontract apis * bumped version
13 lines
368 B
Go
13 lines
368 B
Go
package storage
|
|
|
|
// Context ..
|
|
func Context() interface{} { return 0 }
|
|
|
|
// Put stores a value in to the storage.
|
|
func Put(ctx interface{}, key string, value interface{}) {}
|
|
|
|
// Get returns the value from the storage.
|
|
func Get(ctx interface{}, key string) interface{} { return 0 }
|
|
|
|
// Delete removes a stored key value pair.
|
|
func Delete(ctx interface{}, key string) {}
|