Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + const ArrayType + const BooleanType + const ByteArrayType + const IntegerType + const InterfaceType + const MAX_CLONE_LENGTH + const MAX_COUNT + const MAX_NOTIFY_LENGTH + const MAX_STRUCT_DEPTH + const MapType + const StructType + func BuildResultFromNeo(item VmValue, bf *common.ZeroCopySink) error + type ArrayValue struct + Data []VmValue + func NewArrayValue() *ArrayValue + func (self *ArrayValue) Append(item VmValue) error + func (self *ArrayValue) Len() int64 + func (self *ArrayValue) RemoveAt(index int64) error + type IntValue struct + func IntValFromBigInt(val *big.Int) (result IntValue, err error) + func IntValFromInt(val int64) IntValue + func IntValFromNeoBytes(val []byte) (IntValue, error) + func (self *IntValue) IsZero() bool + func (self *IntValue) Sign() int + func (self *IntValue) ToNeoBytes() []byte + func (self IntValue) Abs() (val IntValue) + func (self IntValue) Add(other IntValue) (IntValue, error) + func (self IntValue) And(other IntValue) (IntValue, error) + func (self IntValue) Cmp(other IntValue) int + func (self IntValue) Div(other IntValue) (IntValue, error) + func (self IntValue) Lsh(other IntValue) (result IntValue, err error) + func (self IntValue) Max(other IntValue) (IntValue, error) + func (self IntValue) Min(other IntValue) (IntValue, error) + func (self IntValue) Mod(other IntValue) (IntValue, error) + func (self IntValue) Mul(other IntValue) (IntValue, error) + func (self IntValue) Not() (val IntValue) + func (self IntValue) Or(other IntValue) (IntValue, error) + func (self IntValue) Rsh(other IntValue) (result IntValue, err error) + func (self IntValue) Sub(other IntValue) (IntValue, error) + func (self IntValue) Xor(other IntValue) (IntValue, error) + type InteropValue struct + Data interfaces.Interop + func NewInteropValue(value interfaces.Interop) InteropValue + func (this *InteropValue) Equals(other InteropValue) bool + type MapValue struct + Data map[string][2]VmValue + func NewMapValue() *MapValue + func (this *MapValue) Get(key VmValue) (value VmValue, ok bool, err error) + func (this *MapValue) GetMapSortedKey() []VmValue + func (this *MapValue) GetValues() ([]VmValue, error) + func (this *MapValue) Remove(key VmValue) error + func (this *MapValue) Reset() + func (this *MapValue) Set(key, value VmValue) error + type StackItems interface + Equals func(other StackItems) bool + GetArray func() ([]StackItems, error) + GetBigInteger func() (*big.Int, error) + GetBoolean func() (bool, error) + GetByteArray func() ([]byte, error) + GetInterface func() (interfaces.Interop, error) + GetMap func() (map[StackItems]StackItems, error) + GetStruct func() ([]StackItems, error) + IsMapKey func() bool + type StructValue struct + Data []VmValue + func NewStructValue() *StructValue + func (self *StructValue) Append(item VmValue) error + func (self *StructValue) Clone() (*StructValue, error) + func (self *StructValue) Len() int64 + type VmValue struct + func NewMapVmValue() VmValue + func VmValueFromArrayVal(array *ArrayValue) VmValue + func VmValueFromBigInt(val *big.Int) (result VmValue, err error) + func VmValueFromBool(val bool) VmValue + func VmValueFromBytes(val []byte) (result VmValue, err error) + func VmValueFromInt64(val int64) VmValue + func VmValueFromIntValue(val IntValue) VmValue + func VmValueFromInteropValue(val InteropValue) VmValue + func VmValueFromMapValue(val *MapValue) VmValue + func VmValueFromStructVal(val *StructValue) VmValue + func VmValueFromUint64(val uint64) VmValue + func (self *VmValue) AsArrayValue() (*ArrayValue, error) + func (self *VmValue) AsBigInt() (*big.Int, error) + func (self *VmValue) AsBool() (bool, error) + func (self *VmValue) AsBytes() ([]byte, error) + func (self *VmValue) AsInt64() (int64, error) + func (self *VmValue) AsIntValue() (IntValue, error) + func (self *VmValue) AsInteropValue() (InteropValue, error) + func (self *VmValue) AsMapValue() (*MapValue, error) + func (self *VmValue) AsStructValue() (*StructValue, error) + func (self *VmValue) BuildParamToNative(sink *common.ZeroCopySink) error + func (self *VmValue) CircularRefAndDepthDetection() (bool, error) + func (self *VmValue) ConvertNeoVmValueHexString() (interface{}, error) + func (self *VmValue) Deserialize(source *common.ZeroCopySource) error + func (self *VmValue) Dump() string + func (self *VmValue) Equals(other VmValue) bool + func (self *VmValue) GetMapKey() (string, error) + func (self *VmValue) GetType() byte + func (self *VmValue) Serialize(sink *common.ZeroCopySink) error + func (self *VmValue) Stringify() (string, error)