types

package
v0.0.1-3-g2e5d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2018 License: MIT Imports: 2 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 []StackItem) *Array

func (*Array) Equals

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

func (*Array) GetArray

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

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()

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 StackItem) bool

func (*Boolean) GetArray

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

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()

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 StackItem) bool

func (*ByteArray) GetArray

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

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()

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 StackItem) bool

func (*Integer) GetArray

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

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()

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() bool

func (*InteropInterface) GetArray

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

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()

type StackItem

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

Jump to

Keyboard shortcuts

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