Documentation ¶
Index ¶
- Variables
- 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 ¶
View Source
var ErrNativeCall = errors.New("failed native call")
ErrNativeCall is returned for failed calls from native.
Functions ¶
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 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.