types

package
v0.0.0-...-640f24c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2018 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBigIntegerToBytes

func ConvertBigIntegerToBytes(data *big.Int) []byte

func ConvertBytesToBigInteger

func ConvertBytesToBigInteger(ba []byte) *big.Int

Types

type Array

type Array struct {
	// contains filtered or unexported fields
}

func NewArray

func NewArray(value []StackItems) *Array

func (*Array) Equals

func (this *Array) Equals(other StackItems) bool

func (*Array) GetArray

func (this *Array) GetArray() []StackItems

func (*Array) GetBigInteger

func (this *Array) GetBigInteger() *big.Int

func (*Array) GetBoolean

func (this *Array) GetBoolean() bool

func (*Array) GetByteArray

func (this *Array) GetByteArray() []byte

func (*Array) GetInterface

func (this *Array) GetInterface() interfaces.Interop

func (*Array) GetStruct

func (this *Array) GetStruct() []StackItems

type Boolean

type Boolean struct {
	// contains filtered or unexported fields
}

func NewBoolean

func NewBoolean(value bool) *Boolean

func (*Boolean) Equals

func (this *Boolean) Equals(other StackItems) bool

func (*Boolean) GetArray

func (this *Boolean) GetArray() []StackItems

func (*Boolean) GetBigInteger

func (this *Boolean) GetBigInteger() *big.Int

func (*Boolean) GetBoolean

func (this *Boolean) GetBoolean() bool

func (*Boolean) GetByteArray

func (this *Boolean) GetByteArray() []byte

func (*Boolean) GetInterface

func (this *Boolean) GetInterface() interfaces.Interop

func (*Boolean) GetStruct

func (this *Boolean) GetStruct() []StackItems

type ByteArray

type ByteArray struct {
	// contains filtered or unexported fields
}

func NewByteArray

func NewByteArray(value []byte) *ByteArray

func (*ByteArray) Equals

func (this *ByteArray) Equals(other StackItems) bool

func (*ByteArray) GetArray

func (this *ByteArray) GetArray() []StackItems

func (*ByteArray) GetBigInteger

func (this *ByteArray) GetBigInteger() *big.Int

func (*ByteArray) GetBoolean

func (this *ByteArray) GetBoolean() bool

func (*ByteArray) GetByteArray

func (this *ByteArray) GetByteArray() []byte

func (*ByteArray) GetInterface

func (this *ByteArray) GetInterface() interfaces.Interop

func (*ByteArray) GetStruct

func (this *ByteArray) GetStruct() []StackItems

type Integer

type Integer struct {
	// contains filtered or unexported fields
}

func NewInteger

func NewInteger(value *big.Int) *Integer

func (*Integer) Equals

func (this *Integer) Equals(other StackItems) bool

func (*Integer) GetArray

func (this *Integer) GetArray() []StackItems

func (*Integer) GetBigInteger

func (this *Integer) GetBigInteger() *big.Int

func (*Integer) GetBoolean

func (this *Integer) GetBoolean() bool

func (*Integer) GetByteArray

func (this *Integer) GetByteArray() []byte

func (*Integer) GetInterface

func (this *Integer) GetInterface() interfaces.Interop

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 (this *Interop) GetBigInteger() *big.Int

func (*Interop) GetBoolean

func (this *Interop) GetBoolean() bool

func (*Interop) GetByteArray

func (this *Interop) GetByteArray() []byte

func (*Interop) GetInterface

func (this *Interop) GetInterface() interfaces.Interop

func (*Interop) GetStruct

func (this *Interop) GetStruct() []StackItems

type StackItems

type StackItems interface {
	Equals(other StackItems) bool
	GetBigInteger() *big.Int
	GetBoolean() bool
	GetByteArray() []byte
	GetInterface() interfaces.Interop
	GetArray() []StackItems
	GetStruct() []StackItems
}

type Struct

type Struct struct {
	// contains filtered or unexported fields
}

func NewStruct

func NewStruct(value []StackItems) *Struct

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 (this *Struct) GetBigInteger() *big.Int

func (*Struct) GetBoolean

func (this *Struct) GetBoolean() bool

func (*Struct) GetByteArray

func (this *Struct) GetByteArray() []byte

func (*Struct) GetInterface

func (this *Struct) GetInterface() interfaces.Interop

func (*Struct) GetStruct

func (s *Struct) GetStruct() []StackItems

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL