queryproto

package
v12.0.0-rc8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type SpotPriceRequest

type SpotPriceRequest struct {
	PoolId          uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	BaseAssetDenom  string `` /* 129-byte string literal not displayed */
	QuoteAssetDenom string `` /* 133-byte string literal not displayed */
}

func (*SpotPriceRequest) Descriptor

func (*SpotPriceRequest) Descriptor() ([]byte, []int)

func (*SpotPriceRequest) GetBaseAssetDenom

func (m *SpotPriceRequest) GetBaseAssetDenom() string

func (*SpotPriceRequest) GetPoolId

func (m *SpotPriceRequest) GetPoolId() uint64

func (*SpotPriceRequest) GetQuoteAssetDenom

func (m *SpotPriceRequest) GetQuoteAssetDenom() string

func (*SpotPriceRequest) Marshal

func (m *SpotPriceRequest) Marshal() (dAtA []byte, err error)

func (*SpotPriceRequest) MarshalTo

func (m *SpotPriceRequest) MarshalTo(dAtA []byte) (int, error)

func (*SpotPriceRequest) MarshalToSizedBuffer

func (m *SpotPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotPriceRequest) ProtoMessage

func (*SpotPriceRequest) ProtoMessage()

func (*SpotPriceRequest) Reset

func (m *SpotPriceRequest) Reset()

func (*SpotPriceRequest) Size

func (m *SpotPriceRequest) Size() (n int)

func (*SpotPriceRequest) String

func (m *SpotPriceRequest) String() string

func (*SpotPriceRequest) Unmarshal

func (m *SpotPriceRequest) Unmarshal(dAtA []byte) error

func (*SpotPriceRequest) XXX_DiscardUnknown

func (m *SpotPriceRequest) XXX_DiscardUnknown()

func (*SpotPriceRequest) XXX_Marshal

func (m *SpotPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotPriceRequest) XXX_Merge

func (m *SpotPriceRequest) XXX_Merge(src proto.Message)

func (*SpotPriceRequest) XXX_Size

func (m *SpotPriceRequest) XXX_Size() int

func (*SpotPriceRequest) XXX_Unmarshal

func (m *SpotPriceRequest) XXX_Unmarshal(b []byte) error

type SpotPriceResponse

type SpotPriceResponse struct {
	SpotPrice string `protobuf:"bytes,1,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty" yaml:"spot_price"`
}

func (*SpotPriceResponse) Descriptor

func (*SpotPriceResponse) Descriptor() ([]byte, []int)

func (*SpotPriceResponse) GetSpotPrice

func (m *SpotPriceResponse) GetSpotPrice() string

func (*SpotPriceResponse) Marshal

func (m *SpotPriceResponse) Marshal() (dAtA []byte, err error)

func (*SpotPriceResponse) MarshalTo

func (m *SpotPriceResponse) MarshalTo(dAtA []byte) (int, error)

func (*SpotPriceResponse) MarshalToSizedBuffer

func (m *SpotPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotPriceResponse) ProtoMessage

func (*SpotPriceResponse) ProtoMessage()

func (*SpotPriceResponse) Reset

func (m *SpotPriceResponse) Reset()

func (*SpotPriceResponse) Size

func (m *SpotPriceResponse) Size() (n int)

func (*SpotPriceResponse) String

func (m *SpotPriceResponse) String() string

func (*SpotPriceResponse) Unmarshal

func (m *SpotPriceResponse) Unmarshal(dAtA []byte) error

func (*SpotPriceResponse) XXX_DiscardUnknown

func (m *SpotPriceResponse) XXX_DiscardUnknown()

func (*SpotPriceResponse) XXX_Marshal

func (m *SpotPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotPriceResponse) XXX_Merge

func (m *SpotPriceResponse) XXX_Merge(src proto.Message)

func (*SpotPriceResponse) XXX_Size

func (m *SpotPriceResponse) XXX_Size() int

func (*SpotPriceResponse) XXX_Unmarshal

func (m *SpotPriceResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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