Documentation ¶
Index ¶
- Constants
- func BigIntFromBytes(ba []byte) *big.Int
- func BigIntToBytes(data *big.Int) []byte
- type Array
- func (this *Array) Add(item StackItems)
- func (this *Array) Equals(other StackItems) bool
- func (this *Array) GetArray() []StackItems
- func (this *Array) GetBigInteger() *big.Int
- func (this *Array) GetBoolean() bool
- func (this *Array) GetByteArray() []byte
- func (this *Array) GetInterface() interfaces.Interop
- func (this *Array) GetMap() map[StackItems]StackItems
- func (this *Array) GetStruct() []StackItems
- type Boolean
- func (this *Boolean) Equals(other StackItems) bool
- func (this *Boolean) GetArray() []StackItems
- func (this *Boolean) GetBigInteger() *big.Int
- func (this *Boolean) GetBoolean() bool
- func (this *Boolean) GetByteArray() []byte
- func (this *Boolean) GetInterface() interfaces.Interop
- func (this *Boolean) GetMap() map[StackItems]StackItems
- func (this *Boolean) GetStruct() []StackItems
- type ByteArray
- func (this *ByteArray) Equals(other StackItems) bool
- func (this *ByteArray) GetArray() []StackItems
- func (this *ByteArray) GetBigInteger() *big.Int
- func (this *ByteArray) GetBoolean() bool
- func (this *ByteArray) GetByteArray() []byte
- func (this *ByteArray) GetInterface() interfaces.Interop
- func (this *ByteArray) GetMap() map[StackItems]StackItems
- func (this *ByteArray) GetStruct() []StackItems
- type Integer
- func (this *Integer) Equals(other StackItems) bool
- func (this *Integer) GetArray() []StackItems
- func (this *Integer) GetBigInteger() *big.Int
- func (this *Integer) GetBoolean() bool
- func (this *Integer) GetByteArray() []byte
- func (this *Integer) GetInterface() interfaces.Interop
- func (this *Integer) GetMap() map[StackItems]StackItems
- func (this *Integer) GetStruct() []StackItems
- type Interop
- func (this *Interop) Equals(other StackItems) bool
- func (this *Interop) GetArray() []StackItems
- func (this *Interop) GetBigInteger() *big.Int
- func (this *Interop) GetBoolean() bool
- func (this *Interop) GetByteArray() []byte
- func (this *Interop) GetInterface() interfaces.Interop
- func (this *Interop) GetMap() map[StackItems]StackItems
- func (this *Interop) GetStruct() []StackItems
- type Map
- func (this *Map) Add(key StackItems, value StackItems) error
- func (this *Map) Clear()
- func (this *Map) ContainsKey(key StackItems) bool
- func (this *Map) Equals(that StackItems) bool
- func (this *Map) GetArray() []StackItems
- func (this *Map) GetBigInteger() *big.Int
- func (this *Map) GetBoolean() bool
- func (this *Map) GetByteArray() []byte
- func (this *Map) GetInterface() interfaces.Interop
- func (this *Map) GetMap() map[StackItems]StackItems
- func (this *Map) GetStruct() []StackItems
- func (this *Map) Remove(key StackItems)
- func (this *Map) TryGetValue(key StackItems) StackItems
- type StackItems
- type Struct
- func (this *Struct) Add(item StackItems)
- func (s *Struct) Clone() StackItems
- func (this *Struct) Equals(other StackItems) bool
- func (s *Struct) GetArray() []StackItems
- func (this *Struct) GetBigInteger() *big.Int
- func (this *Struct) GetBoolean() bool
- func (this *Struct) GetByteArray() []byte
- func (this *Struct) GetInterface() interfaces.Interop
- func (this *Struct) GetMap() map[StackItems]StackItems
- func (s *Struct) GetStruct() []StackItems
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func BigIntFromBytes ¶
func BigIntToBytes ¶
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
func NewArray ¶
func NewArray(value []StackItems) *Array
func (*Array) Add ¶
func (this *Array) Add(item StackItems)
func (*Array) Equals ¶
func (this *Array) Equals(other StackItems) bool
func (*Array) GetArray ¶
func (this *Array) GetArray() []StackItems
func (*Array) GetBigInteger ¶
func (*Array) GetBoolean ¶
func (*Array) GetByteArray ¶
func (*Array) GetInterface ¶
func (this *Array) GetInterface() interfaces.Interop
func (*Array) GetMap ¶
func (this *Array) GetMap() map[StackItems]StackItems
func (*Array) GetStruct ¶
func (this *Array) GetStruct() []StackItems
type Boolean ¶
type Boolean struct {
// contains filtered or unexported fields
}
func NewBoolean ¶
func (*Boolean) Equals ¶
func (this *Boolean) Equals(other StackItems) bool
func (*Boolean) GetArray ¶
func (this *Boolean) GetArray() []StackItems
func (*Boolean) GetBigInteger ¶
func (*Boolean) GetBoolean ¶
func (*Boolean) GetByteArray ¶
func (*Boolean) GetInterface ¶
func (this *Boolean) GetInterface() interfaces.Interop
func (*Boolean) GetMap ¶
func (this *Boolean) GetMap() map[StackItems]StackItems
func (*Boolean) GetStruct ¶
func (this *Boolean) GetStruct() []StackItems
type ByteArray ¶
type ByteArray struct {
// contains filtered or unexported fields
}
func NewByteArray ¶
func (*ByteArray) Equals ¶
func (this *ByteArray) Equals(other StackItems) bool
func (*ByteArray) GetArray ¶
func (this *ByteArray) GetArray() []StackItems
func (*ByteArray) GetBigInteger ¶
func (*ByteArray) GetBoolean ¶
func (*ByteArray) GetByteArray ¶
func (*ByteArray) GetInterface ¶
func (this *ByteArray) GetInterface() interfaces.Interop
func (*ByteArray) GetMap ¶
func (this *ByteArray) GetMap() map[StackItems]StackItems
func (*ByteArray) GetStruct ¶
func (this *ByteArray) GetStruct() []StackItems
type Integer ¶
type Integer struct {
// contains filtered or unexported fields
}
func NewInteger ¶
func (*Integer) Equals ¶
func (this *Integer) Equals(other StackItems) bool
func (*Integer) GetArray ¶
func (this *Integer) GetArray() []StackItems
func (*Integer) GetBigInteger ¶
func (*Integer) GetBoolean ¶
func (*Integer) GetByteArray ¶
func (*Integer) GetInterface ¶
func (this *Integer) GetInterface() interfaces.Interop
func (*Integer) GetMap ¶
func (this *Integer) GetMap() map[StackItems]StackItems
func (*Integer) GetStruct ¶
func (this *Integer) GetStruct() []StackItems
type Interop ¶
type Interop struct {
// contains filtered or unexported fields
}
func NewInteropInterface ¶
func NewInteropInterface(value interfaces.Interop) *Interop
func (*Interop) Equals ¶
func (this *Interop) Equals(other StackItems) bool
func (*Interop) GetArray ¶
func (this *Interop) GetArray() []StackItems
func (*Interop) GetBigInteger ¶
func (*Interop) GetBoolean ¶
func (*Interop) GetByteArray ¶
func (*Interop) GetInterface ¶
func (this *Interop) GetInterface() interfaces.Interop
func (*Interop) GetMap ¶
func (this *Interop) GetMap() map[StackItems]StackItems
func (*Interop) GetStruct ¶
func (this *Interop) GetStruct() []StackItems
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
func (*Map) Add ¶
func (this *Map) Add(key StackItems, value StackItems) error
func (*Map) ContainsKey ¶
func (this *Map) ContainsKey(key StackItems) bool
func (*Map) Equals ¶
func (this *Map) Equals(that StackItems) bool
func (*Map) GetArray ¶
func (this *Map) GetArray() []StackItems
func (*Map) GetBigInteger ¶
func (*Map) GetBoolean ¶
func (*Map) GetByteArray ¶
func (*Map) GetInterface ¶
func (this *Map) GetInterface() interfaces.Interop
func (*Map) GetMap ¶
func (this *Map) GetMap() map[StackItems]StackItems
func (*Map) GetStruct ¶
func (this *Map) GetStruct() []StackItems
func (*Map) Remove ¶
func (this *Map) Remove(key StackItems)
func (*Map) TryGetValue ¶
func (this *Map) TryGetValue(key StackItems) StackItems
type StackItems ¶
type StackItems interface { Equals(other StackItems) bool GetBigInteger() *big.Int GetBoolean() bool GetByteArray() []byte GetInterface() interfaces.Interop GetArray() []StackItems GetStruct() []StackItems GetMap() map[StackItems]StackItems }
type Struct ¶
type Struct struct {
// contains filtered or unexported fields
}
func NewStruct ¶
func NewStruct(value []StackItems) *Struct
func (*Struct) Add ¶
func (this *Struct) Add(item StackItems)
func (*Struct) Clone ¶
func (s *Struct) Clone() StackItems
func (*Struct) Equals ¶
func (this *Struct) Equals(other StackItems) bool
func (*Struct) GetArray ¶
func (s *Struct) GetArray() []StackItems
func (*Struct) GetBigInteger ¶
func (*Struct) GetBoolean ¶
func (*Struct) GetByteArray ¶
func (*Struct) GetInterface ¶
func (this *Struct) GetInterface() interfaces.Interop
func (*Struct) GetMap ¶
func (this *Struct) GetMap() map[StackItems]StackItems
func (*Struct) GetStruct ¶
func (s *Struct) GetStruct() []StackItems
Click to show internal directories.
Click to hide internal directories.