interop

package
v0.91.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 0 Imported by: 49

Documentation

Overview

Package interop contains smart contract API functions. Its subpackages can be imported into smart contracts written in Go to provide various functionality. Upon compilation, functions from these packages will be substituted with appropriate NeoVM system calls implemented by Neo. Usually these system calls have additional price in NeoVM, so they're explicitly written in the documentation of respective functions.

Note that unless written otherwise structures defined in this packages can't be correctly created by new() or composite literals, they should be received from some interop functions (and then used as parameters for some other interop functions).

Directories

Path Synopsis
Package binary provides binary serialization routines.
Package binary provides binary serialization routines.
Package blockchain provides functions to access various blockchain data.
Package blockchain provides functions to access various blockchain data.
Package contract provides functions to work with contracts.
Package contract provides functions to work with contracts.
Package convert provides functions for type conversion.
Package convert provides functions for type conversion.
Package crypto provides an interface to cryptographic syscalls.
Package crypto provides an interface to cryptographic syscalls.
Package engine allows to make contract calls.
Package engine allows to make contract calls.
Package enumerator provides functions to work with enumerators.
Package enumerator provides functions to work with enumerators.
Package iterator provides functions to work with Neo iterators.
Package iterator provides functions to work with Neo iterators.
Package json provides various JSON serialization/deserialization routines.
Package json provides various JSON serialization/deserialization routines.
Package runtime provides various service functions related to execution environment.
Package runtime provides various service functions related to execution environment.
Package storage provides functions to access and modify contract's storage.
Package storage provides functions to access and modify contract's storage.
Package util contains some special useful functions that are provided by compiler and VM.
Package util contains some special useful functions that are provided by compiler and VM.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL