types

package
v0.3.17-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

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

func NewArray

func NewArray(value []StackItemInterface) *Array

func (*Array) Equals

func (a *Array) Equals(other StackItemInterface) bool

func (*Array) GetArray

func (a *Array) GetArray() []StackItemInterface

func (*Array) GetBigInteger

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

func (*Array) GetBoolean

func (a *Array) GetBoolean() bool

func (*Array) GetByteArray

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

func (*Array) GetInterface

func (a *Array) GetInterface() interfaces.IInteropInterface

type Boolean

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

func NewBoolean

func NewBoolean(value bool) *Boolean

func (*Boolean) Equals

func (b *Boolean) Equals(other StackItemInterface) bool

func (*Boolean) GetArray

func (b *Boolean) GetArray() []StackItemInterface

func (*Boolean) GetBigInteger

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

func (*Boolean) GetBoolean

func (b *Boolean) GetBoolean() bool

func (*Boolean) GetByteArray

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

func (*Boolean) GetInterface

func (b *Boolean) GetInterface() interfaces.IInteropInterface

type ByteArray

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

func NewByteArray

func NewByteArray(value []byte) *ByteArray

func (*ByteArray) Equals

func (ba *ByteArray) Equals(other StackItemInterface) bool

func (*ByteArray) GetArray

func (ba *ByteArray) GetArray() []StackItemInterface

func (*ByteArray) GetBigInteger

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

func (*ByteArray) GetBoolean

func (ba *ByteArray) GetBoolean() bool

func (*ByteArray) GetByteArray

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

func (*ByteArray) GetInterface

func (ba *ByteArray) GetInterface() interfaces.IInteropInterface

type Integer

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

func NewInteger

func NewInteger(value *big.Int) *Integer

func (*Integer) Equals

func (i *Integer) Equals(other StackItemInterface) bool

func (*Integer) GetArray

func (i *Integer) GetArray() []StackItemInterface

func (*Integer) GetBigInteger

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

func (*Integer) GetBoolean

func (i *Integer) GetBoolean() bool

func (*Integer) GetByteArray

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

func (*Integer) GetInterface

func (i *Integer) GetInterface() interfaces.IInteropInterface

type InteropInterface

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

func NewInteropInterface

func NewInteropInterface(value interfaces.IInteropInterface) *InteropInterface

func (*InteropInterface) Equals

func (ii *InteropInterface) Equals(other StackItemInterface) bool

func (*InteropInterface) GetArray

func (ii *InteropInterface) GetArray() []StackItemInterface

func (*InteropInterface) GetBigInteger

func (ii *InteropInterface) GetBigInteger() *big.Int

func (*InteropInterface) GetBoolean

func (ii *InteropInterface) GetBoolean() bool

func (*InteropInterface) GetByteArray

func (ii *InteropInterface) GetByteArray() []byte

func (*InteropInterface) GetInterface

func (ii *InteropInterface) GetInterface() interfaces.IInteropInterface

type StackItemInterface

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

Jump to

Keyboard shortcuts

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