Documentation
¶
Index ¶
- func Call(ic *interop.Context) error
- func CallFromNative(ic *interop.Context, caller util.Uint160, cs *state.Contract, method string, ...) error
- func CreateMultisigAccount(ic *interop.Context) error
- func CreateStandardAccount(ic *interop.Context) error
- func GetCallFlags(ic *interop.Context) error
- func LoadToken(ic *interop.Context, id int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallFromNative ¶
func CallFromNative(ic *interop.Context, caller util.Uint160, cs *state.Contract, method string, args []stackitem.Item, hasReturn bool, onUnloaded ...func(v *vm.VM)) error
CallFromNative performs an asynchronous call from native contract. It creates a new context with the calling contract script and pushes this context to the invocation stack. The actual invocation happens later, once the current instruction processing is finished. onUnloaded callback will be called on the current context unloading if no exception occurs.
func CreateMultisigAccount ¶ added in v0.99.1
CreateMultisigAccount calculates multisig contract scripthash for a given m and a set of public keys.
func CreateStandardAccount ¶ added in v0.99.1
CreateStandardAccount calculates contract scripthash for a given public key.
func GetCallFlags ¶ added in v0.99.1
GetCallFlags returns current context calling flags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.