Documentation ¶
Index ¶
- Variables
- func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
- func RegisterSimulationServiceServer(s grpc1.Server, srv SimulationServiceServer)
- type ArbExecutionRequest
- func (*ArbExecutionRequest) Descriptor() ([]byte, []int)
- func (m *ArbExecutionRequest) GetChainId() string
- func (m *ArbExecutionRequest) GetHeight() uint64
- func (m *ArbExecutionRequest) Marshal() (dAtA []byte, err error)
- func (m *ArbExecutionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ArbExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArbExecutionRequest) ProtoMessage()
- func (m *ArbExecutionRequest) Reset()
- func (m *ArbExecutionRequest) Size() (n int)
- func (m *ArbExecutionRequest) String() string
- func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error
- func (m *ArbExecutionRequest) XXX_DiscardUnknown()
- func (m *ArbExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArbExecutionRequest) XXX_Merge(src proto.Message)
- func (m *ArbExecutionRequest) XXX_Size() int
- func (m *ArbExecutionRequest) XXX_Unmarshal(b []byte) error
- type ArbExecutionResponse
- func (*ArbExecutionResponse) Descriptor() ([]byte, []int)
- func (m *ArbExecutionResponse) GetHeight() uint64
- func (m *ArbExecutionResponse) GetSwapExecution() *SwapExecution
- func (m *ArbExecutionResponse) Marshal() (dAtA []byte, err error)
- func (m *ArbExecutionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ArbExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArbExecutionResponse) ProtoMessage()
- func (m *ArbExecutionResponse) Reset()
- func (m *ArbExecutionResponse) Size() (n int)
- func (m *ArbExecutionResponse) String() string
- func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error
- func (m *ArbExecutionResponse) XXX_DiscardUnknown()
- func (m *ArbExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArbExecutionResponse) XXX_Merge(src proto.Message)
- func (m *ArbExecutionResponse) XXX_Size() int
- func (m *ArbExecutionResponse) XXX_Unmarshal(b []byte) error
- type ArbExecutionsRequest
- func (*ArbExecutionsRequest) Descriptor() ([]byte, []int)
- func (m *ArbExecutionsRequest) GetChainId() string
- func (m *ArbExecutionsRequest) GetEndHeight() uint64
- func (m *ArbExecutionsRequest) GetStartHeight() uint64
- func (m *ArbExecutionsRequest) Marshal() (dAtA []byte, err error)
- func (m *ArbExecutionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ArbExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArbExecutionsRequest) ProtoMessage()
- func (m *ArbExecutionsRequest) Reset()
- func (m *ArbExecutionsRequest) Size() (n int)
- func (m *ArbExecutionsRequest) String() string
- func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error
- func (m *ArbExecutionsRequest) XXX_DiscardUnknown()
- func (m *ArbExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArbExecutionsRequest) XXX_Merge(src proto.Message)
- func (m *ArbExecutionsRequest) XXX_Size() int
- func (m *ArbExecutionsRequest) XXX_Unmarshal(b []byte) error
- type ArbExecutionsResponse
- func (*ArbExecutionsResponse) Descriptor() ([]byte, []int)
- func (m *ArbExecutionsResponse) GetHeight() uint64
- func (m *ArbExecutionsResponse) GetSwapExecution() *SwapExecution
- func (m *ArbExecutionsResponse) Marshal() (dAtA []byte, err error)
- func (m *ArbExecutionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ArbExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArbExecutionsResponse) ProtoMessage()
- func (m *ArbExecutionsResponse) Reset()
- func (m *ArbExecutionsResponse) Size() (n int)
- func (m *ArbExecutionsResponse) String() string
- func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error
- func (m *ArbExecutionsResponse) XXX_DiscardUnknown()
- func (m *ArbExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArbExecutionsResponse) XXX_Merge(src proto.Message)
- func (m *ArbExecutionsResponse) XXX_Size() int
- func (m *ArbExecutionsResponse) XXX_Unmarshal(b []byte) error
- type BareTradingFunction
- func (*BareTradingFunction) Descriptor() ([]byte, []int)
- func (m *BareTradingFunction) GetFee() uint32
- func (m *BareTradingFunction) GetP() *v1alpha13.Amount
- func (m *BareTradingFunction) GetQ() *v1alpha13.Amount
- func (m *BareTradingFunction) Marshal() (dAtA []byte, err error)
- func (m *BareTradingFunction) MarshalTo(dAtA []byte) (int, error)
- func (m *BareTradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BareTradingFunction) ProtoMessage()
- func (m *BareTradingFunction) Reset()
- func (m *BareTradingFunction) Size() (n int)
- func (m *BareTradingFunction) String() string
- func (m *BareTradingFunction) Unmarshal(dAtA []byte) error
- func (m *BareTradingFunction) XXX_DiscardUnknown()
- func (m *BareTradingFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BareTradingFunction) XXX_Merge(src proto.Message)
- func (m *BareTradingFunction) XXX_Size() int
- func (m *BareTradingFunction) XXX_Unmarshal(b []byte) error
- type BatchSwapOutputData
- func (*BatchSwapOutputData) Descriptor() ([]byte, []int)
- func (m *BatchSwapOutputData) GetDelta_1() *v1alpha13.Amount
- func (m *BatchSwapOutputData) GetDelta_2() *v1alpha13.Amount
- func (m *BatchSwapOutputData) GetEpochStartingHeight() uint64
- func (m *BatchSwapOutputData) GetHeight() uint64
- func (m *BatchSwapOutputData) GetLambda_1() *v1alpha13.Amount
- func (m *BatchSwapOutputData) GetLambda_2() *v1alpha13.Amount
- func (m *BatchSwapOutputData) GetTradingPair() *TradingPair
- func (m *BatchSwapOutputData) GetUnfilled_1() *v1alpha13.Amount
- func (m *BatchSwapOutputData) GetUnfilled_2() *v1alpha13.Amount
- func (m *BatchSwapOutputData) Marshal() (dAtA []byte, err error)
- func (m *BatchSwapOutputData) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchSwapOutputData) ProtoMessage()
- func (m *BatchSwapOutputData) Reset()
- func (m *BatchSwapOutputData) Size() (n int)
- func (m *BatchSwapOutputData) String() string
- func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error
- func (m *BatchSwapOutputData) XXX_DiscardUnknown()
- func (m *BatchSwapOutputData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSwapOutputData) XXX_Merge(src proto.Message)
- func (m *BatchSwapOutputData) XXX_Size() int
- func (m *BatchSwapOutputData) XXX_Unmarshal(b []byte) error
- type BatchSwapOutputDataRequest
- func (*BatchSwapOutputDataRequest) Descriptor() ([]byte, []int)
- func (m *BatchSwapOutputDataRequest) GetChainId() string
- func (m *BatchSwapOutputDataRequest) GetHeight() uint64
- func (m *BatchSwapOutputDataRequest) GetTradingPair() *TradingPair
- func (m *BatchSwapOutputDataRequest) Marshal() (dAtA []byte, err error)
- func (m *BatchSwapOutputDataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchSwapOutputDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchSwapOutputDataRequest) ProtoMessage()
- func (m *BatchSwapOutputDataRequest) Reset()
- func (m *BatchSwapOutputDataRequest) Size() (n int)
- func (m *BatchSwapOutputDataRequest) String() string
- func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error
- func (m *BatchSwapOutputDataRequest) XXX_DiscardUnknown()
- func (m *BatchSwapOutputDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSwapOutputDataRequest) XXX_Merge(src proto.Message)
- func (m *BatchSwapOutputDataRequest) XXX_Size() int
- func (m *BatchSwapOutputDataRequest) XXX_Unmarshal(b []byte) error
- type BatchSwapOutputDataResponse
- func (*BatchSwapOutputDataResponse) Descriptor() ([]byte, []int)
- func (m *BatchSwapOutputDataResponse) GetData() *BatchSwapOutputData
- func (m *BatchSwapOutputDataResponse) Marshal() (dAtA []byte, err error)
- func (m *BatchSwapOutputDataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchSwapOutputDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchSwapOutputDataResponse) ProtoMessage()
- func (m *BatchSwapOutputDataResponse) Reset()
- func (m *BatchSwapOutputDataResponse) Size() (n int)
- func (m *BatchSwapOutputDataResponse) String() string
- func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error
- func (m *BatchSwapOutputDataResponse) XXX_DiscardUnknown()
- func (m *BatchSwapOutputDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSwapOutputDataResponse) XXX_Merge(src proto.Message)
- func (m *BatchSwapOutputDataResponse) XXX_Size() int
- func (m *BatchSwapOutputDataResponse) XXX_Unmarshal(b []byte) error
- type DirectedTradingPair
- func (*DirectedTradingPair) Descriptor() ([]byte, []int)
- func (m *DirectedTradingPair) GetEnd() *v1alpha14.AssetId
- func (m *DirectedTradingPair) GetStart() *v1alpha14.AssetId
- func (m *DirectedTradingPair) Marshal() (dAtA []byte, err error)
- func (m *DirectedTradingPair) MarshalTo(dAtA []byte) (int, error)
- func (m *DirectedTradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DirectedTradingPair) ProtoMessage()
- func (m *DirectedTradingPair) Reset()
- func (m *DirectedTradingPair) Size() (n int)
- func (m *DirectedTradingPair) String() string
- func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error
- func (m *DirectedTradingPair) XXX_DiscardUnknown()
- func (m *DirectedTradingPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DirectedTradingPair) XXX_Merge(src proto.Message)
- func (m *DirectedTradingPair) XXX_Size() int
- func (m *DirectedTradingPair) XXX_Unmarshal(b []byte) error
- type EventPositionClose
- func (*EventPositionClose) Descriptor() ([]byte, []int)
- func (m *EventPositionClose) GetPositionId() *PositionId
- func (m *EventPositionClose) Marshal() (dAtA []byte, err error)
- func (m *EventPositionClose) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPositionClose) ProtoMessage()
- func (m *EventPositionClose) Reset()
- func (m *EventPositionClose) Size() (n int)
- func (m *EventPositionClose) String() string
- func (m *EventPositionClose) Unmarshal(dAtA []byte) error
- func (m *EventPositionClose) XXX_DiscardUnknown()
- func (m *EventPositionClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPositionClose) XXX_Merge(src proto.Message)
- func (m *EventPositionClose) XXX_Size() int
- func (m *EventPositionClose) XXX_Unmarshal(b []byte) error
- type EventPositionOpen
- func (*EventPositionOpen) Descriptor() ([]byte, []int)
- func (m *EventPositionOpen) GetPositionId() *PositionId
- func (m *EventPositionOpen) GetReserves_1() *v1alpha13.Amount
- func (m *EventPositionOpen) GetReserves_2() *v1alpha13.Amount
- func (m *EventPositionOpen) GetTradingFee() uint32
- func (m *EventPositionOpen) GetTradingPair() *TradingPair
- func (m *EventPositionOpen) Marshal() (dAtA []byte, err error)
- func (m *EventPositionOpen) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPositionOpen) ProtoMessage()
- func (m *EventPositionOpen) Reset()
- func (m *EventPositionOpen) Size() (n int)
- func (m *EventPositionOpen) String() string
- func (m *EventPositionOpen) Unmarshal(dAtA []byte) error
- func (m *EventPositionOpen) XXX_DiscardUnknown()
- func (m *EventPositionOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPositionOpen) XXX_Merge(src proto.Message)
- func (m *EventPositionOpen) XXX_Size() int
- func (m *EventPositionOpen) XXX_Unmarshal(b []byte) error
- type EventPositionWithdraw
- func (*EventPositionWithdraw) Descriptor() ([]byte, []int)
- func (m *EventPositionWithdraw) GetPositionId() *PositionId
- func (m *EventPositionWithdraw) GetReserves_1() *v1alpha13.Amount
- func (m *EventPositionWithdraw) GetReserves_2() *v1alpha13.Amount
- func (m *EventPositionWithdraw) GetTradingPair() *TradingPair
- func (m *EventPositionWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventPositionWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPositionWithdraw) ProtoMessage()
- func (m *EventPositionWithdraw) Reset()
- func (m *EventPositionWithdraw) Size() (n int)
- func (m *EventPositionWithdraw) String() string
- func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventPositionWithdraw) XXX_DiscardUnknown()
- func (m *EventPositionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPositionWithdraw) XXX_Merge(src proto.Message)
- func (m *EventPositionWithdraw) XXX_Size() int
- func (m *EventPositionWithdraw) XXX_Unmarshal(b []byte) error
- type EventSwap
- func (*EventSwap) Descriptor() ([]byte, []int)
- func (m *EventSwap) GetDelta_1I() *v1alpha13.Amount
- func (m *EventSwap) GetDelta_2I() *v1alpha13.Amount
- func (m *EventSwap) GetSwapCommitment() *v1alpha12.StateCommitment
- func (m *EventSwap) GetTradingPair() *TradingPair
- func (m *EventSwap) Marshal() (dAtA []byte, err error)
- func (m *EventSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSwap) ProtoMessage()
- func (m *EventSwap) Reset()
- func (m *EventSwap) Size() (n int)
- func (m *EventSwap) String() string
- func (m *EventSwap) Unmarshal(dAtA []byte) error
- func (m *EventSwap) XXX_DiscardUnknown()
- func (m *EventSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSwap) XXX_Merge(src proto.Message)
- func (m *EventSwap) XXX_Size() int
- func (m *EventSwap) XXX_Unmarshal(b []byte) error
- type EventSwapClaim
- func (*EventSwapClaim) Descriptor() ([]byte, []int)
- func (m *EventSwapClaim) GetNullifier() *v1alpha1.Nullifier
- func (m *EventSwapClaim) GetOutput_1Commitment() *v1alpha12.StateCommitment
- func (m *EventSwapClaim) GetOutput_2Commitment() *v1alpha12.StateCommitment
- func (m *EventSwapClaim) GetTradingPair() *TradingPair
- func (m *EventSwapClaim) Marshal() (dAtA []byte, err error)
- func (m *EventSwapClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSwapClaim) ProtoMessage()
- func (m *EventSwapClaim) Reset()
- func (m *EventSwapClaim) Size() (n int)
- func (m *EventSwapClaim) String() string
- func (m *EventSwapClaim) Unmarshal(dAtA []byte) error
- func (m *EventSwapClaim) XXX_DiscardUnknown()
- func (m *EventSwapClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSwapClaim) XXX_Merge(src proto.Message)
- func (m *EventSwapClaim) XXX_Size() int
- func (m *EventSwapClaim) XXX_Unmarshal(b []byte) error
- type LiquidityPositionByIdRequest
- func (*LiquidityPositionByIdRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionByIdRequest) GetChainId() string
- func (m *LiquidityPositionByIdRequest) GetPositionId() *PositionId
- func (m *LiquidityPositionByIdRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionByIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionByIdRequest) ProtoMessage()
- func (m *LiquidityPositionByIdRequest) Reset()
- func (m *LiquidityPositionByIdRequest) Size() (n int)
- func (m *LiquidityPositionByIdRequest) String() string
- func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionByIdRequest) XXX_DiscardUnknown()
- func (m *LiquidityPositionByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionByIdRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionByIdRequest) XXX_Size() int
- func (m *LiquidityPositionByIdRequest) XXX_Unmarshal(b []byte) error
- type LiquidityPositionByIdResponse
- func (*LiquidityPositionByIdResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionByIdResponse) GetData() *Position
- func (m *LiquidityPositionByIdResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionByIdResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionByIdResponse) ProtoMessage()
- func (m *LiquidityPositionByIdResponse) Reset()
- func (m *LiquidityPositionByIdResponse) Size() (n int)
- func (m *LiquidityPositionByIdResponse) String() string
- func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionByIdResponse) XXX_DiscardUnknown()
- func (m *LiquidityPositionByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionByIdResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionByIdResponse) XXX_Size() int
- func (m *LiquidityPositionByIdResponse) XXX_Unmarshal(b []byte) error
- type LiquidityPositionsByIdRequest
- func (*LiquidityPositionsByIdRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionsByIdRequest) GetChainId() string
- func (m *LiquidityPositionsByIdRequest) GetPositionId() []*PositionId
- func (m *LiquidityPositionsByIdRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionsByIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionsByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionsByIdRequest) ProtoMessage()
- func (m *LiquidityPositionsByIdRequest) Reset()
- func (m *LiquidityPositionsByIdRequest) Size() (n int)
- func (m *LiquidityPositionsByIdRequest) String() string
- func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionsByIdRequest) XXX_DiscardUnknown()
- func (m *LiquidityPositionsByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionsByIdRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionsByIdRequest) XXX_Size() int
- func (m *LiquidityPositionsByIdRequest) XXX_Unmarshal(b []byte) error
- type LiquidityPositionsByIdResponse
- func (*LiquidityPositionsByIdResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionsByIdResponse) GetData() *Position
- func (m *LiquidityPositionsByIdResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionsByIdResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionsByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionsByIdResponse) ProtoMessage()
- func (m *LiquidityPositionsByIdResponse) Reset()
- func (m *LiquidityPositionsByIdResponse) Size() (n int)
- func (m *LiquidityPositionsByIdResponse) String() string
- func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionsByIdResponse) XXX_DiscardUnknown()
- func (m *LiquidityPositionsByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionsByIdResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionsByIdResponse) XXX_Size() int
- func (m *LiquidityPositionsByIdResponse) XXX_Unmarshal(b []byte) error
- type LiquidityPositionsByPriceRequest
- func (*LiquidityPositionsByPriceRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionsByPriceRequest) GetChainId() string
- func (m *LiquidityPositionsByPriceRequest) GetLimit() uint64
- func (m *LiquidityPositionsByPriceRequest) GetTradingPair() *DirectedTradingPair
- func (m *LiquidityPositionsByPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionsByPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionsByPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionsByPriceRequest) ProtoMessage()
- func (m *LiquidityPositionsByPriceRequest) Reset()
- func (m *LiquidityPositionsByPriceRequest) Size() (n int)
- func (m *LiquidityPositionsByPriceRequest) String() string
- func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionsByPriceRequest) XXX_DiscardUnknown()
- func (m *LiquidityPositionsByPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionsByPriceRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionsByPriceRequest) XXX_Size() int
- func (m *LiquidityPositionsByPriceRequest) XXX_Unmarshal(b []byte) error
- type LiquidityPositionsByPriceResponse
- func (*LiquidityPositionsByPriceResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionsByPriceResponse) GetData() *Position
- func (m *LiquidityPositionsByPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionsByPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionsByPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionsByPriceResponse) ProtoMessage()
- func (m *LiquidityPositionsByPriceResponse) Reset()
- func (m *LiquidityPositionsByPriceResponse) Size() (n int)
- func (m *LiquidityPositionsByPriceResponse) String() string
- func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionsByPriceResponse) XXX_DiscardUnknown()
- func (m *LiquidityPositionsByPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionsByPriceResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionsByPriceResponse) XXX_Size() int
- func (m *LiquidityPositionsByPriceResponse) XXX_Unmarshal(b []byte) error
- type LiquidityPositionsRequest
- func (*LiquidityPositionsRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionsRequest) GetChainId() string
- func (m *LiquidityPositionsRequest) GetIncludeClosed() bool
- func (m *LiquidityPositionsRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionsRequest) ProtoMessage()
- func (m *LiquidityPositionsRequest) Reset()
- func (m *LiquidityPositionsRequest) Size() (n int)
- func (m *LiquidityPositionsRequest) String() string
- func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionsRequest) XXX_DiscardUnknown()
- func (m *LiquidityPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionsRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionsRequest) XXX_Size() int
- func (m *LiquidityPositionsRequest) XXX_Unmarshal(b []byte) error
- type LiquidityPositionsResponse
- func (*LiquidityPositionsResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityPositionsResponse) GetData() *Position
- func (m *LiquidityPositionsResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityPositionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityPositionsResponse) ProtoMessage()
- func (m *LiquidityPositionsResponse) Reset()
- func (m *LiquidityPositionsResponse) Size() (n int)
- func (m *LiquidityPositionsResponse) String() string
- func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityPositionsResponse) XXX_DiscardUnknown()
- func (m *LiquidityPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityPositionsResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityPositionsResponse) XXX_Size() int
- func (m *LiquidityPositionsResponse) XXX_Unmarshal(b []byte) error
- type LpNft
- func (*LpNft) Descriptor() ([]byte, []int)
- func (m *LpNft) GetPositionId() *PositionId
- func (m *LpNft) GetState() *PositionState
- func (m *LpNft) Marshal() (dAtA []byte, err error)
- func (m *LpNft) MarshalTo(dAtA []byte) (int, error)
- func (m *LpNft) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LpNft) ProtoMessage()
- func (m *LpNft) Reset()
- func (m *LpNft) Size() (n int)
- func (m *LpNft) String() string
- func (m *LpNft) Unmarshal(dAtA []byte) error
- func (m *LpNft) XXX_DiscardUnknown()
- func (m *LpNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LpNft) XXX_Merge(src proto.Message)
- func (m *LpNft) XXX_Size() int
- func (m *LpNft) XXX_Unmarshal(b []byte) error
- type Position
- func (*Position) Descriptor() ([]byte, []int)
- func (m *Position) GetCloseOnFill() bool
- func (m *Position) GetNonce() []byte
- func (m *Position) GetPhi() *TradingFunction
- func (m *Position) GetReserves() *Reserves
- func (m *Position) GetState() *PositionState
- func (m *Position) Marshal() (dAtA []byte, err error)
- func (m *Position) MarshalTo(dAtA []byte) (int, error)
- func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) Size() (n int)
- func (m *Position) String() string
- func (m *Position) Unmarshal(dAtA []byte) error
- func (m *Position) XXX_DiscardUnknown()
- func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Position) XXX_Merge(src proto.Message)
- func (m *Position) XXX_Size() int
- func (m *Position) XXX_Unmarshal(b []byte) error
- type PositionClose
- func (*PositionClose) Descriptor() ([]byte, []int)
- func (m *PositionClose) GetPositionId() *PositionId
- func (m *PositionClose) Marshal() (dAtA []byte, err error)
- func (m *PositionClose) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionClose) ProtoMessage()
- func (m *PositionClose) Reset()
- func (m *PositionClose) Size() (n int)
- func (m *PositionClose) String() string
- func (m *PositionClose) Unmarshal(dAtA []byte) error
- func (m *PositionClose) XXX_DiscardUnknown()
- func (m *PositionClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionClose) XXX_Merge(src proto.Message)
- func (m *PositionClose) XXX_Size() int
- func (m *PositionClose) XXX_Unmarshal(b []byte) error
- type PositionId
- func (*PositionId) Descriptor() ([]byte, []int)
- func (m *PositionId) GetAltBech32M() string
- func (m *PositionId) GetInner() []byte
- func (m *PositionId) Marshal() (dAtA []byte, err error)
- func (m *PositionId) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionId) ProtoMessage()
- func (m *PositionId) Reset()
- func (m *PositionId) Size() (n int)
- func (m *PositionId) String() string
- func (m *PositionId) Unmarshal(dAtA []byte) error
- func (m *PositionId) XXX_DiscardUnknown()
- func (m *PositionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionId) XXX_Merge(src proto.Message)
- func (m *PositionId) XXX_Size() int
- func (m *PositionId) XXX_Unmarshal(b []byte) error
- type PositionOpen
- func (*PositionOpen) Descriptor() ([]byte, []int)
- func (m *PositionOpen) GetPosition() *Position
- func (m *PositionOpen) Marshal() (dAtA []byte, err error)
- func (m *PositionOpen) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionOpen) ProtoMessage()
- func (m *PositionOpen) Reset()
- func (m *PositionOpen) Size() (n int)
- func (m *PositionOpen) String() string
- func (m *PositionOpen) Unmarshal(dAtA []byte) error
- func (m *PositionOpen) XXX_DiscardUnknown()
- func (m *PositionOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionOpen) XXX_Merge(src proto.Message)
- func (m *PositionOpen) XXX_Size() int
- func (m *PositionOpen) XXX_Unmarshal(b []byte) error
- type PositionRewardClaim
- func (*PositionRewardClaim) Descriptor() ([]byte, []int)
- func (m *PositionRewardClaim) GetPositionId() *PositionId
- func (m *PositionRewardClaim) GetRewardsCommitment() *v1alpha14.BalanceCommitment
- func (m *PositionRewardClaim) Marshal() (dAtA []byte, err error)
- func (m *PositionRewardClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionRewardClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionRewardClaim) ProtoMessage()
- func (m *PositionRewardClaim) Reset()
- func (m *PositionRewardClaim) Size() (n int)
- func (m *PositionRewardClaim) String() string
- func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error
- func (m *PositionRewardClaim) XXX_DiscardUnknown()
- func (m *PositionRewardClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionRewardClaim) XXX_Merge(src proto.Message)
- func (m *PositionRewardClaim) XXX_Size() int
- func (m *PositionRewardClaim) XXX_Unmarshal(b []byte) error
- type PositionRewardClaimPlan
- func (*PositionRewardClaimPlan) Descriptor() ([]byte, []int)
- func (m *PositionRewardClaimPlan) GetReserves() *Reserves
- func (m *PositionRewardClaimPlan) Marshal() (dAtA []byte, err error)
- func (m *PositionRewardClaimPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionRewardClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionRewardClaimPlan) ProtoMessage()
- func (m *PositionRewardClaimPlan) Reset()
- func (m *PositionRewardClaimPlan) Size() (n int)
- func (m *PositionRewardClaimPlan) String() string
- func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error
- func (m *PositionRewardClaimPlan) XXX_DiscardUnknown()
- func (m *PositionRewardClaimPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionRewardClaimPlan) XXX_Merge(src proto.Message)
- func (m *PositionRewardClaimPlan) XXX_Size() int
- func (m *PositionRewardClaimPlan) XXX_Unmarshal(b []byte) error
- type PositionState
- func (*PositionState) Descriptor() ([]byte, []int)
- func (m *PositionState) GetState() PositionState_PositionStateEnum
- func (m *PositionState) Marshal() (dAtA []byte, err error)
- func (m *PositionState) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionState) ProtoMessage()
- func (m *PositionState) Reset()
- func (m *PositionState) Size() (n int)
- func (m *PositionState) String() string
- func (m *PositionState) Unmarshal(dAtA []byte) error
- func (m *PositionState) XXX_DiscardUnknown()
- func (m *PositionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionState) XXX_Merge(src proto.Message)
- func (m *PositionState) XXX_Size() int
- func (m *PositionState) XXX_Unmarshal(b []byte) error
- type PositionState_PositionStateEnum
- type PositionWithdraw
- func (*PositionWithdraw) Descriptor() ([]byte, []int)
- func (m *PositionWithdraw) GetPositionId() *PositionId
- func (m *PositionWithdraw) GetReservesCommitment() *v1alpha14.BalanceCommitment
- func (m *PositionWithdraw) Marshal() (dAtA []byte, err error)
- func (m *PositionWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionWithdraw) ProtoMessage()
- func (m *PositionWithdraw) Reset()
- func (m *PositionWithdraw) Size() (n int)
- func (m *PositionWithdraw) String() string
- func (m *PositionWithdraw) Unmarshal(dAtA []byte) error
- func (m *PositionWithdraw) XXX_DiscardUnknown()
- func (m *PositionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionWithdraw) XXX_Merge(src proto.Message)
- func (m *PositionWithdraw) XXX_Size() int
- func (m *PositionWithdraw) XXX_Unmarshal(b []byte) error
- type PositionWithdrawPlan
- func (*PositionWithdrawPlan) Descriptor() ([]byte, []int)
- func (m *PositionWithdrawPlan) GetPair() *TradingPair
- func (m *PositionWithdrawPlan) GetPositionId() *PositionId
- func (m *PositionWithdrawPlan) GetReserves() *Reserves
- func (m *PositionWithdrawPlan) Marshal() (dAtA []byte, err error)
- func (m *PositionWithdrawPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionWithdrawPlan) ProtoMessage()
- func (m *PositionWithdrawPlan) Reset()
- func (m *PositionWithdrawPlan) Size() (n int)
- func (m *PositionWithdrawPlan) String() string
- func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error
- func (m *PositionWithdrawPlan) XXX_DiscardUnknown()
- func (m *PositionWithdrawPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionWithdrawPlan) XXX_Merge(src proto.Message)
- func (m *PositionWithdrawPlan) XXX_Size() int
- func (m *PositionWithdrawPlan) XXX_Unmarshal(b []byte) error
- type QueryServiceClient
- type QueryServiceServer
- type QueryService_ArbExecutionsClient
- type QueryService_ArbExecutionsServer
- type QueryService_LiquidityPositionsByIdClient
- type QueryService_LiquidityPositionsByIdServer
- type QueryService_LiquidityPositionsByPriceClient
- type QueryService_LiquidityPositionsByPriceServer
- type QueryService_LiquidityPositionsClient
- type QueryService_LiquidityPositionsServer
- type QueryService_SwapExecutionsClient
- type QueryService_SwapExecutionsServer
- type Reserves
- func (*Reserves) Descriptor() ([]byte, []int)
- func (m *Reserves) GetR1() *v1alpha13.Amount
- func (m *Reserves) GetR2() *v1alpha13.Amount
- func (m *Reserves) Marshal() (dAtA []byte, err error)
- func (m *Reserves) MarshalTo(dAtA []byte) (int, error)
- func (m *Reserves) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Reserves) ProtoMessage()
- func (m *Reserves) Reset()
- func (m *Reserves) Size() (n int)
- func (m *Reserves) String() string
- func (m *Reserves) Unmarshal(dAtA []byte) error
- func (m *Reserves) XXX_DiscardUnknown()
- func (m *Reserves) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reserves) XXX_Merge(src proto.Message)
- func (m *Reserves) XXX_Size() int
- func (m *Reserves) XXX_Unmarshal(b []byte) error
- type SimulateTradeRequest
- func (*SimulateTradeRequest) Descriptor() ([]byte, []int)
- func (m *SimulateTradeRequest) GetInput() *v1alpha14.Value
- func (m *SimulateTradeRequest) GetOutput() *v1alpha14.AssetId
- func (m *SimulateTradeRequest) GetRouting() *SimulateTradeRequest_Routing
- func (m *SimulateTradeRequest) Marshal() (dAtA []byte, err error)
- func (m *SimulateTradeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateTradeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateTradeRequest) ProtoMessage()
- func (m *SimulateTradeRequest) Reset()
- func (m *SimulateTradeRequest) Size() (n int)
- func (m *SimulateTradeRequest) String() string
- func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error
- func (m *SimulateTradeRequest) XXX_DiscardUnknown()
- func (m *SimulateTradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateTradeRequest) XXX_Merge(src proto.Message)
- func (m *SimulateTradeRequest) XXX_Size() int
- func (m *SimulateTradeRequest) XXX_Unmarshal(b []byte) error
- type SimulateTradeRequest_Routing
- func (*SimulateTradeRequest_Routing) Descriptor() ([]byte, []int)
- func (m *SimulateTradeRequest_Routing) GetDefault() *SimulateTradeRequest_Routing_Default
- func (m *SimulateTradeRequest_Routing) GetSetting() isSimulateTradeRequest_Routing_Setting
- func (m *SimulateTradeRequest_Routing) GetSingleHop() *SimulateTradeRequest_Routing_SingleHop
- func (m *SimulateTradeRequest_Routing) Marshal() (dAtA []byte, err error)
- func (m *SimulateTradeRequest_Routing) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateTradeRequest_Routing) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateTradeRequest_Routing) ProtoMessage()
- func (m *SimulateTradeRequest_Routing) Reset()
- func (m *SimulateTradeRequest_Routing) Size() (n int)
- func (m *SimulateTradeRequest_Routing) String() string
- func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error
- func (m *SimulateTradeRequest_Routing) XXX_DiscardUnknown()
- func (m *SimulateTradeRequest_Routing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateTradeRequest_Routing) XXX_Merge(src proto.Message)
- func (*SimulateTradeRequest_Routing) XXX_OneofWrappers() []interface{}
- func (m *SimulateTradeRequest_Routing) XXX_Size() int
- func (m *SimulateTradeRequest_Routing) XXX_Unmarshal(b []byte) error
- type SimulateTradeRequest_Routing_Default
- func (*SimulateTradeRequest_Routing_Default) Descriptor() ([]byte, []int)
- func (m *SimulateTradeRequest_Routing_Default) Marshal() (dAtA []byte, err error)
- func (m *SimulateTradeRequest_Routing_Default) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateTradeRequest_Routing_Default) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateTradeRequest_Routing_Default) ProtoMessage()
- func (m *SimulateTradeRequest_Routing_Default) Reset()
- func (m *SimulateTradeRequest_Routing_Default) Size() (n int)
- func (m *SimulateTradeRequest_Routing_Default) String() string
- func (m *SimulateTradeRequest_Routing_Default) Unmarshal(dAtA []byte) error
- func (m *SimulateTradeRequest_Routing_Default) XXX_DiscardUnknown()
- func (m *SimulateTradeRequest_Routing_Default) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateTradeRequest_Routing_Default) XXX_Merge(src proto.Message)
- func (m *SimulateTradeRequest_Routing_Default) XXX_Size() int
- func (m *SimulateTradeRequest_Routing_Default) XXX_Unmarshal(b []byte) error
- type SimulateTradeRequest_Routing_Default_
- type SimulateTradeRequest_Routing_SingleHop
- func (*SimulateTradeRequest_Routing_SingleHop) Descriptor() ([]byte, []int)
- func (m *SimulateTradeRequest_Routing_SingleHop) Marshal() (dAtA []byte, err error)
- func (m *SimulateTradeRequest_Routing_SingleHop) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateTradeRequest_Routing_SingleHop) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateTradeRequest_Routing_SingleHop) ProtoMessage()
- func (m *SimulateTradeRequest_Routing_SingleHop) Reset()
- func (m *SimulateTradeRequest_Routing_SingleHop) Size() (n int)
- func (m *SimulateTradeRequest_Routing_SingleHop) String() string
- func (m *SimulateTradeRequest_Routing_SingleHop) Unmarshal(dAtA []byte) error
- func (m *SimulateTradeRequest_Routing_SingleHop) XXX_DiscardUnknown()
- func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Merge(src proto.Message)
- func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Size() int
- func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Unmarshal(b []byte) error
- type SimulateTradeRequest_Routing_SingleHop_
- type SimulateTradeResponse
- func (*SimulateTradeResponse) Descriptor() ([]byte, []int)
- func (m *SimulateTradeResponse) GetOutput() *SwapExecution
- func (m *SimulateTradeResponse) Marshal() (dAtA []byte, err error)
- func (m *SimulateTradeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateTradeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateTradeResponse) ProtoMessage()
- func (m *SimulateTradeResponse) Reset()
- func (m *SimulateTradeResponse) Size() (n int)
- func (m *SimulateTradeResponse) String() string
- func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error
- func (m *SimulateTradeResponse) XXX_DiscardUnknown()
- func (m *SimulateTradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateTradeResponse) XXX_Merge(src proto.Message)
- func (m *SimulateTradeResponse) XXX_Size() int
- func (m *SimulateTradeResponse) XXX_Unmarshal(b []byte) error
- type SimulationServiceClient
- type SimulationServiceServer
- type SpreadRequest
- func (*SpreadRequest) Descriptor() ([]byte, []int)
- func (m *SpreadRequest) GetChainId() string
- func (m *SpreadRequest) GetTradingPair() *TradingPair
- func (m *SpreadRequest) Marshal() (dAtA []byte, err error)
- func (m *SpreadRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SpreadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpreadRequest) ProtoMessage()
- func (m *SpreadRequest) Reset()
- func (m *SpreadRequest) Size() (n int)
- func (m *SpreadRequest) String() string
- func (m *SpreadRequest) Unmarshal(dAtA []byte) error
- func (m *SpreadRequest) XXX_DiscardUnknown()
- func (m *SpreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpreadRequest) XXX_Merge(src proto.Message)
- func (m *SpreadRequest) XXX_Size() int
- func (m *SpreadRequest) XXX_Unmarshal(b []byte) error
- type SpreadResponse
- func (*SpreadResponse) Descriptor() ([]byte, []int)
- func (m *SpreadResponse) GetApproxEffectivePrice_1To_2() float64
- func (m *SpreadResponse) GetApproxEffectivePrice_2To_1() float64
- func (m *SpreadResponse) GetBest_1To_2Position() *Position
- func (m *SpreadResponse) GetBest_2To_1Position() *Position
- func (m *SpreadResponse) Marshal() (dAtA []byte, err error)
- func (m *SpreadResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SpreadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpreadResponse) ProtoMessage()
- func (m *SpreadResponse) Reset()
- func (m *SpreadResponse) Size() (n int)
- func (m *SpreadResponse) String() string
- func (m *SpreadResponse) Unmarshal(dAtA []byte) error
- func (m *SpreadResponse) XXX_DiscardUnknown()
- func (m *SpreadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpreadResponse) XXX_Merge(src proto.Message)
- func (m *SpreadResponse) XXX_Size() int
- func (m *SpreadResponse) XXX_Unmarshal(b []byte) error
- type Swap
- func (*Swap) Descriptor() ([]byte, []int)
- func (m *Swap) GetBody() *SwapBody
- func (m *Swap) GetProof() *ZKSwapProof
- func (m *Swap) Marshal() (dAtA []byte, err error)
- func (m *Swap) MarshalTo(dAtA []byte) (int, error)
- func (m *Swap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Swap) ProtoMessage()
- func (m *Swap) Reset()
- func (m *Swap) Size() (n int)
- func (m *Swap) String() string
- func (m *Swap) Unmarshal(dAtA []byte) error
- func (m *Swap) XXX_DiscardUnknown()
- func (m *Swap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Swap) XXX_Merge(src proto.Message)
- func (m *Swap) XXX_Size() int
- func (m *Swap) XXX_Unmarshal(b []byte) error
- type SwapBody
- func (*SwapBody) Descriptor() ([]byte, []int)
- func (m *SwapBody) GetDelta_1I() *v1alpha13.Amount
- func (m *SwapBody) GetDelta_2I() *v1alpha13.Amount
- func (m *SwapBody) GetFeeCommitment() *v1alpha14.BalanceCommitment
- func (m *SwapBody) GetPayload() *SwapPayload
- func (m *SwapBody) GetTradingPair() *TradingPair
- func (m *SwapBody) Marshal() (dAtA []byte, err error)
- func (m *SwapBody) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapBody) ProtoMessage()
- func (m *SwapBody) Reset()
- func (m *SwapBody) Size() (n int)
- func (m *SwapBody) String() string
- func (m *SwapBody) Unmarshal(dAtA []byte) error
- func (m *SwapBody) XXX_DiscardUnknown()
- func (m *SwapBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapBody) XXX_Merge(src proto.Message)
- func (m *SwapBody) XXX_Size() int
- func (m *SwapBody) XXX_Unmarshal(b []byte) error
- type SwapClaim
- func (*SwapClaim) Descriptor() ([]byte, []int)
- func (m *SwapClaim) GetBody() *SwapClaimBody
- func (m *SwapClaim) GetEpochDuration() uint64
- func (m *SwapClaim) GetProof() *ZKSwapClaimProof
- func (m *SwapClaim) Marshal() (dAtA []byte, err error)
- func (m *SwapClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaim) ProtoMessage()
- func (m *SwapClaim) Reset()
- func (m *SwapClaim) Size() (n int)
- func (m *SwapClaim) String() string
- func (m *SwapClaim) Unmarshal(dAtA []byte) error
- func (m *SwapClaim) XXX_DiscardUnknown()
- func (m *SwapClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaim) XXX_Merge(src proto.Message)
- func (m *SwapClaim) XXX_Size() int
- func (m *SwapClaim) XXX_Unmarshal(b []byte) error
- type SwapClaimBody
- func (*SwapClaimBody) Descriptor() ([]byte, []int)
- func (m *SwapClaimBody) GetFee() *v1alpha11.Fee
- func (m *SwapClaimBody) GetNullifier() *v1alpha1.Nullifier
- func (m *SwapClaimBody) GetOutputData() *BatchSwapOutputData
- func (m *SwapClaimBody) GetOutput_1Commitment() *v1alpha12.StateCommitment
- func (m *SwapClaimBody) GetOutput_2Commitment() *v1alpha12.StateCommitment
- func (m *SwapClaimBody) Marshal() (dAtA []byte, err error)
- func (m *SwapClaimBody) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaimBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaimBody) ProtoMessage()
- func (m *SwapClaimBody) Reset()
- func (m *SwapClaimBody) Size() (n int)
- func (m *SwapClaimBody) String() string
- func (m *SwapClaimBody) Unmarshal(dAtA []byte) error
- func (m *SwapClaimBody) XXX_DiscardUnknown()
- func (m *SwapClaimBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaimBody) XXX_Merge(src proto.Message)
- func (m *SwapClaimBody) XXX_Size() int
- func (m *SwapClaimBody) XXX_Unmarshal(b []byte) error
- type SwapClaimPlan
- func (*SwapClaimPlan) Descriptor() ([]byte, []int)
- func (m *SwapClaimPlan) GetEpochDuration() uint64
- func (m *SwapClaimPlan) GetOutputData() *BatchSwapOutputData
- func (m *SwapClaimPlan) GetPosition() uint64
- func (m *SwapClaimPlan) GetProofBlindingR() []byte
- func (m *SwapClaimPlan) GetProofBlindingS() []byte
- func (m *SwapClaimPlan) GetSwapPlaintext() *SwapPlaintext
- func (m *SwapClaimPlan) Marshal() (dAtA []byte, err error)
- func (m *SwapClaimPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaimPlan) ProtoMessage()
- func (m *SwapClaimPlan) Reset()
- func (m *SwapClaimPlan) Size() (n int)
- func (m *SwapClaimPlan) String() string
- func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error
- func (m *SwapClaimPlan) XXX_DiscardUnknown()
- func (m *SwapClaimPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaimPlan) XXX_Merge(src proto.Message)
- func (m *SwapClaimPlan) XXX_Size() int
- func (m *SwapClaimPlan) XXX_Unmarshal(b []byte) error
- type SwapClaimView
- func (*SwapClaimView) Descriptor() ([]byte, []int)
- func (m *SwapClaimView) GetOpaque() *SwapClaimView_Opaque
- func (m *SwapClaimView) GetSwapClaimView() isSwapClaimView_SwapClaimView
- func (m *SwapClaimView) GetVisible() *SwapClaimView_Visible
- func (m *SwapClaimView) Marshal() (dAtA []byte, err error)
- func (m *SwapClaimView) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaimView) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaimView) ProtoMessage()
- func (m *SwapClaimView) Reset()
- func (m *SwapClaimView) Size() (n int)
- func (m *SwapClaimView) String() string
- func (m *SwapClaimView) Unmarshal(dAtA []byte) error
- func (m *SwapClaimView) XXX_DiscardUnknown()
- func (m *SwapClaimView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaimView) XXX_Merge(src proto.Message)
- func (*SwapClaimView) XXX_OneofWrappers() []interface{}
- func (m *SwapClaimView) XXX_Size() int
- func (m *SwapClaimView) XXX_Unmarshal(b []byte) error
- type SwapClaimView_Opaque
- func (*SwapClaimView_Opaque) Descriptor() ([]byte, []int)
- func (m *SwapClaimView_Opaque) GetSwapClaim() *SwapClaim
- func (m *SwapClaimView_Opaque) Marshal() (dAtA []byte, err error)
- func (m *SwapClaimView_Opaque) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaimView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaimView_Opaque) ProtoMessage()
- func (m *SwapClaimView_Opaque) Reset()
- func (m *SwapClaimView_Opaque) Size() (n int)
- func (m *SwapClaimView_Opaque) String() string
- func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error
- func (m *SwapClaimView_Opaque) XXX_DiscardUnknown()
- func (m *SwapClaimView_Opaque) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaimView_Opaque) XXX_Merge(src proto.Message)
- func (m *SwapClaimView_Opaque) XXX_Size() int
- func (m *SwapClaimView_Opaque) XXX_Unmarshal(b []byte) error
- type SwapClaimView_Opaque_
- type SwapClaimView_Visible
- func (*SwapClaimView_Visible) Descriptor() ([]byte, []int)
- func (m *SwapClaimView_Visible) GetOutput_1() *v1alpha16.NoteView
- func (m *SwapClaimView_Visible) GetOutput_2() *v1alpha16.NoteView
- func (m *SwapClaimView_Visible) GetSwapClaim() *SwapClaim
- func (m *SwapClaimView_Visible) Marshal() (dAtA []byte, err error)
- func (m *SwapClaimView_Visible) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapClaimView_Visible) ProtoMessage()
- func (m *SwapClaimView_Visible) Reset()
- func (m *SwapClaimView_Visible) Size() (n int)
- func (m *SwapClaimView_Visible) String() string
- func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error
- func (m *SwapClaimView_Visible) XXX_DiscardUnknown()
- func (m *SwapClaimView_Visible) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapClaimView_Visible) XXX_Merge(src proto.Message)
- func (m *SwapClaimView_Visible) XXX_Size() int
- func (m *SwapClaimView_Visible) XXX_Unmarshal(b []byte) error
- type SwapClaimView_Visible_
- type SwapExecution
- func (*SwapExecution) Descriptor() ([]byte, []int)
- func (m *SwapExecution) GetInput() *v1alpha14.Value
- func (m *SwapExecution) GetOutput() *v1alpha14.Value
- func (m *SwapExecution) GetTraces() []*SwapExecution_Trace
- func (m *SwapExecution) Marshal() (dAtA []byte, err error)
- func (m *SwapExecution) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapExecution) ProtoMessage()
- func (m *SwapExecution) Reset()
- func (m *SwapExecution) Size() (n int)
- func (m *SwapExecution) String() string
- func (m *SwapExecution) Unmarshal(dAtA []byte) error
- func (m *SwapExecution) XXX_DiscardUnknown()
- func (m *SwapExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapExecution) XXX_Merge(src proto.Message)
- func (m *SwapExecution) XXX_Size() int
- func (m *SwapExecution) XXX_Unmarshal(b []byte) error
- type SwapExecutionRequest
- func (*SwapExecutionRequest) Descriptor() ([]byte, []int)
- func (m *SwapExecutionRequest) GetChainId() string
- func (m *SwapExecutionRequest) GetHeight() uint64
- func (m *SwapExecutionRequest) GetTradingPair() *DirectedTradingPair
- func (m *SwapExecutionRequest) Marshal() (dAtA []byte, err error)
- func (m *SwapExecutionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapExecutionRequest) ProtoMessage()
- func (m *SwapExecutionRequest) Reset()
- func (m *SwapExecutionRequest) Size() (n int)
- func (m *SwapExecutionRequest) String() string
- func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error
- func (m *SwapExecutionRequest) XXX_DiscardUnknown()
- func (m *SwapExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapExecutionRequest) XXX_Merge(src proto.Message)
- func (m *SwapExecutionRequest) XXX_Size() int
- func (m *SwapExecutionRequest) XXX_Unmarshal(b []byte) error
- type SwapExecutionResponse
- func (*SwapExecutionResponse) Descriptor() ([]byte, []int)
- func (m *SwapExecutionResponse) GetSwapExecution() *SwapExecution
- func (m *SwapExecutionResponse) Marshal() (dAtA []byte, err error)
- func (m *SwapExecutionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapExecutionResponse) ProtoMessage()
- func (m *SwapExecutionResponse) Reset()
- func (m *SwapExecutionResponse) Size() (n int)
- func (m *SwapExecutionResponse) String() string
- func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error
- func (m *SwapExecutionResponse) XXX_DiscardUnknown()
- func (m *SwapExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapExecutionResponse) XXX_Merge(src proto.Message)
- func (m *SwapExecutionResponse) XXX_Size() int
- func (m *SwapExecutionResponse) XXX_Unmarshal(b []byte) error
- type SwapExecution_Trace
- func (*SwapExecution_Trace) Descriptor() ([]byte, []int)
- func (m *SwapExecution_Trace) GetValue() []*v1alpha14.Value
- func (m *SwapExecution_Trace) Marshal() (dAtA []byte, err error)
- func (m *SwapExecution_Trace) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapExecution_Trace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapExecution_Trace) ProtoMessage()
- func (m *SwapExecution_Trace) Reset()
- func (m *SwapExecution_Trace) Size() (n int)
- func (m *SwapExecution_Trace) String() string
- func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error
- func (m *SwapExecution_Trace) XXX_DiscardUnknown()
- func (m *SwapExecution_Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapExecution_Trace) XXX_Merge(src proto.Message)
- func (m *SwapExecution_Trace) XXX_Size() int
- func (m *SwapExecution_Trace) XXX_Unmarshal(b []byte) error
- type SwapExecutionsRequest
- func (*SwapExecutionsRequest) Descriptor() ([]byte, []int)
- func (m *SwapExecutionsRequest) GetChainId() string
- func (m *SwapExecutionsRequest) GetEndHeight() uint64
- func (m *SwapExecutionsRequest) GetStartHeight() uint64
- func (m *SwapExecutionsRequest) GetTradingPair() *DirectedTradingPair
- func (m *SwapExecutionsRequest) Marshal() (dAtA []byte, err error)
- func (m *SwapExecutionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapExecutionsRequest) ProtoMessage()
- func (m *SwapExecutionsRequest) Reset()
- func (m *SwapExecutionsRequest) Size() (n int)
- func (m *SwapExecutionsRequest) String() string
- func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error
- func (m *SwapExecutionsRequest) XXX_DiscardUnknown()
- func (m *SwapExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapExecutionsRequest) XXX_Merge(src proto.Message)
- func (m *SwapExecutionsRequest) XXX_Size() int
- func (m *SwapExecutionsRequest) XXX_Unmarshal(b []byte) error
- type SwapExecutionsResponse
- func (*SwapExecutionsResponse) Descriptor() ([]byte, []int)
- func (m *SwapExecutionsResponse) GetHeight() uint64
- func (m *SwapExecutionsResponse) GetSwapExecution() *SwapExecution
- func (m *SwapExecutionsResponse) GetTradingPair() *DirectedTradingPair
- func (m *SwapExecutionsResponse) Marshal() (dAtA []byte, err error)
- func (m *SwapExecutionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapExecutionsResponse) ProtoMessage()
- func (m *SwapExecutionsResponse) Reset()
- func (m *SwapExecutionsResponse) Size() (n int)
- func (m *SwapExecutionsResponse) String() string
- func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error
- func (m *SwapExecutionsResponse) XXX_DiscardUnknown()
- func (m *SwapExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapExecutionsResponse) XXX_Merge(src proto.Message)
- func (m *SwapExecutionsResponse) XXX_Size() int
- func (m *SwapExecutionsResponse) XXX_Unmarshal(b []byte) error
- type SwapPayload
- func (*SwapPayload) Descriptor() ([]byte, []int)
- func (m *SwapPayload) GetCommitment() *v1alpha12.StateCommitment
- func (m *SwapPayload) GetEncryptedSwap() []byte
- func (m *SwapPayload) Marshal() (dAtA []byte, err error)
- func (m *SwapPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapPayload) ProtoMessage()
- func (m *SwapPayload) Reset()
- func (m *SwapPayload) Size() (n int)
- func (m *SwapPayload) String() string
- func (m *SwapPayload) Unmarshal(dAtA []byte) error
- func (m *SwapPayload) XXX_DiscardUnknown()
- func (m *SwapPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapPayload) XXX_Merge(src proto.Message)
- func (m *SwapPayload) XXX_Size() int
- func (m *SwapPayload) XXX_Unmarshal(b []byte) error
- type SwapPlaintext
- func (*SwapPlaintext) Descriptor() ([]byte, []int)
- func (m *SwapPlaintext) GetClaimAddress() *v1alpha15.Address
- func (m *SwapPlaintext) GetClaimFee() *v1alpha11.Fee
- func (m *SwapPlaintext) GetDelta_1I() *v1alpha13.Amount
- func (m *SwapPlaintext) GetDelta_2I() *v1alpha13.Amount
- func (m *SwapPlaintext) GetRseed() []byte
- func (m *SwapPlaintext) GetTradingPair() *TradingPair
- func (m *SwapPlaintext) Marshal() (dAtA []byte, err error)
- func (m *SwapPlaintext) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapPlaintext) ProtoMessage()
- func (m *SwapPlaintext) Reset()
- func (m *SwapPlaintext) Size() (n int)
- func (m *SwapPlaintext) String() string
- func (m *SwapPlaintext) Unmarshal(dAtA []byte) error
- func (m *SwapPlaintext) XXX_DiscardUnknown()
- func (m *SwapPlaintext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapPlaintext) XXX_Merge(src proto.Message)
- func (m *SwapPlaintext) XXX_Size() int
- func (m *SwapPlaintext) XXX_Unmarshal(b []byte) error
- type SwapPlan
- func (*SwapPlan) Descriptor() ([]byte, []int)
- func (m *SwapPlan) GetFeeBlinding() []byte
- func (m *SwapPlan) GetProofBlindingR() []byte
- func (m *SwapPlan) GetProofBlindingS() []byte
- func (m *SwapPlan) GetSwapPlaintext() *SwapPlaintext
- func (m *SwapPlan) Marshal() (dAtA []byte, err error)
- func (m *SwapPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapPlan) ProtoMessage()
- func (m *SwapPlan) Reset()
- func (m *SwapPlan) Size() (n int)
- func (m *SwapPlan) String() string
- func (m *SwapPlan) Unmarshal(dAtA []byte) error
- func (m *SwapPlan) XXX_DiscardUnknown()
- func (m *SwapPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapPlan) XXX_Merge(src proto.Message)
- func (m *SwapPlan) XXX_Size() int
- func (m *SwapPlan) XXX_Unmarshal(b []byte) error
- type SwapView
- func (*SwapView) Descriptor() ([]byte, []int)
- func (m *SwapView) GetOpaque() *SwapView_Opaque
- func (m *SwapView) GetSwapView() isSwapView_SwapView
- func (m *SwapView) GetVisible() *SwapView_Visible
- func (m *SwapView) Marshal() (dAtA []byte, err error)
- func (m *SwapView) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapView) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapView) ProtoMessage()
- func (m *SwapView) Reset()
- func (m *SwapView) Size() (n int)
- func (m *SwapView) String() string
- func (m *SwapView) Unmarshal(dAtA []byte) error
- func (m *SwapView) XXX_DiscardUnknown()
- func (m *SwapView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapView) XXX_Merge(src proto.Message)
- func (*SwapView) XXX_OneofWrappers() []interface{}
- func (m *SwapView) XXX_Size() int
- func (m *SwapView) XXX_Unmarshal(b []byte) error
- type SwapView_Opaque
- func (*SwapView_Opaque) Descriptor() ([]byte, []int)
- func (m *SwapView_Opaque) GetSwap() *Swap
- func (m *SwapView_Opaque) Marshal() (dAtA []byte, err error)
- func (m *SwapView_Opaque) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapView_Opaque) ProtoMessage()
- func (m *SwapView_Opaque) Reset()
- func (m *SwapView_Opaque) Size() (n int)
- func (m *SwapView_Opaque) String() string
- func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error
- func (m *SwapView_Opaque) XXX_DiscardUnknown()
- func (m *SwapView_Opaque) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapView_Opaque) XXX_Merge(src proto.Message)
- func (m *SwapView_Opaque) XXX_Size() int
- func (m *SwapView_Opaque) XXX_Unmarshal(b []byte) error
- type SwapView_Opaque_
- type SwapView_Visible
- func (*SwapView_Visible) Descriptor() ([]byte, []int)
- func (m *SwapView_Visible) GetSwap() *Swap
- func (m *SwapView_Visible) GetSwapPlaintext() *SwapPlaintext
- func (m *SwapView_Visible) Marshal() (dAtA []byte, err error)
- func (m *SwapView_Visible) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapView_Visible) ProtoMessage()
- func (m *SwapView_Visible) Reset()
- func (m *SwapView_Visible) Size() (n int)
- func (m *SwapView_Visible) String() string
- func (m *SwapView_Visible) Unmarshal(dAtA []byte) error
- func (m *SwapView_Visible) XXX_DiscardUnknown()
- func (m *SwapView_Visible) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapView_Visible) XXX_Merge(src proto.Message)
- func (m *SwapView_Visible) XXX_Size() int
- func (m *SwapView_Visible) XXX_Unmarshal(b []byte) error
- type SwapView_Visible_
- type TradingFunction
- func (*TradingFunction) Descriptor() ([]byte, []int)
- func (m *TradingFunction) GetComponent() *BareTradingFunction
- func (m *TradingFunction) GetPair() *TradingPair
- func (m *TradingFunction) Marshal() (dAtA []byte, err error)
- func (m *TradingFunction) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingFunction) ProtoMessage()
- func (m *TradingFunction) Reset()
- func (m *TradingFunction) Size() (n int)
- func (m *TradingFunction) String() string
- func (m *TradingFunction) Unmarshal(dAtA []byte) error
- func (m *TradingFunction) XXX_DiscardUnknown()
- func (m *TradingFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingFunction) XXX_Merge(src proto.Message)
- func (m *TradingFunction) XXX_Size() int
- func (m *TradingFunction) XXX_Unmarshal(b []byte) error
- type TradingPair
- func (*TradingPair) Descriptor() ([]byte, []int)
- func (m *TradingPair) GetAsset_1() *v1alpha14.AssetId
- func (m *TradingPair) GetAsset_2() *v1alpha14.AssetId
- func (m *TradingPair) Marshal() (dAtA []byte, err error)
- func (m *TradingPair) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingPair) ProtoMessage()
- func (m *TradingPair) Reset()
- func (m *TradingPair) Size() (n int)
- func (m *TradingPair) String() string
- func (m *TradingPair) Unmarshal(dAtA []byte) error
- func (m *TradingPair) XXX_DiscardUnknown()
- func (m *TradingPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingPair) XXX_Merge(src proto.Message)
- func (m *TradingPair) XXX_Size() int
- func (m *TradingPair) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServiceServer
- func (*UnimplementedQueryServiceServer) ArbExecution(ctx context.Context, req *ArbExecutionRequest) (*ArbExecutionResponse, error)
- func (*UnimplementedQueryServiceServer) ArbExecutions(req *ArbExecutionsRequest, srv QueryService_ArbExecutionsServer) error
- func (*UnimplementedQueryServiceServer) BatchSwapOutputData(ctx context.Context, req *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error)
- func (*UnimplementedQueryServiceServer) LiquidityPositionById(ctx context.Context, req *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error)
- func (*UnimplementedQueryServiceServer) LiquidityPositions(req *LiquidityPositionsRequest, srv QueryService_LiquidityPositionsServer) error
- func (*UnimplementedQueryServiceServer) LiquidityPositionsById(req *LiquidityPositionsByIdRequest, ...) error
- func (*UnimplementedQueryServiceServer) LiquidityPositionsByPrice(req *LiquidityPositionsByPriceRequest, ...) error
- func (*UnimplementedQueryServiceServer) Spread(ctx context.Context, req *SpreadRequest) (*SpreadResponse, error)
- func (*UnimplementedQueryServiceServer) SwapExecution(ctx context.Context, req *SwapExecutionRequest) (*SwapExecutionResponse, error)
- func (*UnimplementedQueryServiceServer) SwapExecutions(req *SwapExecutionsRequest, srv QueryService_SwapExecutionsServer) error
- type UnimplementedSimulationServiceServer
- type ZKSwapClaimProof
- func (*ZKSwapClaimProof) Descriptor() ([]byte, []int)
- func (m *ZKSwapClaimProof) GetInner() []byte
- func (m *ZKSwapClaimProof) Marshal() (dAtA []byte, err error)
- func (m *ZKSwapClaimProof) MarshalTo(dAtA []byte) (int, error)
- func (m *ZKSwapClaimProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ZKSwapClaimProof) ProtoMessage()
- func (m *ZKSwapClaimProof) Reset()
- func (m *ZKSwapClaimProof) Size() (n int)
- func (m *ZKSwapClaimProof) String() string
- func (m *ZKSwapClaimProof) Unmarshal(dAtA []byte) error
- func (m *ZKSwapClaimProof) XXX_DiscardUnknown()
- func (m *ZKSwapClaimProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZKSwapClaimProof) XXX_Merge(src proto.Message)
- func (m *ZKSwapClaimProof) XXX_Size() int
- func (m *ZKSwapClaimProof) XXX_Unmarshal(b []byte) error
- type ZKSwapProof
- func (*ZKSwapProof) Descriptor() ([]byte, []int)
- func (m *ZKSwapProof) GetInner() []byte
- func (m *ZKSwapProof) Marshal() (dAtA []byte, err error)
- func (m *ZKSwapProof) MarshalTo(dAtA []byte) (int, error)
- func (m *ZKSwapProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ZKSwapProof) ProtoMessage()
- func (m *ZKSwapProof) Reset()
- func (m *ZKSwapProof) Size() (n int)
- func (m *ZKSwapProof) String() string
- func (m *ZKSwapProof) Unmarshal(dAtA []byte) error
- func (m *ZKSwapProof) XXX_DiscardUnknown()
- func (m *ZKSwapProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZKSwapProof) XXX_Merge(src proto.Message)
- func (m *ZKSwapProof) XXX_Size() int
- func (m *ZKSwapProof) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthDex = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDex = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDex = fmt.Errorf("proto: unexpected end of group") )
var PositionState_PositionStateEnum_name = map[int32]string{
0: "POSITION_STATE_ENUM_UNSPECIFIED",
1: "POSITION_STATE_ENUM_OPENED",
2: "POSITION_STATE_ENUM_CLOSED",
3: "POSITION_STATE_ENUM_WITHDRAWN",
4: "POSITION_STATE_ENUM_CLAIMED",
}
var PositionState_PositionStateEnum_value = map[string]int32{
"POSITION_STATE_ENUM_UNSPECIFIED": 0,
"POSITION_STATE_ENUM_OPENED": 1,
"POSITION_STATE_ENUM_CLOSED": 2,
"POSITION_STATE_ENUM_WITHDRAWN": 3,
"POSITION_STATE_ENUM_CLAIMED": 4,
}
Functions ¶
func RegisterQueryServiceServer ¶
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
func RegisterSimulationServiceServer ¶
func RegisterSimulationServiceServer(s grpc1.Server, srv SimulationServiceServer)
Types ¶
type ArbExecutionRequest ¶
type ArbExecutionRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
func (*ArbExecutionRequest) Descriptor ¶
func (*ArbExecutionRequest) Descriptor() ([]byte, []int)
func (*ArbExecutionRequest) GetChainId ¶
func (m *ArbExecutionRequest) GetChainId() string
func (*ArbExecutionRequest) GetHeight ¶
func (m *ArbExecutionRequest) GetHeight() uint64
func (*ArbExecutionRequest) Marshal ¶
func (m *ArbExecutionRequest) Marshal() (dAtA []byte, err error)
func (*ArbExecutionRequest) MarshalTo ¶
func (m *ArbExecutionRequest) MarshalTo(dAtA []byte) (int, error)
func (*ArbExecutionRequest) MarshalToSizedBuffer ¶
func (m *ArbExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArbExecutionRequest) ProtoMessage ¶
func (*ArbExecutionRequest) ProtoMessage()
func (*ArbExecutionRequest) Reset ¶
func (m *ArbExecutionRequest) Reset()
func (*ArbExecutionRequest) Size ¶
func (m *ArbExecutionRequest) Size() (n int)
func (*ArbExecutionRequest) String ¶
func (m *ArbExecutionRequest) String() string
func (*ArbExecutionRequest) Unmarshal ¶
func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error
func (*ArbExecutionRequest) XXX_DiscardUnknown ¶
func (m *ArbExecutionRequest) XXX_DiscardUnknown()
func (*ArbExecutionRequest) XXX_Marshal ¶
func (m *ArbExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArbExecutionRequest) XXX_Merge ¶
func (m *ArbExecutionRequest) XXX_Merge(src proto.Message)
func (*ArbExecutionRequest) XXX_Size ¶
func (m *ArbExecutionRequest) XXX_Size() int
func (*ArbExecutionRequest) XXX_Unmarshal ¶
func (m *ArbExecutionRequest) XXX_Unmarshal(b []byte) error
type ArbExecutionResponse ¶
type ArbExecutionResponse struct { SwapExecution *SwapExecution `protobuf:"bytes,1,opt,name=swap_execution,json=swapExecution,proto3" json:"swap_execution,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
func (*ArbExecutionResponse) Descriptor ¶
func (*ArbExecutionResponse) Descriptor() ([]byte, []int)
func (*ArbExecutionResponse) GetHeight ¶
func (m *ArbExecutionResponse) GetHeight() uint64
func (*ArbExecutionResponse) GetSwapExecution ¶
func (m *ArbExecutionResponse) GetSwapExecution() *SwapExecution
func (*ArbExecutionResponse) Marshal ¶
func (m *ArbExecutionResponse) Marshal() (dAtA []byte, err error)
func (*ArbExecutionResponse) MarshalTo ¶
func (m *ArbExecutionResponse) MarshalTo(dAtA []byte) (int, error)
func (*ArbExecutionResponse) MarshalToSizedBuffer ¶
func (m *ArbExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArbExecutionResponse) ProtoMessage ¶
func (*ArbExecutionResponse) ProtoMessage()
func (*ArbExecutionResponse) Reset ¶
func (m *ArbExecutionResponse) Reset()
func (*ArbExecutionResponse) Size ¶
func (m *ArbExecutionResponse) Size() (n int)
func (*ArbExecutionResponse) String ¶
func (m *ArbExecutionResponse) String() string
func (*ArbExecutionResponse) Unmarshal ¶
func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error
func (*ArbExecutionResponse) XXX_DiscardUnknown ¶
func (m *ArbExecutionResponse) XXX_DiscardUnknown()
func (*ArbExecutionResponse) XXX_Marshal ¶
func (m *ArbExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArbExecutionResponse) XXX_Merge ¶
func (m *ArbExecutionResponse) XXX_Merge(src proto.Message)
func (*ArbExecutionResponse) XXX_Size ¶
func (m *ArbExecutionResponse) XXX_Size() int
func (*ArbExecutionResponse) XXX_Unmarshal ¶
func (m *ArbExecutionResponse) XXX_Unmarshal(b []byte) error
type ArbExecutionsRequest ¶
type ArbExecutionsRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // If present, only return arb executions occurring after the given height. StartHeight uint64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` // If present, only return arb executions occurring before the given height. EndHeight uint64 `protobuf:"varint,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` }
func (*ArbExecutionsRequest) Descriptor ¶
func (*ArbExecutionsRequest) Descriptor() ([]byte, []int)
func (*ArbExecutionsRequest) GetChainId ¶
func (m *ArbExecutionsRequest) GetChainId() string
func (*ArbExecutionsRequest) GetEndHeight ¶
func (m *ArbExecutionsRequest) GetEndHeight() uint64
func (*ArbExecutionsRequest) GetStartHeight ¶
func (m *ArbExecutionsRequest) GetStartHeight() uint64
func (*ArbExecutionsRequest) Marshal ¶
func (m *ArbExecutionsRequest) Marshal() (dAtA []byte, err error)
func (*ArbExecutionsRequest) MarshalTo ¶
func (m *ArbExecutionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ArbExecutionsRequest) MarshalToSizedBuffer ¶
func (m *ArbExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArbExecutionsRequest) ProtoMessage ¶
func (*ArbExecutionsRequest) ProtoMessage()
func (*ArbExecutionsRequest) Reset ¶
func (m *ArbExecutionsRequest) Reset()
func (*ArbExecutionsRequest) Size ¶
func (m *ArbExecutionsRequest) Size() (n int)
func (*ArbExecutionsRequest) String ¶
func (m *ArbExecutionsRequest) String() string
func (*ArbExecutionsRequest) Unmarshal ¶
func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error
func (*ArbExecutionsRequest) XXX_DiscardUnknown ¶
func (m *ArbExecutionsRequest) XXX_DiscardUnknown()
func (*ArbExecutionsRequest) XXX_Marshal ¶
func (m *ArbExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArbExecutionsRequest) XXX_Merge ¶
func (m *ArbExecutionsRequest) XXX_Merge(src proto.Message)
func (*ArbExecutionsRequest) XXX_Size ¶
func (m *ArbExecutionsRequest) XXX_Size() int
func (*ArbExecutionsRequest) XXX_Unmarshal ¶
func (m *ArbExecutionsRequest) XXX_Unmarshal(b []byte) error
type ArbExecutionsResponse ¶
type ArbExecutionsResponse struct { SwapExecution *SwapExecution `protobuf:"bytes,1,opt,name=swap_execution,json=swapExecution,proto3" json:"swap_execution,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
func (*ArbExecutionsResponse) Descriptor ¶
func (*ArbExecutionsResponse) Descriptor() ([]byte, []int)
func (*ArbExecutionsResponse) GetHeight ¶
func (m *ArbExecutionsResponse) GetHeight() uint64
func (*ArbExecutionsResponse) GetSwapExecution ¶
func (m *ArbExecutionsResponse) GetSwapExecution() *SwapExecution
func (*ArbExecutionsResponse) Marshal ¶
func (m *ArbExecutionsResponse) Marshal() (dAtA []byte, err error)
func (*ArbExecutionsResponse) MarshalTo ¶
func (m *ArbExecutionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ArbExecutionsResponse) MarshalToSizedBuffer ¶
func (m *ArbExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArbExecutionsResponse) ProtoMessage ¶
func (*ArbExecutionsResponse) ProtoMessage()
func (*ArbExecutionsResponse) Reset ¶
func (m *ArbExecutionsResponse) Reset()
func (*ArbExecutionsResponse) Size ¶
func (m *ArbExecutionsResponse) Size() (n int)
func (*ArbExecutionsResponse) String ¶
func (m *ArbExecutionsResponse) String() string
func (*ArbExecutionsResponse) Unmarshal ¶
func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error
func (*ArbExecutionsResponse) XXX_DiscardUnknown ¶
func (m *ArbExecutionsResponse) XXX_DiscardUnknown()
func (*ArbExecutionsResponse) XXX_Marshal ¶
func (m *ArbExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArbExecutionsResponse) XXX_Merge ¶
func (m *ArbExecutionsResponse) XXX_Merge(src proto.Message)
func (*ArbExecutionsResponse) XXX_Size ¶
func (m *ArbExecutionsResponse) XXX_Size() int
func (*ArbExecutionsResponse) XXX_Unmarshal ¶
func (m *ArbExecutionsResponse) XXX_Unmarshal(b []byte) error
type BareTradingFunction ¶
type BareTradingFunction struct { Fee uint32 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` // This is not actually an amount, it's an integer the same width as an amount P *v1alpha13.Amount `protobuf:"bytes,2,opt,name=p,proto3" json:"p,omitempty"` // This is not actually an amount, it's an integer the same width as an amount Q *v1alpha13.Amount `protobuf:"bytes,3,opt,name=q,proto3" json:"q,omitempty"` }
The minimum amount of data describing a trading function.
This implicitly treats the trading function as being between assets 1 and 2, without specifying what those assets are, to avoid duplicating data (each asset ID alone is twice the size of the trading function).
func (*BareTradingFunction) Descriptor ¶
func (*BareTradingFunction) Descriptor() ([]byte, []int)
func (*BareTradingFunction) GetFee ¶
func (m *BareTradingFunction) GetFee() uint32
func (*BareTradingFunction) GetP ¶
func (m *BareTradingFunction) GetP() *v1alpha13.Amount
func (*BareTradingFunction) GetQ ¶
func (m *BareTradingFunction) GetQ() *v1alpha13.Amount
func (*BareTradingFunction) Marshal ¶
func (m *BareTradingFunction) Marshal() (dAtA []byte, err error)
func (*BareTradingFunction) MarshalTo ¶
func (m *BareTradingFunction) MarshalTo(dAtA []byte) (int, error)
func (*BareTradingFunction) MarshalToSizedBuffer ¶
func (m *BareTradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BareTradingFunction) ProtoMessage ¶
func (*BareTradingFunction) ProtoMessage()
func (*BareTradingFunction) Reset ¶
func (m *BareTradingFunction) Reset()
func (*BareTradingFunction) Size ¶
func (m *BareTradingFunction) Size() (n int)
func (*BareTradingFunction) String ¶
func (m *BareTradingFunction) String() string
func (*BareTradingFunction) Unmarshal ¶
func (m *BareTradingFunction) Unmarshal(dAtA []byte) error
func (*BareTradingFunction) XXX_DiscardUnknown ¶
func (m *BareTradingFunction) XXX_DiscardUnknown()
func (*BareTradingFunction) XXX_Marshal ¶
func (m *BareTradingFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BareTradingFunction) XXX_Merge ¶
func (m *BareTradingFunction) XXX_Merge(src proto.Message)
func (*BareTradingFunction) XXX_Size ¶
func (m *BareTradingFunction) XXX_Size() int
func (*BareTradingFunction) XXX_Unmarshal ¶
func (m *BareTradingFunction) XXX_Unmarshal(b []byte) error
type BatchSwapOutputData ¶
type BatchSwapOutputData struct { // The total amount of asset 1 that was input to the batch swap. Delta_1 *v1alpha13.Amount `protobuf:"bytes,1,opt,name=delta_1,json=delta1,proto3" json:"delta_1,omitempty"` // The total amount of asset 2 that was input to the batch swap. Delta_2 *v1alpha13.Amount `protobuf:"bytes,2,opt,name=delta_2,json=delta2,proto3" json:"delta_2,omitempty"` // The total amount of asset 1 that was output from the batch swap for 2=>1 trades. Lambda_1 *v1alpha13.Amount `protobuf:"bytes,3,opt,name=lambda_1,json=lambda1,proto3" json:"lambda_1,omitempty"` // The total amount of asset 2 that was output from the batch swap for 1=>2 trades. Lambda_2 *v1alpha13.Amount `protobuf:"bytes,4,opt,name=lambda_2,json=lambda2,proto3" json:"lambda_2,omitempty"` // The total amount of asset 1 that was returned unfilled from the batch swap for 1=>2 trades. Unfilled_1 *v1alpha13.Amount `protobuf:"bytes,5,opt,name=unfilled_1,json=unfilled1,proto3" json:"unfilled_1,omitempty"` // The total amount of asset 2 that was returned unfilled from the batch swap for 2=>1 trades. Unfilled_2 *v1alpha13.Amount `protobuf:"bytes,6,opt,name=unfilled_2,json=unfilled2,proto3" json:"unfilled_2,omitempty"` // The height for which the batch swap data is valid. Height uint64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` // The trading pair associated with the batch swap. TradingPair *TradingPair `protobuf:"bytes,8,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The starting block height of the epoch for which the batch swap data is valid. EpochStartingHeight uint64 `protobuf:"varint,9,opt,name=epoch_starting_height,json=epochStartingHeight,proto3" json:"epoch_starting_height,omitempty"` }
Records the result of a batch swap on-chain.
Used as a public input to a swap claim proof, as it implies the effective clearing price for the batch.
func (*BatchSwapOutputData) Descriptor ¶
func (*BatchSwapOutputData) Descriptor() ([]byte, []int)
func (*BatchSwapOutputData) GetDelta_1 ¶
func (m *BatchSwapOutputData) GetDelta_1() *v1alpha13.Amount
func (*BatchSwapOutputData) GetDelta_2 ¶
func (m *BatchSwapOutputData) GetDelta_2() *v1alpha13.Amount
func (*BatchSwapOutputData) GetEpochStartingHeight ¶
func (m *BatchSwapOutputData) GetEpochStartingHeight() uint64
func (*BatchSwapOutputData) GetHeight ¶
func (m *BatchSwapOutputData) GetHeight() uint64
func (*BatchSwapOutputData) GetLambda_1 ¶
func (m *BatchSwapOutputData) GetLambda_1() *v1alpha13.Amount
func (*BatchSwapOutputData) GetLambda_2 ¶
func (m *BatchSwapOutputData) GetLambda_2() *v1alpha13.Amount
func (*BatchSwapOutputData) GetTradingPair ¶
func (m *BatchSwapOutputData) GetTradingPair() *TradingPair
func (*BatchSwapOutputData) GetUnfilled_1 ¶
func (m *BatchSwapOutputData) GetUnfilled_1() *v1alpha13.Amount
func (*BatchSwapOutputData) GetUnfilled_2 ¶
func (m *BatchSwapOutputData) GetUnfilled_2() *v1alpha13.Amount
func (*BatchSwapOutputData) Marshal ¶
func (m *BatchSwapOutputData) Marshal() (dAtA []byte, err error)
func (*BatchSwapOutputData) MarshalTo ¶
func (m *BatchSwapOutputData) MarshalTo(dAtA []byte) (int, error)
func (*BatchSwapOutputData) MarshalToSizedBuffer ¶
func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchSwapOutputData) ProtoMessage ¶
func (*BatchSwapOutputData) ProtoMessage()
func (*BatchSwapOutputData) Reset ¶
func (m *BatchSwapOutputData) Reset()
func (*BatchSwapOutputData) Size ¶
func (m *BatchSwapOutputData) Size() (n int)
func (*BatchSwapOutputData) String ¶
func (m *BatchSwapOutputData) String() string
func (*BatchSwapOutputData) Unmarshal ¶
func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error
func (*BatchSwapOutputData) XXX_DiscardUnknown ¶
func (m *BatchSwapOutputData) XXX_DiscardUnknown()
func (*BatchSwapOutputData) XXX_Marshal ¶
func (m *BatchSwapOutputData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSwapOutputData) XXX_Merge ¶
func (m *BatchSwapOutputData) XXX_Merge(src proto.Message)
func (*BatchSwapOutputData) XXX_Size ¶
func (m *BatchSwapOutputData) XXX_Size() int
func (*BatchSwapOutputData) XXX_Unmarshal ¶
func (m *BatchSwapOutputData) XXX_Unmarshal(b []byte) error
type BatchSwapOutputDataRequest ¶
type BatchSwapOutputDataRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` TradingPair *TradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` }
Requests batch swap data associated with a given height and trading pair from the view service.
func (*BatchSwapOutputDataRequest) Descriptor ¶
func (*BatchSwapOutputDataRequest) Descriptor() ([]byte, []int)
func (*BatchSwapOutputDataRequest) GetChainId ¶
func (m *BatchSwapOutputDataRequest) GetChainId() string
func (*BatchSwapOutputDataRequest) GetHeight ¶
func (m *BatchSwapOutputDataRequest) GetHeight() uint64
func (*BatchSwapOutputDataRequest) GetTradingPair ¶
func (m *BatchSwapOutputDataRequest) GetTradingPair() *TradingPair
func (*BatchSwapOutputDataRequest) Marshal ¶
func (m *BatchSwapOutputDataRequest) Marshal() (dAtA []byte, err error)
func (*BatchSwapOutputDataRequest) MarshalTo ¶
func (m *BatchSwapOutputDataRequest) MarshalTo(dAtA []byte) (int, error)
func (*BatchSwapOutputDataRequest) MarshalToSizedBuffer ¶
func (m *BatchSwapOutputDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchSwapOutputDataRequest) ProtoMessage ¶
func (*BatchSwapOutputDataRequest) ProtoMessage()
func (*BatchSwapOutputDataRequest) Reset ¶
func (m *BatchSwapOutputDataRequest) Reset()
func (*BatchSwapOutputDataRequest) Size ¶
func (m *BatchSwapOutputDataRequest) Size() (n int)
func (*BatchSwapOutputDataRequest) String ¶
func (m *BatchSwapOutputDataRequest) String() string
func (*BatchSwapOutputDataRequest) Unmarshal ¶
func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error
func (*BatchSwapOutputDataRequest) XXX_DiscardUnknown ¶
func (m *BatchSwapOutputDataRequest) XXX_DiscardUnknown()
func (*BatchSwapOutputDataRequest) XXX_Marshal ¶
func (m *BatchSwapOutputDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSwapOutputDataRequest) XXX_Merge ¶
func (m *BatchSwapOutputDataRequest) XXX_Merge(src proto.Message)
func (*BatchSwapOutputDataRequest) XXX_Size ¶
func (m *BatchSwapOutputDataRequest) XXX_Size() int
func (*BatchSwapOutputDataRequest) XXX_Unmarshal ¶
func (m *BatchSwapOutputDataRequest) XXX_Unmarshal(b []byte) error
type BatchSwapOutputDataResponse ¶
type BatchSwapOutputDataResponse struct {
Data *BatchSwapOutputData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*BatchSwapOutputDataResponse) Descriptor ¶
func (*BatchSwapOutputDataResponse) Descriptor() ([]byte, []int)
func (*BatchSwapOutputDataResponse) GetData ¶
func (m *BatchSwapOutputDataResponse) GetData() *BatchSwapOutputData
func (*BatchSwapOutputDataResponse) Marshal ¶
func (m *BatchSwapOutputDataResponse) Marshal() (dAtA []byte, err error)
func (*BatchSwapOutputDataResponse) MarshalTo ¶
func (m *BatchSwapOutputDataResponse) MarshalTo(dAtA []byte) (int, error)
func (*BatchSwapOutputDataResponse) MarshalToSizedBuffer ¶
func (m *BatchSwapOutputDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchSwapOutputDataResponse) ProtoMessage ¶
func (*BatchSwapOutputDataResponse) ProtoMessage()
func (*BatchSwapOutputDataResponse) Reset ¶
func (m *BatchSwapOutputDataResponse) Reset()
func (*BatchSwapOutputDataResponse) Size ¶
func (m *BatchSwapOutputDataResponse) Size() (n int)
func (*BatchSwapOutputDataResponse) String ¶
func (m *BatchSwapOutputDataResponse) String() string
func (*BatchSwapOutputDataResponse) Unmarshal ¶
func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error
func (*BatchSwapOutputDataResponse) XXX_DiscardUnknown ¶
func (m *BatchSwapOutputDataResponse) XXX_DiscardUnknown()
func (*BatchSwapOutputDataResponse) XXX_Marshal ¶
func (m *BatchSwapOutputDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSwapOutputDataResponse) XXX_Merge ¶
func (m *BatchSwapOutputDataResponse) XXX_Merge(src proto.Message)
func (*BatchSwapOutputDataResponse) XXX_Size ¶
func (m *BatchSwapOutputDataResponse) XXX_Size() int
func (*BatchSwapOutputDataResponse) XXX_Unmarshal ¶
func (m *BatchSwapOutputDataResponse) XXX_Unmarshal(b []byte) error
type DirectedTradingPair ¶
type DirectedTradingPair struct { // The start asset of the pair. Start *v1alpha14.AssetId `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` // The end asset of the pair. End *v1alpha14.AssetId `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` }
Encodes a trading pair starting from asset `start` and ending on asset `end`.
func (*DirectedTradingPair) Descriptor ¶
func (*DirectedTradingPair) Descriptor() ([]byte, []int)
func (*DirectedTradingPair) GetEnd ¶
func (m *DirectedTradingPair) GetEnd() *v1alpha14.AssetId
func (*DirectedTradingPair) GetStart ¶
func (m *DirectedTradingPair) GetStart() *v1alpha14.AssetId
func (*DirectedTradingPair) Marshal ¶
func (m *DirectedTradingPair) Marshal() (dAtA []byte, err error)
func (*DirectedTradingPair) MarshalTo ¶
func (m *DirectedTradingPair) MarshalTo(dAtA []byte) (int, error)
func (*DirectedTradingPair) MarshalToSizedBuffer ¶
func (m *DirectedTradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DirectedTradingPair) ProtoMessage ¶
func (*DirectedTradingPair) ProtoMessage()
func (*DirectedTradingPair) Reset ¶
func (m *DirectedTradingPair) Reset()
func (*DirectedTradingPair) Size ¶
func (m *DirectedTradingPair) Size() (n int)
func (*DirectedTradingPair) String ¶
func (m *DirectedTradingPair) String() string
func (*DirectedTradingPair) Unmarshal ¶
func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error
func (*DirectedTradingPair) XXX_DiscardUnknown ¶
func (m *DirectedTradingPair) XXX_DiscardUnknown()
func (*DirectedTradingPair) XXX_Marshal ¶
func (m *DirectedTradingPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DirectedTradingPair) XXX_Merge ¶
func (m *DirectedTradingPair) XXX_Merge(src proto.Message)
func (*DirectedTradingPair) XXX_Size ¶
func (m *DirectedTradingPair) XXX_Size() int
func (*DirectedTradingPair) XXX_Unmarshal ¶
func (m *DirectedTradingPair) XXX_Unmarshal(b []byte) error
type EventPositionClose ¶
type EventPositionClose struct { // The ID of the closed position PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` }
func (*EventPositionClose) Descriptor ¶
func (*EventPositionClose) Descriptor() ([]byte, []int)
func (*EventPositionClose) GetPositionId ¶
func (m *EventPositionClose) GetPositionId() *PositionId
func (*EventPositionClose) Marshal ¶
func (m *EventPositionClose) Marshal() (dAtA []byte, err error)
func (*EventPositionClose) MarshalTo ¶
func (m *EventPositionClose) MarshalTo(dAtA []byte) (int, error)
func (*EventPositionClose) MarshalToSizedBuffer ¶
func (m *EventPositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPositionClose) ProtoMessage ¶
func (*EventPositionClose) ProtoMessage()
func (*EventPositionClose) Reset ¶
func (m *EventPositionClose) Reset()
func (*EventPositionClose) Size ¶
func (m *EventPositionClose) Size() (n int)
func (*EventPositionClose) String ¶
func (m *EventPositionClose) String() string
func (*EventPositionClose) Unmarshal ¶
func (m *EventPositionClose) Unmarshal(dAtA []byte) error
func (*EventPositionClose) XXX_DiscardUnknown ¶
func (m *EventPositionClose) XXX_DiscardUnknown()
func (*EventPositionClose) XXX_Marshal ¶
func (m *EventPositionClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPositionClose) XXX_Merge ¶
func (m *EventPositionClose) XXX_Merge(src proto.Message)
func (*EventPositionClose) XXX_Size ¶
func (m *EventPositionClose) XXX_Size() int
func (*EventPositionClose) XXX_Unmarshal ¶
func (m *EventPositionClose) XXX_Unmarshal(b []byte) error
type EventPositionOpen ¶
type EventPositionOpen struct { // Position ID. PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // The trading pair to open. TradingPair *TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The amount for asset 1. Reserves_1 *v1alpha13.Amount `protobuf:"bytes,3,opt,name=reserves_1,json=reserves1,proto3" json:"reserves_1,omitempty"` // The amount for asset 2. Reserves_2 *v1alpha13.Amount `protobuf:"bytes,4,opt,name=reserves_2,json=reserves2,proto3" json:"reserves_2,omitempty"` // The trading fee for the position, expressed in basis points. // e.g. 2% fee is expressed as 200, 100% fee is expressed as 10000; TradingFee uint32 `protobuf:"varint,5,opt,name=trading_fee,json=tradingFee,proto3" json:"trading_fee,omitempty"` }
func (*EventPositionOpen) Descriptor ¶
func (*EventPositionOpen) Descriptor() ([]byte, []int)
func (*EventPositionOpen) GetPositionId ¶
func (m *EventPositionOpen) GetPositionId() *PositionId
func (*EventPositionOpen) GetReserves_1 ¶
func (m *EventPositionOpen) GetReserves_1() *v1alpha13.Amount
func (*EventPositionOpen) GetReserves_2 ¶
func (m *EventPositionOpen) GetReserves_2() *v1alpha13.Amount
func (*EventPositionOpen) GetTradingFee ¶
func (m *EventPositionOpen) GetTradingFee() uint32
func (*EventPositionOpen) GetTradingPair ¶
func (m *EventPositionOpen) GetTradingPair() *TradingPair
func (*EventPositionOpen) Marshal ¶
func (m *EventPositionOpen) Marshal() (dAtA []byte, err error)
func (*EventPositionOpen) MarshalTo ¶
func (m *EventPositionOpen) MarshalTo(dAtA []byte) (int, error)
func (*EventPositionOpen) MarshalToSizedBuffer ¶
func (m *EventPositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPositionOpen) ProtoMessage ¶
func (*EventPositionOpen) ProtoMessage()
func (*EventPositionOpen) Reset ¶
func (m *EventPositionOpen) Reset()
func (*EventPositionOpen) Size ¶
func (m *EventPositionOpen) Size() (n int)
func (*EventPositionOpen) String ¶
func (m *EventPositionOpen) String() string
func (*EventPositionOpen) Unmarshal ¶
func (m *EventPositionOpen) Unmarshal(dAtA []byte) error
func (*EventPositionOpen) XXX_DiscardUnknown ¶
func (m *EventPositionOpen) XXX_DiscardUnknown()
func (*EventPositionOpen) XXX_Marshal ¶
func (m *EventPositionOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPositionOpen) XXX_Merge ¶
func (m *EventPositionOpen) XXX_Merge(src proto.Message)
func (*EventPositionOpen) XXX_Size ¶
func (m *EventPositionOpen) XXX_Size() int
func (*EventPositionOpen) XXX_Unmarshal ¶
func (m *EventPositionOpen) XXX_Unmarshal(b []byte) error
type EventPositionWithdraw ¶
type EventPositionWithdraw struct { // The ID of the withdrawn position. PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // The trading pair of the withdrawn position. TradingPair *TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The reserves of asset 1 of the withdrawn position. Reserves_1 *v1alpha13.Amount `protobuf:"bytes,3,opt,name=reserves_1,json=reserves1,proto3" json:"reserves_1,omitempty"` // The reserves of asset 2 of the withdrawn position. Reserves_2 *v1alpha13.Amount `protobuf:"bytes,4,opt,name=reserves_2,json=reserves2,proto3" json:"reserves_2,omitempty"` }
func (*EventPositionWithdraw) Descriptor ¶
func (*EventPositionWithdraw) Descriptor() ([]byte, []int)
func (*EventPositionWithdraw) GetPositionId ¶
func (m *EventPositionWithdraw) GetPositionId() *PositionId
func (*EventPositionWithdraw) GetReserves_1 ¶
func (m *EventPositionWithdraw) GetReserves_1() *v1alpha13.Amount
func (*EventPositionWithdraw) GetReserves_2 ¶
func (m *EventPositionWithdraw) GetReserves_2() *v1alpha13.Amount
func (*EventPositionWithdraw) GetTradingPair ¶
func (m *EventPositionWithdraw) GetTradingPair() *TradingPair
func (*EventPositionWithdraw) Marshal ¶
func (m *EventPositionWithdraw) Marshal() (dAtA []byte, err error)
func (*EventPositionWithdraw) MarshalTo ¶
func (m *EventPositionWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*EventPositionWithdraw) MarshalToSizedBuffer ¶
func (m *EventPositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPositionWithdraw) ProtoMessage ¶
func (*EventPositionWithdraw) ProtoMessage()
func (*EventPositionWithdraw) Reset ¶
func (m *EventPositionWithdraw) Reset()
func (*EventPositionWithdraw) Size ¶
func (m *EventPositionWithdraw) Size() (n int)
func (*EventPositionWithdraw) String ¶
func (m *EventPositionWithdraw) String() string
func (*EventPositionWithdraw) Unmarshal ¶
func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error
func (*EventPositionWithdraw) XXX_DiscardUnknown ¶
func (m *EventPositionWithdraw) XXX_DiscardUnknown()
func (*EventPositionWithdraw) XXX_Marshal ¶
func (m *EventPositionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPositionWithdraw) XXX_Merge ¶
func (m *EventPositionWithdraw) XXX_Merge(src proto.Message)
func (*EventPositionWithdraw) XXX_Size ¶
func (m *EventPositionWithdraw) XXX_Size() int
func (*EventPositionWithdraw) XXX_Unmarshal ¶
func (m *EventPositionWithdraw) XXX_Unmarshal(b []byte) error
type EventSwap ¶
type EventSwap struct { // The trading pair to swap. TradingPair *TradingPair `protobuf:"bytes,1,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The amount for asset 1. Delta_1I *v1alpha13.Amount `protobuf:"bytes,2,opt,name=delta_1_i,json=delta1I,proto3" json:"delta_1_i,omitempty"` // The amount for asset 2. Delta_2I *v1alpha13.Amount `protobuf:"bytes,3,opt,name=delta_2_i,json=delta2I,proto3" json:"delta_2_i,omitempty"` // The swap commitment. SwapCommitment *v1alpha12.StateCommitment `protobuf:"bytes,4,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` }
func (*EventSwap) Descriptor ¶
func (*EventSwap) GetDelta_1I ¶
func (*EventSwap) GetDelta_2I ¶
func (*EventSwap) GetSwapCommitment ¶
func (m *EventSwap) GetSwapCommitment() *v1alpha12.StateCommitment
func (*EventSwap) GetTradingPair ¶
func (m *EventSwap) GetTradingPair() *TradingPair
func (*EventSwap) MarshalToSizedBuffer ¶
func (*EventSwap) ProtoMessage ¶
func (*EventSwap) ProtoMessage()
func (*EventSwap) XXX_DiscardUnknown ¶
func (m *EventSwap) XXX_DiscardUnknown()
func (*EventSwap) XXX_Marshal ¶
func (*EventSwap) XXX_Unmarshal ¶
type EventSwapClaim ¶
type EventSwapClaim struct { // The trading pair that is subject of the swap claim. TradingPair *TradingPair `protobuf:"bytes,1,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // Note commitment for the first asset. Output_1Commitment *v1alpha12.StateCommitment `protobuf:"bytes,2,opt,name=output_1_commitment,json=output1Commitment,proto3" json:"output_1_commitment,omitempty"` // Note commitment for the second asset. Output_2Commitment *v1alpha12.StateCommitment `protobuf:"bytes,3,opt,name=output_2_commitment,json=output2Commitment,proto3" json:"output_2_commitment,omitempty"` // The nullifier for the swap commitment. Nullifier *v1alpha1.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` }
func (*EventSwapClaim) Descriptor ¶
func (*EventSwapClaim) Descriptor() ([]byte, []int)
func (*EventSwapClaim) GetNullifier ¶
func (m *EventSwapClaim) GetNullifier() *v1alpha1.Nullifier
func (*EventSwapClaim) GetOutput_1Commitment ¶
func (m *EventSwapClaim) GetOutput_1Commitment() *v1alpha12.StateCommitment
func (*EventSwapClaim) GetOutput_2Commitment ¶
func (m *EventSwapClaim) GetOutput_2Commitment() *v1alpha12.StateCommitment
func (*EventSwapClaim) GetTradingPair ¶
func (m *EventSwapClaim) GetTradingPair() *TradingPair
func (*EventSwapClaim) Marshal ¶
func (m *EventSwapClaim) Marshal() (dAtA []byte, err error)
func (*EventSwapClaim) MarshalToSizedBuffer ¶
func (m *EventSwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSwapClaim) ProtoMessage ¶
func (*EventSwapClaim) ProtoMessage()
func (*EventSwapClaim) Reset ¶
func (m *EventSwapClaim) Reset()
func (*EventSwapClaim) Size ¶
func (m *EventSwapClaim) Size() (n int)
func (*EventSwapClaim) String ¶
func (m *EventSwapClaim) String() string
func (*EventSwapClaim) Unmarshal ¶
func (m *EventSwapClaim) Unmarshal(dAtA []byte) error
func (*EventSwapClaim) XXX_DiscardUnknown ¶
func (m *EventSwapClaim) XXX_DiscardUnknown()
func (*EventSwapClaim) XXX_Marshal ¶
func (m *EventSwapClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSwapClaim) XXX_Merge ¶
func (m *EventSwapClaim) XXX_Merge(src proto.Message)
func (*EventSwapClaim) XXX_Size ¶
func (m *EventSwapClaim) XXX_Size() int
func (*EventSwapClaim) XXX_Unmarshal ¶
func (m *EventSwapClaim) XXX_Unmarshal(b []byte) error
type LiquidityPositionByIdRequest ¶
type LiquidityPositionByIdRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` PositionId *PositionId `protobuf:"bytes,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` }
func (*LiquidityPositionByIdRequest) Descriptor ¶
func (*LiquidityPositionByIdRequest) Descriptor() ([]byte, []int)
func (*LiquidityPositionByIdRequest) GetChainId ¶
func (m *LiquidityPositionByIdRequest) GetChainId() string
func (*LiquidityPositionByIdRequest) GetPositionId ¶
func (m *LiquidityPositionByIdRequest) GetPositionId() *PositionId
func (*LiquidityPositionByIdRequest) Marshal ¶
func (m *LiquidityPositionByIdRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionByIdRequest) MarshalTo ¶
func (m *LiquidityPositionByIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionByIdRequest) MarshalToSizedBuffer ¶
func (m *LiquidityPositionByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionByIdRequest) ProtoMessage ¶
func (*LiquidityPositionByIdRequest) ProtoMessage()
func (*LiquidityPositionByIdRequest) Reset ¶
func (m *LiquidityPositionByIdRequest) Reset()
func (*LiquidityPositionByIdRequest) Size ¶
func (m *LiquidityPositionByIdRequest) Size() (n int)
func (*LiquidityPositionByIdRequest) String ¶
func (m *LiquidityPositionByIdRequest) String() string
func (*LiquidityPositionByIdRequest) Unmarshal ¶
func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error
func (*LiquidityPositionByIdRequest) XXX_DiscardUnknown ¶
func (m *LiquidityPositionByIdRequest) XXX_DiscardUnknown()
func (*LiquidityPositionByIdRequest) XXX_Marshal ¶
func (m *LiquidityPositionByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionByIdRequest) XXX_Merge ¶
func (m *LiquidityPositionByIdRequest) XXX_Merge(src proto.Message)
func (*LiquidityPositionByIdRequest) XXX_Size ¶
func (m *LiquidityPositionByIdRequest) XXX_Size() int
func (*LiquidityPositionByIdRequest) XXX_Unmarshal ¶
func (m *LiquidityPositionByIdRequest) XXX_Unmarshal(b []byte) error
type LiquidityPositionByIdResponse ¶
type LiquidityPositionByIdResponse struct {
Data *Position `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*LiquidityPositionByIdResponse) Descriptor ¶
func (*LiquidityPositionByIdResponse) Descriptor() ([]byte, []int)
func (*LiquidityPositionByIdResponse) GetData ¶
func (m *LiquidityPositionByIdResponse) GetData() *Position
func (*LiquidityPositionByIdResponse) Marshal ¶
func (m *LiquidityPositionByIdResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionByIdResponse) MarshalTo ¶
func (m *LiquidityPositionByIdResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionByIdResponse) MarshalToSizedBuffer ¶
func (m *LiquidityPositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionByIdResponse) ProtoMessage ¶
func (*LiquidityPositionByIdResponse) ProtoMessage()
func (*LiquidityPositionByIdResponse) Reset ¶
func (m *LiquidityPositionByIdResponse) Reset()
func (*LiquidityPositionByIdResponse) Size ¶
func (m *LiquidityPositionByIdResponse) Size() (n int)
func (*LiquidityPositionByIdResponse) String ¶
func (m *LiquidityPositionByIdResponse) String() string
func (*LiquidityPositionByIdResponse) Unmarshal ¶
func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error
func (*LiquidityPositionByIdResponse) XXX_DiscardUnknown ¶
func (m *LiquidityPositionByIdResponse) XXX_DiscardUnknown()
func (*LiquidityPositionByIdResponse) XXX_Marshal ¶
func (m *LiquidityPositionByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionByIdResponse) XXX_Merge ¶
func (m *LiquidityPositionByIdResponse) XXX_Merge(src proto.Message)
func (*LiquidityPositionByIdResponse) XXX_Size ¶
func (m *LiquidityPositionByIdResponse) XXX_Size() int
func (*LiquidityPositionByIdResponse) XXX_Unmarshal ¶
func (m *LiquidityPositionByIdResponse) XXX_Unmarshal(b []byte) error
type LiquidityPositionsByIdRequest ¶
type LiquidityPositionsByIdRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` PositionId []*PositionId `protobuf:"bytes,2,rep,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` }
func (*LiquidityPositionsByIdRequest) Descriptor ¶
func (*LiquidityPositionsByIdRequest) Descriptor() ([]byte, []int)
func (*LiquidityPositionsByIdRequest) GetChainId ¶
func (m *LiquidityPositionsByIdRequest) GetChainId() string
func (*LiquidityPositionsByIdRequest) GetPositionId ¶
func (m *LiquidityPositionsByIdRequest) GetPositionId() []*PositionId
func (*LiquidityPositionsByIdRequest) Marshal ¶
func (m *LiquidityPositionsByIdRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionsByIdRequest) MarshalTo ¶
func (m *LiquidityPositionsByIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionsByIdRequest) MarshalToSizedBuffer ¶
func (m *LiquidityPositionsByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionsByIdRequest) ProtoMessage ¶
func (*LiquidityPositionsByIdRequest) ProtoMessage()
func (*LiquidityPositionsByIdRequest) Reset ¶
func (m *LiquidityPositionsByIdRequest) Reset()
func (*LiquidityPositionsByIdRequest) Size ¶
func (m *LiquidityPositionsByIdRequest) Size() (n int)
func (*LiquidityPositionsByIdRequest) String ¶
func (m *LiquidityPositionsByIdRequest) String() string
func (*LiquidityPositionsByIdRequest) Unmarshal ¶
func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error
func (*LiquidityPositionsByIdRequest) XXX_DiscardUnknown ¶
func (m *LiquidityPositionsByIdRequest) XXX_DiscardUnknown()
func (*LiquidityPositionsByIdRequest) XXX_Marshal ¶
func (m *LiquidityPositionsByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionsByIdRequest) XXX_Merge ¶
func (m *LiquidityPositionsByIdRequest) XXX_Merge(src proto.Message)
func (*LiquidityPositionsByIdRequest) XXX_Size ¶
func (m *LiquidityPositionsByIdRequest) XXX_Size() int
func (*LiquidityPositionsByIdRequest) XXX_Unmarshal ¶
func (m *LiquidityPositionsByIdRequest) XXX_Unmarshal(b []byte) error
type LiquidityPositionsByIdResponse ¶
type LiquidityPositionsByIdResponse struct {
Data *Position `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*LiquidityPositionsByIdResponse) Descriptor ¶
func (*LiquidityPositionsByIdResponse) Descriptor() ([]byte, []int)
func (*LiquidityPositionsByIdResponse) GetData ¶
func (m *LiquidityPositionsByIdResponse) GetData() *Position
func (*LiquidityPositionsByIdResponse) Marshal ¶
func (m *LiquidityPositionsByIdResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionsByIdResponse) MarshalTo ¶
func (m *LiquidityPositionsByIdResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionsByIdResponse) MarshalToSizedBuffer ¶
func (m *LiquidityPositionsByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionsByIdResponse) ProtoMessage ¶
func (*LiquidityPositionsByIdResponse) ProtoMessage()
func (*LiquidityPositionsByIdResponse) Reset ¶
func (m *LiquidityPositionsByIdResponse) Reset()
func (*LiquidityPositionsByIdResponse) Size ¶
func (m *LiquidityPositionsByIdResponse) Size() (n int)
func (*LiquidityPositionsByIdResponse) String ¶
func (m *LiquidityPositionsByIdResponse) String() string
func (*LiquidityPositionsByIdResponse) Unmarshal ¶
func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error
func (*LiquidityPositionsByIdResponse) XXX_DiscardUnknown ¶
func (m *LiquidityPositionsByIdResponse) XXX_DiscardUnknown()
func (*LiquidityPositionsByIdResponse) XXX_Marshal ¶
func (m *LiquidityPositionsByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionsByIdResponse) XXX_Merge ¶
func (m *LiquidityPositionsByIdResponse) XXX_Merge(src proto.Message)
func (*LiquidityPositionsByIdResponse) XXX_Size ¶
func (m *LiquidityPositionsByIdResponse) XXX_Size() int
func (*LiquidityPositionsByIdResponse) XXX_Unmarshal ¶
func (m *LiquidityPositionsByIdResponse) XXX_Unmarshal(b []byte) error
type LiquidityPositionsByPriceRequest ¶
type LiquidityPositionsByPriceRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The directed trading pair to request positions for TradingPair *DirectedTradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The maximum number of positions to return. Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` }
func (*LiquidityPositionsByPriceRequest) Descriptor ¶
func (*LiquidityPositionsByPriceRequest) Descriptor() ([]byte, []int)
func (*LiquidityPositionsByPriceRequest) GetChainId ¶
func (m *LiquidityPositionsByPriceRequest) GetChainId() string
func (*LiquidityPositionsByPriceRequest) GetLimit ¶
func (m *LiquidityPositionsByPriceRequest) GetLimit() uint64
func (*LiquidityPositionsByPriceRequest) GetTradingPair ¶
func (m *LiquidityPositionsByPriceRequest) GetTradingPair() *DirectedTradingPair
func (*LiquidityPositionsByPriceRequest) Marshal ¶
func (m *LiquidityPositionsByPriceRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionsByPriceRequest) MarshalTo ¶
func (m *LiquidityPositionsByPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionsByPriceRequest) MarshalToSizedBuffer ¶
func (m *LiquidityPositionsByPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionsByPriceRequest) ProtoMessage ¶
func (*LiquidityPositionsByPriceRequest) ProtoMessage()
func (*LiquidityPositionsByPriceRequest) Reset ¶
func (m *LiquidityPositionsByPriceRequest) Reset()
func (*LiquidityPositionsByPriceRequest) Size ¶
func (m *LiquidityPositionsByPriceRequest) Size() (n int)
func (*LiquidityPositionsByPriceRequest) String ¶
func (m *LiquidityPositionsByPriceRequest) String() string
func (*LiquidityPositionsByPriceRequest) Unmarshal ¶
func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error
func (*LiquidityPositionsByPriceRequest) XXX_DiscardUnknown ¶
func (m *LiquidityPositionsByPriceRequest) XXX_DiscardUnknown()
func (*LiquidityPositionsByPriceRequest) XXX_Marshal ¶
func (m *LiquidityPositionsByPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionsByPriceRequest) XXX_Merge ¶
func (m *LiquidityPositionsByPriceRequest) XXX_Merge(src proto.Message)
func (*LiquidityPositionsByPriceRequest) XXX_Size ¶
func (m *LiquidityPositionsByPriceRequest) XXX_Size() int
func (*LiquidityPositionsByPriceRequest) XXX_Unmarshal ¶
func (m *LiquidityPositionsByPriceRequest) XXX_Unmarshal(b []byte) error
type LiquidityPositionsByPriceResponse ¶
type LiquidityPositionsByPriceResponse struct {
Data *Position `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*LiquidityPositionsByPriceResponse) Descriptor ¶
func (*LiquidityPositionsByPriceResponse) Descriptor() ([]byte, []int)
func (*LiquidityPositionsByPriceResponse) GetData ¶
func (m *LiquidityPositionsByPriceResponse) GetData() *Position
func (*LiquidityPositionsByPriceResponse) Marshal ¶
func (m *LiquidityPositionsByPriceResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionsByPriceResponse) MarshalTo ¶
func (m *LiquidityPositionsByPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionsByPriceResponse) MarshalToSizedBuffer ¶
func (m *LiquidityPositionsByPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionsByPriceResponse) ProtoMessage ¶
func (*LiquidityPositionsByPriceResponse) ProtoMessage()
func (*LiquidityPositionsByPriceResponse) Reset ¶
func (m *LiquidityPositionsByPriceResponse) Reset()
func (*LiquidityPositionsByPriceResponse) Size ¶
func (m *LiquidityPositionsByPriceResponse) Size() (n int)
func (*LiquidityPositionsByPriceResponse) String ¶
func (m *LiquidityPositionsByPriceResponse) String() string
func (*LiquidityPositionsByPriceResponse) Unmarshal ¶
func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error
func (*LiquidityPositionsByPriceResponse) XXX_DiscardUnknown ¶
func (m *LiquidityPositionsByPriceResponse) XXX_DiscardUnknown()
func (*LiquidityPositionsByPriceResponse) XXX_Marshal ¶
func (m *LiquidityPositionsByPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionsByPriceResponse) XXX_Merge ¶
func (m *LiquidityPositionsByPriceResponse) XXX_Merge(src proto.Message)
func (*LiquidityPositionsByPriceResponse) XXX_Size ¶
func (m *LiquidityPositionsByPriceResponse) XXX_Size() int
func (*LiquidityPositionsByPriceResponse) XXX_Unmarshal ¶
func (m *LiquidityPositionsByPriceResponse) XXX_Unmarshal(b []byte) error
type LiquidityPositionsRequest ¶
type LiquidityPositionsRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // If true, include closed and withdrawn positions. IncludeClosed bool `protobuf:"varint,4,opt,name=include_closed,json=includeClosed,proto3" json:"include_closed,omitempty"` }
func (*LiquidityPositionsRequest) Descriptor ¶
func (*LiquidityPositionsRequest) Descriptor() ([]byte, []int)
func (*LiquidityPositionsRequest) GetChainId ¶
func (m *LiquidityPositionsRequest) GetChainId() string
func (*LiquidityPositionsRequest) GetIncludeClosed ¶
func (m *LiquidityPositionsRequest) GetIncludeClosed() bool
func (*LiquidityPositionsRequest) Marshal ¶
func (m *LiquidityPositionsRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionsRequest) MarshalTo ¶
func (m *LiquidityPositionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionsRequest) MarshalToSizedBuffer ¶
func (m *LiquidityPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionsRequest) ProtoMessage ¶
func (*LiquidityPositionsRequest) ProtoMessage()
func (*LiquidityPositionsRequest) Reset ¶
func (m *LiquidityPositionsRequest) Reset()
func (*LiquidityPositionsRequest) Size ¶
func (m *LiquidityPositionsRequest) Size() (n int)
func (*LiquidityPositionsRequest) String ¶
func (m *LiquidityPositionsRequest) String() string
func (*LiquidityPositionsRequest) Unmarshal ¶
func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error
func (*LiquidityPositionsRequest) XXX_DiscardUnknown ¶
func (m *LiquidityPositionsRequest) XXX_DiscardUnknown()
func (*LiquidityPositionsRequest) XXX_Marshal ¶
func (m *LiquidityPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionsRequest) XXX_Merge ¶
func (m *LiquidityPositionsRequest) XXX_Merge(src proto.Message)
func (*LiquidityPositionsRequest) XXX_Size ¶
func (m *LiquidityPositionsRequest) XXX_Size() int
func (*LiquidityPositionsRequest) XXX_Unmarshal ¶
func (m *LiquidityPositionsRequest) XXX_Unmarshal(b []byte) error
type LiquidityPositionsResponse ¶
type LiquidityPositionsResponse struct {
Data *Position `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*LiquidityPositionsResponse) Descriptor ¶
func (*LiquidityPositionsResponse) Descriptor() ([]byte, []int)
func (*LiquidityPositionsResponse) GetData ¶
func (m *LiquidityPositionsResponse) GetData() *Position
func (*LiquidityPositionsResponse) Marshal ¶
func (m *LiquidityPositionsResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityPositionsResponse) MarshalTo ¶
func (m *LiquidityPositionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityPositionsResponse) MarshalToSizedBuffer ¶
func (m *LiquidityPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityPositionsResponse) ProtoMessage ¶
func (*LiquidityPositionsResponse) ProtoMessage()
func (*LiquidityPositionsResponse) Reset ¶
func (m *LiquidityPositionsResponse) Reset()
func (*LiquidityPositionsResponse) Size ¶
func (m *LiquidityPositionsResponse) Size() (n int)
func (*LiquidityPositionsResponse) String ¶
func (m *LiquidityPositionsResponse) String() string
func (*LiquidityPositionsResponse) Unmarshal ¶
func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error
func (*LiquidityPositionsResponse) XXX_DiscardUnknown ¶
func (m *LiquidityPositionsResponse) XXX_DiscardUnknown()
func (*LiquidityPositionsResponse) XXX_Marshal ¶
func (m *LiquidityPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityPositionsResponse) XXX_Merge ¶
func (m *LiquidityPositionsResponse) XXX_Merge(src proto.Message)
func (*LiquidityPositionsResponse) XXX_Size ¶
func (m *LiquidityPositionsResponse) XXX_Size() int
func (*LiquidityPositionsResponse) XXX_Unmarshal ¶
func (m *LiquidityPositionsResponse) XXX_Unmarshal(b []byte) error
type LpNft ¶
type LpNft struct { PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` State *PositionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` }
An LPNFT tracking both ownership and state of a position.
Tracking the state as part of the LPNFT means that all LP-related actions can be authorized by spending funds: a state transition (e.g., closing a position) is modeled as spending an "open position LPNFT" and minting a "closed position LPNFT" for the same (globally unique) position ID.
This means that the LP mechanics can be agnostic to the mechanism used to record custody and spend authorization. For instance, they can be recorded in the shielded pool, where custody is based on off-chain keys, or they could be recorded in a programmatic on-chain account (in the future, e.g., to support interchain accounts). This also means that LP-related actions don't require any cryptographic implementation (proofs, signatures, etc), other than hooking into the value commitment mechanism used for transaction balances.
func (*LpNft) Descriptor ¶
func (*LpNft) GetPositionId ¶
func (m *LpNft) GetPositionId() *PositionId
func (*LpNft) GetState ¶
func (m *LpNft) GetState() *PositionState
func (*LpNft) ProtoMessage ¶
func (*LpNft) ProtoMessage()
func (*LpNft) XXX_DiscardUnknown ¶
func (m *LpNft) XXX_DiscardUnknown()
func (*LpNft) XXX_Marshal ¶
func (*LpNft) XXX_Unmarshal ¶
type Position ¶
type Position struct { Phi *TradingFunction `protobuf:"bytes,1,opt,name=phi,proto3" json:"phi,omitempty"` // A random value used to disambiguate different positions with the exact same // trading function. The chain should reject newly created positions with the // same nonce as an existing position. This ensures that `PositionId`s will // be unique, and allows us to track position ownership with a // sequence of stateful NFTs based on the `PositionId`. Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` State *PositionState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Reserves *Reserves `protobuf:"bytes,4,opt,name=reserves,proto3" json:"reserves,omitempty"` // / If set to true, the position is a limit-order and will be closed // / immediately after being filled. CloseOnFill bool `protobuf:"varint,5,opt,name=close_on_fill,json=closeOnFill,proto3" json:"close_on_fill,omitempty"` }
Data identifying a position.
func (*Position) Descriptor ¶
func (*Position) GetCloseOnFill ¶
func (*Position) GetPhi ¶
func (m *Position) GetPhi() *TradingFunction
func (*Position) GetReserves ¶
func (*Position) GetState ¶
func (m *Position) GetState() *PositionState
func (*Position) MarshalToSizedBuffer ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) XXX_DiscardUnknown ¶
func (m *Position) XXX_DiscardUnknown()
func (*Position) XXX_Marshal ¶
func (*Position) XXX_Unmarshal ¶
type PositionClose ¶
type PositionClose struct {
PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
}
A transaction action that closes a position.
This action's contribution to the transaction's value balance is to consume an opened position NFT and contribute a closed position NFT.
Closing a position does not immediately withdraw funds, because Penumbra transactions (like any ZK transaction model) are early-binding: the prover must know the state transition they prove knowledge of, and they cannot know the final reserves with certainty until after the position has been deactivated.
func (*PositionClose) Descriptor ¶
func (*PositionClose) Descriptor() ([]byte, []int)
func (*PositionClose) GetPositionId ¶
func (m *PositionClose) GetPositionId() *PositionId
func (*PositionClose) Marshal ¶
func (m *PositionClose) Marshal() (dAtA []byte, err error)
func (*PositionClose) MarshalToSizedBuffer ¶
func (m *PositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionClose) ProtoMessage ¶
func (*PositionClose) ProtoMessage()
func (*PositionClose) Reset ¶
func (m *PositionClose) Reset()
func (*PositionClose) Size ¶
func (m *PositionClose) Size() (n int)
func (*PositionClose) String ¶
func (m *PositionClose) String() string
func (*PositionClose) Unmarshal ¶
func (m *PositionClose) Unmarshal(dAtA []byte) error
func (*PositionClose) XXX_DiscardUnknown ¶
func (m *PositionClose) XXX_DiscardUnknown()
func (*PositionClose) XXX_Marshal ¶
func (m *PositionClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionClose) XXX_Merge ¶
func (m *PositionClose) XXX_Merge(src proto.Message)
func (*PositionClose) XXX_Size ¶
func (m *PositionClose) XXX_Size() int
func (*PositionClose) XXX_Unmarshal ¶
func (m *PositionClose) XXX_Unmarshal(b []byte) error
type PositionId ¶
type PositionId struct { // The bytes of the position ID. Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // Alternatively, a Bech32m-encoded string representation of the `inner` // bytes. // // NOTE: implementations are not required to support parsing this field. // Implementations should prefer to encode the bytes in all messages they // produce. Implementations must not accept messages with both `inner` and // `alt_bech32m` set. AltBech32M string `protobuf:"bytes,2,opt,name=alt_bech32m,json=altBech32m,proto3" json:"alt_bech32m,omitempty"` }
A hash of a `Position`.
func (*PositionId) Descriptor ¶
func (*PositionId) Descriptor() ([]byte, []int)
func (*PositionId) GetAltBech32M ¶
func (m *PositionId) GetAltBech32M() string
func (*PositionId) GetInner ¶
func (m *PositionId) GetInner() []byte
func (*PositionId) Marshal ¶
func (m *PositionId) Marshal() (dAtA []byte, err error)
func (*PositionId) MarshalToSizedBuffer ¶
func (m *PositionId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionId) ProtoMessage ¶
func (*PositionId) ProtoMessage()
func (*PositionId) Reset ¶
func (m *PositionId) Reset()
func (*PositionId) Size ¶
func (m *PositionId) Size() (n int)
func (*PositionId) String ¶
func (m *PositionId) String() string
func (*PositionId) Unmarshal ¶
func (m *PositionId) Unmarshal(dAtA []byte) error
func (*PositionId) XXX_DiscardUnknown ¶
func (m *PositionId) XXX_DiscardUnknown()
func (*PositionId) XXX_Marshal ¶
func (m *PositionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionId) XXX_Merge ¶
func (m *PositionId) XXX_Merge(src proto.Message)
func (*PositionId) XXX_Size ¶
func (m *PositionId) XXX_Size() int
func (*PositionId) XXX_Unmarshal ¶
func (m *PositionId) XXX_Unmarshal(b []byte) error
type PositionOpen ¶
type PositionOpen struct { // Contains the data defining the position, sufficient to compute its `PositionId`. // // Positions are immutable, so the `PositionData` (and hence the `PositionId`) // are unchanged over the entire lifetime of the position. Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` }
A transaction action that opens a new position.
This action's contribution to the transaction's value balance is to consume the initial reserves and contribute an opened position NFT.
func (*PositionOpen) Descriptor ¶
func (*PositionOpen) Descriptor() ([]byte, []int)
func (*PositionOpen) GetPosition ¶
func (m *PositionOpen) GetPosition() *Position
func (*PositionOpen) Marshal ¶
func (m *PositionOpen) Marshal() (dAtA []byte, err error)
func (*PositionOpen) MarshalToSizedBuffer ¶
func (m *PositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionOpen) ProtoMessage ¶
func (*PositionOpen) ProtoMessage()
func (*PositionOpen) Reset ¶
func (m *PositionOpen) Reset()
func (*PositionOpen) Size ¶
func (m *PositionOpen) Size() (n int)
func (*PositionOpen) String ¶
func (m *PositionOpen) String() string
func (*PositionOpen) Unmarshal ¶
func (m *PositionOpen) Unmarshal(dAtA []byte) error
func (*PositionOpen) XXX_DiscardUnknown ¶
func (m *PositionOpen) XXX_DiscardUnknown()
func (*PositionOpen) XXX_Marshal ¶
func (m *PositionOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionOpen) XXX_Merge ¶
func (m *PositionOpen) XXX_Merge(src proto.Message)
func (*PositionOpen) XXX_Size ¶
func (m *PositionOpen) XXX_Size() int
func (*PositionOpen) XXX_Unmarshal ¶
func (m *PositionOpen) XXX_Unmarshal(b []byte) error
type PositionRewardClaim ¶
type PositionRewardClaim struct { PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // A transparent (zero blinding factor) commitment to the position's accumulated rewards. // // The chain will check this commitment by recomputing it with the on-chain state. RewardsCommitment *v1alpha14.BalanceCommitment `protobuf:"bytes,2,opt,name=rewards_commitment,json=rewardsCommitment,proto3" json:"rewards_commitment,omitempty"` }
A transaction action that claims retroactive rewards for a historical position.
This action's contribution to the transaction's value balance is to consume a withdrawn position NFT and contribute its reward balance.
func (*PositionRewardClaim) Descriptor ¶
func (*PositionRewardClaim) Descriptor() ([]byte, []int)
func (*PositionRewardClaim) GetPositionId ¶
func (m *PositionRewardClaim) GetPositionId() *PositionId
func (*PositionRewardClaim) GetRewardsCommitment ¶
func (m *PositionRewardClaim) GetRewardsCommitment() *v1alpha14.BalanceCommitment
func (*PositionRewardClaim) Marshal ¶
func (m *PositionRewardClaim) Marshal() (dAtA []byte, err error)
func (*PositionRewardClaim) MarshalTo ¶
func (m *PositionRewardClaim) MarshalTo(dAtA []byte) (int, error)
func (*PositionRewardClaim) MarshalToSizedBuffer ¶
func (m *PositionRewardClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionRewardClaim) ProtoMessage ¶
func (*PositionRewardClaim) ProtoMessage()
func (*PositionRewardClaim) Reset ¶
func (m *PositionRewardClaim) Reset()
func (*PositionRewardClaim) Size ¶
func (m *PositionRewardClaim) Size() (n int)
func (*PositionRewardClaim) String ¶
func (m *PositionRewardClaim) String() string
func (*PositionRewardClaim) Unmarshal ¶
func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error
func (*PositionRewardClaim) XXX_DiscardUnknown ¶
func (m *PositionRewardClaim) XXX_DiscardUnknown()
func (*PositionRewardClaim) XXX_Marshal ¶
func (m *PositionRewardClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionRewardClaim) XXX_Merge ¶
func (m *PositionRewardClaim) XXX_Merge(src proto.Message)
func (*PositionRewardClaim) XXX_Size ¶
func (m *PositionRewardClaim) XXX_Size() int
func (*PositionRewardClaim) XXX_Unmarshal ¶
func (m *PositionRewardClaim) XXX_Unmarshal(b []byte) error
type PositionRewardClaimPlan ¶
type PositionRewardClaimPlan struct {
Reserves *Reserves `protobuf:"bytes,1,opt,name=reserves,proto3" json:"reserves,omitempty"`
}
Contains private and public data for claiming rewards from a position.
func (*PositionRewardClaimPlan) Descriptor ¶
func (*PositionRewardClaimPlan) Descriptor() ([]byte, []int)
func (*PositionRewardClaimPlan) GetReserves ¶
func (m *PositionRewardClaimPlan) GetReserves() *Reserves
func (*PositionRewardClaimPlan) Marshal ¶
func (m *PositionRewardClaimPlan) Marshal() (dAtA []byte, err error)
func (*PositionRewardClaimPlan) MarshalTo ¶
func (m *PositionRewardClaimPlan) MarshalTo(dAtA []byte) (int, error)
func (*PositionRewardClaimPlan) MarshalToSizedBuffer ¶
func (m *PositionRewardClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionRewardClaimPlan) ProtoMessage ¶
func (*PositionRewardClaimPlan) ProtoMessage()
func (*PositionRewardClaimPlan) Reset ¶
func (m *PositionRewardClaimPlan) Reset()
func (*PositionRewardClaimPlan) Size ¶
func (m *PositionRewardClaimPlan) Size() (n int)
func (*PositionRewardClaimPlan) String ¶
func (m *PositionRewardClaimPlan) String() string
func (*PositionRewardClaimPlan) Unmarshal ¶
func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error
func (*PositionRewardClaimPlan) XXX_DiscardUnknown ¶
func (m *PositionRewardClaimPlan) XXX_DiscardUnknown()
func (*PositionRewardClaimPlan) XXX_Marshal ¶
func (m *PositionRewardClaimPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionRewardClaimPlan) XXX_Merge ¶
func (m *PositionRewardClaimPlan) XXX_Merge(src proto.Message)
func (*PositionRewardClaimPlan) XXX_Size ¶
func (m *PositionRewardClaimPlan) XXX_Size() int
func (*PositionRewardClaimPlan) XXX_Unmarshal ¶
func (m *PositionRewardClaimPlan) XXX_Unmarshal(b []byte) error
type PositionState ¶
type PositionState struct {
State PositionState_PositionStateEnum `` /* 138-byte string literal not displayed */
}
The state of a position.
func (*PositionState) Descriptor ¶
func (*PositionState) Descriptor() ([]byte, []int)
func (*PositionState) GetState ¶
func (m *PositionState) GetState() PositionState_PositionStateEnum
func (*PositionState) Marshal ¶
func (m *PositionState) Marshal() (dAtA []byte, err error)
func (*PositionState) MarshalToSizedBuffer ¶
func (m *PositionState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionState) ProtoMessage ¶
func (*PositionState) ProtoMessage()
func (*PositionState) Reset ¶
func (m *PositionState) Reset()
func (*PositionState) Size ¶
func (m *PositionState) Size() (n int)
func (*PositionState) String ¶
func (m *PositionState) String() string
func (*PositionState) Unmarshal ¶
func (m *PositionState) Unmarshal(dAtA []byte) error
func (*PositionState) XXX_DiscardUnknown ¶
func (m *PositionState) XXX_DiscardUnknown()
func (*PositionState) XXX_Marshal ¶
func (m *PositionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionState) XXX_Merge ¶
func (m *PositionState) XXX_Merge(src proto.Message)
func (*PositionState) XXX_Size ¶
func (m *PositionState) XXX_Size() int
func (*PositionState) XXX_Unmarshal ¶
func (m *PositionState) XXX_Unmarshal(b []byte) error
type PositionState_PositionStateEnum ¶
type PositionState_PositionStateEnum int32
const ( PositionState_POSITION_STATE_ENUM_UNSPECIFIED PositionState_PositionStateEnum = 0 // The position has been opened, is active, has reserves and accumulated // fees, and can be traded against. PositionState_POSITION_STATE_ENUM_OPENED PositionState_PositionStateEnum = 1 // The position has been closed, is inactive and can no longer be traded // against, but still has reserves and accumulated fees. PositionState_POSITION_STATE_ENUM_CLOSED PositionState_PositionStateEnum = 2 // The final reserves and accumulated fees have been withdrawn, leaving an // empty, inactive position awaiting (possible) retroactive rewards. PositionState_POSITION_STATE_ENUM_WITHDRAWN PositionState_PositionStateEnum = 3 // Any retroactive rewards have been claimed. The position is now an inert, // historical artefact. PositionState_POSITION_STATE_ENUM_CLAIMED PositionState_PositionStateEnum = 4 )
func (PositionState_PositionStateEnum) EnumDescriptor ¶
func (PositionState_PositionStateEnum) EnumDescriptor() ([]byte, []int)
func (PositionState_PositionStateEnum) String ¶
func (x PositionState_PositionStateEnum) String() string
type PositionWithdraw ¶
type PositionWithdraw struct { PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // A transparent (zero blinding factor) commitment to the position's final reserves and fees. // // The chain will check this commitment by recomputing it with the on-chain state. ReservesCommitment *v1alpha14.BalanceCommitment `protobuf:"bytes,2,opt,name=reserves_commitment,json=reservesCommitment,proto3" json:"reserves_commitment,omitempty"` }
A transaction action that withdraws funds from a closed position.
This action's contribution to the transaction's value balance is to consume a closed position NFT and contribute a withdrawn position NFT, as well as all of the funds that were in the position at the time of closing.
func (*PositionWithdraw) Descriptor ¶
func (*PositionWithdraw) Descriptor() ([]byte, []int)
func (*PositionWithdraw) GetPositionId ¶
func (m *PositionWithdraw) GetPositionId() *PositionId
func (*PositionWithdraw) GetReservesCommitment ¶
func (m *PositionWithdraw) GetReservesCommitment() *v1alpha14.BalanceCommitment
func (*PositionWithdraw) Marshal ¶
func (m *PositionWithdraw) Marshal() (dAtA []byte, err error)
func (*PositionWithdraw) MarshalToSizedBuffer ¶
func (m *PositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionWithdraw) ProtoMessage ¶
func (*PositionWithdraw) ProtoMessage()
func (*PositionWithdraw) Reset ¶
func (m *PositionWithdraw) Reset()
func (*PositionWithdraw) Size ¶
func (m *PositionWithdraw) Size() (n int)
func (*PositionWithdraw) String ¶
func (m *PositionWithdraw) String() string
func (*PositionWithdraw) Unmarshal ¶
func (m *PositionWithdraw) Unmarshal(dAtA []byte) error
func (*PositionWithdraw) XXX_DiscardUnknown ¶
func (m *PositionWithdraw) XXX_DiscardUnknown()
func (*PositionWithdraw) XXX_Marshal ¶
func (m *PositionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionWithdraw) XXX_Merge ¶
func (m *PositionWithdraw) XXX_Merge(src proto.Message)
func (*PositionWithdraw) XXX_Size ¶
func (m *PositionWithdraw) XXX_Size() int
func (*PositionWithdraw) XXX_Unmarshal ¶
func (m *PositionWithdraw) XXX_Unmarshal(b []byte) error
type PositionWithdrawPlan ¶
type PositionWithdrawPlan struct { Reserves *Reserves `protobuf:"bytes,1,opt,name=reserves,proto3" json:"reserves,omitempty"` PositionId *PositionId `protobuf:"bytes,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` Pair *TradingPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"` }
Contains private and public data for withdrawing funds from a closed position.
func (*PositionWithdrawPlan) Descriptor ¶
func (*PositionWithdrawPlan) Descriptor() ([]byte, []int)
func (*PositionWithdrawPlan) GetPair ¶
func (m *PositionWithdrawPlan) GetPair() *TradingPair
func (*PositionWithdrawPlan) GetPositionId ¶
func (m *PositionWithdrawPlan) GetPositionId() *PositionId
func (*PositionWithdrawPlan) GetReserves ¶
func (m *PositionWithdrawPlan) GetReserves() *Reserves
func (*PositionWithdrawPlan) Marshal ¶
func (m *PositionWithdrawPlan) Marshal() (dAtA []byte, err error)
func (*PositionWithdrawPlan) MarshalTo ¶
func (m *PositionWithdrawPlan) MarshalTo(dAtA []byte) (int, error)
func (*PositionWithdrawPlan) MarshalToSizedBuffer ¶
func (m *PositionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionWithdrawPlan) ProtoMessage ¶
func (*PositionWithdrawPlan) ProtoMessage()
func (*PositionWithdrawPlan) Reset ¶
func (m *PositionWithdrawPlan) Reset()
func (*PositionWithdrawPlan) Size ¶
func (m *PositionWithdrawPlan) Size() (n int)
func (*PositionWithdrawPlan) String ¶
func (m *PositionWithdrawPlan) String() string
func (*PositionWithdrawPlan) Unmarshal ¶
func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error
func (*PositionWithdrawPlan) XXX_DiscardUnknown ¶
func (m *PositionWithdrawPlan) XXX_DiscardUnknown()
func (*PositionWithdrawPlan) XXX_Marshal ¶
func (m *PositionWithdrawPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionWithdrawPlan) XXX_Merge ¶
func (m *PositionWithdrawPlan) XXX_Merge(src proto.Message)
func (*PositionWithdrawPlan) XXX_Size ¶
func (m *PositionWithdrawPlan) XXX_Size() int
func (*PositionWithdrawPlan) XXX_Unmarshal ¶
func (m *PositionWithdrawPlan) XXX_Unmarshal(b []byte) error
type QueryServiceClient ¶
type QueryServiceClient interface { // Get the batch clearing prices for a specific block height and trading pair. BatchSwapOutputData(ctx context.Context, in *BatchSwapOutputDataRequest, opts ...grpc.CallOption) (*BatchSwapOutputDataResponse, error) // Get the precise swap execution used for a specific batch swap. SwapExecution(ctx context.Context, in *SwapExecutionRequest, opts ...grpc.CallOption) (*SwapExecutionResponse, error) // Get the precise execution used to perform on-chain arbitrage. ArbExecution(ctx context.Context, in *ArbExecutionRequest, opts ...grpc.CallOption) (*ArbExecutionResponse, error) // Stream all swap executions over a range of heights, optionally subscribing to future executions. SwapExecutions(ctx context.Context, in *SwapExecutionsRequest, opts ...grpc.CallOption) (QueryService_SwapExecutionsClient, error) // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. ArbExecutions(ctx context.Context, in *ArbExecutionsRequest, opts ...grpc.CallOption) (QueryService_ArbExecutionsClient, error) // Query all liquidity positions on the DEX. LiquidityPositions(ctx context.Context, in *LiquidityPositionsRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsClient, error) // Query liquidity positions by ID. // // To get multiple positions, use `LiquidityPositionsById`. LiquidityPositionById(ctx context.Context, in *LiquidityPositionByIdRequest, opts ...grpc.CallOption) (*LiquidityPositionByIdResponse, error) // Query multiple liquidity positions by ID. LiquidityPositionsById(ctx context.Context, in *LiquidityPositionsByIdRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByIdClient, error) // Query liquidity positions on a specific pair, sorted by effective price. LiquidityPositionsByPrice(ctx context.Context, in *LiquidityPositionsByPriceRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByPriceClient, error) // Get the current (direct) spread on a trading pair. // // This method doesn't do simulation, so actually executing might result in a // better price (if the chain takes a different route to the target asset). Spread(ctx context.Context, in *SpreadRequest, opts ...grpc.CallOption) (*SpreadResponse, error) }
QueryServiceClient is the client API for QueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryServiceClient ¶
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer interface { // Get the batch clearing prices for a specific block height and trading pair. BatchSwapOutputData(context.Context, *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error) // Get the precise swap execution used for a specific batch swap. SwapExecution(context.Context, *SwapExecutionRequest) (*SwapExecutionResponse, error) // Get the precise execution used to perform on-chain arbitrage. ArbExecution(context.Context, *ArbExecutionRequest) (*ArbExecutionResponse, error) // Stream all swap executions over a range of heights, optionally subscribing to future executions. SwapExecutions(*SwapExecutionsRequest, QueryService_SwapExecutionsServer) error // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. ArbExecutions(*ArbExecutionsRequest, QueryService_ArbExecutionsServer) error // Query all liquidity positions on the DEX. LiquidityPositions(*LiquidityPositionsRequest, QueryService_LiquidityPositionsServer) error // Query liquidity positions by ID. // // To get multiple positions, use `LiquidityPositionsById`. LiquidityPositionById(context.Context, *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error) // Query multiple liquidity positions by ID. LiquidityPositionsById(*LiquidityPositionsByIdRequest, QueryService_LiquidityPositionsByIdServer) error // Query liquidity positions on a specific pair, sorted by effective price. LiquidityPositionsByPrice(*LiquidityPositionsByPriceRequest, QueryService_LiquidityPositionsByPriceServer) error // Get the current (direct) spread on a trading pair. // // This method doesn't do simulation, so actually executing might result in a // better price (if the chain takes a different route to the target asset). Spread(context.Context, *SpreadRequest) (*SpreadResponse, error) }
QueryServiceServer is the server API for QueryService service.
type QueryService_ArbExecutionsClient ¶
type QueryService_ArbExecutionsClient interface { Recv() (*ArbExecutionsResponse, error) grpc.ClientStream }
type QueryService_ArbExecutionsServer ¶
type QueryService_ArbExecutionsServer interface { Send(*ArbExecutionsResponse) error grpc.ServerStream }
type QueryService_LiquidityPositionsByIdClient ¶
type QueryService_LiquidityPositionsByIdClient interface { Recv() (*LiquidityPositionsByIdResponse, error) grpc.ClientStream }
type QueryService_LiquidityPositionsByIdServer ¶
type QueryService_LiquidityPositionsByIdServer interface { Send(*LiquidityPositionsByIdResponse) error grpc.ServerStream }
type QueryService_LiquidityPositionsByPriceClient ¶
type QueryService_LiquidityPositionsByPriceClient interface { Recv() (*LiquidityPositionsByPriceResponse, error) grpc.ClientStream }
type QueryService_LiquidityPositionsByPriceServer ¶
type QueryService_LiquidityPositionsByPriceServer interface { Send(*LiquidityPositionsByPriceResponse) error grpc.ServerStream }
type QueryService_LiquidityPositionsClient ¶
type QueryService_LiquidityPositionsClient interface { Recv() (*LiquidityPositionsResponse, error) grpc.ClientStream }
type QueryService_LiquidityPositionsServer ¶
type QueryService_LiquidityPositionsServer interface { Send(*LiquidityPositionsResponse) error grpc.ServerStream }
type QueryService_SwapExecutionsClient ¶
type QueryService_SwapExecutionsClient interface { Recv() (*SwapExecutionsResponse, error) grpc.ClientStream }
type QueryService_SwapExecutionsServer ¶
type QueryService_SwapExecutionsServer interface { Send(*SwapExecutionsResponse) error grpc.ServerStream }
type Reserves ¶
type Reserves struct { R1 *v1alpha13.Amount `protobuf:"bytes,1,opt,name=r1,proto3" json:"r1,omitempty"` R2 *v1alpha13.Amount `protobuf:"bytes,2,opt,name=r2,proto3" json:"r2,omitempty"` }
The reserves of a position.
Like a position, this implicitly treats the trading function as being between assets 1 and 2, without specifying what those assets are, to avoid duplicating data (each asset ID alone is four times the size of the reserves).
func (*Reserves) Descriptor ¶
func (*Reserves) MarshalToSizedBuffer ¶
func (*Reserves) ProtoMessage ¶
func (*Reserves) ProtoMessage()
func (*Reserves) XXX_DiscardUnknown ¶
func (m *Reserves) XXX_DiscardUnknown()
func (*Reserves) XXX_Marshal ¶
func (*Reserves) XXX_Unmarshal ¶
type SimulateTradeRequest ¶
type SimulateTradeRequest struct { Input *v1alpha14.Value `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` Output *v1alpha14.AssetId `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` Routing *SimulateTradeRequest_Routing `protobuf:"bytes,3,opt,name=routing,proto3" json:"routing,omitempty"` }
func (*SimulateTradeRequest) Descriptor ¶
func (*SimulateTradeRequest) Descriptor() ([]byte, []int)
func (*SimulateTradeRequest) GetInput ¶
func (m *SimulateTradeRequest) GetInput() *v1alpha14.Value
func (*SimulateTradeRequest) GetOutput ¶
func (m *SimulateTradeRequest) GetOutput() *v1alpha14.AssetId
func (*SimulateTradeRequest) GetRouting ¶
func (m *SimulateTradeRequest) GetRouting() *SimulateTradeRequest_Routing
func (*SimulateTradeRequest) Marshal ¶
func (m *SimulateTradeRequest) Marshal() (dAtA []byte, err error)
func (*SimulateTradeRequest) MarshalTo ¶
func (m *SimulateTradeRequest) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeRequest) MarshalToSizedBuffer ¶
func (m *SimulateTradeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeRequest) ProtoMessage ¶
func (*SimulateTradeRequest) ProtoMessage()
func (*SimulateTradeRequest) Reset ¶
func (m *SimulateTradeRequest) Reset()
func (*SimulateTradeRequest) Size ¶
func (m *SimulateTradeRequest) Size() (n int)
func (*SimulateTradeRequest) String ¶
func (m *SimulateTradeRequest) String() string
func (*SimulateTradeRequest) Unmarshal ¶
func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error
func (*SimulateTradeRequest) XXX_DiscardUnknown ¶
func (m *SimulateTradeRequest) XXX_DiscardUnknown()
func (*SimulateTradeRequest) XXX_Marshal ¶
func (m *SimulateTradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateTradeRequest) XXX_Merge ¶
func (m *SimulateTradeRequest) XXX_Merge(src proto.Message)
func (*SimulateTradeRequest) XXX_Size ¶
func (m *SimulateTradeRequest) XXX_Size() int
func (*SimulateTradeRequest) XXX_Unmarshal ¶
func (m *SimulateTradeRequest) XXX_Unmarshal(b []byte) error
type SimulateTradeRequest_Routing ¶
type SimulateTradeRequest_Routing struct { // Types that are valid to be assigned to Setting: // // *SimulateTradeRequest_Routing_Default_ // *SimulateTradeRequest_Routing_SingleHop_ Setting isSimulateTradeRequest_Routing_Setting `protobuf_oneof:"setting"` }
func (*SimulateTradeRequest_Routing) Descriptor ¶
func (*SimulateTradeRequest_Routing) Descriptor() ([]byte, []int)
func (*SimulateTradeRequest_Routing) GetDefault ¶
func (m *SimulateTradeRequest_Routing) GetDefault() *SimulateTradeRequest_Routing_Default
func (*SimulateTradeRequest_Routing) GetSetting ¶
func (m *SimulateTradeRequest_Routing) GetSetting() isSimulateTradeRequest_Routing_Setting
func (*SimulateTradeRequest_Routing) GetSingleHop ¶
func (m *SimulateTradeRequest_Routing) GetSingleHop() *SimulateTradeRequest_Routing_SingleHop
func (*SimulateTradeRequest_Routing) Marshal ¶
func (m *SimulateTradeRequest_Routing) Marshal() (dAtA []byte, err error)
func (*SimulateTradeRequest_Routing) MarshalTo ¶
func (m *SimulateTradeRequest_Routing) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing) MarshalToSizedBuffer ¶
func (m *SimulateTradeRequest_Routing) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing) ProtoMessage ¶
func (*SimulateTradeRequest_Routing) ProtoMessage()
func (*SimulateTradeRequest_Routing) Reset ¶
func (m *SimulateTradeRequest_Routing) Reset()
func (*SimulateTradeRequest_Routing) Size ¶
func (m *SimulateTradeRequest_Routing) Size() (n int)
func (*SimulateTradeRequest_Routing) String ¶
func (m *SimulateTradeRequest_Routing) String() string
func (*SimulateTradeRequest_Routing) Unmarshal ¶
func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error
func (*SimulateTradeRequest_Routing) XXX_DiscardUnknown ¶
func (m *SimulateTradeRequest_Routing) XXX_DiscardUnknown()
func (*SimulateTradeRequest_Routing) XXX_Marshal ¶
func (m *SimulateTradeRequest_Routing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateTradeRequest_Routing) XXX_Merge ¶
func (m *SimulateTradeRequest_Routing) XXX_Merge(src proto.Message)
func (*SimulateTradeRequest_Routing) XXX_OneofWrappers ¶
func (*SimulateTradeRequest_Routing) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SimulateTradeRequest_Routing) XXX_Size ¶
func (m *SimulateTradeRequest_Routing) XXX_Size() int
func (*SimulateTradeRequest_Routing) XXX_Unmarshal ¶
func (m *SimulateTradeRequest_Routing) XXX_Unmarshal(b []byte) error
type SimulateTradeRequest_Routing_Default ¶
type SimulateTradeRequest_Routing_Default struct { }
func (*SimulateTradeRequest_Routing_Default) Descriptor ¶
func (*SimulateTradeRequest_Routing_Default) Descriptor() ([]byte, []int)
func (*SimulateTradeRequest_Routing_Default) Marshal ¶
func (m *SimulateTradeRequest_Routing_Default) Marshal() (dAtA []byte, err error)
func (*SimulateTradeRequest_Routing_Default) MarshalTo ¶
func (m *SimulateTradeRequest_Routing_Default) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_Default) MarshalToSizedBuffer ¶
func (m *SimulateTradeRequest_Routing_Default) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_Default) ProtoMessage ¶
func (*SimulateTradeRequest_Routing_Default) ProtoMessage()
func (*SimulateTradeRequest_Routing_Default) Reset ¶
func (m *SimulateTradeRequest_Routing_Default) Reset()
func (*SimulateTradeRequest_Routing_Default) Size ¶
func (m *SimulateTradeRequest_Routing_Default) Size() (n int)
func (*SimulateTradeRequest_Routing_Default) String ¶
func (m *SimulateTradeRequest_Routing_Default) String() string
func (*SimulateTradeRequest_Routing_Default) Unmarshal ¶
func (m *SimulateTradeRequest_Routing_Default) Unmarshal(dAtA []byte) error
func (*SimulateTradeRequest_Routing_Default) XXX_DiscardUnknown ¶
func (m *SimulateTradeRequest_Routing_Default) XXX_DiscardUnknown()
func (*SimulateTradeRequest_Routing_Default) XXX_Marshal ¶
func (m *SimulateTradeRequest_Routing_Default) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateTradeRequest_Routing_Default) XXX_Merge ¶
func (m *SimulateTradeRequest_Routing_Default) XXX_Merge(src proto.Message)
func (*SimulateTradeRequest_Routing_Default) XXX_Size ¶
func (m *SimulateTradeRequest_Routing_Default) XXX_Size() int
func (*SimulateTradeRequest_Routing_Default) XXX_Unmarshal ¶
func (m *SimulateTradeRequest_Routing_Default) XXX_Unmarshal(b []byte) error
type SimulateTradeRequest_Routing_Default_ ¶
type SimulateTradeRequest_Routing_Default_ struct {
Default *SimulateTradeRequest_Routing_Default `protobuf:"bytes,1,opt,name=default,proto3,oneof" json:"default,omitempty"`
}
func (*SimulateTradeRequest_Routing_Default_) MarshalTo ¶
func (m *SimulateTradeRequest_Routing_Default_) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_Default_) MarshalToSizedBuffer ¶
func (m *SimulateTradeRequest_Routing_Default_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_Default_) Size ¶
func (m *SimulateTradeRequest_Routing_Default_) Size() (n int)
type SimulateTradeRequest_Routing_SingleHop ¶
type SimulateTradeRequest_Routing_SingleHop struct { }
func (*SimulateTradeRequest_Routing_SingleHop) Descriptor ¶
func (*SimulateTradeRequest_Routing_SingleHop) Descriptor() ([]byte, []int)
func (*SimulateTradeRequest_Routing_SingleHop) Marshal ¶
func (m *SimulateTradeRequest_Routing_SingleHop) Marshal() (dAtA []byte, err error)
func (*SimulateTradeRequest_Routing_SingleHop) MarshalTo ¶
func (m *SimulateTradeRequest_Routing_SingleHop) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_SingleHop) MarshalToSizedBuffer ¶
func (m *SimulateTradeRequest_Routing_SingleHop) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_SingleHop) ProtoMessage ¶
func (*SimulateTradeRequest_Routing_SingleHop) ProtoMessage()
func (*SimulateTradeRequest_Routing_SingleHop) Reset ¶
func (m *SimulateTradeRequest_Routing_SingleHop) Reset()
func (*SimulateTradeRequest_Routing_SingleHop) Size ¶
func (m *SimulateTradeRequest_Routing_SingleHop) Size() (n int)
func (*SimulateTradeRequest_Routing_SingleHop) String ¶
func (m *SimulateTradeRequest_Routing_SingleHop) String() string
func (*SimulateTradeRequest_Routing_SingleHop) Unmarshal ¶
func (m *SimulateTradeRequest_Routing_SingleHop) Unmarshal(dAtA []byte) error
func (*SimulateTradeRequest_Routing_SingleHop) XXX_DiscardUnknown ¶
func (m *SimulateTradeRequest_Routing_SingleHop) XXX_DiscardUnknown()
func (*SimulateTradeRequest_Routing_SingleHop) XXX_Marshal ¶
func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateTradeRequest_Routing_SingleHop) XXX_Merge ¶
func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Merge(src proto.Message)
func (*SimulateTradeRequest_Routing_SingleHop) XXX_Size ¶
func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Size() int
func (*SimulateTradeRequest_Routing_SingleHop) XXX_Unmarshal ¶
func (m *SimulateTradeRequest_Routing_SingleHop) XXX_Unmarshal(b []byte) error
type SimulateTradeRequest_Routing_SingleHop_ ¶
type SimulateTradeRequest_Routing_SingleHop_ struct {
SingleHop *SimulateTradeRequest_Routing_SingleHop `protobuf:"bytes,2,opt,name=single_hop,json=singleHop,proto3,oneof" json:"single_hop,omitempty"`
}
func (*SimulateTradeRequest_Routing_SingleHop_) MarshalTo ¶
func (m *SimulateTradeRequest_Routing_SingleHop_) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_SingleHop_) MarshalToSizedBuffer ¶
func (m *SimulateTradeRequest_Routing_SingleHop_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeRequest_Routing_SingleHop_) Size ¶
func (m *SimulateTradeRequest_Routing_SingleHop_) Size() (n int)
type SimulateTradeResponse ¶
type SimulateTradeResponse struct {
Output *SwapExecution `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
}
func (*SimulateTradeResponse) Descriptor ¶
func (*SimulateTradeResponse) Descriptor() ([]byte, []int)
func (*SimulateTradeResponse) GetOutput ¶
func (m *SimulateTradeResponse) GetOutput() *SwapExecution
func (*SimulateTradeResponse) Marshal ¶
func (m *SimulateTradeResponse) Marshal() (dAtA []byte, err error)
func (*SimulateTradeResponse) MarshalTo ¶
func (m *SimulateTradeResponse) MarshalTo(dAtA []byte) (int, error)
func (*SimulateTradeResponse) MarshalToSizedBuffer ¶
func (m *SimulateTradeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateTradeResponse) ProtoMessage ¶
func (*SimulateTradeResponse) ProtoMessage()
func (*SimulateTradeResponse) Reset ¶
func (m *SimulateTradeResponse) Reset()
func (*SimulateTradeResponse) Size ¶
func (m *SimulateTradeResponse) Size() (n int)
func (*SimulateTradeResponse) String ¶
func (m *SimulateTradeResponse) String() string
func (*SimulateTradeResponse) Unmarshal ¶
func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error
func (*SimulateTradeResponse) XXX_DiscardUnknown ¶
func (m *SimulateTradeResponse) XXX_DiscardUnknown()
func (*SimulateTradeResponse) XXX_Marshal ¶
func (m *SimulateTradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateTradeResponse) XXX_Merge ¶
func (m *SimulateTradeResponse) XXX_Merge(src proto.Message)
func (*SimulateTradeResponse) XXX_Size ¶
func (m *SimulateTradeResponse) XXX_Size() int
func (*SimulateTradeResponse) XXX_Unmarshal ¶
func (m *SimulateTradeResponse) XXX_Unmarshal(b []byte) error
type SimulationServiceClient ¶
type SimulationServiceClient interface { // Simulate routing and trade execution. SimulateTrade(ctx context.Context, in *SimulateTradeRequest, opts ...grpc.CallOption) (*SimulateTradeResponse, error) }
SimulationServiceClient is the client API for SimulationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSimulationServiceClient ¶
func NewSimulationServiceClient(cc grpc1.ClientConn) SimulationServiceClient
type SimulationServiceServer ¶
type SimulationServiceServer interface { // Simulate routing and trade execution. SimulateTrade(context.Context, *SimulateTradeRequest) (*SimulateTradeResponse, error) }
SimulationServiceServer is the server API for SimulationService service.
type SpreadRequest ¶
type SpreadRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TradingPair *TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` }
func (*SpreadRequest) Descriptor ¶
func (*SpreadRequest) Descriptor() ([]byte, []int)
func (*SpreadRequest) GetChainId ¶
func (m *SpreadRequest) GetChainId() string
func (*SpreadRequest) GetTradingPair ¶
func (m *SpreadRequest) GetTradingPair() *TradingPair
func (*SpreadRequest) Marshal ¶
func (m *SpreadRequest) Marshal() (dAtA []byte, err error)
func (*SpreadRequest) MarshalToSizedBuffer ¶
func (m *SpreadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpreadRequest) ProtoMessage ¶
func (*SpreadRequest) ProtoMessage()
func (*SpreadRequest) Reset ¶
func (m *SpreadRequest) Reset()
func (*SpreadRequest) Size ¶
func (m *SpreadRequest) Size() (n int)
func (*SpreadRequest) String ¶
func (m *SpreadRequest) String() string
func (*SpreadRequest) Unmarshal ¶
func (m *SpreadRequest) Unmarshal(dAtA []byte) error
func (*SpreadRequest) XXX_DiscardUnknown ¶
func (m *SpreadRequest) XXX_DiscardUnknown()
func (*SpreadRequest) XXX_Marshal ¶
func (m *SpreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpreadRequest) XXX_Merge ¶
func (m *SpreadRequest) XXX_Merge(src proto.Message)
func (*SpreadRequest) XXX_Size ¶
func (m *SpreadRequest) XXX_Size() int
func (*SpreadRequest) XXX_Unmarshal ¶
func (m *SpreadRequest) XXX_Unmarshal(b []byte) error
type SpreadResponse ¶
type SpreadResponse struct { // The best position when trading 1 => 2. Best_1To_2Position *Position `protobuf:"bytes,1,opt,name=best_1_to_2_position,json=best1To2Position,proto3" json:"best_1_to_2_position,omitempty"` // The best position when trading 2 => 1. Best_2To_1Position *Position `protobuf:"bytes,2,opt,name=best_2_to_1_position,json=best2To1Position,proto3" json:"best_2_to_1_position,omitempty"` // An approximation of the effective price when trading 1 => 2. ApproxEffectivePrice_1To_2 float64 `` /* 143-byte string literal not displayed */ // An approximation of the effective price when trading 2 => 1. ApproxEffectivePrice_2To_1 float64 `` /* 143-byte string literal not displayed */ }
func (*SpreadResponse) Descriptor ¶
func (*SpreadResponse) Descriptor() ([]byte, []int)
func (*SpreadResponse) GetApproxEffectivePrice_1To_2 ¶
func (m *SpreadResponse) GetApproxEffectivePrice_1To_2() float64
func (*SpreadResponse) GetApproxEffectivePrice_2To_1 ¶
func (m *SpreadResponse) GetApproxEffectivePrice_2To_1() float64
func (*SpreadResponse) GetBest_1To_2Position ¶
func (m *SpreadResponse) GetBest_1To_2Position() *Position
func (*SpreadResponse) GetBest_2To_1Position ¶
func (m *SpreadResponse) GetBest_2To_1Position() *Position
func (*SpreadResponse) Marshal ¶
func (m *SpreadResponse) Marshal() (dAtA []byte, err error)
func (*SpreadResponse) MarshalToSizedBuffer ¶
func (m *SpreadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpreadResponse) ProtoMessage ¶
func (*SpreadResponse) ProtoMessage()
func (*SpreadResponse) Reset ¶
func (m *SpreadResponse) Reset()
func (*SpreadResponse) Size ¶
func (m *SpreadResponse) Size() (n int)
func (*SpreadResponse) String ¶
func (m *SpreadResponse) String() string
func (*SpreadResponse) Unmarshal ¶
func (m *SpreadResponse) Unmarshal(dAtA []byte) error
func (*SpreadResponse) XXX_DiscardUnknown ¶
func (m *SpreadResponse) XXX_DiscardUnknown()
func (*SpreadResponse) XXX_Marshal ¶
func (m *SpreadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpreadResponse) XXX_Merge ¶
func (m *SpreadResponse) XXX_Merge(src proto.Message)
func (*SpreadResponse) XXX_Size ¶
func (m *SpreadResponse) XXX_Size() int
func (*SpreadResponse) XXX_Unmarshal ¶
func (m *SpreadResponse) XXX_Unmarshal(b []byte) error
type Swap ¶
type Swap struct { // Contains the Swap proof. Proof *ZKSwapProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // Encapsulates the authorized fields of the Swap action, used in signing. Body *SwapBody `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` }
A transaction action that submits a swap to the dex.
func (*Swap) Descriptor ¶
func (*Swap) GetProof ¶
func (m *Swap) GetProof() *ZKSwapProof
func (*Swap) ProtoMessage ¶
func (*Swap) ProtoMessage()
func (*Swap) XXX_DiscardUnknown ¶
func (m *Swap) XXX_DiscardUnknown()
func (*Swap) XXX_Unmarshal ¶
type SwapBody ¶
type SwapBody struct { // The trading pair to swap. TradingPair *TradingPair `protobuf:"bytes,1,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The amount for asset 1. Delta_1I *v1alpha13.Amount `protobuf:"bytes,2,opt,name=delta_1_i,json=delta1I,proto3" json:"delta_1_i,omitempty"` // The amount for asset 2. Delta_2I *v1alpha13.Amount `protobuf:"bytes,3,opt,name=delta_2_i,json=delta2I,proto3" json:"delta_2_i,omitempty"` // A commitment to a prepaid fee for the future SwapClaim. // This is recorded separately from delta_j_i because it's shielded; // in the future we'll want separate commitments to each delta_j_i // anyways in order to prove consistency with flow encryption. FeeCommitment *v1alpha14.BalanceCommitment `protobuf:"bytes,4,opt,name=fee_commitment,json=feeCommitment,proto3" json:"fee_commitment,omitempty"` // The swap commitment and encryption of the swap data. Payload *SwapPayload `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` }
The authorized data of a Swap transaction.
func (*SwapBody) Descriptor ¶
func (*SwapBody) GetDelta_1I ¶
func (*SwapBody) GetDelta_2I ¶
func (*SwapBody) GetFeeCommitment ¶
func (m *SwapBody) GetFeeCommitment() *v1alpha14.BalanceCommitment
func (*SwapBody) GetPayload ¶
func (m *SwapBody) GetPayload() *SwapPayload
func (*SwapBody) GetTradingPair ¶
func (m *SwapBody) GetTradingPair() *TradingPair
func (*SwapBody) MarshalToSizedBuffer ¶
func (*SwapBody) ProtoMessage ¶
func (*SwapBody) ProtoMessage()
func (*SwapBody) XXX_DiscardUnknown ¶
func (m *SwapBody) XXX_DiscardUnknown()
func (*SwapBody) XXX_Marshal ¶
func (*SwapBody) XXX_Unmarshal ¶
type SwapClaim ¶
type SwapClaim struct { // Contains the SwapClaim proof. Proof *ZKSwapClaimProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // Encapsulates the authorized fields of the SwapClaim action, used in signing. Body *SwapClaimBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // The epoch duration of the chain when the swap claim took place. EpochDuration uint64 `protobuf:"varint,7,opt,name=epoch_duration,json=epochDuration,proto3" json:"epoch_duration,omitempty"` }
A transaction action that obtains assets previously confirmed via a Swap transaction. Does not include a spend authorization signature, as it is only capable of consuming the NFT from a Swap transaction.
func (*SwapClaim) Descriptor ¶
func (*SwapClaim) GetBody ¶
func (m *SwapClaim) GetBody() *SwapClaimBody
func (*SwapClaim) GetEpochDuration ¶
func (*SwapClaim) GetProof ¶
func (m *SwapClaim) GetProof() *ZKSwapClaimProof
func (*SwapClaim) MarshalToSizedBuffer ¶
func (*SwapClaim) ProtoMessage ¶
func (*SwapClaim) ProtoMessage()
func (*SwapClaim) XXX_DiscardUnknown ¶
func (m *SwapClaim) XXX_DiscardUnknown()
func (*SwapClaim) XXX_Marshal ¶
func (*SwapClaim) XXX_Unmarshal ¶
type SwapClaimBody ¶
type SwapClaimBody struct { // The nullifier for the Swap commitment to be consumed. Nullifier *v1alpha1.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // The fee allows `SwapClaim` without an additional `Spend`. Fee *v1alpha11.Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // Note output for asset 1. Output_1Commitment *v1alpha12.StateCommitment `protobuf:"bytes,3,opt,name=output_1_commitment,json=output1Commitment,proto3" json:"output_1_commitment,omitempty"` // Note output for asset 2. Output_2Commitment *v1alpha12.StateCommitment `protobuf:"bytes,4,opt,name=output_2_commitment,json=output2Commitment,proto3" json:"output_2_commitment,omitempty"` // Input and output amounts, and asset IDs for the assets in the swap. OutputData *BatchSwapOutputData `protobuf:"bytes,6,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` }
Encapsulates the authorized fields of the SwapClaim action, used in signing.
func (*SwapClaimBody) Descriptor ¶
func (*SwapClaimBody) Descriptor() ([]byte, []int)
func (*SwapClaimBody) GetFee ¶
func (m *SwapClaimBody) GetFee() *v1alpha11.Fee
func (*SwapClaimBody) GetNullifier ¶
func (m *SwapClaimBody) GetNullifier() *v1alpha1.Nullifier
func (*SwapClaimBody) GetOutputData ¶
func (m *SwapClaimBody) GetOutputData() *BatchSwapOutputData
func (*SwapClaimBody) GetOutput_1Commitment ¶
func (m *SwapClaimBody) GetOutput_1Commitment() *v1alpha12.StateCommitment
func (*SwapClaimBody) GetOutput_2Commitment ¶
func (m *SwapClaimBody) GetOutput_2Commitment() *v1alpha12.StateCommitment
func (*SwapClaimBody) Marshal ¶
func (m *SwapClaimBody) Marshal() (dAtA []byte, err error)
func (*SwapClaimBody) MarshalToSizedBuffer ¶
func (m *SwapClaimBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimBody) ProtoMessage ¶
func (*SwapClaimBody) ProtoMessage()
func (*SwapClaimBody) Reset ¶
func (m *SwapClaimBody) Reset()
func (*SwapClaimBody) Size ¶
func (m *SwapClaimBody) Size() (n int)
func (*SwapClaimBody) String ¶
func (m *SwapClaimBody) String() string
func (*SwapClaimBody) Unmarshal ¶
func (m *SwapClaimBody) Unmarshal(dAtA []byte) error
func (*SwapClaimBody) XXX_DiscardUnknown ¶
func (m *SwapClaimBody) XXX_DiscardUnknown()
func (*SwapClaimBody) XXX_Marshal ¶
func (m *SwapClaimBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapClaimBody) XXX_Merge ¶
func (m *SwapClaimBody) XXX_Merge(src proto.Message)
func (*SwapClaimBody) XXX_Size ¶
func (m *SwapClaimBody) XXX_Size() int
func (*SwapClaimBody) XXX_Unmarshal ¶
func (m *SwapClaimBody) XXX_Unmarshal(b []byte) error
type SwapClaimPlan ¶
type SwapClaimPlan struct { // The plaintext version of the swap to be performed. SwapPlaintext *SwapPlaintext `protobuf:"bytes,1,opt,name=swap_plaintext,json=swapPlaintext,proto3" json:"swap_plaintext,omitempty"` // The position of the swap commitment. Position uint64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` // Input and output amounts for the Swap. OutputData *BatchSwapOutputData `protobuf:"bytes,3,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` // The epoch duration, used in proving. EpochDuration uint64 `protobuf:"varint,4,opt,name=epoch_duration,json=epochDuration,proto3" json:"epoch_duration,omitempty"` // The first blinding factor to use for the ZK swap claim proof. ProofBlindingR []byte `protobuf:"bytes,5,opt,name=proof_blinding_r,json=proofBlindingR,proto3" json:"proof_blinding_r,omitempty"` // The second blinding factor to use for the ZK swap claim proof. ProofBlindingS []byte `protobuf:"bytes,6,opt,name=proof_blinding_s,json=proofBlindingS,proto3" json:"proof_blinding_s,omitempty"` }
func (*SwapClaimPlan) Descriptor ¶
func (*SwapClaimPlan) Descriptor() ([]byte, []int)
func (*SwapClaimPlan) GetEpochDuration ¶
func (m *SwapClaimPlan) GetEpochDuration() uint64
func (*SwapClaimPlan) GetOutputData ¶
func (m *SwapClaimPlan) GetOutputData() *BatchSwapOutputData
func (*SwapClaimPlan) GetPosition ¶
func (m *SwapClaimPlan) GetPosition() uint64
func (*SwapClaimPlan) GetProofBlindingR ¶
func (m *SwapClaimPlan) GetProofBlindingR() []byte
func (*SwapClaimPlan) GetProofBlindingS ¶
func (m *SwapClaimPlan) GetProofBlindingS() []byte
func (*SwapClaimPlan) GetSwapPlaintext ¶
func (m *SwapClaimPlan) GetSwapPlaintext() *SwapPlaintext
func (*SwapClaimPlan) Marshal ¶
func (m *SwapClaimPlan) Marshal() (dAtA []byte, err error)
func (*SwapClaimPlan) MarshalToSizedBuffer ¶
func (m *SwapClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimPlan) ProtoMessage ¶
func (*SwapClaimPlan) ProtoMessage()
func (*SwapClaimPlan) Reset ¶
func (m *SwapClaimPlan) Reset()
func (*SwapClaimPlan) Size ¶
func (m *SwapClaimPlan) Size() (n int)
func (*SwapClaimPlan) String ¶
func (m *SwapClaimPlan) String() string
func (*SwapClaimPlan) Unmarshal ¶
func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error
func (*SwapClaimPlan) XXX_DiscardUnknown ¶
func (m *SwapClaimPlan) XXX_DiscardUnknown()
func (*SwapClaimPlan) XXX_Marshal ¶
func (m *SwapClaimPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapClaimPlan) XXX_Merge ¶
func (m *SwapClaimPlan) XXX_Merge(src proto.Message)
func (*SwapClaimPlan) XXX_Size ¶
func (m *SwapClaimPlan) XXX_Size() int
func (*SwapClaimPlan) XXX_Unmarshal ¶
func (m *SwapClaimPlan) XXX_Unmarshal(b []byte) error
type SwapClaimView ¶
type SwapClaimView struct { // Types that are valid to be assigned to SwapClaimView: // // *SwapClaimView_Visible_ // *SwapClaimView_Opaque_ SwapClaimView isSwapClaimView_SwapClaimView `protobuf_oneof:"swap_claim_view"` }
func (*SwapClaimView) Descriptor ¶
func (*SwapClaimView) Descriptor() ([]byte, []int)
func (*SwapClaimView) GetOpaque ¶
func (m *SwapClaimView) GetOpaque() *SwapClaimView_Opaque
func (*SwapClaimView) GetSwapClaimView ¶
func (m *SwapClaimView) GetSwapClaimView() isSwapClaimView_SwapClaimView
func (*SwapClaimView) GetVisible ¶
func (m *SwapClaimView) GetVisible() *SwapClaimView_Visible
func (*SwapClaimView) Marshal ¶
func (m *SwapClaimView) Marshal() (dAtA []byte, err error)
func (*SwapClaimView) MarshalToSizedBuffer ¶
func (m *SwapClaimView) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimView) ProtoMessage ¶
func (*SwapClaimView) ProtoMessage()
func (*SwapClaimView) Reset ¶
func (m *SwapClaimView) Reset()
func (*SwapClaimView) Size ¶
func (m *SwapClaimView) Size() (n int)
func (*SwapClaimView) String ¶
func (m *SwapClaimView) String() string
func (*SwapClaimView) Unmarshal ¶
func (m *SwapClaimView) Unmarshal(dAtA []byte) error
func (*SwapClaimView) XXX_DiscardUnknown ¶
func (m *SwapClaimView) XXX_DiscardUnknown()
func (*SwapClaimView) XXX_Marshal ¶
func (m *SwapClaimView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapClaimView) XXX_Merge ¶
func (m *SwapClaimView) XXX_Merge(src proto.Message)
func (*SwapClaimView) XXX_OneofWrappers ¶
func (*SwapClaimView) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SwapClaimView) XXX_Size ¶
func (m *SwapClaimView) XXX_Size() int
func (*SwapClaimView) XXX_Unmarshal ¶
func (m *SwapClaimView) XXX_Unmarshal(b []byte) error
type SwapClaimView_Opaque ¶
type SwapClaimView_Opaque struct {
SwapClaim *SwapClaim `protobuf:"bytes,1,opt,name=swap_claim,json=swapClaim,proto3" json:"swap_claim,omitempty"`
}
func (*SwapClaimView_Opaque) Descriptor ¶
func (*SwapClaimView_Opaque) Descriptor() ([]byte, []int)
func (*SwapClaimView_Opaque) GetSwapClaim ¶
func (m *SwapClaimView_Opaque) GetSwapClaim() *SwapClaim
func (*SwapClaimView_Opaque) Marshal ¶
func (m *SwapClaimView_Opaque) Marshal() (dAtA []byte, err error)
func (*SwapClaimView_Opaque) MarshalTo ¶
func (m *SwapClaimView_Opaque) MarshalTo(dAtA []byte) (int, error)
func (*SwapClaimView_Opaque) MarshalToSizedBuffer ¶
func (m *SwapClaimView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimView_Opaque) ProtoMessage ¶
func (*SwapClaimView_Opaque) ProtoMessage()
func (*SwapClaimView_Opaque) Reset ¶
func (m *SwapClaimView_Opaque) Reset()
func (*SwapClaimView_Opaque) Size ¶
func (m *SwapClaimView_Opaque) Size() (n int)
func (*SwapClaimView_Opaque) String ¶
func (m *SwapClaimView_Opaque) String() string
func (*SwapClaimView_Opaque) Unmarshal ¶
func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error
func (*SwapClaimView_Opaque) XXX_DiscardUnknown ¶
func (m *SwapClaimView_Opaque) XXX_DiscardUnknown()
func (*SwapClaimView_Opaque) XXX_Marshal ¶
func (m *SwapClaimView_Opaque) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapClaimView_Opaque) XXX_Merge ¶
func (m *SwapClaimView_Opaque) XXX_Merge(src proto.Message)
func (*SwapClaimView_Opaque) XXX_Size ¶
func (m *SwapClaimView_Opaque) XXX_Size() int
func (*SwapClaimView_Opaque) XXX_Unmarshal ¶
func (m *SwapClaimView_Opaque) XXX_Unmarshal(b []byte) error
type SwapClaimView_Opaque_ ¶
type SwapClaimView_Opaque_ struct {
Opaque *SwapClaimView_Opaque `protobuf:"bytes,2,opt,name=opaque,proto3,oneof" json:"opaque,omitempty"`
}
func (*SwapClaimView_Opaque_) MarshalTo ¶
func (m *SwapClaimView_Opaque_) MarshalTo(dAtA []byte) (int, error)
func (*SwapClaimView_Opaque_) MarshalToSizedBuffer ¶
func (m *SwapClaimView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimView_Opaque_) Size ¶
func (m *SwapClaimView_Opaque_) Size() (n int)
type SwapClaimView_Visible ¶
type SwapClaimView_Visible struct { SwapClaim *SwapClaim `protobuf:"bytes,1,opt,name=swap_claim,json=swapClaim,proto3" json:"swap_claim,omitempty"` Output_1 *v1alpha16.NoteView `protobuf:"bytes,2,opt,name=output_1,json=output1,proto3" json:"output_1,omitempty"` Output_2 *v1alpha16.NoteView `protobuf:"bytes,3,opt,name=output_2,json=output2,proto3" json:"output_2,omitempty"` }
func (*SwapClaimView_Visible) Descriptor ¶
func (*SwapClaimView_Visible) Descriptor() ([]byte, []int)
func (*SwapClaimView_Visible) GetOutput_1 ¶
func (m *SwapClaimView_Visible) GetOutput_1() *v1alpha16.NoteView
func (*SwapClaimView_Visible) GetOutput_2 ¶
func (m *SwapClaimView_Visible) GetOutput_2() *v1alpha16.NoteView
func (*SwapClaimView_Visible) GetSwapClaim ¶
func (m *SwapClaimView_Visible) GetSwapClaim() *SwapClaim
func (*SwapClaimView_Visible) Marshal ¶
func (m *SwapClaimView_Visible) Marshal() (dAtA []byte, err error)
func (*SwapClaimView_Visible) MarshalTo ¶
func (m *SwapClaimView_Visible) MarshalTo(dAtA []byte) (int, error)
func (*SwapClaimView_Visible) MarshalToSizedBuffer ¶
func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimView_Visible) ProtoMessage ¶
func (*SwapClaimView_Visible) ProtoMessage()
func (*SwapClaimView_Visible) Reset ¶
func (m *SwapClaimView_Visible) Reset()
func (*SwapClaimView_Visible) Size ¶
func (m *SwapClaimView_Visible) Size() (n int)
func (*SwapClaimView_Visible) String ¶
func (m *SwapClaimView_Visible) String() string
func (*SwapClaimView_Visible) Unmarshal ¶
func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error
func (*SwapClaimView_Visible) XXX_DiscardUnknown ¶
func (m *SwapClaimView_Visible) XXX_DiscardUnknown()
func (*SwapClaimView_Visible) XXX_Marshal ¶
func (m *SwapClaimView_Visible) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapClaimView_Visible) XXX_Merge ¶
func (m *SwapClaimView_Visible) XXX_Merge(src proto.Message)
func (*SwapClaimView_Visible) XXX_Size ¶
func (m *SwapClaimView_Visible) XXX_Size() int
func (*SwapClaimView_Visible) XXX_Unmarshal ¶
func (m *SwapClaimView_Visible) XXX_Unmarshal(b []byte) error
type SwapClaimView_Visible_ ¶
type SwapClaimView_Visible_ struct {
Visible *SwapClaimView_Visible `protobuf:"bytes,1,opt,name=visible,proto3,oneof" json:"visible,omitempty"`
}
func (*SwapClaimView_Visible_) MarshalTo ¶
func (m *SwapClaimView_Visible_) MarshalTo(dAtA []byte) (int, error)
func (*SwapClaimView_Visible_) MarshalToSizedBuffer ¶
func (m *SwapClaimView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapClaimView_Visible_) Size ¶
func (m *SwapClaimView_Visible_) Size() (n int)
type SwapExecution ¶
type SwapExecution struct { Traces []*SwapExecution_Trace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` // The total input amount for this execution. Input *v1alpha14.Value `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` // The total output amount for this execution. Output *v1alpha14.Value `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` }
Contains the entire execution of a particular swap.
func (*SwapExecution) Descriptor ¶
func (*SwapExecution) Descriptor() ([]byte, []int)
func (*SwapExecution) GetInput ¶
func (m *SwapExecution) GetInput() *v1alpha14.Value
func (*SwapExecution) GetOutput ¶
func (m *SwapExecution) GetOutput() *v1alpha14.Value
func (*SwapExecution) GetTraces ¶
func (m *SwapExecution) GetTraces() []*SwapExecution_Trace
func (*SwapExecution) Marshal ¶
func (m *SwapExecution) Marshal() (dAtA []byte, err error)
func (*SwapExecution) MarshalToSizedBuffer ¶
func (m *SwapExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapExecution) ProtoMessage ¶
func (*SwapExecution) ProtoMessage()
func (*SwapExecution) Reset ¶
func (m *SwapExecution) Reset()
func (*SwapExecution) Size ¶
func (m *SwapExecution) Size() (n int)
func (*SwapExecution) String ¶
func (m *SwapExecution) String() string
func (*SwapExecution) Unmarshal ¶
func (m *SwapExecution) Unmarshal(dAtA []byte) error
func (*SwapExecution) XXX_DiscardUnknown ¶
func (m *SwapExecution) XXX_DiscardUnknown()
func (*SwapExecution) XXX_Marshal ¶
func (m *SwapExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapExecution) XXX_Merge ¶
func (m *SwapExecution) XXX_Merge(src proto.Message)
func (*SwapExecution) XXX_Size ¶
func (m *SwapExecution) XXX_Size() int
func (*SwapExecution) XXX_Unmarshal ¶
func (m *SwapExecution) XXX_Unmarshal(b []byte) error
type SwapExecutionRequest ¶
type SwapExecutionRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` TradingPair *DirectedTradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` }
func (*SwapExecutionRequest) Descriptor ¶
func (*SwapExecutionRequest) Descriptor() ([]byte, []int)
func (*SwapExecutionRequest) GetChainId ¶
func (m *SwapExecutionRequest) GetChainId() string
func (*SwapExecutionRequest) GetHeight ¶
func (m *SwapExecutionRequest) GetHeight() uint64
func (*SwapExecutionRequest) GetTradingPair ¶
func (m *SwapExecutionRequest) GetTradingPair() *DirectedTradingPair
func (*SwapExecutionRequest) Marshal ¶
func (m *SwapExecutionRequest) Marshal() (dAtA []byte, err error)
func (*SwapExecutionRequest) MarshalTo ¶
func (m *SwapExecutionRequest) MarshalTo(dAtA []byte) (int, error)
func (*SwapExecutionRequest) MarshalToSizedBuffer ¶
func (m *SwapExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapExecutionRequest) ProtoMessage ¶
func (*SwapExecutionRequest) ProtoMessage()
func (*SwapExecutionRequest) Reset ¶
func (m *SwapExecutionRequest) Reset()
func (*SwapExecutionRequest) Size ¶
func (m *SwapExecutionRequest) Size() (n int)
func (*SwapExecutionRequest) String ¶
func (m *SwapExecutionRequest) String() string
func (*SwapExecutionRequest) Unmarshal ¶
func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error
func (*SwapExecutionRequest) XXX_DiscardUnknown ¶
func (m *SwapExecutionRequest) XXX_DiscardUnknown()
func (*SwapExecutionRequest) XXX_Marshal ¶
func (m *SwapExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapExecutionRequest) XXX_Merge ¶
func (m *SwapExecutionRequest) XXX_Merge(src proto.Message)
func (*SwapExecutionRequest) XXX_Size ¶
func (m *SwapExecutionRequest) XXX_Size() int
func (*SwapExecutionRequest) XXX_Unmarshal ¶
func (m *SwapExecutionRequest) XXX_Unmarshal(b []byte) error
type SwapExecutionResponse ¶
type SwapExecutionResponse struct {
SwapExecution *SwapExecution `protobuf:"bytes,1,opt,name=swap_execution,json=swapExecution,proto3" json:"swap_execution,omitempty"`
}
func (*SwapExecutionResponse) Descriptor ¶
func (*SwapExecutionResponse) Descriptor() ([]byte, []int)
func (*SwapExecutionResponse) GetSwapExecution ¶
func (m *SwapExecutionResponse) GetSwapExecution() *SwapExecution
func (*SwapExecutionResponse) Marshal ¶
func (m *SwapExecutionResponse) Marshal() (dAtA []byte, err error)
func (*SwapExecutionResponse) MarshalTo ¶
func (m *SwapExecutionResponse) MarshalTo(dAtA []byte) (int, error)
func (*SwapExecutionResponse) MarshalToSizedBuffer ¶
func (m *SwapExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapExecutionResponse) ProtoMessage ¶
func (*SwapExecutionResponse) ProtoMessage()
func (*SwapExecutionResponse) Reset ¶
func (m *SwapExecutionResponse) Reset()
func (*SwapExecutionResponse) Size ¶
func (m *SwapExecutionResponse) Size() (n int)
func (*SwapExecutionResponse) String ¶
func (m *SwapExecutionResponse) String() string
func (*SwapExecutionResponse) Unmarshal ¶
func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error
func (*SwapExecutionResponse) XXX_DiscardUnknown ¶
func (m *SwapExecutionResponse) XXX_DiscardUnknown()
func (*SwapExecutionResponse) XXX_Marshal ¶
func (m *SwapExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapExecutionResponse) XXX_Merge ¶
func (m *SwapExecutionResponse) XXX_Merge(src proto.Message)
func (*SwapExecutionResponse) XXX_Size ¶
func (m *SwapExecutionResponse) XXX_Size() int
func (*SwapExecutionResponse) XXX_Unmarshal ¶
func (m *SwapExecutionResponse) XXX_Unmarshal(b []byte) error
type SwapExecution_Trace ¶
type SwapExecution_Trace struct { // Each step in the trade trace. Value []*v1alpha14.Value `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` }
Contains all individual steps consisting of a trade trace.
func (*SwapExecution_Trace) Descriptor ¶
func (*SwapExecution_Trace) Descriptor() ([]byte, []int)
func (*SwapExecution_Trace) GetValue ¶
func (m *SwapExecution_Trace) GetValue() []*v1alpha14.Value
func (*SwapExecution_Trace) Marshal ¶
func (m *SwapExecution_Trace) Marshal() (dAtA []byte, err error)
func (*SwapExecution_Trace) MarshalTo ¶
func (m *SwapExecution_Trace) MarshalTo(dAtA []byte) (int, error)
func (*SwapExecution_Trace) MarshalToSizedBuffer ¶
func (m *SwapExecution_Trace) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapExecution_Trace) ProtoMessage ¶
func (*SwapExecution_Trace) ProtoMessage()
func (*SwapExecution_Trace) Reset ¶
func (m *SwapExecution_Trace) Reset()
func (*SwapExecution_Trace) Size ¶
func (m *SwapExecution_Trace) Size() (n int)
func (*SwapExecution_Trace) String ¶
func (m *SwapExecution_Trace) String() string
func (*SwapExecution_Trace) Unmarshal ¶
func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error
func (*SwapExecution_Trace) XXX_DiscardUnknown ¶
func (m *SwapExecution_Trace) XXX_DiscardUnknown()
func (*SwapExecution_Trace) XXX_Marshal ¶
func (m *SwapExecution_Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapExecution_Trace) XXX_Merge ¶
func (m *SwapExecution_Trace) XXX_Merge(src proto.Message)
func (*SwapExecution_Trace) XXX_Size ¶
func (m *SwapExecution_Trace) XXX_Size() int
func (*SwapExecution_Trace) XXX_Unmarshal ¶
func (m *SwapExecution_Trace) XXX_Unmarshal(b []byte) error
type SwapExecutionsRequest ¶
type SwapExecutionsRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // If present, only return swap executions occurring after the given height. StartHeight uint64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` // If present, only return swap executions occurring before the given height. EndHeight uint64 `protobuf:"varint,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` // If present, filter swap executions by the given trading pair. TradingPair *DirectedTradingPair `protobuf:"bytes,4,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` }
func (*SwapExecutionsRequest) Descriptor ¶
func (*SwapExecutionsRequest) Descriptor() ([]byte, []int)
func (*SwapExecutionsRequest) GetChainId ¶
func (m *SwapExecutionsRequest) GetChainId() string
func (*SwapExecutionsRequest) GetEndHeight ¶
func (m *SwapExecutionsRequest) GetEndHeight() uint64
func (*SwapExecutionsRequest) GetStartHeight ¶
func (m *SwapExecutionsRequest) GetStartHeight() uint64
func (*SwapExecutionsRequest) GetTradingPair ¶
func (m *SwapExecutionsRequest) GetTradingPair() *DirectedTradingPair
func (*SwapExecutionsRequest) Marshal ¶
func (m *SwapExecutionsRequest) Marshal() (dAtA []byte, err error)
func (*SwapExecutionsRequest) MarshalTo ¶
func (m *SwapExecutionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*SwapExecutionsRequest) MarshalToSizedBuffer ¶
func (m *SwapExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapExecutionsRequest) ProtoMessage ¶
func (*SwapExecutionsRequest) ProtoMessage()
func (*SwapExecutionsRequest) Reset ¶
func (m *SwapExecutionsRequest) Reset()
func (*SwapExecutionsRequest) Size ¶
func (m *SwapExecutionsRequest) Size() (n int)
func (*SwapExecutionsRequest) String ¶
func (m *SwapExecutionsRequest) String() string
func (*SwapExecutionsRequest) Unmarshal ¶
func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error
func (*SwapExecutionsRequest) XXX_DiscardUnknown ¶
func (m *SwapExecutionsRequest) XXX_DiscardUnknown()
func (*SwapExecutionsRequest) XXX_Marshal ¶
func (m *SwapExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapExecutionsRequest) XXX_Merge ¶
func (m *SwapExecutionsRequest) XXX_Merge(src proto.Message)
func (*SwapExecutionsRequest) XXX_Size ¶
func (m *SwapExecutionsRequest) XXX_Size() int
func (*SwapExecutionsRequest) XXX_Unmarshal ¶
func (m *SwapExecutionsRequest) XXX_Unmarshal(b []byte) error
type SwapExecutionsResponse ¶
type SwapExecutionsResponse struct { SwapExecution *SwapExecution `protobuf:"bytes,1,opt,name=swap_execution,json=swapExecution,proto3" json:"swap_execution,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` TradingPair *DirectedTradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` }
func (*SwapExecutionsResponse) Descriptor ¶
func (*SwapExecutionsResponse) Descriptor() ([]byte, []int)
func (*SwapExecutionsResponse) GetHeight ¶
func (m *SwapExecutionsResponse) GetHeight() uint64
func (*SwapExecutionsResponse) GetSwapExecution ¶
func (m *SwapExecutionsResponse) GetSwapExecution() *SwapExecution
func (*SwapExecutionsResponse) GetTradingPair ¶
func (m *SwapExecutionsResponse) GetTradingPair() *DirectedTradingPair
func (*SwapExecutionsResponse) Marshal ¶
func (m *SwapExecutionsResponse) Marshal() (dAtA []byte, err error)
func (*SwapExecutionsResponse) MarshalTo ¶
func (m *SwapExecutionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*SwapExecutionsResponse) MarshalToSizedBuffer ¶
func (m *SwapExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapExecutionsResponse) ProtoMessage ¶
func (*SwapExecutionsResponse) ProtoMessage()
func (*SwapExecutionsResponse) Reset ¶
func (m *SwapExecutionsResponse) Reset()
func (*SwapExecutionsResponse) Size ¶
func (m *SwapExecutionsResponse) Size() (n int)
func (*SwapExecutionsResponse) String ¶
func (m *SwapExecutionsResponse) String() string
func (*SwapExecutionsResponse) Unmarshal ¶
func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error
func (*SwapExecutionsResponse) XXX_DiscardUnknown ¶
func (m *SwapExecutionsResponse) XXX_DiscardUnknown()
func (*SwapExecutionsResponse) XXX_Marshal ¶
func (m *SwapExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapExecutionsResponse) XXX_Merge ¶
func (m *SwapExecutionsResponse) XXX_Merge(src proto.Message)
func (*SwapExecutionsResponse) XXX_Size ¶
func (m *SwapExecutionsResponse) XXX_Size() int
func (*SwapExecutionsResponse) XXX_Unmarshal ¶
func (m *SwapExecutionsResponse) XXX_Unmarshal(b []byte) error
type SwapPayload ¶
type SwapPayload struct { Commitment *v1alpha12.StateCommitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` EncryptedSwap []byte `protobuf:"bytes,2,opt,name=encrypted_swap,json=encryptedSwap,proto3" json:"encrypted_swap,omitempty"` }
func (*SwapPayload) Descriptor ¶
func (*SwapPayload) Descriptor() ([]byte, []int)
func (*SwapPayload) GetCommitment ¶
func (m *SwapPayload) GetCommitment() *v1alpha12.StateCommitment
func (*SwapPayload) GetEncryptedSwap ¶
func (m *SwapPayload) GetEncryptedSwap() []byte
func (*SwapPayload) Marshal ¶
func (m *SwapPayload) Marshal() (dAtA []byte, err error)
func (*SwapPayload) MarshalToSizedBuffer ¶
func (m *SwapPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapPayload) ProtoMessage ¶
func (*SwapPayload) ProtoMessage()
func (*SwapPayload) Reset ¶
func (m *SwapPayload) Reset()
func (*SwapPayload) Size ¶
func (m *SwapPayload) Size() (n int)
func (*SwapPayload) String ¶
func (m *SwapPayload) String() string
func (*SwapPayload) Unmarshal ¶
func (m *SwapPayload) Unmarshal(dAtA []byte) error
func (*SwapPayload) XXX_DiscardUnknown ¶
func (m *SwapPayload) XXX_DiscardUnknown()
func (*SwapPayload) XXX_Marshal ¶
func (m *SwapPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapPayload) XXX_Merge ¶
func (m *SwapPayload) XXX_Merge(src proto.Message)
func (*SwapPayload) XXX_Size ¶
func (m *SwapPayload) XXX_Size() int
func (*SwapPayload) XXX_Unmarshal ¶
func (m *SwapPayload) XXX_Unmarshal(b []byte) error
type SwapPlaintext ¶
type SwapPlaintext struct { // The trading pair to swap. TradingPair *TradingPair `protobuf:"bytes,1,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // Input amount of asset 1 Delta_1I *v1alpha13.Amount `protobuf:"bytes,2,opt,name=delta_1_i,json=delta1I,proto3" json:"delta_1_i,omitempty"` // Input amount of asset 2 Delta_2I *v1alpha13.Amount `protobuf:"bytes,3,opt,name=delta_2_i,json=delta2I,proto3" json:"delta_2_i,omitempty"` // Pre-paid fee to claim the swap ClaimFee *v1alpha11.Fee `protobuf:"bytes,4,opt,name=claim_fee,json=claimFee,proto3" json:"claim_fee,omitempty"` // Address that will claim the swap outputs via SwapClaim. ClaimAddress *v1alpha15.Address `protobuf:"bytes,5,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"` // Swap rseed (blinding factors are derived from this) Rseed []byte `protobuf:"bytes,6,opt,name=rseed,proto3" json:"rseed,omitempty"` }
func (*SwapPlaintext) Descriptor ¶
func (*SwapPlaintext) Descriptor() ([]byte, []int)
func (*SwapPlaintext) GetClaimAddress ¶
func (m *SwapPlaintext) GetClaimAddress() *v1alpha15.Address
func (*SwapPlaintext) GetClaimFee ¶
func (m *SwapPlaintext) GetClaimFee() *v1alpha11.Fee
func (*SwapPlaintext) GetDelta_1I ¶
func (m *SwapPlaintext) GetDelta_1I() *v1alpha13.Amount
func (*SwapPlaintext) GetDelta_2I ¶
func (m *SwapPlaintext) GetDelta_2I() *v1alpha13.Amount
func (*SwapPlaintext) GetRseed ¶
func (m *SwapPlaintext) GetRseed() []byte
func (*SwapPlaintext) GetTradingPair ¶
func (m *SwapPlaintext) GetTradingPair() *TradingPair
func (*SwapPlaintext) Marshal ¶
func (m *SwapPlaintext) Marshal() (dAtA []byte, err error)
func (*SwapPlaintext) MarshalToSizedBuffer ¶
func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapPlaintext) ProtoMessage ¶
func (*SwapPlaintext) ProtoMessage()
func (*SwapPlaintext) Reset ¶
func (m *SwapPlaintext) Reset()
func (*SwapPlaintext) Size ¶
func (m *SwapPlaintext) Size() (n int)
func (*SwapPlaintext) String ¶
func (m *SwapPlaintext) String() string
func (*SwapPlaintext) Unmarshal ¶
func (m *SwapPlaintext) Unmarshal(dAtA []byte) error
func (*SwapPlaintext) XXX_DiscardUnknown ¶
func (m *SwapPlaintext) XXX_DiscardUnknown()
func (*SwapPlaintext) XXX_Marshal ¶
func (m *SwapPlaintext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapPlaintext) XXX_Merge ¶
func (m *SwapPlaintext) XXX_Merge(src proto.Message)
func (*SwapPlaintext) XXX_Size ¶
func (m *SwapPlaintext) XXX_Size() int
func (*SwapPlaintext) XXX_Unmarshal ¶
func (m *SwapPlaintext) XXX_Unmarshal(b []byte) error
type SwapPlan ¶
type SwapPlan struct { // The plaintext version of the swap to be performed. SwapPlaintext *SwapPlaintext `protobuf:"bytes,1,opt,name=swap_plaintext,json=swapPlaintext,proto3" json:"swap_plaintext,omitempty"` // The blinding factor for the fee commitment. The fee in the SwapPlan is private to prevent linkability with the SwapClaim. FeeBlinding []byte `protobuf:"bytes,2,opt,name=fee_blinding,json=feeBlinding,proto3" json:"fee_blinding,omitempty"` // The first blinding factor to use for the ZK swap proof. ProofBlindingR []byte `protobuf:"bytes,3,opt,name=proof_blinding_r,json=proofBlindingR,proto3" json:"proof_blinding_r,omitempty"` // The second blinding factor to use for the ZK swap proof. ProofBlindingS []byte `protobuf:"bytes,4,opt,name=proof_blinding_s,json=proofBlindingS,proto3" json:"proof_blinding_s,omitempty"` }
func (*SwapPlan) Descriptor ¶
func (*SwapPlan) GetFeeBlinding ¶
func (*SwapPlan) GetProofBlindingR ¶
func (*SwapPlan) GetProofBlindingS ¶
func (*SwapPlan) GetSwapPlaintext ¶
func (m *SwapPlan) GetSwapPlaintext() *SwapPlaintext
func (*SwapPlan) MarshalToSizedBuffer ¶
func (*SwapPlan) ProtoMessage ¶
func (*SwapPlan) ProtoMessage()
func (*SwapPlan) XXX_DiscardUnknown ¶
func (m *SwapPlan) XXX_DiscardUnknown()
func (*SwapPlan) XXX_Marshal ¶
func (*SwapPlan) XXX_Unmarshal ¶
type SwapView ¶
type SwapView struct { // Types that are valid to be assigned to SwapView: // // *SwapView_Visible_ // *SwapView_Opaque_ SwapView isSwapView_SwapView `protobuf_oneof:"swap_view"` }
func (*SwapView) Descriptor ¶
func (*SwapView) GetOpaque ¶
func (m *SwapView) GetOpaque() *SwapView_Opaque
func (*SwapView) GetSwapView ¶
func (m *SwapView) GetSwapView() isSwapView_SwapView
func (*SwapView) GetVisible ¶
func (m *SwapView) GetVisible() *SwapView_Visible
func (*SwapView) MarshalToSizedBuffer ¶
func (*SwapView) ProtoMessage ¶
func (*SwapView) ProtoMessage()
func (*SwapView) XXX_DiscardUnknown ¶
func (m *SwapView) XXX_DiscardUnknown()
func (*SwapView) XXX_Marshal ¶
func (*SwapView) XXX_OneofWrappers ¶
func (*SwapView) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SwapView) XXX_Unmarshal ¶
type SwapView_Opaque ¶
type SwapView_Opaque struct {
Swap *Swap `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"`
}
func (*SwapView_Opaque) Descriptor ¶
func (*SwapView_Opaque) Descriptor() ([]byte, []int)
func (*SwapView_Opaque) GetSwap ¶
func (m *SwapView_Opaque) GetSwap() *Swap
func (*SwapView_Opaque) Marshal ¶
func (m *SwapView_Opaque) Marshal() (dAtA []byte, err error)
func (*SwapView_Opaque) MarshalToSizedBuffer ¶
func (m *SwapView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapView_Opaque) ProtoMessage ¶
func (*SwapView_Opaque) ProtoMessage()
func (*SwapView_Opaque) Reset ¶
func (m *SwapView_Opaque) Reset()
func (*SwapView_Opaque) Size ¶
func (m *SwapView_Opaque) Size() (n int)
func (*SwapView_Opaque) String ¶
func (m *SwapView_Opaque) String() string
func (*SwapView_Opaque) Unmarshal ¶
func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error
func (*SwapView_Opaque) XXX_DiscardUnknown ¶
func (m *SwapView_Opaque) XXX_DiscardUnknown()
func (*SwapView_Opaque) XXX_Marshal ¶
func (m *SwapView_Opaque) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapView_Opaque) XXX_Merge ¶
func (m *SwapView_Opaque) XXX_Merge(src proto.Message)
func (*SwapView_Opaque) XXX_Size ¶
func (m *SwapView_Opaque) XXX_Size() int
func (*SwapView_Opaque) XXX_Unmarshal ¶
func (m *SwapView_Opaque) XXX_Unmarshal(b []byte) error
type SwapView_Opaque_ ¶
type SwapView_Opaque_ struct {
Opaque *SwapView_Opaque `protobuf:"bytes,2,opt,name=opaque,proto3,oneof" json:"opaque,omitempty"`
}
func (*SwapView_Opaque_) MarshalToSizedBuffer ¶
func (m *SwapView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapView_Opaque_) Size ¶
func (m *SwapView_Opaque_) Size() (n int)
type SwapView_Visible ¶
type SwapView_Visible struct { Swap *Swap `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"` SwapPlaintext *SwapPlaintext `protobuf:"bytes,3,opt,name=swap_plaintext,json=swapPlaintext,proto3" json:"swap_plaintext,omitempty"` }
func (*SwapView_Visible) Descriptor ¶
func (*SwapView_Visible) Descriptor() ([]byte, []int)
func (*SwapView_Visible) GetSwap ¶
func (m *SwapView_Visible) GetSwap() *Swap
func (*SwapView_Visible) GetSwapPlaintext ¶
func (m *SwapView_Visible) GetSwapPlaintext() *SwapPlaintext
func (*SwapView_Visible) Marshal ¶
func (m *SwapView_Visible) Marshal() (dAtA []byte, err error)
func (*SwapView_Visible) MarshalToSizedBuffer ¶
func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapView_Visible) ProtoMessage ¶
func (*SwapView_Visible) ProtoMessage()
func (*SwapView_Visible) Reset ¶
func (m *SwapView_Visible) Reset()
func (*SwapView_Visible) Size ¶
func (m *SwapView_Visible) Size() (n int)
func (*SwapView_Visible) String ¶
func (m *SwapView_Visible) String() string
func (*SwapView_Visible) Unmarshal ¶
func (m *SwapView_Visible) Unmarshal(dAtA []byte) error
func (*SwapView_Visible) XXX_DiscardUnknown ¶
func (m *SwapView_Visible) XXX_DiscardUnknown()
func (*SwapView_Visible) XXX_Marshal ¶
func (m *SwapView_Visible) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapView_Visible) XXX_Merge ¶
func (m *SwapView_Visible) XXX_Merge(src proto.Message)
func (*SwapView_Visible) XXX_Size ¶
func (m *SwapView_Visible) XXX_Size() int
func (*SwapView_Visible) XXX_Unmarshal ¶
func (m *SwapView_Visible) XXX_Unmarshal(b []byte) error
type SwapView_Visible_ ¶
type SwapView_Visible_ struct {
Visible *SwapView_Visible `protobuf:"bytes,1,opt,name=visible,proto3,oneof" json:"visible,omitempty"`
}
func (*SwapView_Visible_) MarshalTo ¶
func (m *SwapView_Visible_) MarshalTo(dAtA []byte) (int, error)
func (*SwapView_Visible_) MarshalToSizedBuffer ¶
func (m *SwapView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapView_Visible_) Size ¶
func (m *SwapView_Visible_) Size() (n int)
type TradingFunction ¶
type TradingFunction struct { Component *BareTradingFunction `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` Pair *TradingPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` }
The trading function for a specific pair. For a pair (asset_1, asset_2), a trading function is defined by: `phi(R) = p*R_1 + q*R_2` and `gamma = 1 - fee`. The trading function is frequently referred to as "phi".
func (*TradingFunction) Descriptor ¶
func (*TradingFunction) Descriptor() ([]byte, []int)
func (*TradingFunction) GetComponent ¶
func (m *TradingFunction) GetComponent() *BareTradingFunction
func (*TradingFunction) GetPair ¶
func (m *TradingFunction) GetPair() *TradingPair
func (*TradingFunction) Marshal ¶
func (m *TradingFunction) Marshal() (dAtA []byte, err error)
func (*TradingFunction) MarshalToSizedBuffer ¶
func (m *TradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TradingFunction) ProtoMessage ¶
func (*TradingFunction) ProtoMessage()
func (*TradingFunction) Reset ¶
func (m *TradingFunction) Reset()
func (*TradingFunction) Size ¶
func (m *TradingFunction) Size() (n int)
func (*TradingFunction) String ¶
func (m *TradingFunction) String() string
func (*TradingFunction) Unmarshal ¶
func (m *TradingFunction) Unmarshal(dAtA []byte) error
func (*TradingFunction) XXX_DiscardUnknown ¶
func (m *TradingFunction) XXX_DiscardUnknown()
func (*TradingFunction) XXX_Marshal ¶
func (m *TradingFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingFunction) XXX_Merge ¶
func (m *TradingFunction) XXX_Merge(src proto.Message)
func (*TradingFunction) XXX_Size ¶
func (m *TradingFunction) XXX_Size() int
func (*TradingFunction) XXX_Unmarshal ¶
func (m *TradingFunction) XXX_Unmarshal(b []byte) error
type TradingPair ¶
type TradingPair struct { // The first asset of the pair. Asset_1 *v1alpha14.AssetId `protobuf:"bytes,1,opt,name=asset_1,json=asset1,proto3" json:"asset_1,omitempty"` // The second asset of the pair. Asset_2 *v1alpha14.AssetId `protobuf:"bytes,2,opt,name=asset_2,json=asset2,proto3" json:"asset_2,omitempty"` }
Holds two asset IDs. Ordering doesn't reflect trading direction. Instead, we require `asset_1 < asset_2` as field elements, to ensure a canonical representation of an unordered pair.
func (*TradingPair) Descriptor ¶
func (*TradingPair) Descriptor() ([]byte, []int)
func (*TradingPair) GetAsset_1 ¶
func (m *TradingPair) GetAsset_1() *v1alpha14.AssetId
func (*TradingPair) GetAsset_2 ¶
func (m *TradingPair) GetAsset_2() *v1alpha14.AssetId
func (*TradingPair) Marshal ¶
func (m *TradingPair) Marshal() (dAtA []byte, err error)
func (*TradingPair) MarshalToSizedBuffer ¶
func (m *TradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TradingPair) ProtoMessage ¶
func (*TradingPair) ProtoMessage()
func (*TradingPair) Reset ¶
func (m *TradingPair) Reset()
func (*TradingPair) Size ¶
func (m *TradingPair) Size() (n int)
func (*TradingPair) String ¶
func (m *TradingPair) String() string
func (*TradingPair) Unmarshal ¶
func (m *TradingPair) Unmarshal(dAtA []byte) error
func (*TradingPair) XXX_DiscardUnknown ¶
func (m *TradingPair) XXX_DiscardUnknown()
func (*TradingPair) XXX_Marshal ¶
func (m *TradingPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingPair) XXX_Merge ¶
func (m *TradingPair) XXX_Merge(src proto.Message)
func (*TradingPair) XXX_Size ¶
func (m *TradingPair) XXX_Size() int
func (*TradingPair) XXX_Unmarshal ¶
func (m *TradingPair) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServiceServer) ArbExecution ¶
func (*UnimplementedQueryServiceServer) ArbExecution(ctx context.Context, req *ArbExecutionRequest) (*ArbExecutionResponse, error)
func (*UnimplementedQueryServiceServer) ArbExecutions ¶
func (*UnimplementedQueryServiceServer) ArbExecutions(req *ArbExecutionsRequest, srv QueryService_ArbExecutionsServer) error
func (*UnimplementedQueryServiceServer) BatchSwapOutputData ¶
func (*UnimplementedQueryServiceServer) BatchSwapOutputData(ctx context.Context, req *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error)
func (*UnimplementedQueryServiceServer) LiquidityPositionById ¶
func (*UnimplementedQueryServiceServer) LiquidityPositionById(ctx context.Context, req *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error)
func (*UnimplementedQueryServiceServer) LiquidityPositions ¶
func (*UnimplementedQueryServiceServer) LiquidityPositions(req *LiquidityPositionsRequest, srv QueryService_LiquidityPositionsServer) error
func (*UnimplementedQueryServiceServer) LiquidityPositionsById ¶
func (*UnimplementedQueryServiceServer) LiquidityPositionsById(req *LiquidityPositionsByIdRequest, srv QueryService_LiquidityPositionsByIdServer) error
func (*UnimplementedQueryServiceServer) LiquidityPositionsByPrice ¶
func (*UnimplementedQueryServiceServer) LiquidityPositionsByPrice(req *LiquidityPositionsByPriceRequest, srv QueryService_LiquidityPositionsByPriceServer) error
func (*UnimplementedQueryServiceServer) Spread ¶
func (*UnimplementedQueryServiceServer) Spread(ctx context.Context, req *SpreadRequest) (*SpreadResponse, error)
func (*UnimplementedQueryServiceServer) SwapExecution ¶
func (*UnimplementedQueryServiceServer) SwapExecution(ctx context.Context, req *SwapExecutionRequest) (*SwapExecutionResponse, error)
func (*UnimplementedQueryServiceServer) SwapExecutions ¶
func (*UnimplementedQueryServiceServer) SwapExecutions(req *SwapExecutionsRequest, srv QueryService_SwapExecutionsServer) error
type UnimplementedSimulationServiceServer ¶
type UnimplementedSimulationServiceServer struct { }
UnimplementedSimulationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSimulationServiceServer) SimulateTrade ¶
func (*UnimplementedSimulationServiceServer) SimulateTrade(ctx context.Context, req *SimulateTradeRequest) (*SimulateTradeResponse, error)
type ZKSwapClaimProof ¶
type ZKSwapClaimProof struct {
Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}
A Penumbra ZK swap claim proof.
func (*ZKSwapClaimProof) Descriptor ¶
func (*ZKSwapClaimProof) Descriptor() ([]byte, []int)
func (*ZKSwapClaimProof) GetInner ¶
func (m *ZKSwapClaimProof) GetInner() []byte
func (*ZKSwapClaimProof) Marshal ¶
func (m *ZKSwapClaimProof) Marshal() (dAtA []byte, err error)
func (*ZKSwapClaimProof) MarshalToSizedBuffer ¶
func (m *ZKSwapClaimProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ZKSwapClaimProof) ProtoMessage ¶
func (*ZKSwapClaimProof) ProtoMessage()
func (*ZKSwapClaimProof) Reset ¶
func (m *ZKSwapClaimProof) Reset()
func (*ZKSwapClaimProof) Size ¶
func (m *ZKSwapClaimProof) Size() (n int)
func (*ZKSwapClaimProof) String ¶
func (m *ZKSwapClaimProof) String() string
func (*ZKSwapClaimProof) Unmarshal ¶
func (m *ZKSwapClaimProof) Unmarshal(dAtA []byte) error
func (*ZKSwapClaimProof) XXX_DiscardUnknown ¶
func (m *ZKSwapClaimProof) XXX_DiscardUnknown()
func (*ZKSwapClaimProof) XXX_Marshal ¶
func (m *ZKSwapClaimProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZKSwapClaimProof) XXX_Merge ¶
func (m *ZKSwapClaimProof) XXX_Merge(src proto.Message)
func (*ZKSwapClaimProof) XXX_Size ¶
func (m *ZKSwapClaimProof) XXX_Size() int
func (*ZKSwapClaimProof) XXX_Unmarshal ¶
func (m *ZKSwapClaimProof) XXX_Unmarshal(b []byte) error
type ZKSwapProof ¶
type ZKSwapProof struct {
Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}
A Penumbra ZK swap proof.
func (*ZKSwapProof) Descriptor ¶
func (*ZKSwapProof) Descriptor() ([]byte, []int)
func (*ZKSwapProof) GetInner ¶
func (m *ZKSwapProof) GetInner() []byte
func (*ZKSwapProof) Marshal ¶
func (m *ZKSwapProof) Marshal() (dAtA []byte, err error)
func (*ZKSwapProof) MarshalToSizedBuffer ¶
func (m *ZKSwapProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ZKSwapProof) ProtoMessage ¶
func (*ZKSwapProof) ProtoMessage()
func (*ZKSwapProof) Reset ¶
func (m *ZKSwapProof) Reset()
func (*ZKSwapProof) Size ¶
func (m *ZKSwapProof) Size() (n int)
func (*ZKSwapProof) String ¶
func (m *ZKSwapProof) String() string
func (*ZKSwapProof) Unmarshal ¶
func (m *ZKSwapProof) Unmarshal(dAtA []byte) error
func (*ZKSwapProof) XXX_DiscardUnknown ¶
func (m *ZKSwapProof) XXX_DiscardUnknown()
func (*ZKSwapProof) XXX_Marshal ¶
func (m *ZKSwapProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZKSwapProof) XXX_Merge ¶
func (m *ZKSwapProof) XXX_Merge(src proto.Message)
func (*ZKSwapProof) XXX_Size ¶
func (m *ZKSwapProof) XXX_Size() int
func (*ZKSwapProof) XXX_Unmarshal ¶
func (m *ZKSwapProof) XXX_Unmarshal(b []byte) error