validators

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2018 License: GPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceValidator

type BalanceValidator interface {
	CheckBalance(o types.Order) (bool, error)
}

type RPCBalanceValidator

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

func NewRPCBalanceValidator

func NewRPCBalanceValidator(vault *contracts.Vault, balances balances.Balances) *RPCBalanceValidator

func (*RPCBalanceValidator) CheckBalance

func (b *RPCBalanceValidator) CheckBalance(o types.Order) (bool, error)

Jump to

Keyboard shortcuts

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