Documentation ¶
Index ¶
- func Send(from sdk.AccAddress, to sdk.AccAddress, amount int64) *banktypes.MsgSend
- type Market
- func (m *Market) CancelLongOrder(account sdk.AccAddress, price string, id uint64) *dextypes.MsgCancelOrders
- func (m *Market) CancelShortOrder(account sdk.AccAddress, price string, id uint64) *dextypes.MsgCancelOrders
- func (m *Market) LongLimitOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
- func (m *Market) LongMarketOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
- func (m *Market) Register(admin sdk.AccAddress, deps []string, deposit uint64) []sdk.Msg
- func (m *Market) ShortLimitOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
- func (m *Market) ShortMarketOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Send ¶
func Send(from sdk.AccAddress, to sdk.AccAddress, amount int64) *banktypes.MsgSend
Types ¶
type Market ¶
type Market struct {
// contains filtered or unexported fields
}
func (*Market) CancelLongOrder ¶
func (m *Market) CancelLongOrder(account sdk.AccAddress, price string, id uint64) *dextypes.MsgCancelOrders
func (*Market) CancelShortOrder ¶
func (m *Market) CancelShortOrder(account sdk.AccAddress, price string, id uint64) *dextypes.MsgCancelOrders
func (*Market) LongLimitOrder ¶
func (m *Market) LongLimitOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
func (*Market) LongMarketOrder ¶
func (m *Market) LongMarketOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
func (*Market) ShortLimitOrder ¶
func (m *Market) ShortLimitOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
func (*Market) ShortMarketOrder ¶
func (m *Market) ShortMarketOrder(account sdk.AccAddress, price string, quantity string) *dextypes.MsgPlaceOrders
Click to show internal directories.
Click to hide internal directories.