match

package
v0.0.0-...-a5eb945 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match interface {
	PersonalOrderID() [32]byte
	ForeignOrderID() [32]byte
	SendValue() *big.Int
	ReceiveValue() *big.Int
	SendCurrency() uint32
	ReceiveCurrency() uint32
	Serialize() ([]byte, error)
}

Match is the order match interface

func NewMatch

func NewMatch(personalOrderID, foreignOrderID [32]byte, sendValue, receiveValue *big.Int, sendCurrency, receiveCurrency uint32) Match

NewMatch creates a new Match interface

func NewMatchFromBytes

func NewMatchFromBytes(data []byte) (Match, error)

NewMatchFromBytes creates a new Match interface from byte array

Jump to

Keyboard shortcuts

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