Documentation ¶
Index ¶
- type DevInterface
- type Interface
- type KovanInterface
- type LiquiEndpoint
- func (self *LiquiEndpoint) ActiveOrders(timepoint uint64) (exchange.Liqorders, error)
- func (self *LiquiEndpoint) CancelOrder(id string) (exchange.Liqcancel, error)
- func (self *LiquiEndpoint) Depth(tokens string, timepoint uint64) (exchange.Liqresp, error)
- func (self *LiquiEndpoint) GetInfo(timepoint uint64) (exchange.Liqinfo, error)
- func (self *LiquiEndpoint) OrderInfo(orderID string, timepoint uint64) (exchange.Liqorderinfo, error)
- func (self *LiquiEndpoint) Trade(tradeType string, base, quote common.Token, rate, amount float64, ...) (id string, done float64, remaining float64, finished bool, err error)
- func (self *LiquiEndpoint) Withdraw(token common.Token, amount *big.Int, address ethereum.Address, ...) error
- type RealInterface
- type Signer
- type SimulatedInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevInterface ¶
type DevInterface struct{}
func NewDevInterface ¶
func NewDevInterface() *DevInterface
func (*DevInterface) AuthenticatedEndpoint ¶
func (self *DevInterface) AuthenticatedEndpoint(timepoint uint64) string
func (*DevInterface) PublicEndpoint ¶
func (self *DevInterface) PublicEndpoint(timepoint uint64) string
type KovanInterface ¶
type KovanInterface struct{}
func NewKovanInterface ¶
func NewKovanInterface() *KovanInterface
func (*KovanInterface) AuthenticatedEndpoint ¶
func (self *KovanInterface) AuthenticatedEndpoint(timepoint uint64) string
func (*KovanInterface) PublicEndpoint ¶
func (self *KovanInterface) PublicEndpoint(timepoint uint64) string
type LiquiEndpoint ¶
type LiquiEndpoint struct {
// contains filtered or unexported fields
}
func NewDevLiquiEndpoint ¶
func NewDevLiquiEndpoint(signer Signer) *LiquiEndpoint
func NewKovanLiquiEndpoint ¶
func NewKovanLiquiEndpoint(signer Signer) *LiquiEndpoint
func NewLiquiEndpoint ¶
func NewLiquiEndpoint(signer Signer, interf Interface) *LiquiEndpoint
func NewRealLiquiEndpoint ¶
func NewRealLiquiEndpoint(signer Signer) *LiquiEndpoint
func NewSimulatedLiquiEndpoint ¶
func NewSimulatedLiquiEndpoint(signer Signer) *LiquiEndpoint
func (*LiquiEndpoint) ActiveOrders ¶
func (self *LiquiEndpoint) ActiveOrders(timepoint uint64) (exchange.Liqorders, error)
func (*LiquiEndpoint) CancelOrder ¶
func (self *LiquiEndpoint) CancelOrder(id string) (exchange.Liqcancel, error)
func (*LiquiEndpoint) GetInfo ¶
func (self *LiquiEndpoint) GetInfo(timepoint uint64) (exchange.Liqinfo, error)
func (*LiquiEndpoint) OrderInfo ¶
func (self *LiquiEndpoint) OrderInfo(orderID string, timepoint uint64) (exchange.Liqorderinfo, error)
type RealInterface ¶
type RealInterface struct{}
func NewRealInterface ¶
func NewRealInterface() *RealInterface
func (*RealInterface) AuthenticatedEndpoint ¶
func (self *RealInterface) AuthenticatedEndpoint(timepoint uint64) string
func (*RealInterface) PublicEndpoint ¶
func (self *RealInterface) PublicEndpoint(timepoint uint64) string
type SimulatedInterface ¶
type SimulatedInterface struct{}
func NewSimulatedInterface ¶
func NewSimulatedInterface() *SimulatedInterface
func (*SimulatedInterface) AuthenticatedEndpoint ¶
func (self *SimulatedInterface) AuthenticatedEndpoint(timepoint uint64) string
func (*SimulatedInterface) PublicEndpoint ¶
func (self *SimulatedInterface) PublicEndpoint(timepoint uint64) string
Click to show internal directories.
Click to hide internal directories.