Documentation
¶
Overview ¶
Package util contains some special useful functions that are provided by compiler and VM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abort ¶ added in v0.98.0
func Abort()
Abort terminates current execution, unlike exception throwing with panic() it can't be recovered from.
func Equals ¶
func Equals(a, b interface{}) bool
Equals compares a with b and will return true when a and b are equal. It's implemented as an EQUAL VM opcode, so the rules of comparison are those of EQUAL.
func FromAddress ¶
FromAddress is an utility function that converts a Neo address to its hash (160 bit BE value in a 20 byte slice). It can only be used for strings known at compilation time, because the conversion is actually being done by the compiler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.