contract

package
v0.95.5-pre Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNativeCall = errors.New("error during call from native")

ErrNativeCall is returned for failed calls from native.

Functions

func Call

func Call(ic *interop.Context) error

Call calls a contract with flags.

func CallFromNative

func CallFromNative(ic *interop.Context, caller util.Uint160, cs *state.Contract, method string, args []stackitem.Item, hasReturn bool) error

CallFromNative performs synchronous call from native contract.

func LoadToken added in v0.93.0

func LoadToken(ic *interop.Context) func(id int32) error

LoadToken calls method specified by token id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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