Versions in this module Expand all Collapse all v1 v1.0.0 Nov 15, 2022 Changes in this version + const AttributeExpiry + const AttributeMarketID + const AttributeMarketPrice + const AttributeOracle + const AttributeValueCategory + const DefaultParamspace + const EventTypeMarketPriceUpdated + const EventTypeNoValidPrices + const EventTypeOracleUpdatedPrice + const MaxExpiry + const ModuleName + const QuerierRoute + const QueryGetParams + const QueryMarkets + const QueryOracles + const QueryPrice + const QueryPrices + const QueryRawPrices + const RouterKey + const StoreKey + const TypeMsgPostPrice + var CurrentPricePrefix = []byte + var ErrAssetNotFound = sdkerrors.Register(ModuleName, 7, "asset not found") + var ErrEmptyInput = sdkerrors.Register(ModuleName, 2, "input must not be empty") + var ErrExpired = sdkerrors.Register(ModuleName, 3, "price is expired") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowStore = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthStore = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidMarket = sdkerrors.Register(ModuleName, 5, "market does not exist") + var ErrInvalidOracle = sdkerrors.Register(ModuleName, 6, "oracle does not exist or not authorized") + var ErrNoValidPrice = sdkerrors.Register(ModuleName, 4, "all input prices are expired") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupStore = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var KeyMarkets = []byte("Markets") + var ModuleCdc = codec.NewAminoCodec(amino) + var RawPriceFeedPrefix = []byte + func CurrentPriceKey(marketID string) []byte + func ParamKeyTable() paramtypes.KeyTable + func RawPriceIteratorKey(marketID string) []byte + func RawPriceKey(marketID string, oracleAddr sdk.AccAddress) []byte + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type CurrentPrice struct + MarketID string + Price github_com_cosmos_cosmos_sdk_types.Dec + func NewCurrentPrice(marketID string, price sdk.Dec) CurrentPrice + func (*CurrentPrice) Descriptor() ([]byte, []int) + func (*CurrentPrice) ProtoMessage() + func (m *CurrentPrice) GetMarketID() string + func (m *CurrentPrice) Marshal() (dAtA []byte, err error) + func (m *CurrentPrice) MarshalTo(dAtA []byte) (int, error) + func (m *CurrentPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CurrentPrice) Reset() + func (m *CurrentPrice) Size() (n int) + func (m *CurrentPrice) String() string + func (m *CurrentPrice) Unmarshal(dAtA []byte) error + func (m *CurrentPrice) XXX_DiscardUnknown() + func (m *CurrentPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CurrentPrice) XXX_Merge(src proto.Message) + func (m *CurrentPrice) XXX_Size() int + func (m *CurrentPrice) XXX_Unmarshal(b []byte) error + func (this *CurrentPrice) Equal(that interface{}) bool + func (this *CurrentPrice) VerboseEqual(that interface{}) error + type CurrentPriceResponse struct + MarketID string + Price github_com_cosmos_cosmos_sdk_types.Dec + func NewCurrentPriceResponse(marketID string, price sdk.Dec) CurrentPriceResponse + func (*CurrentPriceResponse) Descriptor() ([]byte, []int) + func (*CurrentPriceResponse) ProtoMessage() + func (m *CurrentPriceResponse) GetMarketID() string + func (m *CurrentPriceResponse) Marshal() (dAtA []byte, err error) + func (m *CurrentPriceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *CurrentPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CurrentPriceResponse) Reset() + func (m *CurrentPriceResponse) Size() (n int) + func (m *CurrentPriceResponse) String() string + func (m *CurrentPriceResponse) Unmarshal(dAtA []byte) error + func (m *CurrentPriceResponse) XXX_DiscardUnknown() + func (m *CurrentPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CurrentPriceResponse) XXX_Merge(src proto.Message) + func (m *CurrentPriceResponse) XXX_Size() int + func (m *CurrentPriceResponse) XXX_Unmarshal(b []byte) error + func (this *CurrentPriceResponse) Equal(that interface{}) bool + func (this *CurrentPriceResponse) VerboseEqual(that interface{}) error + type CurrentPriceResponses []CurrentPriceResponse + type CurrentPrices []CurrentPrice + type GenesisState struct + Params Params + PostedPrices PostedPrices + func DefaultGenesisState() GenesisState + func NewGenesisState(p Params, pp []PostedPrice) GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetPostedPrices() PostedPrices + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + func (this *GenesisState) Equal(that interface{}) bool + func (this *GenesisState) VerboseEqual(that interface{}) error + type Market struct + Active bool + BaseAsset string + MarketID string + Oracles []github_com_cosmos_cosmos_sdk_types.AccAddress + QuoteAsset string + func NewMarket(id, base, quote string, oracles []sdk.AccAddress, active bool) Market + func (*Market) Descriptor() ([]byte, []int) + func (*Market) ProtoMessage() + func (m *Market) GetActive() bool + func (m *Market) GetBaseAsset() string + func (m *Market) GetMarketID() string + func (m *Market) GetOracles() []github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *Market) GetQuoteAsset() string + func (m *Market) Marshal() (dAtA []byte, err error) + func (m *Market) MarshalTo(dAtA []byte) (int, error) + func (m *Market) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Market) Reset() + func (m *Market) Size() (n int) + func (m *Market) String() string + func (m *Market) Unmarshal(dAtA []byte) error + func (m *Market) XXX_DiscardUnknown() + func (m *Market) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Market) XXX_Merge(src proto.Message) + func (m *Market) XXX_Size() int + func (m *Market) XXX_Unmarshal(b []byte) error + func (m Market) ToMarketResponse() MarketResponse + func (m Market) Validate() error + func (this *Market) Equal(that interface{}) bool + func (this *Market) VerboseEqual(that interface{}) error + type MarketResponse struct + Active bool + BaseAsset string + MarketID string + Oracles []string + QuoteAsset string + func NewMarketResponse(id, base, quote string, oracles []sdk.AccAddress, active bool) MarketResponse + func (*MarketResponse) Descriptor() ([]byte, []int) + func (*MarketResponse) ProtoMessage() + func (m *MarketResponse) GetActive() bool + func (m *MarketResponse) GetBaseAsset() string + func (m *MarketResponse) GetMarketID() string + func (m *MarketResponse) GetOracles() []string + func (m *MarketResponse) GetQuoteAsset() string + func (m *MarketResponse) Marshal() (dAtA []byte, err error) + func (m *MarketResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MarketResponse) Reset() + func (m *MarketResponse) Size() (n int) + func (m *MarketResponse) String() string + func (m *MarketResponse) Unmarshal(dAtA []byte) error + func (m *MarketResponse) XXX_DiscardUnknown() + func (m *MarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MarketResponse) XXX_Merge(src proto.Message) + func (m *MarketResponse) XXX_Size() int + func (m *MarketResponse) XXX_Unmarshal(b []byte) error + func (this *MarketResponse) Equal(that interface{}) bool + func (this *MarketResponse) VerboseEqual(that interface{}) error + type MarketResponses []MarketResponse + type Markets []Market + func GenDefaultMarket() Markets + func (ms Markets) Validate() error + type MsgClient interface + PostPrice func(ctx context.Context, in *MsgPostPrice, opts ...grpc.CallOption) (*MsgPostPriceResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgPostPrice struct + Expiry time.Time + From string + MarketID string + Price github_com_cosmos_cosmos_sdk_types.Dec + func NewMsgPostPrice(from string, marketID string, price sdk.Dec, expiry time.Time) *MsgPostPrice + func (*MsgPostPrice) Descriptor() ([]byte, []int) + func (*MsgPostPrice) ProtoMessage() + func (m *MsgPostPrice) Marshal() (dAtA []byte, err error) + func (m *MsgPostPrice) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPostPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPostPrice) Reset() + func (m *MsgPostPrice) Size() (n int) + func (m *MsgPostPrice) String() string + func (m *MsgPostPrice) Unmarshal(dAtA []byte) error + func (m *MsgPostPrice) XXX_DiscardUnknown() + func (m *MsgPostPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPostPrice) XXX_Merge(src proto.Message) + func (m *MsgPostPrice) XXX_Size() int + func (m *MsgPostPrice) XXX_Unmarshal(b []byte) error + func (msg MsgPostPrice) GetSignBytes() []byte + func (msg MsgPostPrice) GetSigners() []sdk.AccAddress + func (msg MsgPostPrice) Route() string + func (msg MsgPostPrice) Type() string + func (msg MsgPostPrice) ValidateBasic() error + func (this *MsgPostPrice) Equal(that interface{}) bool + func (this *MsgPostPrice) VerboseEqual(that interface{}) error + type MsgPostPriceResponse struct + func (*MsgPostPriceResponse) Descriptor() ([]byte, []int) + func (*MsgPostPriceResponse) ProtoMessage() + func (m *MsgPostPriceResponse) Marshal() (dAtA []byte, err error) + func (m *MsgPostPriceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPostPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPostPriceResponse) Reset() + func (m *MsgPostPriceResponse) Size() (n int) + func (m *MsgPostPriceResponse) String() string + func (m *MsgPostPriceResponse) Unmarshal(dAtA []byte) error + func (m *MsgPostPriceResponse) XXX_DiscardUnknown() + func (m *MsgPostPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPostPriceResponse) XXX_Merge(src proto.Message) + func (m *MsgPostPriceResponse) XXX_Size() int + func (m *MsgPostPriceResponse) XXX_Unmarshal(b []byte) error + func (this *MsgPostPriceResponse) Equal(that interface{}) bool + func (this *MsgPostPriceResponse) VerboseEqual(that interface{}) error + type MsgServer interface + PostPrice func(context.Context, *MsgPostPrice) (*MsgPostPriceResponse, error) + type Params struct + Markets Markets + func DefaultParams() Params + func NewParams(markets []Market) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetMarkets() Markets + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) Validate() error + func (this *Params) Equal(that interface{}) bool + func (this *Params) VerboseEqual(that interface{}) error + type PostedPrice struct + Expiry time.Time + MarketID string + OracleAddress github_com_cosmos_cosmos_sdk_types.AccAddress + Price github_com_cosmos_cosmos_sdk_types.Dec + func NewPostedPrice(marketID string, oracle sdk.AccAddress, price sdk.Dec, expiry time.Time) PostedPrice + func (*PostedPrice) Descriptor() ([]byte, []int) + func (*PostedPrice) ProtoMessage() + func (m *PostedPrice) GetExpiry() time.Time + func (m *PostedPrice) GetMarketID() string + func (m *PostedPrice) GetOracleAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *PostedPrice) Marshal() (dAtA []byte, err error) + func (m *PostedPrice) MarshalTo(dAtA []byte) (int, error) + func (m *PostedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PostedPrice) Reset() + func (m *PostedPrice) Size() (n int) + func (m *PostedPrice) String() string + func (m *PostedPrice) Unmarshal(dAtA []byte) error + func (m *PostedPrice) XXX_DiscardUnknown() + func (m *PostedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PostedPrice) XXX_Merge(src proto.Message) + func (m *PostedPrice) XXX_Size() int + func (m *PostedPrice) XXX_Unmarshal(b []byte) error + func (pp PostedPrice) Validate() error + func (this *PostedPrice) Equal(that interface{}) bool + func (this *PostedPrice) VerboseEqual(that interface{}) error + type PostedPriceResponse struct + Expiry time.Time + MarketID string + OracleAddress string + Price github_com_cosmos_cosmos_sdk_types.Dec + func NewPostedPriceResponse(marketID string, oracle sdk.AccAddress, price sdk.Dec, expiry time.Time) PostedPriceResponse + func (*PostedPriceResponse) Descriptor() ([]byte, []int) + func (*PostedPriceResponse) ProtoMessage() + func (m *PostedPriceResponse) GetExpiry() time.Time + func (m *PostedPriceResponse) GetMarketID() string + func (m *PostedPriceResponse) GetOracleAddress() string + func (m *PostedPriceResponse) Marshal() (dAtA []byte, err error) + func (m *PostedPriceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PostedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PostedPriceResponse) Reset() + func (m *PostedPriceResponse) Size() (n int) + func (m *PostedPriceResponse) String() string + func (m *PostedPriceResponse) Unmarshal(dAtA []byte) error + func (m *PostedPriceResponse) XXX_DiscardUnknown() + func (m *PostedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PostedPriceResponse) XXX_Merge(src proto.Message) + func (m *PostedPriceResponse) XXX_Size() int + func (m *PostedPriceResponse) XXX_Unmarshal(b []byte) error + func (this *PostedPriceResponse) Equal(that interface{}) bool + func (this *PostedPriceResponse) VerboseEqual(that interface{}) error + type PostedPriceResponses []PostedPriceResponse + type PostedPrices []PostedPrice + func (pps PostedPrices) Validate() error + type QueryClient interface + Markets func(ctx context.Context, in *QueryMarketsRequest, opts ...grpc.CallOption) (*QueryMarketsResponse, error) + Oracles func(ctx context.Context, in *QueryOraclesRequest, opts ...grpc.CallOption) (*QueryOraclesResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + Price func(ctx context.Context, in *QueryPriceRequest, opts ...grpc.CallOption) (*QueryPriceResponse, error) + Prices func(ctx context.Context, in *QueryPricesRequest, opts ...grpc.CallOption) (*QueryPricesResponse, error) + RawPrices func(ctx context.Context, in *QueryRawPricesRequest, opts ...grpc.CallOption) (*QueryRawPricesResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryMarketsRequest struct + func (*QueryMarketsRequest) Descriptor() ([]byte, []int) + func (*QueryMarketsRequest) ProtoMessage() + func (m *QueryMarketsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryMarketsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryMarketsRequest) Reset() + func (m *QueryMarketsRequest) Size() (n int) + func (m *QueryMarketsRequest) String() string + func (m *QueryMarketsRequest) Unmarshal(dAtA []byte) error + func (m *QueryMarketsRequest) XXX_DiscardUnknown() + func (m *QueryMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryMarketsRequest) XXX_Merge(src proto.Message) + func (m *QueryMarketsRequest) XXX_Size() int + func (m *QueryMarketsRequest) XXX_Unmarshal(b []byte) error + func (this *QueryMarketsRequest) Equal(that interface{}) bool + func (this *QueryMarketsRequest) VerboseEqual(that interface{}) error + type QueryMarketsResponse struct + Markets MarketResponses + func (*QueryMarketsResponse) Descriptor() ([]byte, []int) + func (*QueryMarketsResponse) ProtoMessage() + func (m *QueryMarketsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryMarketsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryMarketsResponse) Reset() + func (m *QueryMarketsResponse) Size() (n int) + func (m *QueryMarketsResponse) String() string + func (m *QueryMarketsResponse) Unmarshal(dAtA []byte) error + func (m *QueryMarketsResponse) XXX_DiscardUnknown() + func (m *QueryMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryMarketsResponse) XXX_Merge(src proto.Message) + func (m *QueryMarketsResponse) XXX_Size() int + func (m *QueryMarketsResponse) XXX_Unmarshal(b []byte) error + func (this *QueryMarketsResponse) Equal(that interface{}) bool + func (this *QueryMarketsResponse) VerboseEqual(that interface{}) error + type QueryOraclesRequest struct + MarketId string + func (*QueryOraclesRequest) Descriptor() ([]byte, []int) + func (*QueryOraclesRequest) ProtoMessage() + func (m *QueryOraclesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryOraclesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryOraclesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryOraclesRequest) Reset() + func (m *QueryOraclesRequest) Size() (n int) + func (m *QueryOraclesRequest) String() string + func (m *QueryOraclesRequest) Unmarshal(dAtA []byte) error + func (m *QueryOraclesRequest) XXX_DiscardUnknown() + func (m *QueryOraclesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryOraclesRequest) XXX_Merge(src proto.Message) + func (m *QueryOraclesRequest) XXX_Size() int + func (m *QueryOraclesRequest) XXX_Unmarshal(b []byte) error + func (this *QueryOraclesRequest) Equal(that interface{}) bool + func (this *QueryOraclesRequest) VerboseEqual(that interface{}) error + type QueryOraclesResponse struct + Oracles []string + func (*QueryOraclesResponse) Descriptor() ([]byte, []int) + func (*QueryOraclesResponse) ProtoMessage() + func (m *QueryOraclesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryOraclesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryOraclesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryOraclesResponse) Reset() + func (m *QueryOraclesResponse) Size() (n int) + func (m *QueryOraclesResponse) String() string + func (m *QueryOraclesResponse) Unmarshal(dAtA []byte) error + func (m *QueryOraclesResponse) XXX_DiscardUnknown() + func (m *QueryOraclesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryOraclesResponse) XXX_Merge(src proto.Message) + func (m *QueryOraclesResponse) XXX_Size() int + func (m *QueryOraclesResponse) XXX_Unmarshal(b []byte) error + func (this *QueryOraclesResponse) Equal(that interface{}) bool + func (this *QueryOraclesResponse) VerboseEqual(that interface{}) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + func (this *QueryParamsRequest) Equal(that interface{}) bool + func (this *QueryParamsRequest) VerboseEqual(that interface{}) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + func (this *QueryParamsResponse) Equal(that interface{}) bool + func (this *QueryParamsResponse) VerboseEqual(that interface{}) error + type QueryPriceRequest struct + MarketId string + func (*QueryPriceRequest) Descriptor() ([]byte, []int) + func (*QueryPriceRequest) ProtoMessage() + func (m *QueryPriceRequest) Marshal() (dAtA []byte, err error) + func (m *QueryPriceRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryPriceRequest) Reset() + func (m *QueryPriceRequest) Size() (n int) + func (m *QueryPriceRequest) String() string + func (m *QueryPriceRequest) Unmarshal(dAtA []byte) error + func (m *QueryPriceRequest) XXX_DiscardUnknown() + func (m *QueryPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryPriceRequest) XXX_Merge(src proto.Message) + func (m *QueryPriceRequest) XXX_Size() int + func (m *QueryPriceRequest) XXX_Unmarshal(b []byte) error + func (this *QueryPriceRequest) Equal(that interface{}) bool + func (this *QueryPriceRequest) VerboseEqual(that interface{}) error + type QueryPriceResponse struct + Price CurrentPriceResponse + func (*QueryPriceResponse) Descriptor() ([]byte, []int) + func (*QueryPriceResponse) ProtoMessage() + func (m *QueryPriceResponse) Marshal() (dAtA []byte, err error) + func (m *QueryPriceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryPriceResponse) Reset() + func (m *QueryPriceResponse) Size() (n int) + func (m *QueryPriceResponse) String() string + func (m *QueryPriceResponse) Unmarshal(dAtA []byte) error + func (m *QueryPriceResponse) XXX_DiscardUnknown() + func (m *QueryPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryPriceResponse) XXX_Merge(src proto.Message) + func (m *QueryPriceResponse) XXX_Size() int + func (m *QueryPriceResponse) XXX_Unmarshal(b []byte) error + func (this *QueryPriceResponse) Equal(that interface{}) bool + func (this *QueryPriceResponse) VerboseEqual(that interface{}) error + type QueryPricesRequest struct + func (*QueryPricesRequest) Descriptor() ([]byte, []int) + func (*QueryPricesRequest) ProtoMessage() + func (m *QueryPricesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryPricesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryPricesRequest) Reset() + func (m *QueryPricesRequest) Size() (n int) + func (m *QueryPricesRequest) String() string + func (m *QueryPricesRequest) Unmarshal(dAtA []byte) error + func (m *QueryPricesRequest) XXX_DiscardUnknown() + func (m *QueryPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryPricesRequest) XXX_Merge(src proto.Message) + func (m *QueryPricesRequest) XXX_Size() int + func (m *QueryPricesRequest) XXX_Unmarshal(b []byte) error + func (this *QueryPricesRequest) Equal(that interface{}) bool + func (this *QueryPricesRequest) VerboseEqual(that interface{}) error + type QueryPricesResponse struct + Prices CurrentPriceResponses + func (*QueryPricesResponse) Descriptor() ([]byte, []int) + func (*QueryPricesResponse) ProtoMessage() + func (m *QueryPricesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryPricesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryPricesResponse) Reset() + func (m *QueryPricesResponse) Size() (n int) + func (m *QueryPricesResponse) String() string + func (m *QueryPricesResponse) Unmarshal(dAtA []byte) error + func (m *QueryPricesResponse) XXX_DiscardUnknown() + func (m *QueryPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryPricesResponse) XXX_Merge(src proto.Message) + func (m *QueryPricesResponse) XXX_Size() int + func (m *QueryPricesResponse) XXX_Unmarshal(b []byte) error + func (this *QueryPricesResponse) Equal(that interface{}) bool + func (this *QueryPricesResponse) VerboseEqual(that interface{}) error + type QueryRawPricesRequest struct + MarketId string + func (*QueryRawPricesRequest) Descriptor() ([]byte, []int) + func (*QueryRawPricesRequest) ProtoMessage() + func (m *QueryRawPricesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRawPricesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRawPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRawPricesRequest) Reset() + func (m *QueryRawPricesRequest) Size() (n int) + func (m *QueryRawPricesRequest) String() string + func (m *QueryRawPricesRequest) Unmarshal(dAtA []byte) error + func (m *QueryRawPricesRequest) XXX_DiscardUnknown() + func (m *QueryRawPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRawPricesRequest) XXX_Merge(src proto.Message) + func (m *QueryRawPricesRequest) XXX_Size() int + func (m *QueryRawPricesRequest) XXX_Unmarshal(b []byte) error + func (this *QueryRawPricesRequest) Equal(that interface{}) bool + func (this *QueryRawPricesRequest) VerboseEqual(that interface{}) error + type QueryRawPricesResponse struct + RawPrices PostedPriceResponses + func (*QueryRawPricesResponse) Descriptor() ([]byte, []int) + func (*QueryRawPricesResponse) ProtoMessage() + func (m *QueryRawPricesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRawPricesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRawPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRawPricesResponse) Reset() + func (m *QueryRawPricesResponse) Size() (n int) + func (m *QueryRawPricesResponse) String() string + func (m *QueryRawPricesResponse) Unmarshal(dAtA []byte) error + func (m *QueryRawPricesResponse) XXX_DiscardUnknown() + func (m *QueryRawPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRawPricesResponse) XXX_Merge(src proto.Message) + func (m *QueryRawPricesResponse) XXX_Size() int + func (m *QueryRawPricesResponse) XXX_Unmarshal(b []byte) error + func (this *QueryRawPricesResponse) Equal(that interface{}) bool + func (this *QueryRawPricesResponse) VerboseEqual(that interface{}) error + type QueryServer interface + Markets func(context.Context, *QueryMarketsRequest) (*QueryMarketsResponse, error) + Oracles func(context.Context, *QueryOraclesRequest) (*QueryOraclesResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + Price func(context.Context, *QueryPriceRequest) (*QueryPriceResponse, error) + Prices func(context.Context, *QueryPricesRequest) (*QueryPricesResponse, error) + RawPrices func(context.Context, *QueryRawPricesRequest) (*QueryRawPricesResponse, error) + type QueryWithMarketIDParams struct + MarketID string + func NewQueryWithMarketIDParams(marketID string) QueryWithMarketIDParams + type SortDecs []sdk.Dec + func (a SortDecs) Len() int + func (a SortDecs) Less(i, j int) bool + func (a SortDecs) Swap(i, j int) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) PostPrice(ctx context.Context, req *MsgPostPrice) (*MsgPostPriceResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Markets(ctx context.Context, req *QueryMarketsRequest) (*QueryMarketsResponse, error) + func (*UnimplementedQueryServer) Oracles(ctx context.Context, req *QueryOraclesRequest) (*QueryOraclesResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) + func (*UnimplementedQueryServer) Price(ctx context.Context, req *QueryPriceRequest) (*QueryPriceResponse, error) + func (*UnimplementedQueryServer) Prices(ctx context.Context, req *QueryPricesRequest) (*QueryPricesResponse, error) + func (*UnimplementedQueryServer) RawPrices(ctx context.Context, req *QueryRawPricesRequest) (*QueryRawPricesResponse, error)