contract

package
v0.98.3-pre Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNativeCall = errors.New("failed native call")

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