Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
Types ¶
type BancorCancelReq ¶
type BancorCancelReq struct { BaseReq rest.BaseReq `json:"base_req"` Stock string `json:"stock"` Money string `json:"money"` }
func (*BancorCancelReq) GetBaseReq ¶
func (req *BancorCancelReq) GetBaseReq() *rest.BaseReq
func (*BancorCancelReq) GetMsg ¶
func (req *BancorCancelReq) GetMsg(r *http.Request, sender sdk.AccAddress) (sdk.Msg, error)
func (*BancorCancelReq) New ¶
func (req *BancorCancelReq) New() restutil.RestReq
type BancorInitReq ¶
type BancorInitReq struct { BaseReq rest.BaseReq `json:"base_req"` Stock string `json:"stock"` Money string `json:"money"` InitPrice string `json:"init_price"` MaxSupply string `json:"max_supply"` MaxMoney string `json:"max_money"` StockPrecision string `json:"stock_precision"` MaxPrice string `json:"max_price"` EarliestCancelTime string `json:"earliest_cancel_time"` }
func (*BancorInitReq) GetBaseReq ¶
func (req *BancorInitReq) GetBaseReq() *rest.BaseReq
func (*BancorInitReq) GetMsg ¶
func (req *BancorInitReq) GetMsg(r *http.Request, sender sdk.AccAddress) (sdk.Msg, error)
func (*BancorInitReq) New ¶
func (req *BancorInitReq) New() restutil.RestReq
type BancorTradeReq ¶
type BancorTradeReq struct { BaseReq rest.BaseReq `json:"base_req"` Stock string `json:"stock"` Money string `json:"money"` Amount string `json:"amount"` IsBuy bool `json:"is_buy"` MoneyLimit string `json:"money_limit"` }
func (*BancorTradeReq) GetBaseReq ¶
func (req *BancorTradeReq) GetBaseReq() *rest.BaseReq
func (*BancorTradeReq) GetMsg ¶
func (req *BancorTradeReq) GetMsg(r *http.Request, sender sdk.AccAddress) (sdk.Msg, error)
func (*BancorTradeReq) New ¶
func (req *BancorTradeReq) New() restutil.RestReq
Click to show internal directories.
Click to hide internal directories.