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 ¶
NewMatchFromBytes creates a new Match interface from byte array
Click to show internal directories.
Click to hide internal directories.