Versions in this module Expand all Collapse all v0 v0.1.2 Feb 6, 2023 Changes in this version + const CodeDuplicatedOrder + const CodeFailCancelOrder + const CodeFailInsertOrder + const CodeFailLocateOrderToCancel + const CodeIncorrectDexOperation + const CodeInvalidOrderParam + const CodeInvalidProposal + const CodeInvalidTradeSymbol + const DefaultCodespace + const ListRoute + const MiniMsg + func ErrIncorrectDexOperation(answer string) sdk.Error + func ErrInvalidOrderParam(paraName string, err string) sdk.Error + func ErrInvalidProposal(err string) sdk.Error + func ErrInvalidTradeSymbol(err string) sdk.Error + type ListMiniMsg struct + BaseAssetSymbol string + From sdk.AccAddress + InitPrice int64 + QuoteAssetSymbol string + func NewListMiniMsg(from sdk.AccAddress, baseAssetSymbol string, quoteAssetSymbol string, ...) ListMiniMsg + func (msg ListMiniMsg) GetInvolvedAddresses() []sdk.AccAddress + func (msg ListMiniMsg) GetSignBytes() []byte + func (msg ListMiniMsg) GetSigners() []sdk.AccAddress + func (msg ListMiniMsg) Route() string + func (msg ListMiniMsg) String() string + func (msg ListMiniMsg) Type() string + func (msg ListMiniMsg) ValidateBasic() sdk.Error + type ListMsg struct + BaseAssetSymbol string + From sdk.AccAddress + InitPrice int64 + ProposalId int64 + QuoteAssetSymbol string + func NewListMsg(from sdk.AccAddress, proposalId int64, baseAssetSymbol string, ...) ListMsg + func (msg ListMsg) GetInvolvedAddresses() []sdk.AccAddress + func (msg ListMsg) GetSignBytes() []byte + func (msg ListMsg) GetSigners() []sdk.AccAddress + func (msg ListMsg) Route() string + func (msg ListMsg) String() string + func (msg ListMsg) Type() string + func (msg ListMsg) ValidateBasic() sdk.Error + type TradingPair struct + BaseAssetSymbol string + ListPrice ctuils.Fixed8 + LotSize ctuils.Fixed8 + QuoteAssetSymbol string + TickSize ctuils.Fixed8 + func NewTradingPair(baseAssetSymbol, quoteAssetSymbol string, listPrice int64) TradingPair + func NewTradingPairWithLotSize(baseAsset, quoteAsset string, listPrice, lotSize int64) TradingPair + func (pair *TradingPair) GetSymbol() string