Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ChainId int64 // contains filtered or unexported fields }
func (*Client) PlaceOrder ¶
func (*Client) PublicAddress ¶
type Order ¶
type Order struct { Expiry int64 `json:"expiry"` NonceAndMeta string `json:"nonceAndMeta"` Maker string `json:"maker"` Taker string `json:"taker"` MakerAsset string `json:"makerAsset"` TakerAsset string `json:"takerAsset"` MakerAmount string `json:"makerAmount"` TakerAmount string `json:"takerAmount"` Signature string `json:"signature"` Type OrderType `json:"type,omitempty"` State OrderState `json:"state,omitempty"` }
type OrderState ¶
type OrderState string
const ( PENDING OrderState = "PENDING" FULFILLED OrderState = "FULFILLED" CANCELLED OrderState = "CANCELLED" EXPIRED OrderState = "EXPIRED" )
Click to show internal directories.
Click to hide internal directories.