Documentation ¶
Index ¶
- Constants
- Variables
- func CreateRawTradeBuyLimitTx(parm *TradeBuyLimitTx) (*types.Transaction, error)
- func CreateRawTradeBuyTx(parm *TradeBuyTx) (*types.Transaction, error)
- func CreateRawTradeRevokeBuyTx(parm *TradeRevokeBuyTx) (*types.Transaction, error)
- func CreateRawTradeRevokeTx(parm *TradeRevokeTx) (*types.Transaction, error)
- func CreateRawTradeSellMarketTx(parm *TradeSellMarketTx) (*types.Transaction, error)
- func CreateRawTradeSellTx(parm *TradeSellTx) (*types.Transaction, error)
- func RegisterTradeServer(s *grpc.Server, srv TradeServer)
- type BuyLimitOrder
- func (*BuyLimitOrder) Descriptor() ([]byte, []int)
- func (m *BuyLimitOrder) GetAddress() string
- func (m *BuyLimitOrder) GetAmountPerBoardlot() int64
- func (m *BuyLimitOrder) GetAssetExec() string
- func (m *BuyLimitOrder) GetBoughtBoardlot() int64
- func (m *BuyLimitOrder) GetBuyID() string
- func (m *BuyLimitOrder) GetHeight() int64
- func (m *BuyLimitOrder) GetMinBoardlot() int64
- func (m *BuyLimitOrder) GetPricePerBoardlot() int64
- func (m *BuyLimitOrder) GetStatus() int32
- func (m *BuyLimitOrder) GetTokenSymbol() string
- func (m *BuyLimitOrder) GetTotalBoardlot() int64
- func (*BuyLimitOrder) ProtoMessage()
- func (m *BuyLimitOrder) Reset()
- func (m *BuyLimitOrder) String() string
- func (m *BuyLimitOrder) XXX_DiscardUnknown()
- func (m *BuyLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuyLimitOrder) XXX_Merge(src proto.Message)
- func (m *BuyLimitOrder) XXX_Size() int
- func (m *BuyLimitOrder) XXX_Unmarshal(b []byte) error
- type LocalOrder
- func (*LocalOrder) Descriptor() ([]byte, []int)
- func (m *LocalOrder) GetAmountPerBoardlot() int64
- func (m *LocalOrder) GetAssetExec() string
- func (m *LocalOrder) GetAssetSymbol() string
- func (m *LocalOrder) GetBlockTime() int64
- func (m *LocalOrder) GetBuyID() string
- func (m *LocalOrder) GetHeight() int64
- func (m *LocalOrder) GetIsFinished() bool
- func (m *LocalOrder) GetIsSellOrder() bool
- func (m *LocalOrder) GetKey() string
- func (m *LocalOrder) GetMinBoardlot() int64
- func (m *LocalOrder) GetOwner() string
- func (m *LocalOrder) GetPricePerBoardlot() int64
- func (m *LocalOrder) GetSellID() string
- func (m *LocalOrder) GetStatus() int32
- func (m *LocalOrder) GetTotalBoardlot() int64
- func (m *LocalOrder) GetTradedBoardlot() int64
- func (m *LocalOrder) GetTxHash() []string
- func (m *LocalOrder) GetTxIndex() string
- func (*LocalOrder) ProtoMessage()
- func (m *LocalOrder) Reset()
- func (m *LocalOrder) String() string
- func (m *LocalOrder) XXX_DiscardUnknown()
- func (m *LocalOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalOrder) XXX_Merge(src proto.Message)
- func (m *LocalOrder) XXX_Size() int
- func (m *LocalOrder) XXX_Unmarshal(b []byte) error
- type ReceiptBuyBase
- func (*ReceiptBuyBase) Descriptor() ([]byte, []int)
- func (m *ReceiptBuyBase) GetAmountPerBoardlot() string
- func (m *ReceiptBuyBase) GetAssetExec() string
- func (m *ReceiptBuyBase) GetBoughtBoardlot() int64
- func (m *ReceiptBuyBase) GetBuyID() string
- func (m *ReceiptBuyBase) GetHeight() int64
- func (m *ReceiptBuyBase) GetMinBoardlot() int64
- func (m *ReceiptBuyBase) GetOwner() string
- func (m *ReceiptBuyBase) GetPricePerBoardlot() string
- func (m *ReceiptBuyBase) GetSellID() string
- func (m *ReceiptBuyBase) GetStatus() string
- func (m *ReceiptBuyBase) GetTokenSymbol() string
- func (m *ReceiptBuyBase) GetTotalBoardlot() int64
- func (m *ReceiptBuyBase) GetTxHash() string
- func (*ReceiptBuyBase) ProtoMessage()
- func (m *ReceiptBuyBase) Reset()
- func (m *ReceiptBuyBase) String() string
- func (m *ReceiptBuyBase) XXX_DiscardUnknown()
- func (m *ReceiptBuyBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptBuyBase) XXX_Merge(src proto.Message)
- func (m *ReceiptBuyBase) XXX_Size() int
- func (m *ReceiptBuyBase) XXX_Unmarshal(b []byte) error
- type ReceiptSellBase
- func (*ReceiptSellBase) Descriptor() ([]byte, []int)
- func (m *ReceiptSellBase) GetAmountPerBoardlot() string
- func (m *ReceiptSellBase) GetAssetExec() string
- func (m *ReceiptSellBase) GetBuyID() string
- func (m *ReceiptSellBase) GetCrowdfund() bool
- func (m *ReceiptSellBase) GetHeight() int64
- func (m *ReceiptSellBase) GetMinBoardlot() int64
- func (m *ReceiptSellBase) GetOwner() string
- func (m *ReceiptSellBase) GetPricePerBoardlot() string
- func (m *ReceiptSellBase) GetSellID() string
- func (m *ReceiptSellBase) GetSoldBoardlot() int64
- func (m *ReceiptSellBase) GetStarttime() int64
- func (m *ReceiptSellBase) GetStatus() string
- func (m *ReceiptSellBase) GetStoptime() int64
- func (m *ReceiptSellBase) GetTokenSymbol() string
- func (m *ReceiptSellBase) GetTotalBoardlot() int64
- func (m *ReceiptSellBase) GetTxHash() string
- func (*ReceiptSellBase) ProtoMessage()
- func (m *ReceiptSellBase) Reset()
- func (m *ReceiptSellBase) String() string
- func (m *ReceiptSellBase) XXX_DiscardUnknown()
- func (m *ReceiptSellBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptSellBase) XXX_Merge(src proto.Message)
- func (m *ReceiptSellBase) XXX_Size() int
- func (m *ReceiptSellBase) XXX_Unmarshal(b []byte) error
- type ReceiptSellMarket
- func (*ReceiptSellMarket) Descriptor() ([]byte, []int)
- func (m *ReceiptSellMarket) GetBase() *ReceiptSellBase
- func (*ReceiptSellMarket) ProtoMessage()
- func (m *ReceiptSellMarket) Reset()
- func (m *ReceiptSellMarket) String() string
- func (m *ReceiptSellMarket) XXX_DiscardUnknown()
- func (m *ReceiptSellMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptSellMarket) XXX_Merge(src proto.Message)
- func (m *ReceiptSellMarket) XXX_Size() int
- func (m *ReceiptSellMarket) XXX_Unmarshal(b []byte) error
- type ReceiptTradeBuyLimit
- func (*ReceiptTradeBuyLimit) Descriptor() ([]byte, []int)
- func (m *ReceiptTradeBuyLimit) GetBase() *ReceiptBuyBase
- func (*ReceiptTradeBuyLimit) ProtoMessage()
- func (m *ReceiptTradeBuyLimit) Reset()
- func (m *ReceiptTradeBuyLimit) String() string
- func (m *ReceiptTradeBuyLimit) XXX_DiscardUnknown()
- func (m *ReceiptTradeBuyLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptTradeBuyLimit) XXX_Merge(src proto.Message)
- func (m *ReceiptTradeBuyLimit) XXX_Size() int
- func (m *ReceiptTradeBuyLimit) XXX_Unmarshal(b []byte) error
- type ReceiptTradeBuyMarket
- func (*ReceiptTradeBuyMarket) Descriptor() ([]byte, []int)
- func (m *ReceiptTradeBuyMarket) GetBase() *ReceiptBuyBase
- func (*ReceiptTradeBuyMarket) ProtoMessage()
- func (m *ReceiptTradeBuyMarket) Reset()
- func (m *ReceiptTradeBuyMarket) String() string
- func (m *ReceiptTradeBuyMarket) XXX_DiscardUnknown()
- func (m *ReceiptTradeBuyMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptTradeBuyMarket) XXX_Merge(src proto.Message)
- func (m *ReceiptTradeBuyMarket) XXX_Size() int
- func (m *ReceiptTradeBuyMarket) XXX_Unmarshal(b []byte) error
- type ReceiptTradeBuyRevoke
- func (*ReceiptTradeBuyRevoke) Descriptor() ([]byte, []int)
- func (m *ReceiptTradeBuyRevoke) GetBase() *ReceiptBuyBase
- func (*ReceiptTradeBuyRevoke) ProtoMessage()
- func (m *ReceiptTradeBuyRevoke) Reset()
- func (m *ReceiptTradeBuyRevoke) String() string
- func (m *ReceiptTradeBuyRevoke) XXX_DiscardUnknown()
- func (m *ReceiptTradeBuyRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptTradeBuyRevoke) XXX_Merge(src proto.Message)
- func (m *ReceiptTradeBuyRevoke) XXX_Size() int
- func (m *ReceiptTradeBuyRevoke) XXX_Unmarshal(b []byte) error
- type ReceiptTradeSellLimit
- func (*ReceiptTradeSellLimit) Descriptor() ([]byte, []int)
- func (m *ReceiptTradeSellLimit) GetBase() *ReceiptSellBase
- func (*ReceiptTradeSellLimit) ProtoMessage()
- func (m *ReceiptTradeSellLimit) Reset()
- func (m *ReceiptTradeSellLimit) String() string
- func (m *ReceiptTradeSellLimit) XXX_DiscardUnknown()
- func (m *ReceiptTradeSellLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptTradeSellLimit) XXX_Merge(src proto.Message)
- func (m *ReceiptTradeSellLimit) XXX_Size() int
- func (m *ReceiptTradeSellLimit) XXX_Unmarshal(b []byte) error
- type ReceiptTradeSellRevoke
- func (*ReceiptTradeSellRevoke) Descriptor() ([]byte, []int)
- func (m *ReceiptTradeSellRevoke) GetBase() *ReceiptSellBase
- func (*ReceiptTradeSellRevoke) ProtoMessage()
- func (m *ReceiptTradeSellRevoke) Reset()
- func (m *ReceiptTradeSellRevoke) String() string
- func (m *ReceiptTradeSellRevoke) XXX_DiscardUnknown()
- func (m *ReceiptTradeSellRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptTradeSellRevoke) XXX_Merge(src proto.Message)
- func (m *ReceiptTradeSellRevoke) XXX_Size() int
- func (m *ReceiptTradeSellRevoke) XXX_Unmarshal(b []byte) error
- type ReplyBuyOrder
- func (*ReplyBuyOrder) Descriptor() ([]byte, []int)
- func (m *ReplyBuyOrder) GetAmountPerBoardlot() int64
- func (m *ReplyBuyOrder) GetAssetExec() string
- func (m *ReplyBuyOrder) GetBoughtBoardlot() int64
- func (m *ReplyBuyOrder) GetBuyID() string
- func (m *ReplyBuyOrder) GetHeight() int64
- func (m *ReplyBuyOrder) GetKey() string
- func (m *ReplyBuyOrder) GetMinBoardlot() int64
- func (m *ReplyBuyOrder) GetOwner() string
- func (m *ReplyBuyOrder) GetPricePerBoardlot() int64
- func (m *ReplyBuyOrder) GetSellID() string
- func (m *ReplyBuyOrder) GetStatus() int32
- func (m *ReplyBuyOrder) GetTokenSymbol() string
- func (m *ReplyBuyOrder) GetTotalBoardlot() int64
- func (m *ReplyBuyOrder) GetTxHash() string
- func (*ReplyBuyOrder) ProtoMessage()
- func (m *ReplyBuyOrder) Reset()
- func (m *ReplyBuyOrder) String() string
- func (m *ReplyBuyOrder) XXX_DiscardUnknown()
- func (m *ReplyBuyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyBuyOrder) XXX_Merge(src proto.Message)
- func (m *ReplyBuyOrder) XXX_Size() int
- func (m *ReplyBuyOrder) XXX_Unmarshal(b []byte) error
- type ReplyBuyOrders
- func (*ReplyBuyOrders) Descriptor() ([]byte, []int)
- func (m *ReplyBuyOrders) GetBuyOrders() []*ReplyBuyOrder
- func (*ReplyBuyOrders) ProtoMessage()
- func (m *ReplyBuyOrders) Reset()
- func (m *ReplyBuyOrders) String() string
- func (m *ReplyBuyOrders) XXX_DiscardUnknown()
- func (m *ReplyBuyOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyBuyOrders) XXX_Merge(src proto.Message)
- func (m *ReplyBuyOrders) XXX_Size() int
- func (m *ReplyBuyOrders) XXX_Unmarshal(b []byte) error
- type ReplySellOrder
- func (*ReplySellOrder) Descriptor() ([]byte, []int)
- func (m *ReplySellOrder) GetAmountPerBoardlot() int64
- func (m *ReplySellOrder) GetAssetExec() string
- func (m *ReplySellOrder) GetBuyID() string
- func (m *ReplySellOrder) GetHeight() int64
- func (m *ReplySellOrder) GetKey() string
- func (m *ReplySellOrder) GetMinBoardlot() int64
- func (m *ReplySellOrder) GetOwner() string
- func (m *ReplySellOrder) GetPricePerBoardlot() int64
- func (m *ReplySellOrder) GetSellID() string
- func (m *ReplySellOrder) GetSoldBoardlot() int64
- func (m *ReplySellOrder) GetStatus() int32
- func (m *ReplySellOrder) GetTokenSymbol() string
- func (m *ReplySellOrder) GetTotalBoardlot() int64
- func (m *ReplySellOrder) GetTxHash() string
- func (*ReplySellOrder) ProtoMessage()
- func (m *ReplySellOrder) Reset()
- func (m *ReplySellOrder) String() string
- func (m *ReplySellOrder) XXX_DiscardUnknown()
- func (m *ReplySellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySellOrder) XXX_Merge(src proto.Message)
- func (m *ReplySellOrder) XXX_Size() int
- func (m *ReplySellOrder) XXX_Unmarshal(b []byte) error
- type ReplySellOrders
- func (*ReplySellOrders) Descriptor() ([]byte, []int)
- func (m *ReplySellOrders) GetSellOrders() []*ReplySellOrder
- func (*ReplySellOrders) ProtoMessage()
- func (m *ReplySellOrders) Reset()
- func (m *ReplySellOrders) String() string
- func (m *ReplySellOrders) XXX_DiscardUnknown()
- func (m *ReplySellOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplySellOrders) XXX_Merge(src proto.Message)
- func (m *ReplySellOrders) XXX_Size() int
- func (m *ReplySellOrders) XXX_Unmarshal(b []byte) error
- type ReplyTradeOrder
- func (*ReplyTradeOrder) Descriptor() ([]byte, []int)
- func (m *ReplyTradeOrder) GetAmountPerBoardlot() int64
- func (m *ReplyTradeOrder) GetAssetExec() string
- func (m *ReplyTradeOrder) GetBlockTime() int64
- func (m *ReplyTradeOrder) GetBuyID() string
- func (m *ReplyTradeOrder) GetHeight() int64
- func (m *ReplyTradeOrder) GetIsSellOrder() bool
- func (m *ReplyTradeOrder) GetKey() string
- func (m *ReplyTradeOrder) GetMinBoardlot() int64
- func (m *ReplyTradeOrder) GetOwner() string
- func (m *ReplyTradeOrder) GetPricePerBoardlot() int64
- func (m *ReplyTradeOrder) GetSellID() string
- func (m *ReplyTradeOrder) GetStatus() int32
- func (m *ReplyTradeOrder) GetTokenSymbol() string
- func (m *ReplyTradeOrder) GetTotalBoardlot() int64
- func (m *ReplyTradeOrder) GetTradedBoardlot() int64
- func (m *ReplyTradeOrder) GetTxHash() string
- func (*ReplyTradeOrder) ProtoMessage()
- func (m *ReplyTradeOrder) Reset()
- func (m *ReplyTradeOrder) String() string
- func (m *ReplyTradeOrder) XXX_DiscardUnknown()
- func (m *ReplyTradeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTradeOrder) XXX_Merge(src proto.Message)
- func (m *ReplyTradeOrder) XXX_Size() int
- func (m *ReplyTradeOrder) XXX_Unmarshal(b []byte) error
- type ReplyTradeOrders
- func (*ReplyTradeOrders) Descriptor() ([]byte, []int)
- func (m *ReplyTradeOrders) GetOrders() []*ReplyTradeOrder
- func (*ReplyTradeOrders) ProtoMessage()
- func (m *ReplyTradeOrders) Reset()
- func (m *ReplyTradeOrders) String() string
- func (m *ReplyTradeOrders) XXX_DiscardUnknown()
- func (m *ReplyTradeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyTradeOrders) XXX_Merge(src proto.Message)
- func (m *ReplyTradeOrders) XXX_Size() int
- func (m *ReplyTradeOrders) XXX_Unmarshal(b []byte) error
- type ReqAddrAssets
- func (*ReqAddrAssets) Descriptor() ([]byte, []int)
- func (m *ReqAddrAssets) GetAddr() string
- func (m *ReqAddrAssets) GetCount() int32
- func (m *ReqAddrAssets) GetDirection() int32
- func (m *ReqAddrAssets) GetFromKey() string
- func (m *ReqAddrAssets) GetStatus() int32
- func (m *ReqAddrAssets) GetToken() []string
- func (*ReqAddrAssets) ProtoMessage()
- func (m *ReqAddrAssets) Reset()
- func (m *ReqAddrAssets) String() string
- func (m *ReqAddrAssets) XXX_DiscardUnknown()
- func (m *ReqAddrAssets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAddrAssets) XXX_Merge(src proto.Message)
- func (m *ReqAddrAssets) XXX_Size() int
- func (m *ReqAddrAssets) XXX_Unmarshal(b []byte) error
- type ReqBuyToken
- func (*ReqBuyToken) Descriptor() ([]byte, []int)
- func (m *ReqBuyToken) GetBuy() *TradeForBuy
- func (m *ReqBuyToken) GetBuyer() string
- func (*ReqBuyToken) ProtoMessage()
- func (m *ReqBuyToken) Reset()
- func (m *ReqBuyToken) String() string
- func (m *ReqBuyToken) XXX_DiscardUnknown()
- func (m *ReqBuyToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBuyToken) XXX_Merge(src proto.Message)
- func (m *ReqBuyToken) XXX_Size() int
- func (m *ReqBuyToken) XXX_Unmarshal(b []byte) error
- type ReqRevokeSell
- func (*ReqRevokeSell) Descriptor() ([]byte, []int)
- func (m *ReqRevokeSell) GetOwner() string
- func (m *ReqRevokeSell) GetRevoke() *TradeForRevokeSell
- func (*ReqRevokeSell) ProtoMessage()
- func (m *ReqRevokeSell) Reset()
- func (m *ReqRevokeSell) String() string
- func (m *ReqRevokeSell) XXX_DiscardUnknown()
- func (m *ReqRevokeSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqRevokeSell) XXX_Merge(src proto.Message)
- func (m *ReqRevokeSell) XXX_Size() int
- func (m *ReqRevokeSell) XXX_Unmarshal(b []byte) error
- type ReqSellToken
- func (*ReqSellToken) Descriptor() ([]byte, []int)
- func (m *ReqSellToken) GetOwner() string
- func (m *ReqSellToken) GetSell() *TradeForSell
- func (*ReqSellToken) ProtoMessage()
- func (m *ReqSellToken) Reset()
- func (m *ReqSellToken) String() string
- func (m *ReqSellToken) XXX_DiscardUnknown()
- func (m *ReqSellToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSellToken) XXX_Merge(src proto.Message)
- func (m *ReqSellToken) XXX_Size() int
- func (m *ReqSellToken) XXX_Unmarshal(b []byte) error
- type ReqTokenBuyOrder
- func (*ReqTokenBuyOrder) Descriptor() ([]byte, []int)
- func (m *ReqTokenBuyOrder) GetCount() int32
- func (m *ReqTokenBuyOrder) GetDirection() int32
- func (m *ReqTokenBuyOrder) GetFromKey() string
- func (m *ReqTokenBuyOrder) GetStatus() int32
- func (m *ReqTokenBuyOrder) GetTokenSymbol() string
- func (*ReqTokenBuyOrder) ProtoMessage()
- func (m *ReqTokenBuyOrder) Reset()
- func (m *ReqTokenBuyOrder) String() string
- func (m *ReqTokenBuyOrder) XXX_DiscardUnknown()
- func (m *ReqTokenBuyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTokenBuyOrder) XXX_Merge(src proto.Message)
- func (m *ReqTokenBuyOrder) XXX_Size() int
- func (m *ReqTokenBuyOrder) XXX_Unmarshal(b []byte) error
- type ReqTokenSellOrder
- func (*ReqTokenSellOrder) Descriptor() ([]byte, []int)
- func (m *ReqTokenSellOrder) GetCount() int32
- func (m *ReqTokenSellOrder) GetDirection() int32
- func (m *ReqTokenSellOrder) GetFromKey() string
- func (m *ReqTokenSellOrder) GetStatus() int32
- func (m *ReqTokenSellOrder) GetTokenSymbol() string
- func (*ReqTokenSellOrder) ProtoMessage()
- func (m *ReqTokenSellOrder) Reset()
- func (m *ReqTokenSellOrder) String() string
- func (m *ReqTokenSellOrder) XXX_DiscardUnknown()
- func (m *ReqTokenSellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTokenSellOrder) XXX_Merge(src proto.Message)
- func (m *ReqTokenSellOrder) XXX_Size() int
- func (m *ReqTokenSellOrder) XXX_Unmarshal(b []byte) error
- type SellOrder
- func (*SellOrder) Descriptor() ([]byte, []int)
- func (m *SellOrder) GetAddress() string
- func (m *SellOrder) GetAmountPerBoardlot() int64
- func (m *SellOrder) GetAssetExec() string
- func (m *SellOrder) GetCrowdfund() bool
- func (m *SellOrder) GetHeight() int64
- func (m *SellOrder) GetMinBoardlot() int64
- func (m *SellOrder) GetPricePerBoardlot() int64
- func (m *SellOrder) GetSellID() string
- func (m *SellOrder) GetSoldBoardlot() int64
- func (m *SellOrder) GetStarttime() int64
- func (m *SellOrder) GetStatus() int32
- func (m *SellOrder) GetStoptime() int64
- func (m *SellOrder) GetTokenSymbol() string
- func (m *SellOrder) GetTotalBoardlot() int64
- func (*SellOrder) ProtoMessage()
- func (m *SellOrder) Reset()
- func (m *SellOrder) String() string
- func (m *SellOrder) XXX_DiscardUnknown()
- func (m *SellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SellOrder) XXX_Merge(src proto.Message)
- func (m *SellOrder) XXX_Size() int
- func (m *SellOrder) XXX_Unmarshal(b []byte) error
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)
- func (m *Trade) GetBuyLimit() *TradeForBuyLimit
- func (m *Trade) GetBuyMarket() *TradeForBuy
- func (m *Trade) GetRevokeBuy() *TradeForRevokeBuy
- func (m *Trade) GetRevokeSell() *TradeForRevokeSell
- func (m *Trade) GetSellLimit() *TradeForSell
- func (m *Trade) GetSellMarket() *TradeForSellMarket
- func (m *Trade) GetTy() int32
- func (m *Trade) GetValue() isTrade_Value
- func (*Trade) ProtoMessage()
- func (m *Trade) Reset()
- func (m *Trade) String() string
- func (m *Trade) XXX_DiscardUnknown()
- func (m *Trade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trade) XXX_Merge(src proto.Message)
- func (*Trade) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Trade) XXX_Size() int
- func (m *Trade) XXX_Unmarshal(b []byte) error
- type TradeBuyLimitTx
- type TradeBuyTx
- type TradeClient
- type TradeForBuy
- func (*TradeForBuy) Descriptor() ([]byte, []int)
- func (m *TradeForBuy) GetBoardlotCnt() int64
- func (m *TradeForBuy) GetSellID() string
- func (*TradeForBuy) ProtoMessage()
- func (m *TradeForBuy) Reset()
- func (m *TradeForBuy) String() string
- func (m *TradeForBuy) XXX_DiscardUnknown()
- func (m *TradeForBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeForBuy) XXX_Merge(src proto.Message)
- func (m *TradeForBuy) XXX_Size() int
- func (m *TradeForBuy) XXX_Unmarshal(b []byte) error
- type TradeForBuyLimit
- func (*TradeForBuyLimit) Descriptor() ([]byte, []int)
- func (m *TradeForBuyLimit) GetAmountPerBoardlot() int64
- func (m *TradeForBuyLimit) GetAssetExec() string
- func (m *TradeForBuyLimit) GetMinBoardlot() int64
- func (m *TradeForBuyLimit) GetPricePerBoardlot() int64
- func (m *TradeForBuyLimit) GetTokenSymbol() string
- func (m *TradeForBuyLimit) GetTotalBoardlot() int64
- func (*TradeForBuyLimit) ProtoMessage()
- func (m *TradeForBuyLimit) Reset()
- func (m *TradeForBuyLimit) String() string
- func (m *TradeForBuyLimit) XXX_DiscardUnknown()
- func (m *TradeForBuyLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeForBuyLimit) XXX_Merge(src proto.Message)
- func (m *TradeForBuyLimit) XXX_Size() int
- func (m *TradeForBuyLimit) XXX_Unmarshal(b []byte) error
- type TradeForRevokeBuy
- func (*TradeForRevokeBuy) Descriptor() ([]byte, []int)
- func (m *TradeForRevokeBuy) GetBuyID() string
- func (*TradeForRevokeBuy) ProtoMessage()
- func (m *TradeForRevokeBuy) Reset()
- func (m *TradeForRevokeBuy) String() string
- func (m *TradeForRevokeBuy) XXX_DiscardUnknown()
- func (m *TradeForRevokeBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeForRevokeBuy) XXX_Merge(src proto.Message)
- func (m *TradeForRevokeBuy) XXX_Size() int
- func (m *TradeForRevokeBuy) XXX_Unmarshal(b []byte) error
- type TradeForRevokeSell
- func (*TradeForRevokeSell) Descriptor() ([]byte, []int)
- func (m *TradeForRevokeSell) GetSellID() string
- func (*TradeForRevokeSell) ProtoMessage()
- func (m *TradeForRevokeSell) Reset()
- func (m *TradeForRevokeSell) String() string
- func (m *TradeForRevokeSell) XXX_DiscardUnknown()
- func (m *TradeForRevokeSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeForRevokeSell) XXX_Merge(src proto.Message)
- func (m *TradeForRevokeSell) XXX_Size() int
- func (m *TradeForRevokeSell) XXX_Unmarshal(b []byte) error
- type TradeForSell
- func (*TradeForSell) Descriptor() ([]byte, []int)
- func (m *TradeForSell) GetAmountPerBoardlot() int64
- func (m *TradeForSell) GetAssetExec() string
- func (m *TradeForSell) GetCrowdfund() bool
- func (m *TradeForSell) GetMinBoardlot() int64
- func (m *TradeForSell) GetPricePerBoardlot() int64
- func (m *TradeForSell) GetStarttime() int64
- func (m *TradeForSell) GetStoptime() int64
- func (m *TradeForSell) GetTokenSymbol() string
- func (m *TradeForSell) GetTotalBoardlot() int64
- func (*TradeForSell) ProtoMessage()
- func (m *TradeForSell) Reset()
- func (m *TradeForSell) String() string
- func (m *TradeForSell) XXX_DiscardUnknown()
- func (m *TradeForSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeForSell) XXX_Merge(src proto.Message)
- func (m *TradeForSell) XXX_Size() int
- func (m *TradeForSell) XXX_Unmarshal(b []byte) error
- type TradeForSellMarket
- func (*TradeForSellMarket) Descriptor() ([]byte, []int)
- func (m *TradeForSellMarket) GetBoardlotCnt() int64
- func (m *TradeForSellMarket) GetBuyID() string
- func (*TradeForSellMarket) ProtoMessage()
- func (m *TradeForSellMarket) Reset()
- func (m *TradeForSellMarket) String() string
- func (m *TradeForSellMarket) XXX_DiscardUnknown()
- func (m *TradeForSellMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeForSellMarket) XXX_Merge(src proto.Message)
- func (m *TradeForSellMarket) XXX_Size() int
- func (m *TradeForSellMarket) XXX_Unmarshal(b []byte) error
- type TradeRevokeBuyTx
- type TradeRevokeTx
- type TradeSellMarketTx
- type TradeSellTx
- type TradeServer
- type Trade_BuyLimit
- type Trade_BuyMarket
- type Trade_RevokeBuy
- type Trade_RevokeSell
- type Trade_SellLimit
- type Trade_SellMarket
Constants ¶
const ( TradeSellLimit = iota TradeBuyMarket TradeRevokeSell TradeSellMarket TradeBuyLimit TradeRevokeBuy )
trade op
const ( TyLogTradeSellLimit = 310 TyLogTradeBuyMarket = 311 TyLogTradeSellRevoke = 312 TyLogTradeSellMarket = 330 TyLogTradeBuyLimit = 331 TyLogTradeBuyRevoke = 332 )
log
const ( TradeOrderStatusNotStart = iota //TradeOrderStatusNotStart : TradeOrderStatusOnSale TradeOrderStatusSoldOut TradeOrderStatusRevoked TradeOrderStatusExpired TradeOrderStatusOnBuy TradeOrderStatusBoughtOut TradeOrderStatusBuyRevoked TradeOrderStatusSellHalfRevoked TradeOrderStatusBuyHalfRevoked TradeOrderStatusGroupComplete )
0->not start, 1->on sale, 2->sold out, 3->revoke, 4->expired
const (
//InvalidStartTime :
InvalidStartTime = 0
)
Variables ¶
var ( //ErrTSellBalanceNotEnough : ErrTSellBalanceNotEnough = errors.New("ErrTradeSellBalanceNotEnough") //ErrTSellOrderNotExist : ErrTSellOrderNotExist = errors.New("ErrTradeSellOrderNotExist") //ErrTSellOrderNotStart : ErrTSellOrderNotStart = errors.New("ErrTradeSellOrderNotStart") //ErrTSellOrderNotEnough : ErrTSellOrderNotEnough = errors.New("ErrTradeSellOrderNotEnough") //ErrTSellOrderSoldout : ErrTSellOrderSoldout = errors.New("ErrTradeSellOrderSoldout") //ErrTSellOrderRevoked : ErrTSellOrderRevoked = errors.New("ErrTradeSellOrderRevoked") //ErrTSellOrderExpired : ErrTSellOrderExpired = errors.New("ErrTradeSellOrderExpired") //ErrTSellOrderRevoke : ErrTSellOrderRevoke = errors.New("ErrTradeSellOrderRevokeNotAllowed") //ErrTSellNoSuchOrder : ErrTSellNoSuchOrder = errors.New("ErrTradeSellNoSuchOrder") //ErrTBuyOrderNotExist : ErrTBuyOrderNotExist = errors.New("ErrTradeBuyOrderNotExist") //ErrTBuyOrderNotEnough : ErrTBuyOrderNotEnough = errors.New("ErrTradeBuyOrderNotEnough") //ErrTBuyOrderSoldout : ErrTBuyOrderSoldout = errors.New("ErrTradeBuyOrderSoldout") //ErrTBuyOrderRevoked : ErrTBuyOrderRevoked = errors.New("ErrTradeBuyOrderRevoked") //ErrTBuyOrderRevoke : ErrTBuyOrderRevoke = errors.New("ErrTradeBuyOrderRevokeNotAllowed") //ErrTCntLessThanMinBoardlot : ErrTCntLessThanMinBoardlot = errors.New("ErrTradeCountLessThanMinBoardlot") )
var MapBuyOrderStatusStr2Int = map[string]int32{ "onbuy": TradeOrderStatusOnBuy, "boughtout": TradeOrderStatusBoughtOut, "buyrevoked": TradeOrderStatusBuyRevoked, }
MapBuyOrderStatusStr2Int :
var MapSellOrderStatusStr2Int = map[string]int32{ "onsale": TradeOrderStatusOnSale, "soldout": TradeOrderStatusSoldOut, "revoked": TradeOrderStatusRevoked, }
MapSellOrderStatusStr2Int :
var SellOrderStatus = map[int32]string{ TradeOrderStatusNotStart: "NotStart", TradeOrderStatusOnSale: "OnSale", TradeOrderStatusSoldOut: "SoldOut", TradeOrderStatusRevoked: "Revoked", TradeOrderStatusExpired: "Expired", TradeOrderStatusOnBuy: "OnBuy", TradeOrderStatusBoughtOut: "BoughtOut", TradeOrderStatusBuyRevoked: "BuyRevoked", }
SellOrderStatus : sell order status map
var SellOrderStatus2Int = map[string]int32{ "NotStart": TradeOrderStatusNotStart, "OnSale": TradeOrderStatusOnSale, "SoldOut": TradeOrderStatusSoldOut, "Revoked": TradeOrderStatusRevoked, "Expired": TradeOrderStatusExpired, "OnBuy": TradeOrderStatusOnBuy, "BoughtOut": TradeOrderStatusBoughtOut, "BuyRevoked": TradeOrderStatusBuyRevoked, }
SellOrderStatus2Int : SellOrderStatus info to value in int32
var (
//TradeX :
TradeX = "trade"
)
Functions ¶
func CreateRawTradeBuyLimitTx ¶
func CreateRawTradeBuyLimitTx(parm *TradeBuyLimitTx) (*types.Transaction, error)
CreateRawTradeBuyLimitTx :创建买单交易
func CreateRawTradeBuyTx ¶
func CreateRawTradeBuyTx(parm *TradeBuyTx) (*types.Transaction, error)
CreateRawTradeBuyTx :创建想指定卖单发起的买单交易
func CreateRawTradeRevokeBuyTx ¶
func CreateRawTradeRevokeBuyTx(parm *TradeRevokeBuyTx) (*types.Transaction, error)
CreateRawTradeRevokeBuyTx : 取消发起的买单交易
func CreateRawTradeRevokeTx ¶
func CreateRawTradeRevokeTx(parm *TradeRevokeTx) (*types.Transaction, error)
CreateRawTradeRevokeTx :创建取消卖单的交易
func CreateRawTradeSellMarketTx ¶
func CreateRawTradeSellMarketTx(parm *TradeSellMarketTx) (*types.Transaction, error)
CreateRawTradeSellMarketTx : 创建向指定买单出售token的卖单交易
func CreateRawTradeSellTx ¶
func CreateRawTradeSellTx(parm *TradeSellTx) (*types.Transaction, error)
CreateRawTradeSellTx : 创建卖单交易
func RegisterTradeServer ¶
func RegisterTradeServer(s *grpc.Server, srv TradeServer)
Types ¶
type BuyLimitOrder ¶
type BuyLimitOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` AmountPerBoardlot int64 `protobuf:"varint,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot int64 `protobuf:"varint,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` BoughtBoardlot int64 `protobuf:"varint,7,opt,name=boughtBoardlot,proto3" json:"boughtBoardlot,omitempty"` BuyID string `protobuf:"bytes,8,opt,name=buyID,proto3" json:"buyID,omitempty"` Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` Height int64 `protobuf:"varint,10,opt,name=height,proto3" json:"height,omitempty"` AssetExec string `protobuf:"bytes,11,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
限价买单数据库记录
func (*BuyLimitOrder) Descriptor ¶
func (*BuyLimitOrder) Descriptor() ([]byte, []int)
func (*BuyLimitOrder) GetAddress ¶
func (m *BuyLimitOrder) GetAddress() string
func (*BuyLimitOrder) GetAmountPerBoardlot ¶
func (m *BuyLimitOrder) GetAmountPerBoardlot() int64
func (*BuyLimitOrder) GetAssetExec ¶
func (m *BuyLimitOrder) GetAssetExec() string
func (*BuyLimitOrder) GetBoughtBoardlot ¶
func (m *BuyLimitOrder) GetBoughtBoardlot() int64
func (*BuyLimitOrder) GetBuyID ¶
func (m *BuyLimitOrder) GetBuyID() string
func (*BuyLimitOrder) GetHeight ¶
func (m *BuyLimitOrder) GetHeight() int64
func (*BuyLimitOrder) GetMinBoardlot ¶
func (m *BuyLimitOrder) GetMinBoardlot() int64
func (*BuyLimitOrder) GetPricePerBoardlot ¶
func (m *BuyLimitOrder) GetPricePerBoardlot() int64
func (*BuyLimitOrder) GetStatus ¶
func (m *BuyLimitOrder) GetStatus() int32
func (*BuyLimitOrder) GetTokenSymbol ¶
func (m *BuyLimitOrder) GetTokenSymbol() string
func (*BuyLimitOrder) GetTotalBoardlot ¶
func (m *BuyLimitOrder) GetTotalBoardlot() int64
func (*BuyLimitOrder) ProtoMessage ¶
func (*BuyLimitOrder) ProtoMessage()
func (*BuyLimitOrder) Reset ¶
func (m *BuyLimitOrder) Reset()
func (*BuyLimitOrder) String ¶
func (m *BuyLimitOrder) String() string
func (*BuyLimitOrder) XXX_DiscardUnknown ¶
func (m *BuyLimitOrder) XXX_DiscardUnknown()
func (*BuyLimitOrder) XXX_Marshal ¶
func (m *BuyLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuyLimitOrder) XXX_Merge ¶
func (m *BuyLimitOrder) XXX_Merge(src proto.Message)
func (*BuyLimitOrder) XXX_Size ¶
func (m *BuyLimitOrder) XXX_Size() int
func (*BuyLimitOrder) XXX_Unmarshal ¶
func (m *BuyLimitOrder) XXX_Unmarshal(b []byte) error
type LocalOrder ¶
type LocalOrder struct { AssetSymbol string `protobuf:"bytes,1,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` AmountPerBoardlot int64 `protobuf:"varint,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot int64 `protobuf:"varint,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` TradedBoardlot int64 `protobuf:"varint,7,opt,name=tradedBoardlot,proto3" json:"tradedBoardlot,omitempty"` BuyID string `protobuf:"bytes,8,opt,name=buyID,proto3" json:"buyID,omitempty"` Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` SellID string `protobuf:"bytes,10,opt,name=sellID,proto3" json:"sellID,omitempty"` TxHash []string `protobuf:"bytes,11,rep,name=txHash,proto3" json:"txHash,omitempty"` Height int64 `protobuf:"varint,12,opt,name=height,proto3" json:"height,omitempty"` Key string `protobuf:"bytes,13,opt,name=key,proto3" json:"key,omitempty"` BlockTime int64 `protobuf:"varint,14,opt,name=blockTime,proto3" json:"blockTime,omitempty"` IsSellOrder bool `protobuf:"varint,15,opt,name=isSellOrder,proto3" json:"isSellOrder,omitempty"` AssetExec string `protobuf:"bytes,16,opt,name=assetExec,proto3" json:"assetExec,omitempty"` TxIndex string `protobuf:"bytes,17,opt,name=txIndex,proto3" json:"txIndex,omitempty"` IsFinished bool `protobuf:"varint,18,opt,name=isFinished,proto3" json:"isFinished,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalOrder) Descriptor ¶
func (*LocalOrder) Descriptor() ([]byte, []int)
func (*LocalOrder) GetAmountPerBoardlot ¶
func (m *LocalOrder) GetAmountPerBoardlot() int64
func (*LocalOrder) GetAssetExec ¶
func (m *LocalOrder) GetAssetExec() string
func (*LocalOrder) GetAssetSymbol ¶
func (m *LocalOrder) GetAssetSymbol() string
func (*LocalOrder) GetBlockTime ¶
func (m *LocalOrder) GetBlockTime() int64
func (*LocalOrder) GetBuyID ¶
func (m *LocalOrder) GetBuyID() string
func (*LocalOrder) GetHeight ¶
func (m *LocalOrder) GetHeight() int64
func (*LocalOrder) GetIsFinished ¶
func (m *LocalOrder) GetIsFinished() bool
func (*LocalOrder) GetIsSellOrder ¶
func (m *LocalOrder) GetIsSellOrder() bool
func (*LocalOrder) GetKey ¶
func (m *LocalOrder) GetKey() string
func (*LocalOrder) GetMinBoardlot ¶
func (m *LocalOrder) GetMinBoardlot() int64
func (*LocalOrder) GetOwner ¶
func (m *LocalOrder) GetOwner() string
func (*LocalOrder) GetPricePerBoardlot ¶
func (m *LocalOrder) GetPricePerBoardlot() int64
func (*LocalOrder) GetSellID ¶
func (m *LocalOrder) GetSellID() string
func (*LocalOrder) GetStatus ¶
func (m *LocalOrder) GetStatus() int32
func (*LocalOrder) GetTotalBoardlot ¶
func (m *LocalOrder) GetTotalBoardlot() int64
func (*LocalOrder) GetTradedBoardlot ¶
func (m *LocalOrder) GetTradedBoardlot() int64
func (*LocalOrder) GetTxHash ¶
func (m *LocalOrder) GetTxHash() []string
func (*LocalOrder) GetTxIndex ¶
func (m *LocalOrder) GetTxIndex() string
func (*LocalOrder) ProtoMessage ¶
func (*LocalOrder) ProtoMessage()
func (*LocalOrder) Reset ¶
func (m *LocalOrder) Reset()
func (*LocalOrder) String ¶
func (m *LocalOrder) String() string
func (*LocalOrder) XXX_DiscardUnknown ¶
func (m *LocalOrder) XXX_DiscardUnknown()
func (*LocalOrder) XXX_Marshal ¶
func (m *LocalOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalOrder) XXX_Merge ¶
func (m *LocalOrder) XXX_Merge(src proto.Message)
func (*LocalOrder) XXX_Size ¶
func (m *LocalOrder) XXX_Size() int
func (*LocalOrder) XXX_Unmarshal ¶
func (m *LocalOrder) XXX_Unmarshal(b []byte) error
type ReceiptBuyBase ¶
type ReceiptBuyBase struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` AmountPerBoardlot string `protobuf:"bytes,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot string `protobuf:"bytes,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` BoughtBoardlot int64 `protobuf:"varint,7,opt,name=boughtBoardlot,proto3" json:"boughtBoardlot,omitempty"` BuyID string `protobuf:"bytes,8,opt,name=buyID,proto3" json:"buyID,omitempty"` Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` SellID string `protobuf:"bytes,10,opt,name=sellID,proto3" json:"sellID,omitempty"` TxHash string `protobuf:"bytes,11,opt,name=txHash,proto3" json:"txHash,omitempty"` Height int64 `protobuf:"varint,12,opt,name=height,proto3" json:"height,omitempty"` AssetExec string `protobuf:"bytes,13,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
执行器日志部分
func (*ReceiptBuyBase) Descriptor ¶
func (*ReceiptBuyBase) Descriptor() ([]byte, []int)
func (*ReceiptBuyBase) GetAmountPerBoardlot ¶
func (m *ReceiptBuyBase) GetAmountPerBoardlot() string
func (*ReceiptBuyBase) GetAssetExec ¶
func (m *ReceiptBuyBase) GetAssetExec() string
func (*ReceiptBuyBase) GetBoughtBoardlot ¶
func (m *ReceiptBuyBase) GetBoughtBoardlot() int64
func (*ReceiptBuyBase) GetBuyID ¶
func (m *ReceiptBuyBase) GetBuyID() string
func (*ReceiptBuyBase) GetHeight ¶
func (m *ReceiptBuyBase) GetHeight() int64
func (*ReceiptBuyBase) GetMinBoardlot ¶
func (m *ReceiptBuyBase) GetMinBoardlot() int64
func (*ReceiptBuyBase) GetOwner ¶
func (m *ReceiptBuyBase) GetOwner() string
func (*ReceiptBuyBase) GetPricePerBoardlot ¶
func (m *ReceiptBuyBase) GetPricePerBoardlot() string
func (*ReceiptBuyBase) GetSellID ¶
func (m *ReceiptBuyBase) GetSellID() string
func (*ReceiptBuyBase) GetStatus ¶
func (m *ReceiptBuyBase) GetStatus() string
func (*ReceiptBuyBase) GetTokenSymbol ¶
func (m *ReceiptBuyBase) GetTokenSymbol() string
func (*ReceiptBuyBase) GetTotalBoardlot ¶
func (m *ReceiptBuyBase) GetTotalBoardlot() int64
func (*ReceiptBuyBase) GetTxHash ¶
func (m *ReceiptBuyBase) GetTxHash() string
func (*ReceiptBuyBase) ProtoMessage ¶
func (*ReceiptBuyBase) ProtoMessage()
func (*ReceiptBuyBase) Reset ¶
func (m *ReceiptBuyBase) Reset()
func (*ReceiptBuyBase) String ¶
func (m *ReceiptBuyBase) String() string
func (*ReceiptBuyBase) XXX_DiscardUnknown ¶
func (m *ReceiptBuyBase) XXX_DiscardUnknown()
func (*ReceiptBuyBase) XXX_Marshal ¶
func (m *ReceiptBuyBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptBuyBase) XXX_Merge ¶
func (m *ReceiptBuyBase) XXX_Merge(src proto.Message)
func (*ReceiptBuyBase) XXX_Size ¶
func (m *ReceiptBuyBase) XXX_Size() int
func (*ReceiptBuyBase) XXX_Unmarshal ¶
func (m *ReceiptBuyBase) XXX_Unmarshal(b []byte) error
type ReceiptSellBase ¶
type ReceiptSellBase struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` //每一手出售的token的数量 AmountPerBoardlot string `protobuf:"bytes,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` //每一手token的价格 PricePerBoardlot string `protobuf:"bytes,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` SoldBoardlot int64 `protobuf:"varint,7,opt,name=soldBoardlot,proto3" json:"soldBoardlot,omitempty"` //此次出售的起始时间,如果非众筹则可以忽略此时间 Starttime int64 `protobuf:"varint,8,opt,name=starttime,proto3" json:"starttime,omitempty"` Stoptime int64 `protobuf:"varint,9,opt,name=stoptime,proto3" json:"stoptime,omitempty"` Crowdfund bool `protobuf:"varint,10,opt,name=crowdfund,proto3" json:"crowdfund,omitempty"` //此处使用tx的hash来指定 SellID string `protobuf:"bytes,11,opt,name=sellID,proto3" json:"sellID,omitempty"` Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"` // buyid BuyID string `protobuf:"bytes,13,opt,name=buyID,proto3" json:"buyID,omitempty"` TxHash string `protobuf:"bytes,14,opt,name=txHash,proto3" json:"txHash,omitempty"` Height int64 `protobuf:"varint,15,opt,name=height,proto3" json:"height,omitempty"` AssetExec string `protobuf:"bytes,16,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptSellBase) Descriptor ¶
func (*ReceiptSellBase) Descriptor() ([]byte, []int)
func (*ReceiptSellBase) GetAmountPerBoardlot ¶
func (m *ReceiptSellBase) GetAmountPerBoardlot() string
func (*ReceiptSellBase) GetAssetExec ¶
func (m *ReceiptSellBase) GetAssetExec() string
func (*ReceiptSellBase) GetBuyID ¶
func (m *ReceiptSellBase) GetBuyID() string
func (*ReceiptSellBase) GetCrowdfund ¶
func (m *ReceiptSellBase) GetCrowdfund() bool
func (*ReceiptSellBase) GetHeight ¶
func (m *ReceiptSellBase) GetHeight() int64
func (*ReceiptSellBase) GetMinBoardlot ¶
func (m *ReceiptSellBase) GetMinBoardlot() int64
func (*ReceiptSellBase) GetOwner ¶
func (m *ReceiptSellBase) GetOwner() string
func (*ReceiptSellBase) GetPricePerBoardlot ¶
func (m *ReceiptSellBase) GetPricePerBoardlot() string
func (*ReceiptSellBase) GetSellID ¶
func (m *ReceiptSellBase) GetSellID() string
func (*ReceiptSellBase) GetSoldBoardlot ¶
func (m *ReceiptSellBase) GetSoldBoardlot() int64
func (*ReceiptSellBase) GetStarttime ¶
func (m *ReceiptSellBase) GetStarttime() int64
func (*ReceiptSellBase) GetStatus ¶
func (m *ReceiptSellBase) GetStatus() string
func (*ReceiptSellBase) GetStoptime ¶
func (m *ReceiptSellBase) GetStoptime() int64
func (*ReceiptSellBase) GetTokenSymbol ¶
func (m *ReceiptSellBase) GetTokenSymbol() string
func (*ReceiptSellBase) GetTotalBoardlot ¶
func (m *ReceiptSellBase) GetTotalBoardlot() int64
func (*ReceiptSellBase) GetTxHash ¶
func (m *ReceiptSellBase) GetTxHash() string
func (*ReceiptSellBase) ProtoMessage ¶
func (*ReceiptSellBase) ProtoMessage()
func (*ReceiptSellBase) Reset ¶
func (m *ReceiptSellBase) Reset()
func (*ReceiptSellBase) String ¶
func (m *ReceiptSellBase) String() string
func (*ReceiptSellBase) XXX_DiscardUnknown ¶
func (m *ReceiptSellBase) XXX_DiscardUnknown()
func (*ReceiptSellBase) XXX_Marshal ¶
func (m *ReceiptSellBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptSellBase) XXX_Merge ¶
func (m *ReceiptSellBase) XXX_Merge(src proto.Message)
func (*ReceiptSellBase) XXX_Size ¶
func (m *ReceiptSellBase) XXX_Size() int
func (*ReceiptSellBase) XXX_Unmarshal ¶
func (m *ReceiptSellBase) XXX_Unmarshal(b []byte) error
type ReceiptSellMarket ¶
type ReceiptSellMarket struct { Base *ReceiptSellBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptSellMarket) Descriptor ¶
func (*ReceiptSellMarket) Descriptor() ([]byte, []int)
func (*ReceiptSellMarket) GetBase ¶
func (m *ReceiptSellMarket) GetBase() *ReceiptSellBase
func (*ReceiptSellMarket) ProtoMessage ¶
func (*ReceiptSellMarket) ProtoMessage()
func (*ReceiptSellMarket) Reset ¶
func (m *ReceiptSellMarket) Reset()
func (*ReceiptSellMarket) String ¶
func (m *ReceiptSellMarket) String() string
func (*ReceiptSellMarket) XXX_DiscardUnknown ¶
func (m *ReceiptSellMarket) XXX_DiscardUnknown()
func (*ReceiptSellMarket) XXX_Marshal ¶
func (m *ReceiptSellMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptSellMarket) XXX_Merge ¶
func (m *ReceiptSellMarket) XXX_Merge(src proto.Message)
func (*ReceiptSellMarket) XXX_Size ¶
func (m *ReceiptSellMarket) XXX_Size() int
func (*ReceiptSellMarket) XXX_Unmarshal ¶
func (m *ReceiptSellMarket) XXX_Unmarshal(b []byte) error
type ReceiptTradeBuyLimit ¶
type ReceiptTradeBuyLimit struct { Base *ReceiptBuyBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptTradeBuyLimit) Descriptor ¶
func (*ReceiptTradeBuyLimit) Descriptor() ([]byte, []int)
func (*ReceiptTradeBuyLimit) GetBase ¶
func (m *ReceiptTradeBuyLimit) GetBase() *ReceiptBuyBase
func (*ReceiptTradeBuyLimit) ProtoMessage ¶
func (*ReceiptTradeBuyLimit) ProtoMessage()
func (*ReceiptTradeBuyLimit) Reset ¶
func (m *ReceiptTradeBuyLimit) Reset()
func (*ReceiptTradeBuyLimit) String ¶
func (m *ReceiptTradeBuyLimit) String() string
func (*ReceiptTradeBuyLimit) XXX_DiscardUnknown ¶
func (m *ReceiptTradeBuyLimit) XXX_DiscardUnknown()
func (*ReceiptTradeBuyLimit) XXX_Marshal ¶
func (m *ReceiptTradeBuyLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptTradeBuyLimit) XXX_Merge ¶
func (m *ReceiptTradeBuyLimit) XXX_Merge(src proto.Message)
func (*ReceiptTradeBuyLimit) XXX_Size ¶
func (m *ReceiptTradeBuyLimit) XXX_Size() int
func (*ReceiptTradeBuyLimit) XXX_Unmarshal ¶
func (m *ReceiptTradeBuyLimit) XXX_Unmarshal(b []byte) error
type ReceiptTradeBuyMarket ¶
type ReceiptTradeBuyMarket struct { Base *ReceiptBuyBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptTradeBuyMarket) Descriptor ¶
func (*ReceiptTradeBuyMarket) Descriptor() ([]byte, []int)
func (*ReceiptTradeBuyMarket) GetBase ¶
func (m *ReceiptTradeBuyMarket) GetBase() *ReceiptBuyBase
func (*ReceiptTradeBuyMarket) ProtoMessage ¶
func (*ReceiptTradeBuyMarket) ProtoMessage()
func (*ReceiptTradeBuyMarket) Reset ¶
func (m *ReceiptTradeBuyMarket) Reset()
func (*ReceiptTradeBuyMarket) String ¶
func (m *ReceiptTradeBuyMarket) String() string
func (*ReceiptTradeBuyMarket) XXX_DiscardUnknown ¶
func (m *ReceiptTradeBuyMarket) XXX_DiscardUnknown()
func (*ReceiptTradeBuyMarket) XXX_Marshal ¶
func (m *ReceiptTradeBuyMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptTradeBuyMarket) XXX_Merge ¶
func (m *ReceiptTradeBuyMarket) XXX_Merge(src proto.Message)
func (*ReceiptTradeBuyMarket) XXX_Size ¶
func (m *ReceiptTradeBuyMarket) XXX_Size() int
func (*ReceiptTradeBuyMarket) XXX_Unmarshal ¶
func (m *ReceiptTradeBuyMarket) XXX_Unmarshal(b []byte) error
type ReceiptTradeBuyRevoke ¶
type ReceiptTradeBuyRevoke struct { Base *ReceiptBuyBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptTradeBuyRevoke) Descriptor ¶
func (*ReceiptTradeBuyRevoke) Descriptor() ([]byte, []int)
func (*ReceiptTradeBuyRevoke) GetBase ¶
func (m *ReceiptTradeBuyRevoke) GetBase() *ReceiptBuyBase
func (*ReceiptTradeBuyRevoke) ProtoMessage ¶
func (*ReceiptTradeBuyRevoke) ProtoMessage()
func (*ReceiptTradeBuyRevoke) Reset ¶
func (m *ReceiptTradeBuyRevoke) Reset()
func (*ReceiptTradeBuyRevoke) String ¶
func (m *ReceiptTradeBuyRevoke) String() string
func (*ReceiptTradeBuyRevoke) XXX_DiscardUnknown ¶
func (m *ReceiptTradeBuyRevoke) XXX_DiscardUnknown()
func (*ReceiptTradeBuyRevoke) XXX_Marshal ¶
func (m *ReceiptTradeBuyRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptTradeBuyRevoke) XXX_Merge ¶
func (m *ReceiptTradeBuyRevoke) XXX_Merge(src proto.Message)
func (*ReceiptTradeBuyRevoke) XXX_Size ¶
func (m *ReceiptTradeBuyRevoke) XXX_Size() int
func (*ReceiptTradeBuyRevoke) XXX_Unmarshal ¶
func (m *ReceiptTradeBuyRevoke) XXX_Unmarshal(b []byte) error
type ReceiptTradeSellLimit ¶
type ReceiptTradeSellLimit struct { Base *ReceiptSellBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptTradeSellLimit) Descriptor ¶
func (*ReceiptTradeSellLimit) Descriptor() ([]byte, []int)
func (*ReceiptTradeSellLimit) GetBase ¶
func (m *ReceiptTradeSellLimit) GetBase() *ReceiptSellBase
func (*ReceiptTradeSellLimit) ProtoMessage ¶
func (*ReceiptTradeSellLimit) ProtoMessage()
func (*ReceiptTradeSellLimit) Reset ¶
func (m *ReceiptTradeSellLimit) Reset()
func (*ReceiptTradeSellLimit) String ¶
func (m *ReceiptTradeSellLimit) String() string
func (*ReceiptTradeSellLimit) XXX_DiscardUnknown ¶
func (m *ReceiptTradeSellLimit) XXX_DiscardUnknown()
func (*ReceiptTradeSellLimit) XXX_Marshal ¶
func (m *ReceiptTradeSellLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptTradeSellLimit) XXX_Merge ¶
func (m *ReceiptTradeSellLimit) XXX_Merge(src proto.Message)
func (*ReceiptTradeSellLimit) XXX_Size ¶
func (m *ReceiptTradeSellLimit) XXX_Size() int
func (*ReceiptTradeSellLimit) XXX_Unmarshal ¶
func (m *ReceiptTradeSellLimit) XXX_Unmarshal(b []byte) error
type ReceiptTradeSellRevoke ¶
type ReceiptTradeSellRevoke struct { Base *ReceiptSellBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptTradeSellRevoke) Descriptor ¶
func (*ReceiptTradeSellRevoke) Descriptor() ([]byte, []int)
func (*ReceiptTradeSellRevoke) GetBase ¶
func (m *ReceiptTradeSellRevoke) GetBase() *ReceiptSellBase
func (*ReceiptTradeSellRevoke) ProtoMessage ¶
func (*ReceiptTradeSellRevoke) ProtoMessage()
func (*ReceiptTradeSellRevoke) Reset ¶
func (m *ReceiptTradeSellRevoke) Reset()
func (*ReceiptTradeSellRevoke) String ¶
func (m *ReceiptTradeSellRevoke) String() string
func (*ReceiptTradeSellRevoke) XXX_DiscardUnknown ¶
func (m *ReceiptTradeSellRevoke) XXX_DiscardUnknown()
func (*ReceiptTradeSellRevoke) XXX_Marshal ¶
func (m *ReceiptTradeSellRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptTradeSellRevoke) XXX_Merge ¶
func (m *ReceiptTradeSellRevoke) XXX_Merge(src proto.Message)
func (*ReceiptTradeSellRevoke) XXX_Size ¶
func (m *ReceiptTradeSellRevoke) XXX_Size() int
func (*ReceiptTradeSellRevoke) XXX_Unmarshal ¶
func (m *ReceiptTradeSellRevoke) XXX_Unmarshal(b []byte) error
type ReplyBuyOrder ¶
type ReplyBuyOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` AmountPerBoardlot int64 `protobuf:"varint,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot int64 `protobuf:"varint,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` BoughtBoardlot int64 `protobuf:"varint,7,opt,name=boughtBoardlot,proto3" json:"boughtBoardlot,omitempty"` BuyID string `protobuf:"bytes,8,opt,name=buyID,proto3" json:"buyID,omitempty"` Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` SellID string `protobuf:"bytes,10,opt,name=sellID,proto3" json:"sellID,omitempty"` TxHash string `protobuf:"bytes,11,opt,name=txHash,proto3" json:"txHash,omitempty"` Height int64 `protobuf:"varint,12,opt,name=height,proto3" json:"height,omitempty"` Key string `protobuf:"bytes,13,opt,name=key,proto3" json:"key,omitempty"` AssetExec string `protobuf:"bytes,14,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyBuyOrder) Descriptor ¶
func (*ReplyBuyOrder) Descriptor() ([]byte, []int)
func (*ReplyBuyOrder) GetAmountPerBoardlot ¶
func (m *ReplyBuyOrder) GetAmountPerBoardlot() int64
func (*ReplyBuyOrder) GetAssetExec ¶
func (m *ReplyBuyOrder) GetAssetExec() string
func (*ReplyBuyOrder) GetBoughtBoardlot ¶
func (m *ReplyBuyOrder) GetBoughtBoardlot() int64
func (*ReplyBuyOrder) GetBuyID ¶
func (m *ReplyBuyOrder) GetBuyID() string
func (*ReplyBuyOrder) GetHeight ¶
func (m *ReplyBuyOrder) GetHeight() int64
func (*ReplyBuyOrder) GetKey ¶
func (m *ReplyBuyOrder) GetKey() string
func (*ReplyBuyOrder) GetMinBoardlot ¶
func (m *ReplyBuyOrder) GetMinBoardlot() int64
func (*ReplyBuyOrder) GetOwner ¶
func (m *ReplyBuyOrder) GetOwner() string
func (*ReplyBuyOrder) GetPricePerBoardlot ¶
func (m *ReplyBuyOrder) GetPricePerBoardlot() int64
func (*ReplyBuyOrder) GetSellID ¶
func (m *ReplyBuyOrder) GetSellID() string
func (*ReplyBuyOrder) GetStatus ¶
func (m *ReplyBuyOrder) GetStatus() int32
func (*ReplyBuyOrder) GetTokenSymbol ¶
func (m *ReplyBuyOrder) GetTokenSymbol() string
func (*ReplyBuyOrder) GetTotalBoardlot ¶
func (m *ReplyBuyOrder) GetTotalBoardlot() int64
func (*ReplyBuyOrder) GetTxHash ¶
func (m *ReplyBuyOrder) GetTxHash() string
func (*ReplyBuyOrder) ProtoMessage ¶
func (*ReplyBuyOrder) ProtoMessage()
func (*ReplyBuyOrder) Reset ¶
func (m *ReplyBuyOrder) Reset()
func (*ReplyBuyOrder) String ¶
func (m *ReplyBuyOrder) String() string
func (*ReplyBuyOrder) XXX_DiscardUnknown ¶
func (m *ReplyBuyOrder) XXX_DiscardUnknown()
func (*ReplyBuyOrder) XXX_Marshal ¶
func (m *ReplyBuyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyBuyOrder) XXX_Merge ¶
func (m *ReplyBuyOrder) XXX_Merge(src proto.Message)
func (*ReplyBuyOrder) XXX_Size ¶
func (m *ReplyBuyOrder) XXX_Size() int
func (*ReplyBuyOrder) XXX_Unmarshal ¶
func (m *ReplyBuyOrder) XXX_Unmarshal(b []byte) error
type ReplyBuyOrders ¶
type ReplyBuyOrders struct { BuyOrders []*ReplyBuyOrder `protobuf:"bytes,1,rep,name=buyOrders,proto3" json:"buyOrders,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyBuyOrders) Descriptor ¶
func (*ReplyBuyOrders) Descriptor() ([]byte, []int)
func (*ReplyBuyOrders) GetBuyOrders ¶
func (m *ReplyBuyOrders) GetBuyOrders() []*ReplyBuyOrder
func (*ReplyBuyOrders) ProtoMessage ¶
func (*ReplyBuyOrders) ProtoMessage()
func (*ReplyBuyOrders) Reset ¶
func (m *ReplyBuyOrders) Reset()
func (*ReplyBuyOrders) String ¶
func (m *ReplyBuyOrders) String() string
func (*ReplyBuyOrders) XXX_DiscardUnknown ¶
func (m *ReplyBuyOrders) XXX_DiscardUnknown()
func (*ReplyBuyOrders) XXX_Marshal ¶
func (m *ReplyBuyOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyBuyOrders) XXX_Merge ¶
func (m *ReplyBuyOrders) XXX_Merge(src proto.Message)
func (*ReplyBuyOrders) XXX_Size ¶
func (m *ReplyBuyOrders) XXX_Size() int
func (*ReplyBuyOrders) XXX_Unmarshal ¶
func (m *ReplyBuyOrders) XXX_Unmarshal(b []byte) error
type ReplySellOrder ¶
type ReplySellOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` AmountPerBoardlot int64 `protobuf:"varint,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot int64 `protobuf:"varint,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` SoldBoardlot int64 `protobuf:"varint,7,opt,name=soldBoardlot,proto3" json:"soldBoardlot,omitempty"` BuyID string `protobuf:"bytes,8,opt,name=buyID,proto3" json:"buyID,omitempty"` Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` SellID string `protobuf:"bytes,10,opt,name=sellID,proto3" json:"sellID,omitempty"` TxHash string `protobuf:"bytes,11,opt,name=txHash,proto3" json:"txHash,omitempty"` Height int64 `protobuf:"varint,12,opt,name=height,proto3" json:"height,omitempty"` Key string `protobuf:"bytes,13,opt,name=key,proto3" json:"key,omitempty"` AssetExec string `protobuf:"bytes,14,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySellOrder) Descriptor ¶
func (*ReplySellOrder) Descriptor() ([]byte, []int)
func (*ReplySellOrder) GetAmountPerBoardlot ¶
func (m *ReplySellOrder) GetAmountPerBoardlot() int64
func (*ReplySellOrder) GetAssetExec ¶
func (m *ReplySellOrder) GetAssetExec() string
func (*ReplySellOrder) GetBuyID ¶
func (m *ReplySellOrder) GetBuyID() string
func (*ReplySellOrder) GetHeight ¶
func (m *ReplySellOrder) GetHeight() int64
func (*ReplySellOrder) GetKey ¶
func (m *ReplySellOrder) GetKey() string
func (*ReplySellOrder) GetMinBoardlot ¶
func (m *ReplySellOrder) GetMinBoardlot() int64
func (*ReplySellOrder) GetOwner ¶
func (m *ReplySellOrder) GetOwner() string
func (*ReplySellOrder) GetPricePerBoardlot ¶
func (m *ReplySellOrder) GetPricePerBoardlot() int64
func (*ReplySellOrder) GetSellID ¶
func (m *ReplySellOrder) GetSellID() string
func (*ReplySellOrder) GetSoldBoardlot ¶
func (m *ReplySellOrder) GetSoldBoardlot() int64
func (*ReplySellOrder) GetStatus ¶
func (m *ReplySellOrder) GetStatus() int32
func (*ReplySellOrder) GetTokenSymbol ¶
func (m *ReplySellOrder) GetTokenSymbol() string
func (*ReplySellOrder) GetTotalBoardlot ¶
func (m *ReplySellOrder) GetTotalBoardlot() int64
func (*ReplySellOrder) GetTxHash ¶
func (m *ReplySellOrder) GetTxHash() string
func (*ReplySellOrder) ProtoMessage ¶
func (*ReplySellOrder) ProtoMessage()
func (*ReplySellOrder) Reset ¶
func (m *ReplySellOrder) Reset()
func (*ReplySellOrder) String ¶
func (m *ReplySellOrder) String() string
func (*ReplySellOrder) XXX_DiscardUnknown ¶
func (m *ReplySellOrder) XXX_DiscardUnknown()
func (*ReplySellOrder) XXX_Marshal ¶
func (m *ReplySellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySellOrder) XXX_Merge ¶
func (m *ReplySellOrder) XXX_Merge(src proto.Message)
func (*ReplySellOrder) XXX_Size ¶
func (m *ReplySellOrder) XXX_Size() int
func (*ReplySellOrder) XXX_Unmarshal ¶
func (m *ReplySellOrder) XXX_Unmarshal(b []byte) error
type ReplySellOrders ¶
type ReplySellOrders struct { SellOrders []*ReplySellOrder `protobuf:"bytes,1,rep,name=sellOrders,proto3" json:"sellOrders,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplySellOrders) Descriptor ¶
func (*ReplySellOrders) Descriptor() ([]byte, []int)
func (*ReplySellOrders) GetSellOrders ¶
func (m *ReplySellOrders) GetSellOrders() []*ReplySellOrder
func (*ReplySellOrders) ProtoMessage ¶
func (*ReplySellOrders) ProtoMessage()
func (*ReplySellOrders) Reset ¶
func (m *ReplySellOrders) Reset()
func (*ReplySellOrders) String ¶
func (m *ReplySellOrders) String() string
func (*ReplySellOrders) XXX_DiscardUnknown ¶
func (m *ReplySellOrders) XXX_DiscardUnknown()
func (*ReplySellOrders) XXX_Marshal ¶
func (m *ReplySellOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplySellOrders) XXX_Merge ¶
func (m *ReplySellOrders) XXX_Merge(src proto.Message)
func (*ReplySellOrders) XXX_Size ¶
func (m *ReplySellOrders) XXX_Size() int
func (*ReplySellOrders) XXX_Unmarshal ¶
func (m *ReplySellOrders) XXX_Unmarshal(b []byte) error
type ReplyTradeOrder ¶
type ReplyTradeOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` AmountPerBoardlot int64 `protobuf:"varint,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot int64 `protobuf:"varint,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` TradedBoardlot int64 `protobuf:"varint,7,opt,name=tradedBoardlot,proto3" json:"tradedBoardlot,omitempty"` BuyID string `protobuf:"bytes,8,opt,name=buyID,proto3" json:"buyID,omitempty"` Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` SellID string `protobuf:"bytes,10,opt,name=sellID,proto3" json:"sellID,omitempty"` TxHash string `protobuf:"bytes,11,opt,name=txHash,proto3" json:"txHash,omitempty"` Height int64 `protobuf:"varint,12,opt,name=height,proto3" json:"height,omitempty"` Key string `protobuf:"bytes,13,opt,name=key,proto3" json:"key,omitempty"` BlockTime int64 `protobuf:"varint,14,opt,name=blockTime,proto3" json:"blockTime,omitempty"` IsSellOrder bool `protobuf:"varint,15,opt,name=isSellOrder,proto3" json:"isSellOrder,omitempty"` AssetExec string `protobuf:"bytes,16,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTradeOrder) Descriptor ¶
func (*ReplyTradeOrder) Descriptor() ([]byte, []int)
func (*ReplyTradeOrder) GetAmountPerBoardlot ¶
func (m *ReplyTradeOrder) GetAmountPerBoardlot() int64
func (*ReplyTradeOrder) GetAssetExec ¶
func (m *ReplyTradeOrder) GetAssetExec() string
func (*ReplyTradeOrder) GetBlockTime ¶
func (m *ReplyTradeOrder) GetBlockTime() int64
func (*ReplyTradeOrder) GetBuyID ¶
func (m *ReplyTradeOrder) GetBuyID() string
func (*ReplyTradeOrder) GetHeight ¶
func (m *ReplyTradeOrder) GetHeight() int64
func (*ReplyTradeOrder) GetIsSellOrder ¶
func (m *ReplyTradeOrder) GetIsSellOrder() bool
func (*ReplyTradeOrder) GetKey ¶
func (m *ReplyTradeOrder) GetKey() string
func (*ReplyTradeOrder) GetMinBoardlot ¶
func (m *ReplyTradeOrder) GetMinBoardlot() int64
func (*ReplyTradeOrder) GetOwner ¶
func (m *ReplyTradeOrder) GetOwner() string
func (*ReplyTradeOrder) GetPricePerBoardlot ¶
func (m *ReplyTradeOrder) GetPricePerBoardlot() int64
func (*ReplyTradeOrder) GetSellID ¶
func (m *ReplyTradeOrder) GetSellID() string
func (*ReplyTradeOrder) GetStatus ¶
func (m *ReplyTradeOrder) GetStatus() int32
func (*ReplyTradeOrder) GetTokenSymbol ¶
func (m *ReplyTradeOrder) GetTokenSymbol() string
func (*ReplyTradeOrder) GetTotalBoardlot ¶
func (m *ReplyTradeOrder) GetTotalBoardlot() int64
func (*ReplyTradeOrder) GetTradedBoardlot ¶
func (m *ReplyTradeOrder) GetTradedBoardlot() int64
func (*ReplyTradeOrder) GetTxHash ¶
func (m *ReplyTradeOrder) GetTxHash() string
func (*ReplyTradeOrder) ProtoMessage ¶
func (*ReplyTradeOrder) ProtoMessage()
func (*ReplyTradeOrder) Reset ¶
func (m *ReplyTradeOrder) Reset()
func (*ReplyTradeOrder) String ¶
func (m *ReplyTradeOrder) String() string
func (*ReplyTradeOrder) XXX_DiscardUnknown ¶
func (m *ReplyTradeOrder) XXX_DiscardUnknown()
func (*ReplyTradeOrder) XXX_Marshal ¶
func (m *ReplyTradeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTradeOrder) XXX_Merge ¶
func (m *ReplyTradeOrder) XXX_Merge(src proto.Message)
func (*ReplyTradeOrder) XXX_Size ¶
func (m *ReplyTradeOrder) XXX_Size() int
func (*ReplyTradeOrder) XXX_Unmarshal ¶
func (m *ReplyTradeOrder) XXX_Unmarshal(b []byte) error
type ReplyTradeOrders ¶
type ReplyTradeOrders struct { Orders []*ReplyTradeOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyTradeOrders) Descriptor ¶
func (*ReplyTradeOrders) Descriptor() ([]byte, []int)
func (*ReplyTradeOrders) GetOrders ¶
func (m *ReplyTradeOrders) GetOrders() []*ReplyTradeOrder
func (*ReplyTradeOrders) ProtoMessage ¶
func (*ReplyTradeOrders) ProtoMessage()
func (*ReplyTradeOrders) Reset ¶
func (m *ReplyTradeOrders) Reset()
func (*ReplyTradeOrders) String ¶
func (m *ReplyTradeOrders) String() string
func (*ReplyTradeOrders) XXX_DiscardUnknown ¶
func (m *ReplyTradeOrders) XXX_DiscardUnknown()
func (*ReplyTradeOrders) XXX_Marshal ¶
func (m *ReplyTradeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyTradeOrders) XXX_Merge ¶
func (m *ReplyTradeOrders) XXX_Merge(src proto.Message)
func (*ReplyTradeOrders) XXX_Size ¶
func (m *ReplyTradeOrders) XXX_Size() int
func (*ReplyTradeOrders) XXX_Unmarshal ¶
func (m *ReplyTradeOrders) XXX_Unmarshal(b []byte) error
type ReqAddrAssets ¶
type ReqAddrAssets struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // ?? Token []string `protobuf:"bytes,3,rep,name=token,proto3" json:"token,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` FromKey string `protobuf:"bytes,6,opt,name=fromKey,proto3" json:"fromKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqAddrAssets) Descriptor ¶
func (*ReqAddrAssets) Descriptor() ([]byte, []int)
func (*ReqAddrAssets) GetAddr ¶
func (m *ReqAddrAssets) GetAddr() string
func (*ReqAddrAssets) GetCount ¶
func (m *ReqAddrAssets) GetCount() int32
func (*ReqAddrAssets) GetDirection ¶
func (m *ReqAddrAssets) GetDirection() int32
func (*ReqAddrAssets) GetFromKey ¶
func (m *ReqAddrAssets) GetFromKey() string
func (*ReqAddrAssets) GetStatus ¶
func (m *ReqAddrAssets) GetStatus() int32
func (*ReqAddrAssets) GetToken ¶
func (m *ReqAddrAssets) GetToken() []string
func (*ReqAddrAssets) ProtoMessage ¶
func (*ReqAddrAssets) ProtoMessage()
func (*ReqAddrAssets) Reset ¶
func (m *ReqAddrAssets) Reset()
func (*ReqAddrAssets) String ¶
func (m *ReqAddrAssets) String() string
func (*ReqAddrAssets) XXX_DiscardUnknown ¶
func (m *ReqAddrAssets) XXX_DiscardUnknown()
func (*ReqAddrAssets) XXX_Marshal ¶
func (m *ReqAddrAssets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqAddrAssets) XXX_Merge ¶
func (m *ReqAddrAssets) XXX_Merge(src proto.Message)
func (*ReqAddrAssets) XXX_Size ¶
func (m *ReqAddrAssets) XXX_Size() int
func (*ReqAddrAssets) XXX_Unmarshal ¶
func (m *ReqAddrAssets) XXX_Unmarshal(b []byte) error
type ReqBuyToken ¶
type ReqBuyToken struct { Buy *TradeForBuy `protobuf:"bytes,1,opt,name=buy,proto3" json:"buy,omitempty"` Buyer string `protobuf:"bytes,2,opt,name=buyer,proto3" json:"buyer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqBuyToken) Descriptor ¶
func (*ReqBuyToken) Descriptor() ([]byte, []int)
func (*ReqBuyToken) GetBuy ¶
func (m *ReqBuyToken) GetBuy() *TradeForBuy
func (*ReqBuyToken) GetBuyer ¶
func (m *ReqBuyToken) GetBuyer() string
func (*ReqBuyToken) ProtoMessage ¶
func (*ReqBuyToken) ProtoMessage()
func (*ReqBuyToken) Reset ¶
func (m *ReqBuyToken) Reset()
func (*ReqBuyToken) String ¶
func (m *ReqBuyToken) String() string
func (*ReqBuyToken) XXX_DiscardUnknown ¶
func (m *ReqBuyToken) XXX_DiscardUnknown()
func (*ReqBuyToken) XXX_Marshal ¶
func (m *ReqBuyToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqBuyToken) XXX_Merge ¶
func (m *ReqBuyToken) XXX_Merge(src proto.Message)
func (*ReqBuyToken) XXX_Size ¶
func (m *ReqBuyToken) XXX_Size() int
func (*ReqBuyToken) XXX_Unmarshal ¶
func (m *ReqBuyToken) XXX_Unmarshal(b []byte) error
type ReqRevokeSell ¶
type ReqRevokeSell struct { Revoke *TradeForRevokeSell `protobuf:"bytes,1,opt,name=revoke,proto3" json:"revoke,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqRevokeSell) Descriptor ¶
func (*ReqRevokeSell) Descriptor() ([]byte, []int)
func (*ReqRevokeSell) GetOwner ¶
func (m *ReqRevokeSell) GetOwner() string
func (*ReqRevokeSell) GetRevoke ¶
func (m *ReqRevokeSell) GetRevoke() *TradeForRevokeSell
func (*ReqRevokeSell) ProtoMessage ¶
func (*ReqRevokeSell) ProtoMessage()
func (*ReqRevokeSell) Reset ¶
func (m *ReqRevokeSell) Reset()
func (*ReqRevokeSell) String ¶
func (m *ReqRevokeSell) String() string
func (*ReqRevokeSell) XXX_DiscardUnknown ¶
func (m *ReqRevokeSell) XXX_DiscardUnknown()
func (*ReqRevokeSell) XXX_Marshal ¶
func (m *ReqRevokeSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqRevokeSell) XXX_Merge ¶
func (m *ReqRevokeSell) XXX_Merge(src proto.Message)
func (*ReqRevokeSell) XXX_Size ¶
func (m *ReqRevokeSell) XXX_Size() int
func (*ReqRevokeSell) XXX_Unmarshal ¶
func (m *ReqRevokeSell) XXX_Unmarshal(b []byte) error
type ReqSellToken ¶
type ReqSellToken struct { Sell *TradeForSell `protobuf:"bytes,1,opt,name=sell,proto3" json:"sell,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqSellToken) Descriptor ¶
func (*ReqSellToken) Descriptor() ([]byte, []int)
func (*ReqSellToken) GetOwner ¶
func (m *ReqSellToken) GetOwner() string
func (*ReqSellToken) GetSell ¶
func (m *ReqSellToken) GetSell() *TradeForSell
func (*ReqSellToken) ProtoMessage ¶
func (*ReqSellToken) ProtoMessage()
func (*ReqSellToken) Reset ¶
func (m *ReqSellToken) Reset()
func (*ReqSellToken) String ¶
func (m *ReqSellToken) String() string
func (*ReqSellToken) XXX_DiscardUnknown ¶
func (m *ReqSellToken) XXX_DiscardUnknown()
func (*ReqSellToken) XXX_Marshal ¶
func (m *ReqSellToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSellToken) XXX_Merge ¶
func (m *ReqSellToken) XXX_Merge(src proto.Message)
func (*ReqSellToken) XXX_Size ¶
func (m *ReqSellToken) XXX_Size() int
func (*ReqSellToken) XXX_Unmarshal ¶
func (m *ReqSellToken) XXX_Unmarshal(b []byte) error
type ReqTokenBuyOrder ¶
type ReqTokenBuyOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` FromKey string `protobuf:"bytes,2,opt,name=fromKey,proto3" json:"fromKey,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqTokenBuyOrder) Descriptor ¶
func (*ReqTokenBuyOrder) Descriptor() ([]byte, []int)
func (*ReqTokenBuyOrder) GetCount ¶
func (m *ReqTokenBuyOrder) GetCount() int32
func (*ReqTokenBuyOrder) GetDirection ¶
func (m *ReqTokenBuyOrder) GetDirection() int32
func (*ReqTokenBuyOrder) GetFromKey ¶
func (m *ReqTokenBuyOrder) GetFromKey() string
func (*ReqTokenBuyOrder) GetStatus ¶
func (m *ReqTokenBuyOrder) GetStatus() int32
func (*ReqTokenBuyOrder) GetTokenSymbol ¶
func (m *ReqTokenBuyOrder) GetTokenSymbol() string
func (*ReqTokenBuyOrder) ProtoMessage ¶
func (*ReqTokenBuyOrder) ProtoMessage()
func (*ReqTokenBuyOrder) Reset ¶
func (m *ReqTokenBuyOrder) Reset()
func (*ReqTokenBuyOrder) String ¶
func (m *ReqTokenBuyOrder) String() string
func (*ReqTokenBuyOrder) XXX_DiscardUnknown ¶
func (m *ReqTokenBuyOrder) XXX_DiscardUnknown()
func (*ReqTokenBuyOrder) XXX_Marshal ¶
func (m *ReqTokenBuyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTokenBuyOrder) XXX_Merge ¶
func (m *ReqTokenBuyOrder) XXX_Merge(src proto.Message)
func (*ReqTokenBuyOrder) XXX_Size ¶
func (m *ReqTokenBuyOrder) XXX_Size() int
func (*ReqTokenBuyOrder) XXX_Unmarshal ¶
func (m *ReqTokenBuyOrder) XXX_Unmarshal(b []byte) error
type ReqTokenSellOrder ¶
type ReqTokenSellOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` FromKey string `protobuf:"bytes,2,opt,name=fromKey,proto3" json:"fromKey,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
获取Token未完成卖单的交易列表
fromKey : 第一次传参为空,获取卖单单价最低的列表。 当要获得下一页时,
传当前页最后一个;当要获得上一页时, 传当前页第一个。 count :获取交易列表的个数。 direction :查找方式;0,上一页;1,下一页。 越靠后的也单价越贵
func (*ReqTokenSellOrder) Descriptor ¶
func (*ReqTokenSellOrder) Descriptor() ([]byte, []int)
func (*ReqTokenSellOrder) GetCount ¶
func (m *ReqTokenSellOrder) GetCount() int32
func (*ReqTokenSellOrder) GetDirection ¶
func (m *ReqTokenSellOrder) GetDirection() int32
func (*ReqTokenSellOrder) GetFromKey ¶
func (m *ReqTokenSellOrder) GetFromKey() string
func (*ReqTokenSellOrder) GetStatus ¶
func (m *ReqTokenSellOrder) GetStatus() int32
func (*ReqTokenSellOrder) GetTokenSymbol ¶
func (m *ReqTokenSellOrder) GetTokenSymbol() string
func (*ReqTokenSellOrder) ProtoMessage ¶
func (*ReqTokenSellOrder) ProtoMessage()
func (*ReqTokenSellOrder) Reset ¶
func (m *ReqTokenSellOrder) Reset()
func (*ReqTokenSellOrder) String ¶
func (m *ReqTokenSellOrder) String() string
func (*ReqTokenSellOrder) XXX_DiscardUnknown ¶
func (m *ReqTokenSellOrder) XXX_DiscardUnknown()
func (*ReqTokenSellOrder) XXX_Marshal ¶
func (m *ReqTokenSellOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTokenSellOrder) XXX_Merge ¶
func (m *ReqTokenSellOrder) XXX_Merge(src proto.Message)
func (*ReqTokenSellOrder) XXX_Size ¶
func (m *ReqTokenSellOrder) XXX_Size() int
func (*ReqTokenSellOrder) XXX_Unmarshal ¶
func (m *ReqTokenSellOrder) XXX_Unmarshal(b []byte) error
type SellOrder ¶
type SellOrder struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` //每一手出售的token的数量 AmountPerBoardlot int64 `protobuf:"varint,3,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,4,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` //每一手token的价格 PricePerBoardlot int64 `protobuf:"varint,5,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,6,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` SoldBoardlot int64 `protobuf:"varint,7,opt,name=soldBoardlot,proto3" json:"soldBoardlot,omitempty"` //此次出售的起始时间,如果非众筹则可以忽略此时间 Starttime int64 `protobuf:"varint,8,opt,name=starttime,proto3" json:"starttime,omitempty"` Stoptime int64 `protobuf:"varint,9,opt,name=stoptime,proto3" json:"stoptime,omitempty"` Crowdfund bool `protobuf:"varint,10,opt,name=crowdfund,proto3" json:"crowdfund,omitempty"` //此处使用tx的hash来指定 SellID string `protobuf:"bytes,11,opt,name=sellID,proto3" json:"sellID,omitempty"` Status int32 `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"` Height int64 `protobuf:"varint,13,opt,name=height,proto3" json:"height,omitempty"` AssetExec string `protobuf:"bytes,14,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
数据库部分
func (*SellOrder) Descriptor ¶
func (*SellOrder) GetAddress ¶
func (*SellOrder) GetAmountPerBoardlot ¶
func (*SellOrder) GetAssetExec ¶
func (*SellOrder) GetCrowdfund ¶
func (*SellOrder) GetMinBoardlot ¶
func (*SellOrder) GetPricePerBoardlot ¶
func (*SellOrder) GetSoldBoardlot ¶
func (*SellOrder) GetStarttime ¶
func (*SellOrder) GetStoptime ¶
func (*SellOrder) GetTokenSymbol ¶
func (*SellOrder) GetTotalBoardlot ¶
func (*SellOrder) ProtoMessage ¶
func (*SellOrder) ProtoMessage()
func (*SellOrder) XXX_DiscardUnknown ¶
func (m *SellOrder) XXX_DiscardUnknown()
func (*SellOrder) XXX_Marshal ¶
func (*SellOrder) XXX_Unmarshal ¶
type Trade ¶
type Trade struct { // Types that are valid to be assigned to Value: // *Trade_SellLimit // *Trade_BuyMarket // *Trade_RevokeSell // *Trade_BuyLimit // *Trade_SellMarket // *Trade_RevokeBuy Value isTrade_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,4,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
trade 交易部分
func (*Trade) Descriptor ¶
func (*Trade) GetBuyLimit ¶
func (m *Trade) GetBuyLimit() *TradeForBuyLimit
func (*Trade) GetBuyMarket ¶
func (m *Trade) GetBuyMarket() *TradeForBuy
func (*Trade) GetRevokeBuy ¶
func (m *Trade) GetRevokeBuy() *TradeForRevokeBuy
func (*Trade) GetRevokeSell ¶
func (m *Trade) GetRevokeSell() *TradeForRevokeSell
func (*Trade) GetSellLimit ¶
func (m *Trade) GetSellLimit() *TradeForSell
func (*Trade) GetSellMarket ¶
func (m *Trade) GetSellMarket() *TradeForSellMarket
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) XXX_DiscardUnknown ¶
func (m *Trade) XXX_DiscardUnknown()
func (*Trade) XXX_Marshal ¶
func (*Trade) XXX_OneofFuncs ¶
func (*Trade) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Trade) XXX_Unmarshal ¶
type TradeBuyLimitTx ¶
type TradeBuyLimitTx struct { TokenSymbol string `json:"tokenSymbol"` AmountPerBoardlot int64 `json:"amountPerBoardlot"` MinBoardlot int64 `json:"minBoardlot"` PricePerBoardlot int64 `json:"pricePerBoardlot"` TotalBoardlot int64 `json:"totalBoardlot"` Fee int64 `json:"fee"` AssetExec string `json:"assetExec"` }
TradeBuyLimitTx :用于挂买单的信息
type TradeBuyTx ¶
type TradeBuyTx struct { SellID string `json:"sellID"` BoardlotCnt int64 `json:"boardlotCnt"` Fee int64 `json:"fee"` }
TradeBuyTx :info for buy order to speficied order
type TradeClient ¶
type TradeClient interface { CreateRawTradeSellTx(ctx context.Context, in *TradeForSell, opts ...grpc.CallOption) (*types.UnsignTx, error) CreateRawTradeBuyTx(ctx context.Context, in *TradeForBuy, opts ...grpc.CallOption) (*types.UnsignTx, error) CreateRawTradeRevokeTx(ctx context.Context, in *TradeForRevokeSell, opts ...grpc.CallOption) (*types.UnsignTx, error) CreateRawTradeBuyLimitTx(ctx context.Context, in *TradeForBuyLimit, opts ...grpc.CallOption) (*types.UnsignTx, error) CreateRawTradeSellMarketTx(ctx context.Context, in *TradeForSellMarket, opts ...grpc.CallOption) (*types.UnsignTx, error) CreateRawTradeRevokeBuyTx(ctx context.Context, in *TradeForRevokeBuy, opts ...grpc.CallOption) (*types.UnsignTx, error) }
TradeClient is the client API for Trade service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTradeClient ¶
func NewTradeClient(cc *grpc.ClientConn) TradeClient
type TradeForBuy ¶
type TradeForBuy struct { SellID string `protobuf:"bytes,1,opt,name=sellID,proto3" json:"sellID,omitempty"` BoardlotCnt int64 `protobuf:"varint,2,opt,name=boardlotCnt,proto3" json:"boardlotCnt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
购买者发起交易用来购买token持有者之前挂单出售的token 其中的hash为token出售者发起出售交易的hash
func (*TradeForBuy) Descriptor ¶
func (*TradeForBuy) Descriptor() ([]byte, []int)
func (*TradeForBuy) GetBoardlotCnt ¶
func (m *TradeForBuy) GetBoardlotCnt() int64
func (*TradeForBuy) GetSellID ¶
func (m *TradeForBuy) GetSellID() string
func (*TradeForBuy) ProtoMessage ¶
func (*TradeForBuy) ProtoMessage()
func (*TradeForBuy) Reset ¶
func (m *TradeForBuy) Reset()
func (*TradeForBuy) String ¶
func (m *TradeForBuy) String() string
func (*TradeForBuy) XXX_DiscardUnknown ¶
func (m *TradeForBuy) XXX_DiscardUnknown()
func (*TradeForBuy) XXX_Marshal ¶
func (m *TradeForBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeForBuy) XXX_Merge ¶
func (m *TradeForBuy) XXX_Merge(src proto.Message)
func (*TradeForBuy) XXX_Size ¶
func (m *TradeForBuy) XXX_Size() int
func (*TradeForBuy) XXX_Unmarshal ¶
func (m *TradeForBuy) XXX_Unmarshal(b []byte) error
type TradeForBuyLimit ¶
type TradeForBuyLimit struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` AmountPerBoardlot int64 `protobuf:"varint,2,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` MinBoardlot int64 `protobuf:"varint,3,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` PricePerBoardlot int64 `protobuf:"varint,4,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,5,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` AssetExec string `protobuf:"bytes,6,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
限价买单构造请求
func (*TradeForBuyLimit) Descriptor ¶
func (*TradeForBuyLimit) Descriptor() ([]byte, []int)
func (*TradeForBuyLimit) GetAmountPerBoardlot ¶
func (m *TradeForBuyLimit) GetAmountPerBoardlot() int64
func (*TradeForBuyLimit) GetAssetExec ¶
func (m *TradeForBuyLimit) GetAssetExec() string
func (*TradeForBuyLimit) GetMinBoardlot ¶
func (m *TradeForBuyLimit) GetMinBoardlot() int64
func (*TradeForBuyLimit) GetPricePerBoardlot ¶
func (m *TradeForBuyLimit) GetPricePerBoardlot() int64
func (*TradeForBuyLimit) GetTokenSymbol ¶
func (m *TradeForBuyLimit) GetTokenSymbol() string
func (*TradeForBuyLimit) GetTotalBoardlot ¶
func (m *TradeForBuyLimit) GetTotalBoardlot() int64
func (*TradeForBuyLimit) ProtoMessage ¶
func (*TradeForBuyLimit) ProtoMessage()
func (*TradeForBuyLimit) Reset ¶
func (m *TradeForBuyLimit) Reset()
func (*TradeForBuyLimit) String ¶
func (m *TradeForBuyLimit) String() string
func (*TradeForBuyLimit) XXX_DiscardUnknown ¶
func (m *TradeForBuyLimit) XXX_DiscardUnknown()
func (*TradeForBuyLimit) XXX_Marshal ¶
func (m *TradeForBuyLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeForBuyLimit) XXX_Merge ¶
func (m *TradeForBuyLimit) XXX_Merge(src proto.Message)
func (*TradeForBuyLimit) XXX_Size ¶
func (m *TradeForBuyLimit) XXX_Size() int
func (*TradeForBuyLimit) XXX_Unmarshal ¶
func (m *TradeForBuyLimit) XXX_Unmarshal(b []byte) error
type TradeForRevokeBuy ¶
type TradeForRevokeBuy struct { BuyID string `protobuf:"bytes,1,opt,name=buyID,proto3" json:"buyID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
撤销买单
func (*TradeForRevokeBuy) Descriptor ¶
func (*TradeForRevokeBuy) Descriptor() ([]byte, []int)
func (*TradeForRevokeBuy) GetBuyID ¶
func (m *TradeForRevokeBuy) GetBuyID() string
func (*TradeForRevokeBuy) ProtoMessage ¶
func (*TradeForRevokeBuy) ProtoMessage()
func (*TradeForRevokeBuy) Reset ¶
func (m *TradeForRevokeBuy) Reset()
func (*TradeForRevokeBuy) String ¶
func (m *TradeForRevokeBuy) String() string
func (*TradeForRevokeBuy) XXX_DiscardUnknown ¶
func (m *TradeForRevokeBuy) XXX_DiscardUnknown()
func (*TradeForRevokeBuy) XXX_Marshal ¶
func (m *TradeForRevokeBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeForRevokeBuy) XXX_Merge ¶
func (m *TradeForRevokeBuy) XXX_Merge(src proto.Message)
func (*TradeForRevokeBuy) XXX_Size ¶
func (m *TradeForRevokeBuy) XXX_Size() int
func (*TradeForRevokeBuy) XXX_Unmarshal ¶
func (m *TradeForRevokeBuy) XXX_Unmarshal(b []byte) error
type TradeForRevokeSell ¶
type TradeForRevokeSell struct { SellID string `protobuf:"bytes,1,opt,name=sellID,proto3" json:"sellID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
允许token的持有者撤销之前未成交出售token的挂单
func (*TradeForRevokeSell) Descriptor ¶
func (*TradeForRevokeSell) Descriptor() ([]byte, []int)
func (*TradeForRevokeSell) GetSellID ¶
func (m *TradeForRevokeSell) GetSellID() string
func (*TradeForRevokeSell) ProtoMessage ¶
func (*TradeForRevokeSell) ProtoMessage()
func (*TradeForRevokeSell) Reset ¶
func (m *TradeForRevokeSell) Reset()
func (*TradeForRevokeSell) String ¶
func (m *TradeForRevokeSell) String() string
func (*TradeForRevokeSell) XXX_DiscardUnknown ¶
func (m *TradeForRevokeSell) XXX_DiscardUnknown()
func (*TradeForRevokeSell) XXX_Marshal ¶
func (m *TradeForRevokeSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeForRevokeSell) XXX_Merge ¶
func (m *TradeForRevokeSell) XXX_Merge(src proto.Message)
func (*TradeForRevokeSell) XXX_Size ¶
func (m *TradeForRevokeSell) XXX_Size() int
func (*TradeForRevokeSell) XXX_Unmarshal ¶
func (m *TradeForRevokeSell) XXX_Unmarshal(b []byte) error
type TradeForSell ¶
type TradeForSell struct { TokenSymbol string `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` // 每一手出售的token的数量 AmountPerBoardlot int64 `protobuf:"varint,2,opt,name=amountPerBoardlot,proto3" json:"amountPerBoardlot,omitempty"` // 起卖手数,必须达到这个门槛才允许进行交易 MinBoardlot int64 `protobuf:"varint,3,opt,name=minBoardlot,proto3" json:"minBoardlot,omitempty"` // 每一手token的价格 PricePerBoardlot int64 `protobuf:"varint,4,opt,name=pricePerBoardlot,proto3" json:"pricePerBoardlot,omitempty"` TotalBoardlot int64 `protobuf:"varint,5,opt,name=totalBoardlot,proto3" json:"totalBoardlot,omitempty"` // 此次出售的起始时间,如果非众筹则可以忽略此时间 Starttime int64 `protobuf:"varint,6,opt,name=starttime,proto3" json:"starttime,omitempty"` Stoptime int64 `protobuf:"varint,7,opt,name=stoptime,proto3" json:"stoptime,omitempty"` Crowdfund bool `protobuf:"varint,8,opt,name=crowdfund,proto3" json:"crowdfund,omitempty"` // 资产来源 AssetExec string `protobuf:"bytes,9,opt,name=assetExec,proto3" json:"assetExec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
创建众筹交易,确定一手交易的token的数量,单价以及总共有多少手token可以进行众筹
func (*TradeForSell) Descriptor ¶
func (*TradeForSell) Descriptor() ([]byte, []int)
func (*TradeForSell) GetAmountPerBoardlot ¶
func (m *TradeForSell) GetAmountPerBoardlot() int64
func (*TradeForSell) GetAssetExec ¶
func (m *TradeForSell) GetAssetExec() string
func (*TradeForSell) GetCrowdfund ¶
func (m *TradeForSell) GetCrowdfund() bool
func (*TradeForSell) GetMinBoardlot ¶
func (m *TradeForSell) GetMinBoardlot() int64
func (*TradeForSell) GetPricePerBoardlot ¶
func (m *TradeForSell) GetPricePerBoardlot() int64
func (*TradeForSell) GetStarttime ¶
func (m *TradeForSell) GetStarttime() int64
func (*TradeForSell) GetStoptime ¶
func (m *TradeForSell) GetStoptime() int64
func (*TradeForSell) GetTokenSymbol ¶
func (m *TradeForSell) GetTokenSymbol() string
func (*TradeForSell) GetTotalBoardlot ¶
func (m *TradeForSell) GetTotalBoardlot() int64
func (*TradeForSell) ProtoMessage ¶
func (*TradeForSell) ProtoMessage()
func (*TradeForSell) Reset ¶
func (m *TradeForSell) Reset()
func (*TradeForSell) String ¶
func (m *TradeForSell) String() string
func (*TradeForSell) XXX_DiscardUnknown ¶
func (m *TradeForSell) XXX_DiscardUnknown()
func (*TradeForSell) XXX_Marshal ¶
func (m *TradeForSell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeForSell) XXX_Merge ¶
func (m *TradeForSell) XXX_Merge(src proto.Message)
func (*TradeForSell) XXX_Size ¶
func (m *TradeForSell) XXX_Size() int
func (*TradeForSell) XXX_Unmarshal ¶
func (m *TradeForSell) XXX_Unmarshal(b []byte) error
type TradeForSellMarket ¶
type TradeForSellMarket struct { BuyID string `protobuf:"bytes,1,opt,name=buyID,proto3" json:"buyID,omitempty"` BoardlotCnt int64 `protobuf:"varint,2,opt,name=boardlotCnt,proto3" json:"boardlotCnt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
现价卖单
func (*TradeForSellMarket) Descriptor ¶
func (*TradeForSellMarket) Descriptor() ([]byte, []int)
func (*TradeForSellMarket) GetBoardlotCnt ¶
func (m *TradeForSellMarket) GetBoardlotCnt() int64
func (*TradeForSellMarket) GetBuyID ¶
func (m *TradeForSellMarket) GetBuyID() string
func (*TradeForSellMarket) ProtoMessage ¶
func (*TradeForSellMarket) ProtoMessage()
func (*TradeForSellMarket) Reset ¶
func (m *TradeForSellMarket) Reset()
func (*TradeForSellMarket) String ¶
func (m *TradeForSellMarket) String() string
func (*TradeForSellMarket) XXX_DiscardUnknown ¶
func (m *TradeForSellMarket) XXX_DiscardUnknown()
func (*TradeForSellMarket) XXX_Marshal ¶
func (m *TradeForSellMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeForSellMarket) XXX_Merge ¶
func (m *TradeForSellMarket) XXX_Merge(src proto.Message)
func (*TradeForSellMarket) XXX_Size ¶
func (m *TradeForSellMarket) XXX_Size() int
func (*TradeForSellMarket) XXX_Unmarshal ¶
func (m *TradeForSellMarket) XXX_Unmarshal(b []byte) error
type TradeRevokeBuyTx ¶
TradeRevokeBuyTx :取消指定买单
type TradeRevokeTx ¶
TradeRevokeTx :用于取消卖单的信息
type TradeSellMarketTx ¶
type TradeSellMarketTx struct { BuyID string `json:"buyID"` BoardlotCnt int64 `json:"boardlotCnt"` Fee int64 `json:"fee"` }
TradeSellMarketTx :用于向指定买单出售token的信息
type TradeSellTx ¶
type TradeSellTx struct { TokenSymbol string `json:"tokenSymbol"` AmountPerBoardlot int64 `json:"amountPerBoardlot"` MinBoardlot int64 `json:"minBoardlot"` PricePerBoardlot int64 `json:"pricePerBoardlot"` TotalBoardlot int64 `json:"totalBoardlot"` Fee int64 `json:"fee"` AssetExec string `json:"assetExec"` }
TradeSellTx : info for sell order
type TradeServer ¶
type TradeServer interface { CreateRawTradeSellTx(context.Context, *TradeForSell) (*types.UnsignTx, error) CreateRawTradeBuyTx(context.Context, *TradeForBuy) (*types.UnsignTx, error) CreateRawTradeRevokeTx(context.Context, *TradeForRevokeSell) (*types.UnsignTx, error) CreateRawTradeBuyLimitTx(context.Context, *TradeForBuyLimit) (*types.UnsignTx, error) CreateRawTradeSellMarketTx(context.Context, *TradeForSellMarket) (*types.UnsignTx, error) CreateRawTradeRevokeBuyTx(context.Context, *TradeForRevokeBuy) (*types.UnsignTx, error) }
TradeServer is the server API for Trade service.
type Trade_BuyLimit ¶
type Trade_BuyLimit struct {
BuyLimit *TradeForBuyLimit `protobuf:"bytes,5,opt,name=buyLimit,proto3,oneof"`
}
type Trade_BuyMarket ¶
type Trade_BuyMarket struct {
BuyMarket *TradeForBuy `protobuf:"bytes,2,opt,name=buyMarket,proto3,oneof"`
}
type Trade_RevokeBuy ¶
type Trade_RevokeBuy struct {
RevokeBuy *TradeForRevokeBuy `protobuf:"bytes,7,opt,name=revokeBuy,proto3,oneof"`
}
type Trade_RevokeSell ¶
type Trade_RevokeSell struct {
RevokeSell *TradeForRevokeSell `protobuf:"bytes,3,opt,name=revokeSell,proto3,oneof"`
}
type Trade_SellLimit ¶
type Trade_SellLimit struct {
SellLimit *TradeForSell `protobuf:"bytes,1,opt,name=sellLimit,proto3,oneof"`
}
type Trade_SellMarket ¶
type Trade_SellMarket struct {
SellMarket *TradeForSellMarket `protobuf:"bytes,6,opt,name=sellMarket,proto3,oneof"`
}