Documentation
¶
Index ¶
- Variables
- type CoordinatorClient
- func (c *CoordinatorClient) GetCoordinatorApproval(ctx context.Context, tx *zeroex.SignedTransaction, txOrigin common.Address) (approvals [][]byte, expiryAt time.Time, err error)
- func (c *CoordinatorClient) SendCoordinatorSoftCancelTransaction(ctx context.Context, tx *zeroex.SignedTransaction, txOrigin common.Address) (cancellationSigs []string, err error)
- type CoordinatorClientConfig
- type DebugClient
- type DebugClientConfig
- type RESTClient
- func (c *RESTClient) DerivativeMarkets(ctx context.Context) ([]*restAPI.DerivativeMarket, error)
- func (c *RESTClient) Order(ctx context.Context, orderHash string) (*restAPI.Order, error)
- func (c *RESTClient) Orders(ctx context.Context, tradePairHash string) ([]*restAPI.Order, error)
- func (c *RESTClient) TradePairs(ctx context.Context) ([]*restAPI.TradePair, error)
- type RESTClientConfig
- type SDAClient
- type SDAClientConfig
- type SRAClient
- func (c *SRAClient) DerivativeOrders(ctx context.Context, assetData string) (bids, asks []*sraAPI.OrderRecord, err error)
- func (c *SRAClient) FeeRecipients(ctx context.Context) (feeRecipients []common.Address, err error)
- func (c *SRAClient) Order(ctx context.Context, orderHash string) (*sraAPI.Order, error)
- func (c *SRAClient) Orderbook(ctx context.Context, pairName string) (bids, asks []*sraAPI.OrderRecord, err error)
- func (c *SRAClient) PostOrder(ctx context.Context, order *zeroex.SignedOrder) (string, error)
- type SRAClientConfig
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CoordinatorClient ¶
type CoordinatorClient struct {
// contains filtered or unexported fields
}
func NewCoordinatorClient ¶
func NewCoordinatorClient(cfg *CoordinatorClientConfig) (*CoordinatorClient, error)
func (*CoordinatorClient) GetCoordinatorApproval ¶
func (*CoordinatorClient) SendCoordinatorSoftCancelTransaction ¶
func (c *CoordinatorClient) SendCoordinatorSoftCancelTransaction( ctx context.Context, tx *zeroex.SignedTransaction, txOrigin common.Address, ) (cancellationSigs []string, err error)
type CoordinatorClientConfig ¶
type DebugClient ¶
type DebugClient struct {
// contains filtered or unexported fields
}
func NewDebugClient ¶
func NewDebugClient(cfg *DebugClientConfig) (*DebugClient, error)
type DebugClientConfig ¶
type RESTClient ¶
type RESTClient struct {
// contains filtered or unexported fields
}
func NewRESTClient ¶
func NewRESTClient(cfg *RESTClientConfig) (*RESTClient, error)
func (*RESTClient) DerivativeMarkets ¶
func (c *RESTClient) DerivativeMarkets(ctx context.Context) ([]*restAPI.DerivativeMarket, error)
func (*RESTClient) TradePairs ¶
type RESTClientConfig ¶
type SDAClient ¶
type SDAClient struct {
// contains filtered or unexported fields
}
func NewSDAClient ¶
func NewSDAClient(restClient *RESTClient, cfg *SDAClientConfig) (*SDAClient, error)
type SDAClientConfig ¶
type SRAClient ¶
type SRAClient struct {
// contains filtered or unexported fields
}
func NewSRAClient ¶
func NewSRAClient(restClient *RESTClient, cfg *SRAClientConfig) (*SRAClient, error)
func (*SRAClient) DerivativeOrders ¶
func (*SRAClient) FeeRecipients ¶
Click to show internal directories.
Click to hide internal directories.