tradeshield

package
v0.52.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_elys_tradeshield_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_tradeshield_order_proto protoreflect.FileDescriptor
View Source
var File_elys_tradeshield_params_proto protoreflect.FileDescriptor
View Source
var File_elys_tradeshield_query_proto protoreflect.FileDescriptor
View Source
var File_elys_tradeshield_tx_proto protoreflect.FileDescriptor
View Source
var File_elys_tradeshield_types_proto protoreflect.FileDescriptor
View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetHeight

func (x *Date) GetHeight() uint64

func (*Date) GetTimestamp

func (x *Date) GetTimestamp() uint64

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) ProtoReflect

func (x *Date) ProtoReflect() protoreflect.Message

func (*Date) Reset

func (x *Date) Reset()

func (*Date) String

func (x *Date) String() string

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 (*MsgCancelPerpetualOrderResponse) Reset

func (*MsgCancelPerpetualOrderResponse) 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 (*MsgCancelPerpetualOrdersResponse) Reset

func (*MsgCancelPerpetualOrdersResponse) 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 (*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 (*MsgCancelSpotOrdersResponse) Reset

func (x *MsgCancelSpotOrdersResponse) Reset()

func (*MsgCancelSpotOrdersResponse) String

func (x *MsgCancelSpotOrdersResponse) String() string

type MsgClient

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 (*MsgCreatePerpetualCloseOrder) Reset

func (x *MsgCreatePerpetualCloseOrder) Reset()

func (*MsgCreatePerpetualCloseOrder) 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 (*MsgCreatePerpetualCloseOrderResponse) ProtoMessage

func (*MsgCreatePerpetualCloseOrderResponse) ProtoMessage()

func (*MsgCreatePerpetualCloseOrderResponse) ProtoReflect

func (*MsgCreatePerpetualCloseOrderResponse) Reset

func (*MsgCreatePerpetualCloseOrderResponse) 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 (*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 (*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 (*MsgCreatePerpetualOpenOrderResponse) ProtoMessage

func (*MsgCreatePerpetualOpenOrderResponse) ProtoMessage()

func (*MsgCreatePerpetualOpenOrderResponse) ProtoReflect

func (*MsgCreatePerpetualOpenOrderResponse) Reset

func (*MsgCreatePerpetualOpenOrderResponse) 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 (*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

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 (*MsgUpdatePerpetualOrderResponse) Reset

func (*MsgUpdatePerpetualOrderResponse) 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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetLeverageEnabled

func (x *Params) GetLeverageEnabled() bool

func (*Params) GetLimitProcessOrder

func (x *Params) GetLimitProcessOrder() uint64

func (*Params) GetMarginError

func (x *Params) GetMarginError() string

func (*Params) GetMarketOrderEnabled

func (x *Params) GetMarketOrderEnabled() bool

func (*Params) GetMinimumDeposit

func (x *Params) GetMinimumDeposit() string

func (*Params) GetPerpetualEnabled

func (x *Params) GetPerpetualEnabled() bool

func (*Params) GetProcessOrdersEnabled

func (x *Params) GetProcessOrdersEnabled() bool

func (*Params) GetRewardEnabled

func (x *Params) GetRewardEnabled() bool

func (*Params) GetRewardPercentage

func (x *Params) GetRewardPercentage() string

func (*Params) GetStakeEnabled

func (x *Params) GetStakeEnabled() bool

func (*Params) GetSwapEnabled

func (x *Params) GetSwapEnabled() bool

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

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) Enum

func (PerpetualOrderType) EnumDescriptor deprecated

func (PerpetualOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PerpetualOrderType.Descriptor instead.

func (PerpetualOrderType) Number

func (PerpetualOrderType) String

func (x PerpetualOrderType) String() string

func (PerpetualOrderType) Type

type PerpetualPosition

type PerpetualPosition int32
const (
	PerpetualPosition_UNSPECIFIED PerpetualPosition = 0
	PerpetualPosition_LONG        PerpetualPosition = 1
	PerpetualPosition_SHORT       PerpetualPosition = 2
)

func (PerpetualPosition) Descriptor

func (PerpetualPosition) Enum

func (PerpetualPosition) EnumDescriptor deprecated

func (PerpetualPosition) EnumDescriptor() ([]byte, []int)

Deprecated: Use PerpetualPosition.Descriptor instead.

func (PerpetualPosition) Number

func (PerpetualPosition) String

func (x PerpetualPosition) String() string

func (PerpetualPosition) Type

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 (*QueryAllPendingPerpetualOrderRequest) ProtoMessage

func (*QueryAllPendingPerpetualOrderRequest) ProtoMessage()

func (*QueryAllPendingPerpetualOrderRequest) ProtoReflect

func (*QueryAllPendingPerpetualOrderRequest) Reset

func (*QueryAllPendingPerpetualOrderRequest) 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 (*QueryAllPendingPerpetualOrderResponse) GetPendingPerpetualOrder

func (x *QueryAllPendingPerpetualOrderResponse) GetPendingPerpetualOrder() []*PerpetualOrderExtraInfo

func (*QueryAllPendingPerpetualOrderResponse) ProtoMessage

func (*QueryAllPendingPerpetualOrderResponse) ProtoMessage()

func (*QueryAllPendingPerpetualOrderResponse) ProtoReflect

func (*QueryAllPendingPerpetualOrderResponse) Reset

func (*QueryAllPendingPerpetualOrderResponse) 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 (*QueryAllPendingSpotOrderRequest) ProtoMessage

func (*QueryAllPendingSpotOrderRequest) ProtoMessage()

func (*QueryAllPendingSpotOrderRequest) ProtoReflect

func (*QueryAllPendingSpotOrderRequest) Reset

func (*QueryAllPendingSpotOrderRequest) 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 (*QueryAllPendingSpotOrderResponse) GetPendingSpotOrder

func (x *QueryAllPendingSpotOrderResponse) GetPendingSpotOrder() []*SpotOrder

func (*QueryAllPendingSpotOrderResponse) ProtoMessage

func (*QueryAllPendingSpotOrderResponse) ProtoMessage()

func (*QueryAllPendingSpotOrderResponse) ProtoReflect

func (*QueryAllPendingSpotOrderResponse) Reset

func (*QueryAllPendingSpotOrderResponse) 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 (*QueryGetPendingPerpetualOrderRequest) ProtoMessage

func (*QueryGetPendingPerpetualOrderRequest) ProtoMessage()

func (*QueryGetPendingPerpetualOrderRequest) ProtoReflect

func (*QueryGetPendingPerpetualOrderRequest) Reset

func (*QueryGetPendingPerpetualOrderRequest) 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 (*QueryGetPendingPerpetualOrderResponse) Reset

func (*QueryGetPendingPerpetualOrderResponse) 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 (*QueryGetPendingSpotOrderRequest) ProtoMessage

func (*QueryGetPendingSpotOrderRequest) ProtoMessage()

func (*QueryGetPendingSpotOrderRequest) ProtoReflect

func (*QueryGetPendingSpotOrderRequest) Reset

func (*QueryGetPendingSpotOrderRequest) 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 (*QueryGetPendingSpotOrderResponse) Reset

func (*QueryGetPendingSpotOrderResponse) 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

Deprecated: Use QueryPendingPerpetualOrderForAddressRequest.ProtoReflect.Descriptor instead.

func (*QueryPendingPerpetualOrderForAddressRequest) GetAddress

func (*QueryPendingPerpetualOrderForAddressRequest) GetStatus

func (*QueryPendingPerpetualOrderForAddressRequest) ProtoMessage

func (*QueryPendingPerpetualOrderForAddressRequest) ProtoReflect

func (*QueryPendingPerpetualOrderForAddressRequest) Reset

func (*QueryPendingPerpetualOrderForAddressRequest) String

type QueryPendingPerpetualOrderForAddressResponse

type QueryPendingPerpetualOrderForAddressResponse struct {
	PendingPerpetualOrders []*PerpetualOrderExtraInfo `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryPendingPerpetualOrderForAddressResponse) Descriptor deprecated

Deprecated: Use QueryPendingPerpetualOrderForAddressResponse.ProtoReflect.Descriptor instead.

func (*QueryPendingPerpetualOrderForAddressResponse) GetPendingPerpetualOrders

func (*QueryPendingPerpetualOrderForAddressResponse) ProtoMessage

func (*QueryPendingPerpetualOrderForAddressResponse) ProtoReflect

func (*QueryPendingPerpetualOrderForAddressResponse) Reset

func (*QueryPendingPerpetualOrderForAddressResponse) 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 (*QueryPendingSpotOrderForAddressRequest) GetStatus

func (*QueryPendingSpotOrderForAddressRequest) ProtoMessage

func (*QueryPendingSpotOrderForAddressRequest) ProtoReflect

func (*QueryPendingSpotOrderForAddressRequest) Reset

func (*QueryPendingSpotOrderForAddressRequest) 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) ProtoReflect

func (*QueryPendingSpotOrderForAddressResponse) Reset

func (*QueryPendingSpotOrderForAddressResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use SpotOrder.ProtoReflect.Descriptor instead.

func (*SpotOrder) GetDate

func (x *SpotOrder) GetDate() *Date

func (*SpotOrder) GetOrderAmount

func (x *SpotOrder) GetOrderAmount() *v1beta1.Coin

func (*SpotOrder) GetOrderId

func (x *SpotOrder) GetOrderId() uint64

func (*SpotOrder) GetOrderPrice

func (x *SpotOrder) GetOrderPrice() *OrderPrice

func (*SpotOrder) GetOrderTargetDenom

func (x *SpotOrder) GetOrderTargetDenom() string

func (*SpotOrder) GetOrderType

func (x *SpotOrder) GetOrderType() SpotOrderType

func (*SpotOrder) GetOwnerAddress

func (x *SpotOrder) GetOwnerAddress() string

func (*SpotOrder) GetStatus

func (x *SpotOrder) GetStatus() Status

func (*SpotOrder) ProtoMessage

func (*SpotOrder) ProtoMessage()

func (*SpotOrder) ProtoReflect

func (x *SpotOrder) ProtoReflect() protoreflect.Message

func (*SpotOrder) Reset

func (x *SpotOrder) Reset()

func (*SpotOrder) String

func (x *SpotOrder) String() string

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) Enum

func (x SpotOrderType) Enum() *SpotOrderType

func (SpotOrderType) EnumDescriptor deprecated

func (SpotOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SpotOrderType.Descriptor instead.

func (SpotOrderType) Number

func (SpotOrderType) String

func (x SpotOrderType) String() string

func (SpotOrderType) Type

type Status

type Status int32
const (
	Status_PENDING  Status = 0
	Status_EXECUTED Status = 1
	Status_CANCELED Status = 2
	Status_ALL      Status = 3
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

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) CancelSpotOrder

func (UnimplementedMsgServer) CancelSpotOrders

func (UnimplementedMsgServer) CreateSpotOrder

func (UnimplementedMsgServer) ExecuteOrders

func (UnimplementedMsgServer) UpdateParams

func (UnimplementedMsgServer) UpdateSpotOrder

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL