Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type Date
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPendingPerpetualOrderCount() uint64
- func (x *GenesisState) GetPendingPerpetualOrderList() []*PerpetualOrder
- func (x *GenesisState) GetPendingSpotOrderCount() uint64
- func (x *GenesisState) GetPendingSpotOrderList() []*SpotOrder
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type LegacyPerpetualOrder
- func (*LegacyPerpetualOrder) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyPerpetualOrder) GetBorrowInterestRate() string
- func (x *LegacyPerpetualOrder) GetCollateral() *v1beta1.Coin
- func (x *LegacyPerpetualOrder) GetFundingRate() string
- func (x *LegacyPerpetualOrder) GetLeverage() string
- func (x *LegacyPerpetualOrder) GetLiquidationPrice() string
- func (x *LegacyPerpetualOrder) GetOrderId() uint64
- func (x *LegacyPerpetualOrder) GetOwnerAddress() string
- func (x *LegacyPerpetualOrder) GetPerpetualOrderType() PerpetualOrderType
- func (x *LegacyPerpetualOrder) GetPosition() PerpetualPosition
- func (x *LegacyPerpetualOrder) GetPositionId() uint64
- func (x *LegacyPerpetualOrder) GetPositionSize() *v1beta1.Coin
- func (x *LegacyPerpetualOrder) GetStatus() Status
- func (x *LegacyPerpetualOrder) GetStopLossPrice() string
- func (x *LegacyPerpetualOrder) GetTakeProfitPrice() string
- func (x *LegacyPerpetualOrder) GetTradingAsset() string
- func (x *LegacyPerpetualOrder) GetTriggerPrice() *OrderPrice
- func (*LegacyPerpetualOrder) ProtoMessage()
- func (x *LegacyPerpetualOrder) ProtoReflect() protoreflect.Message
- func (x *LegacyPerpetualOrder) Reset()
- func (x *LegacyPerpetualOrder) String() string
- type MsgCancelPerpetualOrder
- func (*MsgCancelPerpetualOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelPerpetualOrder) GetOrderId() uint64
- func (x *MsgCancelPerpetualOrder) GetOwnerAddress() string
- func (*MsgCancelPerpetualOrder) ProtoMessage()
- func (x *MsgCancelPerpetualOrder) ProtoReflect() protoreflect.Message
- func (x *MsgCancelPerpetualOrder) Reset()
- func (x *MsgCancelPerpetualOrder) String() string
- type MsgCancelPerpetualOrderResponse
- func (*MsgCancelPerpetualOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelPerpetualOrderResponse) GetOrderId() uint64
- func (*MsgCancelPerpetualOrderResponse) ProtoMessage()
- func (x *MsgCancelPerpetualOrderResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCancelPerpetualOrderResponse) Reset()
- func (x *MsgCancelPerpetualOrderResponse) String() string
- type MsgCancelPerpetualOrders
- func (*MsgCancelPerpetualOrders) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelPerpetualOrders) GetOrderIds() []uint64
- func (x *MsgCancelPerpetualOrders) GetOwnerAddress() string
- func (*MsgCancelPerpetualOrders) ProtoMessage()
- func (x *MsgCancelPerpetualOrders) ProtoReflect() protoreflect.Message
- func (x *MsgCancelPerpetualOrders) Reset()
- func (x *MsgCancelPerpetualOrders) String() string
- type MsgCancelPerpetualOrdersResponse
- func (*MsgCancelPerpetualOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCancelPerpetualOrdersResponse) ProtoMessage()
- func (x *MsgCancelPerpetualOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCancelPerpetualOrdersResponse) Reset()
- func (x *MsgCancelPerpetualOrdersResponse) String() string
- type MsgCancelSpotOrder
- func (*MsgCancelSpotOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelSpotOrder) GetOrderId() uint64
- func (x *MsgCancelSpotOrder) GetOwnerAddress() string
- func (*MsgCancelSpotOrder) ProtoMessage()
- func (x *MsgCancelSpotOrder) ProtoReflect() protoreflect.Message
- func (x *MsgCancelSpotOrder) Reset()
- func (x *MsgCancelSpotOrder) String() string
- type MsgCancelSpotOrderResponse
- func (*MsgCancelSpotOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelSpotOrderResponse) GetOrderId() uint64
- func (*MsgCancelSpotOrderResponse) ProtoMessage()
- func (x *MsgCancelSpotOrderResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCancelSpotOrderResponse) Reset()
- func (x *MsgCancelSpotOrderResponse) String() string
- type MsgCancelSpotOrders
- func (*MsgCancelSpotOrders) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelSpotOrders) GetCreator() string
- func (x *MsgCancelSpotOrders) GetSpotOrderIds() []uint64
- func (*MsgCancelSpotOrders) ProtoMessage()
- func (x *MsgCancelSpotOrders) ProtoReflect() protoreflect.Message
- func (x *MsgCancelSpotOrders) Reset()
- func (x *MsgCancelSpotOrders) String() string
- type MsgCancelSpotOrdersResponse
- type MsgClient
- type MsgCreatePerpetualCloseOrder
- func (*MsgCreatePerpetualCloseOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreatePerpetualCloseOrder) GetOwnerAddress() string
- func (x *MsgCreatePerpetualCloseOrder) GetPositionId() uint64
- func (x *MsgCreatePerpetualCloseOrder) GetTriggerPrice() *TriggerPrice
- func (*MsgCreatePerpetualCloseOrder) ProtoMessage()
- func (x *MsgCreatePerpetualCloseOrder) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePerpetualCloseOrder) Reset()
- func (x *MsgCreatePerpetualCloseOrder) String() string
- type MsgCreatePerpetualCloseOrderResponse
- func (*MsgCreatePerpetualCloseOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreatePerpetualCloseOrderResponse) GetOrderId() uint64
- func (*MsgCreatePerpetualCloseOrderResponse) ProtoMessage()
- func (x *MsgCreatePerpetualCloseOrderResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePerpetualCloseOrderResponse) Reset()
- func (x *MsgCreatePerpetualCloseOrderResponse) String() string
- type MsgCreatePerpetualOpenOrder
- func (*MsgCreatePerpetualOpenOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreatePerpetualOpenOrder) GetCollateral() *v1beta1.Coin
- func (x *MsgCreatePerpetualOpenOrder) GetLeverage() string
- func (x *MsgCreatePerpetualOpenOrder) GetOwnerAddress() string
- func (x *MsgCreatePerpetualOpenOrder) GetPoolId() uint64
- func (x *MsgCreatePerpetualOpenOrder) GetPosition() PerpetualPosition
- func (x *MsgCreatePerpetualOpenOrder) GetStopLossPrice() string
- func (x *MsgCreatePerpetualOpenOrder) GetTakeProfitPrice() string
- func (x *MsgCreatePerpetualOpenOrder) GetTradingAsset() string
- func (x *MsgCreatePerpetualOpenOrder) GetTriggerPrice() *TriggerPrice
- func (*MsgCreatePerpetualOpenOrder) ProtoMessage()
- func (x *MsgCreatePerpetualOpenOrder) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePerpetualOpenOrder) Reset()
- func (x *MsgCreatePerpetualOpenOrder) String() string
- type MsgCreatePerpetualOpenOrderResponse
- func (*MsgCreatePerpetualOpenOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreatePerpetualOpenOrderResponse) GetOrderId() uint64
- func (*MsgCreatePerpetualOpenOrderResponse) ProtoMessage()
- func (x *MsgCreatePerpetualOpenOrderResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreatePerpetualOpenOrderResponse) Reset()
- func (x *MsgCreatePerpetualOpenOrderResponse) String() string
- type MsgCreateSpotOrder
- func (*MsgCreateSpotOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateSpotOrder) GetOrderAmount() *v1beta1.Coin
- func (x *MsgCreateSpotOrder) GetOrderPrice() *OrderPrice
- func (x *MsgCreateSpotOrder) GetOrderTargetDenom() string
- func (x *MsgCreateSpotOrder) GetOrderType() SpotOrderType
- func (x *MsgCreateSpotOrder) GetOwnerAddress() string
- func (*MsgCreateSpotOrder) ProtoMessage()
- func (x *MsgCreateSpotOrder) ProtoReflect() protoreflect.Message
- func (x *MsgCreateSpotOrder) Reset()
- func (x *MsgCreateSpotOrder) String() string
- type MsgCreateSpotOrderResponse
- func (*MsgCreateSpotOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateSpotOrderResponse) GetOrderId() uint64
- func (*MsgCreateSpotOrderResponse) ProtoMessage()
- func (x *MsgCreateSpotOrderResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateSpotOrderResponse) Reset()
- func (x *MsgCreateSpotOrderResponse) String() string
- type MsgExecuteOrders
- func (*MsgExecuteOrders) Descriptor() ([]byte, []int)deprecated
- func (x *MsgExecuteOrders) GetCreator() string
- func (x *MsgExecuteOrders) GetPerpetualOrderIds() []uint64
- func (x *MsgExecuteOrders) GetSpotOrderIds() []uint64
- func (*MsgExecuteOrders) ProtoMessage()
- func (x *MsgExecuteOrders) ProtoReflect() protoreflect.Message
- func (x *MsgExecuteOrders) Reset()
- func (x *MsgExecuteOrders) String() string
- type MsgExecuteOrdersResponse
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgUpdatePerpetualOrder
- func (*MsgUpdatePerpetualOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdatePerpetualOrder) GetOrderId() uint64
- func (x *MsgUpdatePerpetualOrder) GetOwnerAddress() string
- func (x *MsgUpdatePerpetualOrder) GetTriggerPrice() *TriggerPrice
- func (*MsgUpdatePerpetualOrder) ProtoMessage()
- func (x *MsgUpdatePerpetualOrder) ProtoReflect() protoreflect.Message
- func (x *MsgUpdatePerpetualOrder) Reset()
- func (x *MsgUpdatePerpetualOrder) String() string
- type MsgUpdatePerpetualOrderResponse
- func (*MsgUpdatePerpetualOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdatePerpetualOrderResponse) ProtoMessage()
- func (x *MsgUpdatePerpetualOrderResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdatePerpetualOrderResponse) Reset()
- func (x *MsgUpdatePerpetualOrderResponse) String() string
- type MsgUpdateSpotOrder
- func (*MsgUpdateSpotOrder) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateSpotOrder) GetOrderId() uint64
- func (x *MsgUpdateSpotOrder) GetOrderPrice() *OrderPrice
- func (x *MsgUpdateSpotOrder) GetOwnerAddress() string
- func (*MsgUpdateSpotOrder) ProtoMessage()
- func (x *MsgUpdateSpotOrder) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateSpotOrder) Reset()
- func (x *MsgUpdateSpotOrder) String() string
- type MsgUpdateSpotOrderResponse
- type OrderPrice
- func (*OrderPrice) Descriptor() ([]byte, []int)deprecated
- func (x *OrderPrice) GetBaseDenom() string
- func (x *OrderPrice) GetQuoteDenom() string
- func (x *OrderPrice) GetRate() string
- func (*OrderPrice) ProtoMessage()
- func (x *OrderPrice) ProtoReflect() protoreflect.Message
- func (x *OrderPrice) Reset()
- func (x *OrderPrice) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetLeverageEnabled() bool
- func (x *Params) GetLimitProcessOrder() uint64
- func (x *Params) GetMarginError() string
- func (x *Params) GetMarketOrderEnabled() bool
- func (x *Params) GetMinimumDeposit() string
- func (x *Params) GetPerpetualEnabled() bool
- func (x *Params) GetProcessOrdersEnabled() bool
- func (x *Params) GetRewardEnabled() bool
- func (x *Params) GetRewardPercentage() string
- func (x *Params) GetStakeEnabled() bool
- func (x *Params) GetSwapEnabled() bool
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type PerpetualOrder
- func (*PerpetualOrder) Descriptor() ([]byte, []int)deprecated
- func (x *PerpetualOrder) GetCollateral() *v1beta1.Coin
- func (x *PerpetualOrder) GetLeverage() string
- func (x *PerpetualOrder) GetOrderId() uint64
- func (x *PerpetualOrder) GetOwnerAddress() string
- func (x *PerpetualOrder) GetPerpetualOrderType() PerpetualOrderType
- func (x *PerpetualOrder) GetPoolId() uint64
- func (x *PerpetualOrder) GetPosition() PerpetualPosition
- func (x *PerpetualOrder) GetPositionId() uint64
- func (x *PerpetualOrder) GetStatus() Status
- func (x *PerpetualOrder) GetStopLossPrice() string
- func (x *PerpetualOrder) GetTakeProfitPrice() string
- func (x *PerpetualOrder) GetTradingAsset() string
- func (x *PerpetualOrder) GetTriggerPrice() *TriggerPrice
- func (*PerpetualOrder) ProtoMessage()
- func (x *PerpetualOrder) ProtoReflect() protoreflect.Message
- func (x *PerpetualOrder) Reset()
- func (x *PerpetualOrder) String() string
- type PerpetualOrderExtraInfo
- func (*PerpetualOrderExtraInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PerpetualOrderExtraInfo) GetBorrowInterestRate() string
- func (x *PerpetualOrderExtraInfo) GetFundingRate() string
- func (x *PerpetualOrderExtraInfo) GetLiquidationPrice() string
- func (x *PerpetualOrderExtraInfo) GetPerpetualOrder() *PerpetualOrder
- func (x *PerpetualOrderExtraInfo) GetPositionSize() *v1beta1.Coin
- func (*PerpetualOrderExtraInfo) ProtoMessage()
- func (x *PerpetualOrderExtraInfo) ProtoReflect() protoreflect.Message
- func (x *PerpetualOrderExtraInfo) Reset()
- func (x *PerpetualOrderExtraInfo) String() string
- type PerpetualOrderType
- func (PerpetualOrderType) Descriptor() protoreflect.EnumDescriptor
- func (x PerpetualOrderType) Enum() *PerpetualOrderType
- func (PerpetualOrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PerpetualOrderType) Number() protoreflect.EnumNumber
- func (x PerpetualOrderType) String() string
- func (PerpetualOrderType) Type() protoreflect.EnumType
- type PerpetualPosition
- func (PerpetualPosition) Descriptor() protoreflect.EnumDescriptor
- func (x PerpetualPosition) Enum() *PerpetualPosition
- func (PerpetualPosition) EnumDescriptor() ([]byte, []int)deprecated
- func (x PerpetualPosition) Number() protoreflect.EnumNumber
- func (x PerpetualPosition) String() string
- func (PerpetualPosition) Type() protoreflect.EnumType
- type QueryAllPendingPerpetualOrderRequest
- func (*QueryAllPendingPerpetualOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingPerpetualOrderRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllPendingPerpetualOrderRequest) ProtoMessage()
- func (x *QueryAllPendingPerpetualOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingPerpetualOrderRequest) Reset()
- func (x *QueryAllPendingPerpetualOrderRequest) String() string
- type QueryAllPendingPerpetualOrderResponse
- func (*QueryAllPendingPerpetualOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingPerpetualOrderResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllPendingPerpetualOrderResponse) GetPendingPerpetualOrder() []*PerpetualOrderExtraInfo
- func (*QueryAllPendingPerpetualOrderResponse) ProtoMessage()
- func (x *QueryAllPendingPerpetualOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingPerpetualOrderResponse) Reset()
- func (x *QueryAllPendingPerpetualOrderResponse) String() string
- type QueryAllPendingSpotOrderRequest
- func (*QueryAllPendingSpotOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingSpotOrderRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllPendingSpotOrderRequest) ProtoMessage()
- func (x *QueryAllPendingSpotOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingSpotOrderRequest) Reset()
- func (x *QueryAllPendingSpotOrderRequest) String() string
- type QueryAllPendingSpotOrderResponse
- func (*QueryAllPendingSpotOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingSpotOrderResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllPendingSpotOrderResponse) GetPendingSpotOrder() []*SpotOrder
- func (*QueryAllPendingSpotOrderResponse) ProtoMessage()
- func (x *QueryAllPendingSpotOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingSpotOrderResponse) Reset()
- func (x *QueryAllPendingSpotOrderResponse) String() string
- type QueryClient
- type QueryGetPendingPerpetualOrderRequest
- func (*QueryGetPendingPerpetualOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetPendingPerpetualOrderRequest) GetId() uint64
- func (*QueryGetPendingPerpetualOrderRequest) ProtoMessage()
- func (x *QueryGetPendingPerpetualOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetPendingPerpetualOrderRequest) Reset()
- func (x *QueryGetPendingPerpetualOrderRequest) String() string
- type QueryGetPendingPerpetualOrderResponse
- func (*QueryGetPendingPerpetualOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetPendingPerpetualOrderResponse) GetPendingPerpetualOrder() *PerpetualOrderExtraInfo
- func (*QueryGetPendingPerpetualOrderResponse) ProtoMessage()
- func (x *QueryGetPendingPerpetualOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetPendingPerpetualOrderResponse) Reset()
- func (x *QueryGetPendingPerpetualOrderResponse) String() string
- type QueryGetPendingSpotOrderRequest
- func (*QueryGetPendingSpotOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetPendingSpotOrderRequest) GetId() uint64
- func (*QueryGetPendingSpotOrderRequest) ProtoMessage()
- func (x *QueryGetPendingSpotOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetPendingSpotOrderRequest) Reset()
- func (x *QueryGetPendingSpotOrderRequest) String() string
- type QueryGetPendingSpotOrderResponse
- func (*QueryGetPendingSpotOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetPendingSpotOrderResponse) GetPendingSpotOrder() *SpotOrder
- func (*QueryGetPendingSpotOrderResponse) ProtoMessage()
- func (x *QueryGetPendingSpotOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetPendingSpotOrderResponse) Reset()
- func (x *QueryGetPendingSpotOrderResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryPendingPerpetualOrderForAddressRequest
- func (*QueryPendingPerpetualOrderForAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingPerpetualOrderForAddressRequest) GetAddress() string
- func (x *QueryPendingPerpetualOrderForAddressRequest) GetStatus() Status
- func (*QueryPendingPerpetualOrderForAddressRequest) ProtoMessage()
- func (x *QueryPendingPerpetualOrderForAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPendingPerpetualOrderForAddressRequest) Reset()
- func (x *QueryPendingPerpetualOrderForAddressRequest) String() string
- type QueryPendingPerpetualOrderForAddressResponse
- func (*QueryPendingPerpetualOrderForAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingPerpetualOrderForAddressResponse) GetPendingPerpetualOrders() []*PerpetualOrderExtraInfo
- func (*QueryPendingPerpetualOrderForAddressResponse) ProtoMessage()
- func (x *QueryPendingPerpetualOrderForAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPendingPerpetualOrderForAddressResponse) Reset()
- func (x *QueryPendingPerpetualOrderForAddressResponse) String() string
- type QueryPendingSpotOrderForAddressRequest
- func (*QueryPendingSpotOrderForAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingSpotOrderForAddressRequest) GetAddress() string
- func (x *QueryPendingSpotOrderForAddressRequest) GetStatus() Status
- func (*QueryPendingSpotOrderForAddressRequest) ProtoMessage()
- func (x *QueryPendingSpotOrderForAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPendingSpotOrderForAddressRequest) Reset()
- func (x *QueryPendingSpotOrderForAddressRequest) String() string
- type QueryPendingSpotOrderForAddressResponse
- func (*QueryPendingSpotOrderForAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPendingSpotOrderForAddressResponse) GetPendingSpotOrders() []*SpotOrder
- func (*QueryPendingSpotOrderForAddressResponse) ProtoMessage()
- func (x *QueryPendingSpotOrderForAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPendingSpotOrderForAddressResponse) Reset()
- func (x *QueryPendingSpotOrderForAddressResponse) String() string
- type QueryServer
- type SpotOrder
- func (*SpotOrder) Descriptor() ([]byte, []int)deprecated
- func (x *SpotOrder) GetDate() *Date
- func (x *SpotOrder) GetOrderAmount() *v1beta1.Coin
- func (x *SpotOrder) GetOrderId() uint64
- func (x *SpotOrder) GetOrderPrice() *OrderPrice
- func (x *SpotOrder) GetOrderTargetDenom() string
- func (x *SpotOrder) GetOrderType() SpotOrderType
- func (x *SpotOrder) GetOwnerAddress() string
- func (x *SpotOrder) GetStatus() Status
- func (*SpotOrder) ProtoMessage()
- func (x *SpotOrder) ProtoReflect() protoreflect.Message
- func (x *SpotOrder) Reset()
- func (x *SpotOrder) String() string
- type SpotOrderType
- func (SpotOrderType) Descriptor() protoreflect.EnumDescriptor
- func (x SpotOrderType) Enum() *SpotOrderType
- func (SpotOrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpotOrderType) Number() protoreflect.EnumNumber
- func (x SpotOrderType) String() string
- func (SpotOrderType) Type() protoreflect.EnumType
- type Status
- type TriggerPrice
- func (*TriggerPrice) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerPrice) GetRate() string
- func (x *TriggerPrice) GetTradingAssetDenom() string
- func (*TriggerPrice) ProtoMessage()
- func (x *TriggerPrice) ProtoReflect() protoreflect.Message
- func (x *TriggerPrice) Reset()
- func (x *TriggerPrice) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CancelPerpetualOrder(context.Context, *MsgCancelPerpetualOrder) (*MsgCancelPerpetualOrderResponse, error)
- func (UnimplementedMsgServer) CancelPerpetualOrders(context.Context, *MsgCancelPerpetualOrders) (*MsgCancelPerpetualOrdersResponse, error)
- func (UnimplementedMsgServer) CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
- func (UnimplementedMsgServer) CancelSpotOrders(context.Context, *MsgCancelSpotOrders) (*MsgCancelSpotOrdersResponse, error)
- func (UnimplementedMsgServer) CreatePerpetualCloseOrder(context.Context, *MsgCreatePerpetualCloseOrder) (*MsgCreatePerpetualCloseOrderResponse, error)
- func (UnimplementedMsgServer) CreatePerpetualOpenOrder(context.Context, *MsgCreatePerpetualOpenOrder) (*MsgCreatePerpetualOpenOrderResponse, error)
- func (UnimplementedMsgServer) CreateSpotOrder(context.Context, *MsgCreateSpotOrder) (*MsgCreateSpotOrderResponse, error)
- func (UnimplementedMsgServer) ExecuteOrders(context.Context, *MsgExecuteOrders) (*MsgExecuteOrdersResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) UpdatePerpetualOrder(context.Context, *MsgUpdatePerpetualOrder) (*MsgUpdatePerpetualOrderResponse, error)
- func (UnimplementedMsgServer) UpdateSpotOrder(context.Context, *MsgUpdateSpotOrder) (*MsgUpdateSpotOrderResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) PendingPerpetualOrder(context.Context, *QueryGetPendingPerpetualOrderRequest) (*QueryGetPendingPerpetualOrderResponse, error)
- func (UnimplementedQueryServer) PendingPerpetualOrderAll(context.Context, *QueryAllPendingPerpetualOrderRequest) (*QueryAllPendingPerpetualOrderResponse, error)
- func (UnimplementedQueryServer) PendingPerpetualOrderForAddress(context.Context, *QueryPendingPerpetualOrderForAddressRequest) (*QueryPendingPerpetualOrderForAddressResponse, error)
- func (UnimplementedQueryServer) PendingSpotOrder(context.Context, *QueryGetPendingSpotOrderRequest) (*QueryGetPendingSpotOrderResponse, error)
- func (UnimplementedQueryServer) PendingSpotOrderAll(context.Context, *QueryAllPendingSpotOrderRequest) (*QueryAllPendingSpotOrderResponse, error)
- func (UnimplementedQueryServer) PendingSpotOrderForAddress(context.Context, *QueryPendingSpotOrderForAddressRequest) (*QueryPendingSpotOrderForAddressResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var ( SpotOrderType_name = map[int32]string{ 0: "STOPLOSS", 1: "LIMITSELL", 2: "LIMITBUY", 3: "MARKETBUY", } SpotOrderType_value = map[string]int32{ "STOPLOSS": 0, "LIMITSELL": 1, "LIMITBUY": 2, "MARKETBUY": 3, } )
Enum value maps for SpotOrderType.
var ( PerpetualPosition_name = map[int32]string{ 0: "UNSPECIFIED", 1: "LONG", 2: "SHORT", } PerpetualPosition_value = map[string]int32{ "UNSPECIFIED": 0, "LONG": 1, "SHORT": 2, } )
Enum value maps for PerpetualPosition.
var ( Status_name = map[int32]string{ 0: "PENDING", 1: "EXECUTED", 2: "CANCELED", 3: "ALL", } Status_value = map[string]int32{ "PENDING": 0, "EXECUTED": 1, "CANCELED": 2, "ALL": 3, } )
Enum value maps for Status.
var ( PerpetualOrderType_name = map[int32]string{ 0: "LIMITOPEN", 1: "LIMITCLOSE", 2: "STOPLOSSPERP", } PerpetualOrderType_value = map[string]int32{ "LIMITOPEN": 0, "LIMITCLOSE": 1, "STOPLOSSPERP": 2, } )
Enum value maps for PerpetualOrderType.
var File_elys_tradeshield_genesis_proto protoreflect.FileDescriptor
var File_elys_tradeshield_order_proto protoreflect.FileDescriptor
var File_elys_tradeshield_params_proto protoreflect.FileDescriptor
var File_elys_tradeshield_query_proto protoreflect.FileDescriptor
var File_elys_tradeshield_tx_proto protoreflect.FileDescriptor
var File_elys_tradeshield_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.tradeshield.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSpotOrder", Handler: _Msg_CreateSpotOrder_Handler, }, { MethodName: "UpdateSpotOrder", Handler: _Msg_UpdateSpotOrder_Handler, }, { MethodName: "CancelSpotOrder", Handler: _Msg_CancelSpotOrder_Handler, }, { MethodName: "CancelSpotOrders", Handler: _Msg_CancelSpotOrders_Handler, }, { MethodName: "CreatePerpetualOpenOrder", Handler: _Msg_CreatePerpetualOpenOrder_Handler, }, { MethodName: "CreatePerpetualCloseOrder", Handler: _Msg_CreatePerpetualCloseOrder_Handler, }, { MethodName: "UpdatePerpetualOrder", Handler: _Msg_UpdatePerpetualOrder_Handler, }, { MethodName: "CancelPerpetualOrder", Handler: _Msg_CancelPerpetualOrder_Handler, }, { MethodName: "CancelPerpetualOrders", Handler: _Msg_CancelPerpetualOrders_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "ExecuteOrders", Handler: _Msg_ExecuteOrders_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/tradeshield/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.tradeshield.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "PendingSpotOrder", Handler: _Query_PendingSpotOrder_Handler, }, { MethodName: "PendingSpotOrderAll", Handler: _Query_PendingSpotOrderAll_Handler, }, { MethodName: "PendingPerpetualOrder", Handler: _Query_PendingPerpetualOrder_Handler, }, { MethodName: "PendingPerpetualOrderAll", Handler: _Query_PendingPerpetualOrderAll_Handler, }, { MethodName: "PendingPerpetualOrderForAddress", Handler: _Query_PendingPerpetualOrderForAddress_Handler, }, { MethodName: "PendingSpotOrderForAddress", Handler: _Query_PendingSpotOrderForAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/tradeshield/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type Date ¶
type Date struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Date) Descriptor
deprecated
func (*Date) GetTimestamp ¶
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶
func (x *Date) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` PendingSpotOrderList []*SpotOrder `protobuf:"bytes,2,rep,name=pending_spot_order_list,json=pendingSpotOrderList,proto3" json:"pending_spot_order_list,omitempty"` PendingSpotOrderCount uint64 `` /* 129-byte string literal not displayed */ PendingPerpetualOrderList []*PerpetualOrder `` /* 140-byte string literal not displayed */ PendingPerpetualOrderCount uint64 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
GenesisState defines the tradeshield module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetPendingPerpetualOrderCount ¶
func (x *GenesisState) GetPendingPerpetualOrderCount() uint64
func (*GenesisState) GetPendingPerpetualOrderList ¶
func (x *GenesisState) GetPendingPerpetualOrderList() []*PerpetualOrder
func (*GenesisState) GetPendingSpotOrderCount ¶
func (x *GenesisState) GetPendingSpotOrderCount() uint64
func (*GenesisState) GetPendingSpotOrderList ¶
func (x *GenesisState) GetPendingSpotOrderList() []*SpotOrder
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type LegacyPerpetualOrder ¶
type LegacyPerpetualOrder struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` PerpetualOrderType PerpetualOrderType `` /* 159-byte string literal not displayed */ Position PerpetualPosition `protobuf:"varint,4,opt,name=position,proto3,enum=elys.tradeshield.PerpetualPosition" json:"position,omitempty"` TriggerPrice *OrderPrice `protobuf:"bytes,5,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` Collateral *v1beta1.Coin `protobuf:"bytes,6,opt,name=collateral,proto3" json:"collateral,omitempty"` TradingAsset string `protobuf:"bytes,7,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"` Leverage string `protobuf:"bytes,8,opt,name=leverage,proto3" json:"leverage,omitempty"` TakeProfitPrice string `protobuf:"bytes,9,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"` PositionId uint64 `protobuf:"varint,10,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Status Status `protobuf:"varint,11,opt,name=status,proto3,enum=elys.tradeshield.Status" json:"status,omitempty"` StopLossPrice string `protobuf:"bytes,12,opt,name=stop_loss_price,json=stopLossPrice,proto3" json:"stop_loss_price,omitempty"` PositionSize *v1beta1.Coin `protobuf:"bytes,13,opt,name=position_size,json=positionSize,proto3" json:"position_size,omitempty"` LiquidationPrice string `protobuf:"bytes,14,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"` FundingRate string `protobuf:"bytes,15,opt,name=funding_rate,json=fundingRate,proto3" json:"funding_rate,omitempty"` BorrowInterestRate string `protobuf:"bytes,16,opt,name=borrow_interest_rate,json=borrowInterestRate,proto3" json:"borrow_interest_rate,omitempty"` // contains filtered or unexported fields }
func (*LegacyPerpetualOrder) Descriptor
deprecated
func (*LegacyPerpetualOrder) Descriptor() ([]byte, []int)
Deprecated: Use LegacyPerpetualOrder.ProtoReflect.Descriptor instead.
func (*LegacyPerpetualOrder) GetBorrowInterestRate ¶
func (x *LegacyPerpetualOrder) GetBorrowInterestRate() string
func (*LegacyPerpetualOrder) GetCollateral ¶
func (x *LegacyPerpetualOrder) GetCollateral() *v1beta1.Coin
func (*LegacyPerpetualOrder) GetFundingRate ¶
func (x *LegacyPerpetualOrder) GetFundingRate() string
func (*LegacyPerpetualOrder) GetLeverage ¶
func (x *LegacyPerpetualOrder) GetLeverage() string
func (*LegacyPerpetualOrder) GetLiquidationPrice ¶
func (x *LegacyPerpetualOrder) GetLiquidationPrice() string
func (*LegacyPerpetualOrder) GetOrderId ¶
func (x *LegacyPerpetualOrder) GetOrderId() uint64
func (*LegacyPerpetualOrder) GetOwnerAddress ¶
func (x *LegacyPerpetualOrder) GetOwnerAddress() string
func (*LegacyPerpetualOrder) GetPerpetualOrderType ¶
func (x *LegacyPerpetualOrder) GetPerpetualOrderType() PerpetualOrderType
func (*LegacyPerpetualOrder) GetPosition ¶
func (x *LegacyPerpetualOrder) GetPosition() PerpetualPosition
func (*LegacyPerpetualOrder) GetPositionId ¶
func (x *LegacyPerpetualOrder) GetPositionId() uint64
func (*LegacyPerpetualOrder) GetPositionSize ¶
func (x *LegacyPerpetualOrder) GetPositionSize() *v1beta1.Coin
func (*LegacyPerpetualOrder) GetStatus ¶
func (x *LegacyPerpetualOrder) GetStatus() Status
func (*LegacyPerpetualOrder) GetStopLossPrice ¶
func (x *LegacyPerpetualOrder) GetStopLossPrice() string
func (*LegacyPerpetualOrder) GetTakeProfitPrice ¶
func (x *LegacyPerpetualOrder) GetTakeProfitPrice() string
func (*LegacyPerpetualOrder) GetTradingAsset ¶
func (x *LegacyPerpetualOrder) GetTradingAsset() string
func (*LegacyPerpetualOrder) GetTriggerPrice ¶
func (x *LegacyPerpetualOrder) GetTriggerPrice() *OrderPrice
func (*LegacyPerpetualOrder) ProtoMessage ¶
func (*LegacyPerpetualOrder) ProtoMessage()
func (*LegacyPerpetualOrder) ProtoReflect ¶
func (x *LegacyPerpetualOrder) ProtoReflect() protoreflect.Message
func (*LegacyPerpetualOrder) Reset ¶
func (x *LegacyPerpetualOrder) Reset()
func (*LegacyPerpetualOrder) String ¶
func (x *LegacyPerpetualOrder) String() string
type MsgCancelPerpetualOrder ¶
type MsgCancelPerpetualOrder struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderId uint64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCancelPerpetualOrder) Descriptor
deprecated
func (*MsgCancelPerpetualOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelPerpetualOrder.ProtoReflect.Descriptor instead.
func (*MsgCancelPerpetualOrder) GetOrderId ¶
func (x *MsgCancelPerpetualOrder) GetOrderId() uint64
func (*MsgCancelPerpetualOrder) GetOwnerAddress ¶
func (x *MsgCancelPerpetualOrder) GetOwnerAddress() string
func (*MsgCancelPerpetualOrder) ProtoMessage ¶
func (*MsgCancelPerpetualOrder) ProtoMessage()
func (*MsgCancelPerpetualOrder) ProtoReflect ¶
func (x *MsgCancelPerpetualOrder) ProtoReflect() protoreflect.Message
func (*MsgCancelPerpetualOrder) Reset ¶
func (x *MsgCancelPerpetualOrder) Reset()
func (*MsgCancelPerpetualOrder) String ¶
func (x *MsgCancelPerpetualOrder) String() string
type MsgCancelPerpetualOrderResponse ¶
type MsgCancelPerpetualOrderResponse struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCancelPerpetualOrderResponse) Descriptor
deprecated
func (*MsgCancelPerpetualOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelPerpetualOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgCancelPerpetualOrderResponse) GetOrderId ¶
func (x *MsgCancelPerpetualOrderResponse) GetOrderId() uint64
func (*MsgCancelPerpetualOrderResponse) ProtoMessage ¶
func (*MsgCancelPerpetualOrderResponse) ProtoMessage()
func (*MsgCancelPerpetualOrderResponse) ProtoReflect ¶
func (x *MsgCancelPerpetualOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelPerpetualOrderResponse) Reset ¶
func (x *MsgCancelPerpetualOrderResponse) Reset()
func (*MsgCancelPerpetualOrderResponse) String ¶
func (x *MsgCancelPerpetualOrderResponse) String() string
type MsgCancelPerpetualOrders ¶
type MsgCancelPerpetualOrders struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderIds []uint64 `protobuf:"varint,2,rep,packed,name=order_ids,json=orderIds,proto3" json:"order_ids,omitempty"` // contains filtered or unexported fields }
func (*MsgCancelPerpetualOrders) Descriptor
deprecated
func (*MsgCancelPerpetualOrders) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelPerpetualOrders.ProtoReflect.Descriptor instead.
func (*MsgCancelPerpetualOrders) GetOrderIds ¶
func (x *MsgCancelPerpetualOrders) GetOrderIds() []uint64
func (*MsgCancelPerpetualOrders) GetOwnerAddress ¶
func (x *MsgCancelPerpetualOrders) GetOwnerAddress() string
func (*MsgCancelPerpetualOrders) ProtoMessage ¶
func (*MsgCancelPerpetualOrders) ProtoMessage()
func (*MsgCancelPerpetualOrders) ProtoReflect ¶
func (x *MsgCancelPerpetualOrders) ProtoReflect() protoreflect.Message
func (*MsgCancelPerpetualOrders) Reset ¶
func (x *MsgCancelPerpetualOrders) Reset()
func (*MsgCancelPerpetualOrders) String ¶
func (x *MsgCancelPerpetualOrders) String() string
type MsgCancelPerpetualOrdersResponse ¶
type MsgCancelPerpetualOrdersResponse struct {
// contains filtered or unexported fields
}
func (*MsgCancelPerpetualOrdersResponse) Descriptor
deprecated
func (*MsgCancelPerpetualOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelPerpetualOrdersResponse.ProtoReflect.Descriptor instead.
func (*MsgCancelPerpetualOrdersResponse) ProtoMessage ¶
func (*MsgCancelPerpetualOrdersResponse) ProtoMessage()
func (*MsgCancelPerpetualOrdersResponse) ProtoReflect ¶
func (x *MsgCancelPerpetualOrdersResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelPerpetualOrdersResponse) Reset ¶
func (x *MsgCancelPerpetualOrdersResponse) Reset()
func (*MsgCancelPerpetualOrdersResponse) String ¶
func (x *MsgCancelPerpetualOrdersResponse) String() string
type MsgCancelSpotOrder ¶
type MsgCancelSpotOrder struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderId uint64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCancelSpotOrder) Descriptor
deprecated
func (*MsgCancelSpotOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelSpotOrder.ProtoReflect.Descriptor instead.
func (*MsgCancelSpotOrder) GetOrderId ¶
func (x *MsgCancelSpotOrder) GetOrderId() uint64
func (*MsgCancelSpotOrder) GetOwnerAddress ¶
func (x *MsgCancelSpotOrder) GetOwnerAddress() string
func (*MsgCancelSpotOrder) ProtoMessage ¶
func (*MsgCancelSpotOrder) ProtoMessage()
func (*MsgCancelSpotOrder) ProtoReflect ¶
func (x *MsgCancelSpotOrder) ProtoReflect() protoreflect.Message
func (*MsgCancelSpotOrder) Reset ¶
func (x *MsgCancelSpotOrder) Reset()
func (*MsgCancelSpotOrder) String ¶
func (x *MsgCancelSpotOrder) String() string
type MsgCancelSpotOrderResponse ¶
type MsgCancelSpotOrderResponse struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCancelSpotOrderResponse) Descriptor
deprecated
func (*MsgCancelSpotOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelSpotOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgCancelSpotOrderResponse) GetOrderId ¶
func (x *MsgCancelSpotOrderResponse) GetOrderId() uint64
func (*MsgCancelSpotOrderResponse) ProtoMessage ¶
func (*MsgCancelSpotOrderResponse) ProtoMessage()
func (*MsgCancelSpotOrderResponse) ProtoReflect ¶
func (x *MsgCancelSpotOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelSpotOrderResponse) Reset ¶
func (x *MsgCancelSpotOrderResponse) Reset()
func (*MsgCancelSpotOrderResponse) String ¶
func (x *MsgCancelSpotOrderResponse) String() string
type MsgCancelSpotOrders ¶
type MsgCancelSpotOrders struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` SpotOrderIds []uint64 `protobuf:"varint,2,rep,packed,name=spot_order_ids,json=spotOrderIds,proto3" json:"spot_order_ids,omitempty"` // contains filtered or unexported fields }
func (*MsgCancelSpotOrders) Descriptor
deprecated
func (*MsgCancelSpotOrders) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelSpotOrders.ProtoReflect.Descriptor instead.
func (*MsgCancelSpotOrders) GetCreator ¶
func (x *MsgCancelSpotOrders) GetCreator() string
func (*MsgCancelSpotOrders) GetSpotOrderIds ¶
func (x *MsgCancelSpotOrders) GetSpotOrderIds() []uint64
func (*MsgCancelSpotOrders) ProtoMessage ¶
func (*MsgCancelSpotOrders) ProtoMessage()
func (*MsgCancelSpotOrders) ProtoReflect ¶
func (x *MsgCancelSpotOrders) ProtoReflect() protoreflect.Message
func (*MsgCancelSpotOrders) Reset ¶
func (x *MsgCancelSpotOrders) Reset()
func (*MsgCancelSpotOrders) String ¶
func (x *MsgCancelSpotOrders) String() string
type MsgCancelSpotOrdersResponse ¶
type MsgCancelSpotOrdersResponse struct {
// contains filtered or unexported fields
}
func (*MsgCancelSpotOrdersResponse) Descriptor
deprecated
func (*MsgCancelSpotOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCancelSpotOrdersResponse.ProtoReflect.Descriptor instead.
func (*MsgCancelSpotOrdersResponse) ProtoMessage ¶
func (*MsgCancelSpotOrdersResponse) ProtoMessage()
func (*MsgCancelSpotOrdersResponse) ProtoReflect ¶
func (x *MsgCancelSpotOrdersResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelSpotOrdersResponse) Reset ¶
func (x *MsgCancelSpotOrdersResponse) Reset()
func (*MsgCancelSpotOrdersResponse) String ¶
func (x *MsgCancelSpotOrdersResponse) String() string
type MsgClient ¶
type MsgClient interface { CreateSpotOrder(ctx context.Context, in *MsgCreateSpotOrder, opts ...grpc.CallOption) (*MsgCreateSpotOrderResponse, error) UpdateSpotOrder(ctx context.Context, in *MsgUpdateSpotOrder, opts ...grpc.CallOption) (*MsgUpdateSpotOrderResponse, error) CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error) CancelSpotOrders(ctx context.Context, in *MsgCancelSpotOrders, opts ...grpc.CallOption) (*MsgCancelSpotOrdersResponse, error) CreatePerpetualOpenOrder(ctx context.Context, in *MsgCreatePerpetualOpenOrder, opts ...grpc.CallOption) (*MsgCreatePerpetualOpenOrderResponse, error) CreatePerpetualCloseOrder(ctx context.Context, in *MsgCreatePerpetualCloseOrder, opts ...grpc.CallOption) (*MsgCreatePerpetualCloseOrderResponse, error) UpdatePerpetualOrder(ctx context.Context, in *MsgUpdatePerpetualOrder, opts ...grpc.CallOption) (*MsgUpdatePerpetualOrderResponse, error) CancelPerpetualOrder(ctx context.Context, in *MsgCancelPerpetualOrder, opts ...grpc.CallOption) (*MsgCancelPerpetualOrderResponse, error) CancelPerpetualOrders(ctx context.Context, in *MsgCancelPerpetualOrders, opts ...grpc.CallOption) (*MsgCancelPerpetualOrdersResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) ExecuteOrders(ctx context.Context, in *MsgExecuteOrders, opts ...grpc.CallOption) (*MsgExecuteOrdersResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreatePerpetualCloseOrder ¶
type MsgCreatePerpetualCloseOrder struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` TriggerPrice *TriggerPrice `protobuf:"bytes,2,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` PositionId uint64 `protobuf:"varint,3,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCreatePerpetualCloseOrder) Descriptor
deprecated
func (*MsgCreatePerpetualCloseOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePerpetualCloseOrder.ProtoReflect.Descriptor instead.
func (*MsgCreatePerpetualCloseOrder) GetOwnerAddress ¶
func (x *MsgCreatePerpetualCloseOrder) GetOwnerAddress() string
func (*MsgCreatePerpetualCloseOrder) GetPositionId ¶
func (x *MsgCreatePerpetualCloseOrder) GetPositionId() uint64
func (*MsgCreatePerpetualCloseOrder) GetTriggerPrice ¶
func (x *MsgCreatePerpetualCloseOrder) GetTriggerPrice() *TriggerPrice
func (*MsgCreatePerpetualCloseOrder) ProtoMessage ¶
func (*MsgCreatePerpetualCloseOrder) ProtoMessage()
func (*MsgCreatePerpetualCloseOrder) ProtoReflect ¶
func (x *MsgCreatePerpetualCloseOrder) ProtoReflect() protoreflect.Message
func (*MsgCreatePerpetualCloseOrder) Reset ¶
func (x *MsgCreatePerpetualCloseOrder) Reset()
func (*MsgCreatePerpetualCloseOrder) String ¶
func (x *MsgCreatePerpetualCloseOrder) String() string
type MsgCreatePerpetualCloseOrderResponse ¶
type MsgCreatePerpetualCloseOrderResponse struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCreatePerpetualCloseOrderResponse) Descriptor
deprecated
func (*MsgCreatePerpetualCloseOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePerpetualCloseOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgCreatePerpetualCloseOrderResponse) GetOrderId ¶
func (x *MsgCreatePerpetualCloseOrderResponse) GetOrderId() uint64
func (*MsgCreatePerpetualCloseOrderResponse) ProtoMessage ¶
func (*MsgCreatePerpetualCloseOrderResponse) ProtoMessage()
func (*MsgCreatePerpetualCloseOrderResponse) ProtoReflect ¶
func (x *MsgCreatePerpetualCloseOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgCreatePerpetualCloseOrderResponse) Reset ¶
func (x *MsgCreatePerpetualCloseOrderResponse) Reset()
func (*MsgCreatePerpetualCloseOrderResponse) String ¶
func (x *MsgCreatePerpetualCloseOrderResponse) String() string
type MsgCreatePerpetualOpenOrder ¶
type MsgCreatePerpetualOpenOrder struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` TriggerPrice *TriggerPrice `protobuf:"bytes,2,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` Collateral *v1beta1.Coin `protobuf:"bytes,3,opt,name=collateral,proto3" json:"collateral,omitempty"` TradingAsset string `protobuf:"bytes,4,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"` Position PerpetualPosition `protobuf:"varint,5,opt,name=position,proto3,enum=elys.tradeshield.PerpetualPosition" json:"position,omitempty"` Leverage string `protobuf:"bytes,6,opt,name=leverage,proto3" json:"leverage,omitempty"` TakeProfitPrice string `protobuf:"bytes,7,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"` StopLossPrice string `protobuf:"bytes,8,opt,name=stop_loss_price,json=stopLossPrice,proto3" json:"stop_loss_price,omitempty"` PoolId uint64 `protobuf:"varint,9,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCreatePerpetualOpenOrder) Descriptor
deprecated
func (*MsgCreatePerpetualOpenOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePerpetualOpenOrder.ProtoReflect.Descriptor instead.
func (*MsgCreatePerpetualOpenOrder) GetCollateral ¶
func (x *MsgCreatePerpetualOpenOrder) GetCollateral() *v1beta1.Coin
func (*MsgCreatePerpetualOpenOrder) GetLeverage ¶
func (x *MsgCreatePerpetualOpenOrder) GetLeverage() string
func (*MsgCreatePerpetualOpenOrder) GetOwnerAddress ¶
func (x *MsgCreatePerpetualOpenOrder) GetOwnerAddress() string
func (*MsgCreatePerpetualOpenOrder) GetPoolId ¶
func (x *MsgCreatePerpetualOpenOrder) GetPoolId() uint64
func (*MsgCreatePerpetualOpenOrder) GetPosition ¶
func (x *MsgCreatePerpetualOpenOrder) GetPosition() PerpetualPosition
func (*MsgCreatePerpetualOpenOrder) GetStopLossPrice ¶
func (x *MsgCreatePerpetualOpenOrder) GetStopLossPrice() string
func (*MsgCreatePerpetualOpenOrder) GetTakeProfitPrice ¶
func (x *MsgCreatePerpetualOpenOrder) GetTakeProfitPrice() string
func (*MsgCreatePerpetualOpenOrder) GetTradingAsset ¶
func (x *MsgCreatePerpetualOpenOrder) GetTradingAsset() string
func (*MsgCreatePerpetualOpenOrder) GetTriggerPrice ¶
func (x *MsgCreatePerpetualOpenOrder) GetTriggerPrice() *TriggerPrice
func (*MsgCreatePerpetualOpenOrder) ProtoMessage ¶
func (*MsgCreatePerpetualOpenOrder) ProtoMessage()
func (*MsgCreatePerpetualOpenOrder) ProtoReflect ¶
func (x *MsgCreatePerpetualOpenOrder) ProtoReflect() protoreflect.Message
func (*MsgCreatePerpetualOpenOrder) Reset ¶
func (x *MsgCreatePerpetualOpenOrder) Reset()
func (*MsgCreatePerpetualOpenOrder) String ¶
func (x *MsgCreatePerpetualOpenOrder) String() string
type MsgCreatePerpetualOpenOrderResponse ¶
type MsgCreatePerpetualOpenOrderResponse struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCreatePerpetualOpenOrderResponse) Descriptor
deprecated
func (*MsgCreatePerpetualOpenOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreatePerpetualOpenOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgCreatePerpetualOpenOrderResponse) GetOrderId ¶
func (x *MsgCreatePerpetualOpenOrderResponse) GetOrderId() uint64
func (*MsgCreatePerpetualOpenOrderResponse) ProtoMessage ¶
func (*MsgCreatePerpetualOpenOrderResponse) ProtoMessage()
func (*MsgCreatePerpetualOpenOrderResponse) ProtoReflect ¶
func (x *MsgCreatePerpetualOpenOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgCreatePerpetualOpenOrderResponse) Reset ¶
func (x *MsgCreatePerpetualOpenOrderResponse) Reset()
func (*MsgCreatePerpetualOpenOrderResponse) String ¶
func (x *MsgCreatePerpetualOpenOrderResponse) String() string
type MsgCreateSpotOrder ¶
type MsgCreateSpotOrder struct { OrderType SpotOrderType `protobuf:"varint,1,opt,name=order_type,json=orderType,proto3,enum=elys.tradeshield.SpotOrderType" json:"order_type,omitempty"` OrderPrice *OrderPrice `protobuf:"bytes,2,opt,name=order_price,json=orderPrice,proto3" json:"order_price,omitempty"` OrderAmount *v1beta1.Coin `protobuf:"bytes,3,opt,name=order_amount,json=orderAmount,proto3" json:"order_amount,omitempty"` OwnerAddress string `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderTargetDenom string `protobuf:"bytes,5,opt,name=order_target_denom,json=orderTargetDenom,proto3" json:"order_target_denom,omitempty"` // contains filtered or unexported fields }
func (*MsgCreateSpotOrder) Descriptor
deprecated
func (*MsgCreateSpotOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateSpotOrder.ProtoReflect.Descriptor instead.
func (*MsgCreateSpotOrder) GetOrderAmount ¶
func (x *MsgCreateSpotOrder) GetOrderAmount() *v1beta1.Coin
func (*MsgCreateSpotOrder) GetOrderPrice ¶
func (x *MsgCreateSpotOrder) GetOrderPrice() *OrderPrice
func (*MsgCreateSpotOrder) GetOrderTargetDenom ¶
func (x *MsgCreateSpotOrder) GetOrderTargetDenom() string
func (*MsgCreateSpotOrder) GetOrderType ¶
func (x *MsgCreateSpotOrder) GetOrderType() SpotOrderType
func (*MsgCreateSpotOrder) GetOwnerAddress ¶
func (x *MsgCreateSpotOrder) GetOwnerAddress() string
func (*MsgCreateSpotOrder) ProtoMessage ¶
func (*MsgCreateSpotOrder) ProtoMessage()
func (*MsgCreateSpotOrder) ProtoReflect ¶
func (x *MsgCreateSpotOrder) ProtoReflect() protoreflect.Message
func (*MsgCreateSpotOrder) Reset ¶
func (x *MsgCreateSpotOrder) Reset()
func (*MsgCreateSpotOrder) String ¶
func (x *MsgCreateSpotOrder) String() string
type MsgCreateSpotOrderResponse ¶
type MsgCreateSpotOrderResponse struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // contains filtered or unexported fields }
func (*MsgCreateSpotOrderResponse) Descriptor
deprecated
func (*MsgCreateSpotOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateSpotOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateSpotOrderResponse) GetOrderId ¶
func (x *MsgCreateSpotOrderResponse) GetOrderId() uint64
func (*MsgCreateSpotOrderResponse) ProtoMessage ¶
func (*MsgCreateSpotOrderResponse) ProtoMessage()
func (*MsgCreateSpotOrderResponse) ProtoReflect ¶
func (x *MsgCreateSpotOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateSpotOrderResponse) Reset ¶
func (x *MsgCreateSpotOrderResponse) Reset()
func (*MsgCreateSpotOrderResponse) String ¶
func (x *MsgCreateSpotOrderResponse) String() string
type MsgExecuteOrders ¶
type MsgExecuteOrders struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` SpotOrderIds []uint64 `protobuf:"varint,2,rep,packed,name=spot_order_ids,json=spotOrderIds,proto3" json:"spot_order_ids,omitempty"` PerpetualOrderIds []uint64 `protobuf:"varint,3,rep,packed,name=perpetual_order_ids,json=perpetualOrderIds,proto3" json:"perpetual_order_ids,omitempty"` // contains filtered or unexported fields }
func (*MsgExecuteOrders) Descriptor
deprecated
func (*MsgExecuteOrders) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecuteOrders.ProtoReflect.Descriptor instead.
func (*MsgExecuteOrders) GetCreator ¶
func (x *MsgExecuteOrders) GetCreator() string
func (*MsgExecuteOrders) GetPerpetualOrderIds ¶
func (x *MsgExecuteOrders) GetPerpetualOrderIds() []uint64
func (*MsgExecuteOrders) GetSpotOrderIds ¶
func (x *MsgExecuteOrders) GetSpotOrderIds() []uint64
func (*MsgExecuteOrders) ProtoMessage ¶
func (*MsgExecuteOrders) ProtoMessage()
func (*MsgExecuteOrders) ProtoReflect ¶
func (x *MsgExecuteOrders) ProtoReflect() protoreflect.Message
func (*MsgExecuteOrders) Reset ¶
func (x *MsgExecuteOrders) Reset()
func (*MsgExecuteOrders) String ¶
func (x *MsgExecuteOrders) String() string
type MsgExecuteOrdersResponse ¶
type MsgExecuteOrdersResponse struct {
// contains filtered or unexported fields
}
func (*MsgExecuteOrdersResponse) Descriptor
deprecated
func (*MsgExecuteOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecuteOrdersResponse.ProtoReflect.Descriptor instead.
func (*MsgExecuteOrdersResponse) ProtoMessage ¶
func (*MsgExecuteOrdersResponse) ProtoMessage()
func (*MsgExecuteOrdersResponse) ProtoReflect ¶
func (x *MsgExecuteOrdersResponse) ProtoReflect() protoreflect.Message
func (*MsgExecuteOrdersResponse) Reset ¶
func (x *MsgExecuteOrdersResponse) Reset()
func (*MsgExecuteOrdersResponse) String ¶
func (x *MsgExecuteOrdersResponse) String() string
type MsgServer ¶
type MsgServer interface { CreateSpotOrder(context.Context, *MsgCreateSpotOrder) (*MsgCreateSpotOrderResponse, error) UpdateSpotOrder(context.Context, *MsgUpdateSpotOrder) (*MsgUpdateSpotOrderResponse, error) CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error) CancelSpotOrders(context.Context, *MsgCancelSpotOrders) (*MsgCancelSpotOrdersResponse, error) CreatePerpetualOpenOrder(context.Context, *MsgCreatePerpetualOpenOrder) (*MsgCreatePerpetualOpenOrderResponse, error) CreatePerpetualCloseOrder(context.Context, *MsgCreatePerpetualCloseOrder) (*MsgCreatePerpetualCloseOrderResponse, error) UpdatePerpetualOrder(context.Context, *MsgUpdatePerpetualOrder) (*MsgUpdatePerpetualOrderResponse, error) CancelPerpetualOrder(context.Context, *MsgCancelPerpetualOrder) (*MsgCancelPerpetualOrderResponse, error) CancelPerpetualOrders(context.Context, *MsgCancelPerpetualOrders) (*MsgCancelPerpetualOrdersResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) ExecuteOrders(context.Context, *MsgExecuteOrders) (*MsgExecuteOrdersResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type MsgUpdatePerpetualOrder ¶
type MsgUpdatePerpetualOrder struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderId uint64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` TriggerPrice *TriggerPrice `protobuf:"bytes,3,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdatePerpetualOrder) Descriptor
deprecated
func (*MsgUpdatePerpetualOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdatePerpetualOrder.ProtoReflect.Descriptor instead.
func (*MsgUpdatePerpetualOrder) GetOrderId ¶
func (x *MsgUpdatePerpetualOrder) GetOrderId() uint64
func (*MsgUpdatePerpetualOrder) GetOwnerAddress ¶
func (x *MsgUpdatePerpetualOrder) GetOwnerAddress() string
func (*MsgUpdatePerpetualOrder) GetTriggerPrice ¶
func (x *MsgUpdatePerpetualOrder) GetTriggerPrice() *TriggerPrice
func (*MsgUpdatePerpetualOrder) ProtoMessage ¶
func (*MsgUpdatePerpetualOrder) ProtoMessage()
func (*MsgUpdatePerpetualOrder) ProtoReflect ¶
func (x *MsgUpdatePerpetualOrder) ProtoReflect() protoreflect.Message
func (*MsgUpdatePerpetualOrder) Reset ¶
func (x *MsgUpdatePerpetualOrder) Reset()
func (*MsgUpdatePerpetualOrder) String ¶
func (x *MsgUpdatePerpetualOrder) String() string
type MsgUpdatePerpetualOrderResponse ¶
type MsgUpdatePerpetualOrderResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdatePerpetualOrderResponse) Descriptor
deprecated
func (*MsgUpdatePerpetualOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdatePerpetualOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdatePerpetualOrderResponse) ProtoMessage ¶
func (*MsgUpdatePerpetualOrderResponse) ProtoMessage()
func (*MsgUpdatePerpetualOrderResponse) ProtoReflect ¶
func (x *MsgUpdatePerpetualOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdatePerpetualOrderResponse) Reset ¶
func (x *MsgUpdatePerpetualOrderResponse) Reset()
func (*MsgUpdatePerpetualOrderResponse) String ¶
func (x *MsgUpdatePerpetualOrderResponse) String() string
type MsgUpdateSpotOrder ¶
type MsgUpdateSpotOrder struct { OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderId uint64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OrderPrice *OrderPrice `protobuf:"bytes,3,opt,name=order_price,json=orderPrice,proto3" json:"order_price,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateSpotOrder) Descriptor
deprecated
func (*MsgUpdateSpotOrder) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateSpotOrder.ProtoReflect.Descriptor instead.
func (*MsgUpdateSpotOrder) GetOrderId ¶
func (x *MsgUpdateSpotOrder) GetOrderId() uint64
func (*MsgUpdateSpotOrder) GetOrderPrice ¶
func (x *MsgUpdateSpotOrder) GetOrderPrice() *OrderPrice
func (*MsgUpdateSpotOrder) GetOwnerAddress ¶
func (x *MsgUpdateSpotOrder) GetOwnerAddress() string
func (*MsgUpdateSpotOrder) ProtoMessage ¶
func (*MsgUpdateSpotOrder) ProtoMessage()
func (*MsgUpdateSpotOrder) ProtoReflect ¶
func (x *MsgUpdateSpotOrder) ProtoReflect() protoreflect.Message
func (*MsgUpdateSpotOrder) Reset ¶
func (x *MsgUpdateSpotOrder) Reset()
func (*MsgUpdateSpotOrder) String ¶
func (x *MsgUpdateSpotOrder) String() string
type MsgUpdateSpotOrderResponse ¶
type MsgUpdateSpotOrderResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateSpotOrderResponse) Descriptor
deprecated
func (*MsgUpdateSpotOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateSpotOrderResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateSpotOrderResponse) ProtoMessage ¶
func (*MsgUpdateSpotOrderResponse) ProtoMessage()
func (*MsgUpdateSpotOrderResponse) ProtoReflect ¶
func (x *MsgUpdateSpotOrderResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateSpotOrderResponse) Reset ¶
func (x *MsgUpdateSpotOrderResponse) Reset()
func (*MsgUpdateSpotOrderResponse) String ¶
func (x *MsgUpdateSpotOrderResponse) String() string
type OrderPrice ¶
type OrderPrice struct { BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"` QuoteDenom string `protobuf:"bytes,2,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"` Rate string `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*OrderPrice) Descriptor
deprecated
func (*OrderPrice) Descriptor() ([]byte, []int)
Deprecated: Use OrderPrice.ProtoReflect.Descriptor instead.
func (*OrderPrice) GetBaseDenom ¶
func (x *OrderPrice) GetBaseDenom() string
func (*OrderPrice) GetQuoteDenom ¶
func (x *OrderPrice) GetQuoteDenom() string
func (*OrderPrice) GetRate ¶
func (x *OrderPrice) GetRate() string
func (*OrderPrice) ProtoMessage ¶
func (*OrderPrice) ProtoMessage()
func (*OrderPrice) ProtoReflect ¶
func (x *OrderPrice) ProtoReflect() protoreflect.Message
func (*OrderPrice) Reset ¶
func (x *OrderPrice) Reset()
func (*OrderPrice) String ¶
func (x *OrderPrice) String() string
type Params ¶
type Params struct { MarketOrderEnabled bool `protobuf:"varint,1,opt,name=market_order_enabled,json=marketOrderEnabled,proto3" json:"market_order_enabled,omitempty"` StakeEnabled bool `protobuf:"varint,2,opt,name=stake_enabled,json=stakeEnabled,proto3" json:"stake_enabled,omitempty"` ProcessOrdersEnabled bool `protobuf:"varint,3,opt,name=process_orders_enabled,json=processOrdersEnabled,proto3" json:"process_orders_enabled,omitempty"` SwapEnabled bool `protobuf:"varint,4,opt,name=swap_enabled,json=swapEnabled,proto3" json:"swap_enabled,omitempty"` PerpetualEnabled bool `protobuf:"varint,5,opt,name=perpetual_enabled,json=perpetualEnabled,proto3" json:"perpetual_enabled,omitempty"` RewardEnabled bool `protobuf:"varint,6,opt,name=reward_enabled,json=rewardEnabled,proto3" json:"reward_enabled,omitempty"` LeverageEnabled bool `protobuf:"varint,7,opt,name=leverage_enabled,json=leverageEnabled,proto3" json:"leverage_enabled,omitempty"` LimitProcessOrder uint64 `protobuf:"varint,8,opt,name=limit_process_order,json=limitProcessOrder,proto3" json:"limit_process_order,omitempty"` // For incentive system v2 RewardPercentage string `protobuf:"bytes,9,opt,name=reward_percentage,json=rewardPercentage,proto3" json:"reward_percentage,omitempty"` MarginError string `protobuf:"bytes,10,opt,name=margin_error,json=marginError,proto3" json:"margin_error,omitempty"` MinimumDeposit string `protobuf:"bytes,11,opt,name=minimum_deposit,json=minimumDeposit,proto3" json:"minimum_deposit,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetLeverageEnabled ¶
func (*Params) GetLimitProcessOrder ¶
func (*Params) GetMarginError ¶
func (*Params) GetMarketOrderEnabled ¶
func (*Params) GetMinimumDeposit ¶
func (*Params) GetPerpetualEnabled ¶
func (*Params) GetProcessOrdersEnabled ¶
func (*Params) GetRewardEnabled ¶
func (*Params) GetRewardPercentage ¶
func (*Params) GetStakeEnabled ¶
func (*Params) GetSwapEnabled ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type PerpetualOrder ¶
type PerpetualOrder struct { OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` PerpetualOrderType PerpetualOrderType `` /* 159-byte string literal not displayed */ Position PerpetualPosition `protobuf:"varint,4,opt,name=position,proto3,enum=elys.tradeshield.PerpetualPosition" json:"position,omitempty"` TriggerPrice *TriggerPrice `protobuf:"bytes,5,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` Collateral *v1beta1.Coin `protobuf:"bytes,6,opt,name=collateral,proto3" json:"collateral,omitempty"` TradingAsset string `protobuf:"bytes,7,opt,name=trading_asset,json=tradingAsset,proto3" json:"trading_asset,omitempty"` Leverage string `protobuf:"bytes,8,opt,name=leverage,proto3" json:"leverage,omitempty"` TakeProfitPrice string `protobuf:"bytes,9,opt,name=take_profit_price,json=takeProfitPrice,proto3" json:"take_profit_price,omitempty"` PositionId uint64 `protobuf:"varint,10,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Status Status `protobuf:"varint,11,opt,name=status,proto3,enum=elys.tradeshield.Status" json:"status,omitempty"` StopLossPrice string `protobuf:"bytes,12,opt,name=stop_loss_price,json=stopLossPrice,proto3" json:"stop_loss_price,omitempty"` PoolId uint64 `protobuf:"varint,13,opt,name=poolId,proto3" json:"poolId,omitempty"` // contains filtered or unexported fields }
func (*PerpetualOrder) Descriptor
deprecated
func (*PerpetualOrder) Descriptor() ([]byte, []int)
Deprecated: Use PerpetualOrder.ProtoReflect.Descriptor instead.
func (*PerpetualOrder) GetCollateral ¶
func (x *PerpetualOrder) GetCollateral() *v1beta1.Coin
func (*PerpetualOrder) GetLeverage ¶
func (x *PerpetualOrder) GetLeverage() string
func (*PerpetualOrder) GetOrderId ¶
func (x *PerpetualOrder) GetOrderId() uint64
func (*PerpetualOrder) GetOwnerAddress ¶
func (x *PerpetualOrder) GetOwnerAddress() string
func (*PerpetualOrder) GetPerpetualOrderType ¶
func (x *PerpetualOrder) GetPerpetualOrderType() PerpetualOrderType
func (*PerpetualOrder) GetPoolId ¶
func (x *PerpetualOrder) GetPoolId() uint64
func (*PerpetualOrder) GetPosition ¶
func (x *PerpetualOrder) GetPosition() PerpetualPosition
func (*PerpetualOrder) GetPositionId ¶
func (x *PerpetualOrder) GetPositionId() uint64
func (*PerpetualOrder) GetStatus ¶
func (x *PerpetualOrder) GetStatus() Status
func (*PerpetualOrder) GetStopLossPrice ¶
func (x *PerpetualOrder) GetStopLossPrice() string
func (*PerpetualOrder) GetTakeProfitPrice ¶
func (x *PerpetualOrder) GetTakeProfitPrice() string
func (*PerpetualOrder) GetTradingAsset ¶
func (x *PerpetualOrder) GetTradingAsset() string
func (*PerpetualOrder) GetTriggerPrice ¶
func (x *PerpetualOrder) GetTriggerPrice() *TriggerPrice
func (*PerpetualOrder) ProtoMessage ¶
func (*PerpetualOrder) ProtoMessage()
func (*PerpetualOrder) ProtoReflect ¶
func (x *PerpetualOrder) ProtoReflect() protoreflect.Message
func (*PerpetualOrder) Reset ¶
func (x *PerpetualOrder) Reset()
func (*PerpetualOrder) String ¶
func (x *PerpetualOrder) String() string
type PerpetualOrderExtraInfo ¶
type PerpetualOrderExtraInfo struct { PerpetualOrder *PerpetualOrder `protobuf:"bytes,1,opt,name=perpetual_order,json=perpetualOrder,proto3" json:"perpetual_order,omitempty"` PositionSize *v1beta1.Coin `protobuf:"bytes,2,opt,name=position_size,json=positionSize,proto3" json:"position_size,omitempty"` LiquidationPrice string `protobuf:"bytes,3,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"` FundingRate string `protobuf:"bytes,4,opt,name=funding_rate,json=fundingRate,proto3" json:"funding_rate,omitempty"` BorrowInterestRate string `protobuf:"bytes,5,opt,name=borrow_interest_rate,json=borrowInterestRate,proto3" json:"borrow_interest_rate,omitempty"` // contains filtered or unexported fields }
func (*PerpetualOrderExtraInfo) Descriptor
deprecated
func (*PerpetualOrderExtraInfo) Descriptor() ([]byte, []int)
Deprecated: Use PerpetualOrderExtraInfo.ProtoReflect.Descriptor instead.
func (*PerpetualOrderExtraInfo) GetBorrowInterestRate ¶
func (x *PerpetualOrderExtraInfo) GetBorrowInterestRate() string
func (*PerpetualOrderExtraInfo) GetFundingRate ¶
func (x *PerpetualOrderExtraInfo) GetFundingRate() string
func (*PerpetualOrderExtraInfo) GetLiquidationPrice ¶
func (x *PerpetualOrderExtraInfo) GetLiquidationPrice() string
func (*PerpetualOrderExtraInfo) GetPerpetualOrder ¶
func (x *PerpetualOrderExtraInfo) GetPerpetualOrder() *PerpetualOrder
func (*PerpetualOrderExtraInfo) GetPositionSize ¶
func (x *PerpetualOrderExtraInfo) GetPositionSize() *v1beta1.Coin
func (*PerpetualOrderExtraInfo) ProtoMessage ¶
func (*PerpetualOrderExtraInfo) ProtoMessage()
func (*PerpetualOrderExtraInfo) ProtoReflect ¶
func (x *PerpetualOrderExtraInfo) ProtoReflect() protoreflect.Message
func (*PerpetualOrderExtraInfo) Reset ¶
func (x *PerpetualOrderExtraInfo) Reset()
func (*PerpetualOrderExtraInfo) String ¶
func (x *PerpetualOrderExtraInfo) String() string
type PerpetualOrderType ¶
type PerpetualOrderType int32
Perpetual Order
const ( PerpetualOrderType_LIMITOPEN PerpetualOrderType = 0 PerpetualOrderType_LIMITCLOSE PerpetualOrderType = 1 PerpetualOrderType_STOPLOSSPERP PerpetualOrderType = 2 )
func (PerpetualOrderType) Descriptor ¶
func (PerpetualOrderType) Descriptor() protoreflect.EnumDescriptor
func (PerpetualOrderType) Enum ¶
func (x PerpetualOrderType) Enum() *PerpetualOrderType
func (PerpetualOrderType) EnumDescriptor
deprecated
func (PerpetualOrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PerpetualOrderType.Descriptor instead.
func (PerpetualOrderType) Number ¶
func (x PerpetualOrderType) Number() protoreflect.EnumNumber
func (PerpetualOrderType) String ¶
func (x PerpetualOrderType) String() string
func (PerpetualOrderType) Type ¶
func (PerpetualOrderType) Type() protoreflect.EnumType
type PerpetualPosition ¶
type PerpetualPosition int32
const ( PerpetualPosition_UNSPECIFIED PerpetualPosition = 0 PerpetualPosition_LONG PerpetualPosition = 1 PerpetualPosition_SHORT PerpetualPosition = 2 )
func (PerpetualPosition) Descriptor ¶
func (PerpetualPosition) Descriptor() protoreflect.EnumDescriptor
func (PerpetualPosition) Enum ¶
func (x PerpetualPosition) Enum() *PerpetualPosition
func (PerpetualPosition) EnumDescriptor
deprecated
func (PerpetualPosition) EnumDescriptor() ([]byte, []int)
Deprecated: Use PerpetualPosition.Descriptor instead.
func (PerpetualPosition) Number ¶
func (x PerpetualPosition) Number() protoreflect.EnumNumber
func (PerpetualPosition) String ¶
func (x PerpetualPosition) String() string
func (PerpetualPosition) Type ¶
func (PerpetualPosition) Type() protoreflect.EnumType
type QueryAllPendingPerpetualOrderRequest ¶
type QueryAllPendingPerpetualOrderRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllPendingPerpetualOrderRequest) Descriptor
deprecated
func (*QueryAllPendingPerpetualOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingPerpetualOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryAllPendingPerpetualOrderRequest) GetPagination ¶
func (x *QueryAllPendingPerpetualOrderRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllPendingPerpetualOrderRequest) ProtoMessage ¶
func (*QueryAllPendingPerpetualOrderRequest) ProtoMessage()
func (*QueryAllPendingPerpetualOrderRequest) ProtoReflect ¶
func (x *QueryAllPendingPerpetualOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryAllPendingPerpetualOrderRequest) Reset ¶
func (x *QueryAllPendingPerpetualOrderRequest) Reset()
func (*QueryAllPendingPerpetualOrderRequest) String ¶
func (x *QueryAllPendingPerpetualOrderRequest) String() string
type QueryAllPendingPerpetualOrderResponse ¶
type QueryAllPendingPerpetualOrderResponse struct { PendingPerpetualOrder []*PerpetualOrderExtraInfo `` /* 126-byte string literal not displayed */ Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllPendingPerpetualOrderResponse) Descriptor
deprecated
func (*QueryAllPendingPerpetualOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingPerpetualOrderResponse.ProtoReflect.Descriptor instead.
func (*QueryAllPendingPerpetualOrderResponse) GetPagination ¶
func (x *QueryAllPendingPerpetualOrderResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllPendingPerpetualOrderResponse) GetPendingPerpetualOrder ¶
func (x *QueryAllPendingPerpetualOrderResponse) GetPendingPerpetualOrder() []*PerpetualOrderExtraInfo
func (*QueryAllPendingPerpetualOrderResponse) ProtoMessage ¶
func (*QueryAllPendingPerpetualOrderResponse) ProtoMessage()
func (*QueryAllPendingPerpetualOrderResponse) ProtoReflect ¶
func (x *QueryAllPendingPerpetualOrderResponse) ProtoReflect() protoreflect.Message
func (*QueryAllPendingPerpetualOrderResponse) Reset ¶
func (x *QueryAllPendingPerpetualOrderResponse) Reset()
func (*QueryAllPendingPerpetualOrderResponse) String ¶
func (x *QueryAllPendingPerpetualOrderResponse) String() string
type QueryAllPendingSpotOrderRequest ¶
type QueryAllPendingSpotOrderRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllPendingSpotOrderRequest) Descriptor
deprecated
func (*QueryAllPendingSpotOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingSpotOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryAllPendingSpotOrderRequest) GetPagination ¶
func (x *QueryAllPendingSpotOrderRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllPendingSpotOrderRequest) ProtoMessage ¶
func (*QueryAllPendingSpotOrderRequest) ProtoMessage()
func (*QueryAllPendingSpotOrderRequest) ProtoReflect ¶
func (x *QueryAllPendingSpotOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryAllPendingSpotOrderRequest) Reset ¶
func (x *QueryAllPendingSpotOrderRequest) Reset()
func (*QueryAllPendingSpotOrderRequest) String ¶
func (x *QueryAllPendingSpotOrderRequest) String() string
type QueryAllPendingSpotOrderResponse ¶
type QueryAllPendingSpotOrderResponse struct { PendingSpotOrder []*SpotOrder `protobuf:"bytes,1,rep,name=pending_spot_order,json=pendingSpotOrder,proto3" json:"pending_spot_order,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllPendingSpotOrderResponse) Descriptor
deprecated
func (*QueryAllPendingSpotOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingSpotOrderResponse.ProtoReflect.Descriptor instead.
func (*QueryAllPendingSpotOrderResponse) GetPagination ¶
func (x *QueryAllPendingSpotOrderResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllPendingSpotOrderResponse) GetPendingSpotOrder ¶
func (x *QueryAllPendingSpotOrderResponse) GetPendingSpotOrder() []*SpotOrder
func (*QueryAllPendingSpotOrderResponse) ProtoMessage ¶
func (*QueryAllPendingSpotOrderResponse) ProtoMessage()
func (*QueryAllPendingSpotOrderResponse) ProtoReflect ¶
func (x *QueryAllPendingSpotOrderResponse) ProtoReflect() protoreflect.Message
func (*QueryAllPendingSpotOrderResponse) Reset ¶
func (x *QueryAllPendingSpotOrderResponse) Reset()
func (*QueryAllPendingSpotOrderResponse) String ¶
func (x *QueryAllPendingSpotOrderResponse) String() string
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of PendingSpotOrder items. PendingSpotOrder(ctx context.Context, in *QueryGetPendingSpotOrderRequest, opts ...grpc.CallOption) (*QueryGetPendingSpotOrderResponse, error) PendingSpotOrderAll(ctx context.Context, in *QueryAllPendingSpotOrderRequest, opts ...grpc.CallOption) (*QueryAllPendingSpotOrderResponse, error) // Queries a list of PendingPerpetualOrder items. PendingPerpetualOrder(ctx context.Context, in *QueryGetPendingPerpetualOrderRequest, opts ...grpc.CallOption) (*QueryGetPendingPerpetualOrderResponse, error) PendingPerpetualOrderAll(ctx context.Context, in *QueryAllPendingPerpetualOrderRequest, opts ...grpc.CallOption) (*QueryAllPendingPerpetualOrderResponse, error) // Queries a list of PendingPerpetualOrderForAddress items. PendingPerpetualOrderForAddress(ctx context.Context, in *QueryPendingPerpetualOrderForAddressRequest, opts ...grpc.CallOption) (*QueryPendingPerpetualOrderForAddressResponse, error) // Queries a list of PendingSpotOrderForAddress items. PendingSpotOrderForAddress(ctx context.Context, in *QueryPendingSpotOrderForAddressRequest, opts ...grpc.CallOption) (*QueryPendingSpotOrderForAddressResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGetPendingPerpetualOrderRequest ¶
type QueryGetPendingPerpetualOrderRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryGetPendingPerpetualOrderRequest) Descriptor
deprecated
func (*QueryGetPendingPerpetualOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetPendingPerpetualOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryGetPendingPerpetualOrderRequest) GetId ¶
func (x *QueryGetPendingPerpetualOrderRequest) GetId() uint64
func (*QueryGetPendingPerpetualOrderRequest) ProtoMessage ¶
func (*QueryGetPendingPerpetualOrderRequest) ProtoMessage()
func (*QueryGetPendingPerpetualOrderRequest) ProtoReflect ¶
func (x *QueryGetPendingPerpetualOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryGetPendingPerpetualOrderRequest) Reset ¶
func (x *QueryGetPendingPerpetualOrderRequest) Reset()
func (*QueryGetPendingPerpetualOrderRequest) String ¶
func (x *QueryGetPendingPerpetualOrderRequest) String() string
type QueryGetPendingPerpetualOrderResponse ¶
type QueryGetPendingPerpetualOrderResponse struct { PendingPerpetualOrder *PerpetualOrderExtraInfo `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryGetPendingPerpetualOrderResponse) Descriptor
deprecated
func (*QueryGetPendingPerpetualOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetPendingPerpetualOrderResponse.ProtoReflect.Descriptor instead.
func (*QueryGetPendingPerpetualOrderResponse) GetPendingPerpetualOrder ¶
func (x *QueryGetPendingPerpetualOrderResponse) GetPendingPerpetualOrder() *PerpetualOrderExtraInfo
func (*QueryGetPendingPerpetualOrderResponse) ProtoMessage ¶
func (*QueryGetPendingPerpetualOrderResponse) ProtoMessage()
func (*QueryGetPendingPerpetualOrderResponse) ProtoReflect ¶
func (x *QueryGetPendingPerpetualOrderResponse) ProtoReflect() protoreflect.Message
func (*QueryGetPendingPerpetualOrderResponse) Reset ¶
func (x *QueryGetPendingPerpetualOrderResponse) Reset()
func (*QueryGetPendingPerpetualOrderResponse) String ¶
func (x *QueryGetPendingPerpetualOrderResponse) String() string
type QueryGetPendingSpotOrderRequest ¶
type QueryGetPendingSpotOrderRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryGetPendingSpotOrderRequest) Descriptor
deprecated
func (*QueryGetPendingSpotOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetPendingSpotOrderRequest.ProtoReflect.Descriptor instead.
func (*QueryGetPendingSpotOrderRequest) GetId ¶
func (x *QueryGetPendingSpotOrderRequest) GetId() uint64
func (*QueryGetPendingSpotOrderRequest) ProtoMessage ¶
func (*QueryGetPendingSpotOrderRequest) ProtoMessage()
func (*QueryGetPendingSpotOrderRequest) ProtoReflect ¶
func (x *QueryGetPendingSpotOrderRequest) ProtoReflect() protoreflect.Message
func (*QueryGetPendingSpotOrderRequest) Reset ¶
func (x *QueryGetPendingSpotOrderRequest) Reset()
func (*QueryGetPendingSpotOrderRequest) String ¶
func (x *QueryGetPendingSpotOrderRequest) String() string
type QueryGetPendingSpotOrderResponse ¶
type QueryGetPendingSpotOrderResponse struct { PendingSpotOrder *SpotOrder `protobuf:"bytes,1,opt,name=pending_spot_order,json=pendingSpotOrder,proto3" json:"pending_spot_order,omitempty"` // contains filtered or unexported fields }
func (*QueryGetPendingSpotOrderResponse) Descriptor
deprecated
func (*QueryGetPendingSpotOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetPendingSpotOrderResponse.ProtoReflect.Descriptor instead.
func (*QueryGetPendingSpotOrderResponse) GetPendingSpotOrder ¶
func (x *QueryGetPendingSpotOrderResponse) GetPendingSpotOrder() *SpotOrder
func (*QueryGetPendingSpotOrderResponse) ProtoMessage ¶
func (*QueryGetPendingSpotOrderResponse) ProtoMessage()
func (*QueryGetPendingSpotOrderResponse) ProtoReflect ¶
func (x *QueryGetPendingSpotOrderResponse) ProtoReflect() protoreflect.Message
func (*QueryGetPendingSpotOrderResponse) Reset ¶
func (x *QueryGetPendingSpotOrderResponse) Reset()
func (*QueryGetPendingSpotOrderResponse) String ¶
func (x *QueryGetPendingSpotOrderResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryPendingPerpetualOrderForAddressRequest ¶
type QueryPendingPerpetualOrderForAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=elys.tradeshield.Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*QueryPendingPerpetualOrderForAddressRequest) Descriptor
deprecated
func (*QueryPendingPerpetualOrderForAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingPerpetualOrderForAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryPendingPerpetualOrderForAddressRequest) GetAddress ¶
func (x *QueryPendingPerpetualOrderForAddressRequest) GetAddress() string
func (*QueryPendingPerpetualOrderForAddressRequest) GetStatus ¶
func (x *QueryPendingPerpetualOrderForAddressRequest) GetStatus() Status
func (*QueryPendingPerpetualOrderForAddressRequest) ProtoMessage ¶
func (*QueryPendingPerpetualOrderForAddressRequest) ProtoMessage()
func (*QueryPendingPerpetualOrderForAddressRequest) ProtoReflect ¶
func (x *QueryPendingPerpetualOrderForAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryPendingPerpetualOrderForAddressRequest) Reset ¶
func (x *QueryPendingPerpetualOrderForAddressRequest) Reset()
func (*QueryPendingPerpetualOrderForAddressRequest) String ¶
func (x *QueryPendingPerpetualOrderForAddressRequest) String() string
type QueryPendingPerpetualOrderForAddressResponse ¶
type QueryPendingPerpetualOrderForAddressResponse struct { PendingPerpetualOrders []*PerpetualOrderExtraInfo `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryPendingPerpetualOrderForAddressResponse) Descriptor
deprecated
func (*QueryPendingPerpetualOrderForAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingPerpetualOrderForAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryPendingPerpetualOrderForAddressResponse) GetPendingPerpetualOrders ¶
func (x *QueryPendingPerpetualOrderForAddressResponse) GetPendingPerpetualOrders() []*PerpetualOrderExtraInfo
func (*QueryPendingPerpetualOrderForAddressResponse) ProtoMessage ¶
func (*QueryPendingPerpetualOrderForAddressResponse) ProtoMessage()
func (*QueryPendingPerpetualOrderForAddressResponse) ProtoReflect ¶
func (x *QueryPendingPerpetualOrderForAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryPendingPerpetualOrderForAddressResponse) Reset ¶
func (x *QueryPendingPerpetualOrderForAddressResponse) Reset()
func (*QueryPendingPerpetualOrderForAddressResponse) String ¶
func (x *QueryPendingPerpetualOrderForAddressResponse) String() string
type QueryPendingSpotOrderForAddressRequest ¶
type QueryPendingSpotOrderForAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=elys.tradeshield.Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*QueryPendingSpotOrderForAddressRequest) Descriptor
deprecated
func (*QueryPendingSpotOrderForAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingSpotOrderForAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryPendingSpotOrderForAddressRequest) GetAddress ¶
func (x *QueryPendingSpotOrderForAddressRequest) GetAddress() string
func (*QueryPendingSpotOrderForAddressRequest) GetStatus ¶
func (x *QueryPendingSpotOrderForAddressRequest) GetStatus() Status
func (*QueryPendingSpotOrderForAddressRequest) ProtoMessage ¶
func (*QueryPendingSpotOrderForAddressRequest) ProtoMessage()
func (*QueryPendingSpotOrderForAddressRequest) ProtoReflect ¶
func (x *QueryPendingSpotOrderForAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryPendingSpotOrderForAddressRequest) Reset ¶
func (x *QueryPendingSpotOrderForAddressRequest) Reset()
func (*QueryPendingSpotOrderForAddressRequest) String ¶
func (x *QueryPendingSpotOrderForAddressRequest) String() string
type QueryPendingSpotOrderForAddressResponse ¶
type QueryPendingSpotOrderForAddressResponse struct { PendingSpotOrders []*SpotOrder `protobuf:"bytes,1,rep,name=pending_spot_orders,json=pendingSpotOrders,proto3" json:"pending_spot_orders,omitempty"` // contains filtered or unexported fields }
func (*QueryPendingSpotOrderForAddressResponse) Descriptor
deprecated
func (*QueryPendingSpotOrderForAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryPendingSpotOrderForAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryPendingSpotOrderForAddressResponse) GetPendingSpotOrders ¶
func (x *QueryPendingSpotOrderForAddressResponse) GetPendingSpotOrders() []*SpotOrder
func (*QueryPendingSpotOrderForAddressResponse) ProtoMessage ¶
func (*QueryPendingSpotOrderForAddressResponse) ProtoMessage()
func (*QueryPendingSpotOrderForAddressResponse) ProtoReflect ¶
func (x *QueryPendingSpotOrderForAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryPendingSpotOrderForAddressResponse) Reset ¶
func (x *QueryPendingSpotOrderForAddressResponse) Reset()
func (*QueryPendingSpotOrderForAddressResponse) String ¶
func (x *QueryPendingSpotOrderForAddressResponse) String() string
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of PendingSpotOrder items. PendingSpotOrder(context.Context, *QueryGetPendingSpotOrderRequest) (*QueryGetPendingSpotOrderResponse, error) PendingSpotOrderAll(context.Context, *QueryAllPendingSpotOrderRequest) (*QueryAllPendingSpotOrderResponse, error) // Queries a list of PendingPerpetualOrder items. PendingPerpetualOrder(context.Context, *QueryGetPendingPerpetualOrderRequest) (*QueryGetPendingPerpetualOrderResponse, error) PendingPerpetualOrderAll(context.Context, *QueryAllPendingPerpetualOrderRequest) (*QueryAllPendingPerpetualOrderResponse, error) // Queries a list of PendingPerpetualOrderForAddress items. PendingPerpetualOrderForAddress(context.Context, *QueryPendingPerpetualOrderForAddressRequest) (*QueryPendingPerpetualOrderForAddressResponse, error) // Queries a list of PendingSpotOrderForAddress items. PendingSpotOrderForAddress(context.Context, *QueryPendingSpotOrderForAddressRequest) (*QueryPendingSpotOrderForAddressResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type SpotOrder ¶
type SpotOrder struct { OrderType SpotOrderType `protobuf:"varint,1,opt,name=order_type,json=orderType,proto3,enum=elys.tradeshield.SpotOrderType" json:"order_type,omitempty"` OrderId uint64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` OrderPrice *OrderPrice `protobuf:"bytes,3,opt,name=order_price,json=orderPrice,proto3" json:"order_price,omitempty"` OrderAmount *v1beta1.Coin `protobuf:"bytes,4,opt,name=order_amount,json=orderAmount,proto3" json:"order_amount,omitempty"` OwnerAddress string `protobuf:"bytes,5,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` OrderTargetDenom string `protobuf:"bytes,6,opt,name=order_target_denom,json=orderTargetDenom,proto3" json:"order_target_denom,omitempty"` Status Status `protobuf:"varint,7,opt,name=status,proto3,enum=elys.tradeshield.Status" json:"status,omitempty"` Date *Date `protobuf:"bytes,8,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*SpotOrder) Descriptor
deprecated
func (*SpotOrder) GetOrderAmount ¶
func (*SpotOrder) GetOrderId ¶
func (*SpotOrder) GetOrderPrice ¶
func (x *SpotOrder) GetOrderPrice() *OrderPrice
func (*SpotOrder) GetOrderTargetDenom ¶
func (*SpotOrder) GetOrderType ¶
func (x *SpotOrder) GetOrderType() SpotOrderType
func (*SpotOrder) GetOwnerAddress ¶
func (*SpotOrder) ProtoMessage ¶
func (*SpotOrder) ProtoMessage()
func (*SpotOrder) ProtoReflect ¶
func (x *SpotOrder) ProtoReflect() protoreflect.Message
type SpotOrderType ¶
type SpotOrderType int32
Spot order
const ( SpotOrderType_STOPLOSS SpotOrderType = 0 SpotOrderType_LIMITSELL SpotOrderType = 1 SpotOrderType_LIMITBUY SpotOrderType = 2 SpotOrderType_MARKETBUY SpotOrderType = 3 )
func (SpotOrderType) Descriptor ¶
func (SpotOrderType) Descriptor() protoreflect.EnumDescriptor
func (SpotOrderType) Enum ¶
func (x SpotOrderType) Enum() *SpotOrderType
func (SpotOrderType) EnumDescriptor
deprecated
func (SpotOrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpotOrderType.Descriptor instead.
func (SpotOrderType) Number ¶
func (x SpotOrderType) Number() protoreflect.EnumNumber
func (SpotOrderType) String ¶
func (x SpotOrderType) String() string
func (SpotOrderType) Type ¶
func (SpotOrderType) Type() protoreflect.EnumType
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type TriggerPrice ¶
type TriggerPrice struct { TradingAssetDenom string `protobuf:"bytes,1,opt,name=trading_asset_denom,json=tradingAssetDenom,proto3" json:"trading_asset_denom,omitempty"` Rate string `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*TriggerPrice) Descriptor
deprecated
func (*TriggerPrice) Descriptor() ([]byte, []int)
Deprecated: Use TriggerPrice.ProtoReflect.Descriptor instead.
func (*TriggerPrice) GetRate ¶
func (x *TriggerPrice) GetRate() string
func (*TriggerPrice) GetTradingAssetDenom ¶
func (x *TriggerPrice) GetTradingAssetDenom() string
func (*TriggerPrice) ProtoMessage ¶
func (*TriggerPrice) ProtoMessage()
func (*TriggerPrice) ProtoReflect ¶
func (x *TriggerPrice) ProtoReflect() protoreflect.Message
func (*TriggerPrice) Reset ¶
func (x *TriggerPrice) Reset()
func (*TriggerPrice) String ¶
func (x *TriggerPrice) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CancelPerpetualOrder ¶
func (UnimplementedMsgServer) CancelPerpetualOrder(context.Context, *MsgCancelPerpetualOrder) (*MsgCancelPerpetualOrderResponse, error)
func (UnimplementedMsgServer) CancelPerpetualOrders ¶
func (UnimplementedMsgServer) CancelPerpetualOrders(context.Context, *MsgCancelPerpetualOrders) (*MsgCancelPerpetualOrdersResponse, error)
func (UnimplementedMsgServer) CancelSpotOrder ¶
func (UnimplementedMsgServer) CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
func (UnimplementedMsgServer) CancelSpotOrders ¶
func (UnimplementedMsgServer) CancelSpotOrders(context.Context, *MsgCancelSpotOrders) (*MsgCancelSpotOrdersResponse, error)
func (UnimplementedMsgServer) CreatePerpetualCloseOrder ¶
func (UnimplementedMsgServer) CreatePerpetualCloseOrder(context.Context, *MsgCreatePerpetualCloseOrder) (*MsgCreatePerpetualCloseOrderResponse, error)
func (UnimplementedMsgServer) CreatePerpetualOpenOrder ¶
func (UnimplementedMsgServer) CreatePerpetualOpenOrder(context.Context, *MsgCreatePerpetualOpenOrder) (*MsgCreatePerpetualOpenOrderResponse, error)
func (UnimplementedMsgServer) CreateSpotOrder ¶
func (UnimplementedMsgServer) CreateSpotOrder(context.Context, *MsgCreateSpotOrder) (*MsgCreateSpotOrderResponse, error)
func (UnimplementedMsgServer) ExecuteOrders ¶
func (UnimplementedMsgServer) ExecuteOrders(context.Context, *MsgExecuteOrders) (*MsgExecuteOrdersResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) UpdatePerpetualOrder ¶
func (UnimplementedMsgServer) UpdatePerpetualOrder(context.Context, *MsgUpdatePerpetualOrder) (*MsgUpdatePerpetualOrderResponse, error)
func (UnimplementedMsgServer) UpdateSpotOrder ¶
func (UnimplementedMsgServer) UpdateSpotOrder(context.Context, *MsgUpdateSpotOrder) (*MsgUpdateSpotOrderResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) PendingPerpetualOrder ¶
func (UnimplementedQueryServer) PendingPerpetualOrder(context.Context, *QueryGetPendingPerpetualOrderRequest) (*QueryGetPendingPerpetualOrderResponse, error)
func (UnimplementedQueryServer) PendingPerpetualOrderAll ¶
func (UnimplementedQueryServer) PendingPerpetualOrderAll(context.Context, *QueryAllPendingPerpetualOrderRequest) (*QueryAllPendingPerpetualOrderResponse, error)
func (UnimplementedQueryServer) PendingPerpetualOrderForAddress ¶
func (UnimplementedQueryServer) PendingPerpetualOrderForAddress(context.Context, *QueryPendingPerpetualOrderForAddressRequest) (*QueryPendingPerpetualOrderForAddressResponse, error)
func (UnimplementedQueryServer) PendingSpotOrder ¶
func (UnimplementedQueryServer) PendingSpotOrder(context.Context, *QueryGetPendingSpotOrderRequest) (*QueryGetPendingSpotOrderResponse, error)
func (UnimplementedQueryServer) PendingSpotOrderAll ¶
func (UnimplementedQueryServer) PendingSpotOrderAll(context.Context, *QueryAllPendingSpotOrderRequest) (*QueryAllPendingSpotOrderResponse, error)
func (UnimplementedQueryServer) PendingSpotOrderForAddress ¶
func (UnimplementedQueryServer) PendingSpotOrderForAddress(context.Context, *QueryPendingSpotOrderForAddressRequest) (*QueryPendingSpotOrderForAddressResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.