oracle

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_elys_oracle_asset_info_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_band_price_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_params_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_price_feeder_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_price_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_query_proto protoreflect.FileDescriptor
View Source
var File_elys_oracle_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.oracle.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FeedPrice",
			Handler:    _Msg_FeedPrice_Handler,
		},
		{
			MethodName: "FeedMultiplePrices",
			Handler:    _Msg_FeedMultiplePrices_Handler,
		},
		{
			MethodName: "SetPriceFeeder",
			Handler:    _Msg_SetPriceFeeder_Handler,
		},
		{
			MethodName: "DeletePriceFeeder",
			Handler:    _Msg_DeletePriceFeeder_Handler,
		},
		{
			MethodName: "RemoveAssetInfo",
			Handler:    _Msg_RemoveAssetInfo_Handler,
		},
		{
			MethodName: "AddPriceFeeders",
			Handler:    _Msg_AddPriceFeeders_Handler,
		},
		{
			MethodName: "RemovePriceFeeders",
			Handler:    _Msg_RemovePriceFeeders_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "CreateAssetInfo",
			Handler:    _Msg_CreateAssetInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/oracle/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.oracle.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "BandPriceResult",
			Handler:    _Query_BandPriceResult_Handler,
		},
		{
			MethodName: "LastBandRequestId",
			Handler:    _Query_LastBandRequestId_Handler,
		},
		{
			MethodName: "AssetInfo",
			Handler:    _Query_AssetInfo_Handler,
		},
		{
			MethodName: "AssetInfoAll",
			Handler:    _Query_AssetInfoAll_Handler,
		},
		{
			MethodName: "Price",
			Handler:    _Query_Price_Handler,
		},
		{
			MethodName: "PriceAll",
			Handler:    _Query_PriceAll_Handler,
		},
		{
			MethodName: "PriceFeeder",
			Handler:    _Query_PriceFeeder_Handler,
		},
		{
			MethodName: "PriceFeederAll",
			Handler:    _Query_PriceFeederAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/oracle/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type AssetInfo

type AssetInfo struct {
	Denom      string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Display    string `protobuf:"bytes,2,opt,name=display,proto3" json:"display,omitempty"`
	BandTicker string `protobuf:"bytes,3,opt,name=band_ticker,json=bandTicker,proto3" json:"band_ticker,omitempty"`
	ElysTicker string `protobuf:"bytes,4,opt,name=elys_ticker,json=elysTicker,proto3" json:"elys_ticker,omitempty"`
	Decimal    uint64 `protobuf:"varint,5,opt,name=decimal,proto3" json:"decimal,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetInfo) Descriptor deprecated

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

Deprecated: Use AssetInfo.ProtoReflect.Descriptor instead.

func (*AssetInfo) GetBandTicker

func (x *AssetInfo) GetBandTicker() string

func (*AssetInfo) GetDecimal

func (x *AssetInfo) GetDecimal() uint64

func (*AssetInfo) GetDenom

func (x *AssetInfo) GetDenom() string

func (*AssetInfo) GetDisplay

func (x *AssetInfo) GetDisplay() string

func (*AssetInfo) GetElysTicker

func (x *AssetInfo) GetElysTicker() string

func (*AssetInfo) ProtoMessage

func (*AssetInfo) ProtoMessage()

func (*AssetInfo) ProtoReflect

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

func (*AssetInfo) Reset

func (x *AssetInfo) Reset()

func (*AssetInfo) String

func (x *AssetInfo) String() string

type BandPriceCallData

type BandPriceCallData struct {
	Symbols    []string `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
	Multiplier uint64   `protobuf:"varint,2,opt,name=multiplier,proto3" json:"multiplier,omitempty"`
	// contains filtered or unexported fields
}

func (*BandPriceCallData) Descriptor deprecated

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

Deprecated: Use BandPriceCallData.ProtoReflect.Descriptor instead.

func (*BandPriceCallData) GetMultiplier

func (x *BandPriceCallData) GetMultiplier() uint64

func (*BandPriceCallData) GetSymbols

func (x *BandPriceCallData) GetSymbols() []string

func (*BandPriceCallData) ProtoMessage

func (*BandPriceCallData) ProtoMessage()

func (*BandPriceCallData) ProtoReflect

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

func (*BandPriceCallData) Reset

func (x *BandPriceCallData) Reset()

func (*BandPriceCallData) String

func (x *BandPriceCallData) String() string

type BandPriceResult

type BandPriceResult struct {
	Rates []uint64 `protobuf:"varint,1,rep,packed,name=rates,proto3" json:"rates,omitempty"`
	// contains filtered or unexported fields
}

func (*BandPriceResult) Descriptor deprecated

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

Deprecated: Use BandPriceResult.ProtoReflect.Descriptor instead.

func (*BandPriceResult) GetRates

func (x *BandPriceResult) GetRates() []uint64

func (*BandPriceResult) ProtoMessage

func (*BandPriceResult) ProtoMessage()

func (*BandPriceResult) ProtoReflect

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

func (*BandPriceResult) Reset

func (x *BandPriceResult) Reset()

func (*BandPriceResult) String

func (x *BandPriceResult) String() string

type FeedPrice

type FeedPrice struct {
	Asset  string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Price  string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedPrice) Descriptor deprecated

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

Deprecated: Use FeedPrice.ProtoReflect.Descriptor instead.

func (*FeedPrice) GetAsset

func (x *FeedPrice) GetAsset() string

func (*FeedPrice) GetPrice

func (x *FeedPrice) GetPrice() string

func (*FeedPrice) GetSource

func (x *FeedPrice) GetSource() string

func (*FeedPrice) ProtoMessage

func (*FeedPrice) ProtoMessage()

func (*FeedPrice) ProtoReflect

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

func (*FeedPrice) Reset

func (x *FeedPrice) Reset()

func (*FeedPrice) String

func (x *FeedPrice) String() string

type GenesisState

type GenesisState struct {
	Params       *Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	PortId       string         `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	AssetInfos   []*AssetInfo   `protobuf:"bytes,3,rep,name=asset_infos,json=assetInfos,proto3" json:"asset_infos,omitempty"`
	Prices       []*Price       `protobuf:"bytes,4,rep,name=prices,proto3" json:"prices,omitempty"`
	PriceFeeders []*PriceFeeder `protobuf:"bytes,5,rep,name=price_feeders,json=priceFeeders,proto3" json:"price_feeders,omitempty"` // this line is used by starport scaffolding # genesis/proto/state
	// contains filtered or unexported fields
}

GenesisState defines the oracle module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetAssetInfos

func (x *GenesisState) GetAssetInfos() []*AssetInfo

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetPortId

func (x *GenesisState) GetPortId() string

func (*GenesisState) GetPriceFeeders

func (x *GenesisState) GetPriceFeeders() []*PriceFeeder

func (*GenesisState) GetPrices

func (x *GenesisState) GetPrices() []*Price

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type LegacyPrice

type LegacyPrice struct {
	Asset     string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Price     string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	Source    string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Provider  string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
	Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyPrice) Descriptor deprecated

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

Deprecated: Use LegacyPrice.ProtoReflect.Descriptor instead.

func (*LegacyPrice) GetAsset

func (x *LegacyPrice) GetAsset() string

func (*LegacyPrice) GetPrice

func (x *LegacyPrice) GetPrice() string

func (*LegacyPrice) GetProvider

func (x *LegacyPrice) GetProvider() string

func (*LegacyPrice) GetSource

func (x *LegacyPrice) GetSource() string

func (*LegacyPrice) GetTimestamp

func (x *LegacyPrice) GetTimestamp() uint64

func (*LegacyPrice) ProtoMessage

func (*LegacyPrice) ProtoMessage()

func (*LegacyPrice) ProtoReflect

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

func (*LegacyPrice) Reset

func (x *LegacyPrice) Reset()

func (*LegacyPrice) String

func (x *LegacyPrice) String() string

type MsgAddPriceFeeders

type MsgAddPriceFeeders struct {
	Authority string   `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Feeders   []string `protobuf:"bytes,2,rep,name=feeders,proto3" json:"feeders,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgAddPriceFeeders) Descriptor deprecated

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

Deprecated: Use MsgAddPriceFeeders.ProtoReflect.Descriptor instead.

func (*MsgAddPriceFeeders) GetAuthority

func (x *MsgAddPriceFeeders) GetAuthority() string

func (*MsgAddPriceFeeders) GetFeeders

func (x *MsgAddPriceFeeders) GetFeeders() []string

func (*MsgAddPriceFeeders) ProtoMessage

func (*MsgAddPriceFeeders) ProtoMessage()

func (*MsgAddPriceFeeders) ProtoReflect

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

func (*MsgAddPriceFeeders) Reset

func (x *MsgAddPriceFeeders) Reset()

func (*MsgAddPriceFeeders) String

func (x *MsgAddPriceFeeders) String() string

type MsgAddPriceFeedersResponse

type MsgAddPriceFeedersResponse struct {
	// contains filtered or unexported fields
}

func (*MsgAddPriceFeedersResponse) Descriptor deprecated

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

Deprecated: Use MsgAddPriceFeedersResponse.ProtoReflect.Descriptor instead.

func (*MsgAddPriceFeedersResponse) ProtoMessage

func (*MsgAddPriceFeedersResponse) ProtoMessage()

func (*MsgAddPriceFeedersResponse) ProtoReflect

func (*MsgAddPriceFeedersResponse) Reset

func (x *MsgAddPriceFeedersResponse) Reset()

func (*MsgAddPriceFeedersResponse) String

func (x *MsgAddPriceFeedersResponse) String() string

type MsgClient

type MsgClient interface {
	FeedPrice(ctx context.Context, in *MsgFeedPrice, opts ...grpc.CallOption) (*MsgFeedPriceResponse, error)
	FeedMultiplePrices(ctx context.Context, in *MsgFeedMultiplePrices, opts ...grpc.CallOption) (*MsgFeedMultiplePricesResponse, error)
	SetPriceFeeder(ctx context.Context, in *MsgSetPriceFeeder, opts ...grpc.CallOption) (*MsgSetPriceFeederResponse, error)
	DeletePriceFeeder(ctx context.Context, in *MsgDeletePriceFeeder, opts ...grpc.CallOption) (*MsgDeletePriceFeederResponse, error)
	// proposals
	RemoveAssetInfo(ctx context.Context, in *MsgRemoveAssetInfo, opts ...grpc.CallOption) (*MsgRemoveAssetInfoResponse, error)
	AddPriceFeeders(ctx context.Context, in *MsgAddPriceFeeders, opts ...grpc.CallOption) (*MsgAddPriceFeedersResponse, error)
	RemovePriceFeeders(ctx context.Context, in *MsgRemovePriceFeeders, opts ...grpc.CallOption) (*MsgRemovePriceFeedersResponse, error)
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateAssetInfo(ctx context.Context, in *MsgCreateAssetInfo, opts ...grpc.CallOption) (*MsgCreateAssetInfoResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreateAssetInfo

type MsgCreateAssetInfo struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Denom      string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Display    string `protobuf:"bytes,3,opt,name=display,proto3" json:"display,omitempty"`
	BandTicker string `protobuf:"bytes,4,opt,name=band_ticker,json=bandTicker,proto3" json:"band_ticker,omitempty"`
	ElysTicker string `protobuf:"bytes,5,opt,name=elys_ticker,json=elysTicker,proto3" json:"elys_ticker,omitempty"`
	Decimal    uint64 `protobuf:"varint,6,opt,name=decimal,proto3" json:"decimal,omitempty"`
	// contains filtered or unexported fields
}

this line is used by starport scaffolding # proto/tx/message

func (*MsgCreateAssetInfo) Descriptor deprecated

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

Deprecated: Use MsgCreateAssetInfo.ProtoReflect.Descriptor instead.

func (*MsgCreateAssetInfo) GetBandTicker

func (x *MsgCreateAssetInfo) GetBandTicker() string

func (*MsgCreateAssetInfo) GetCreator

func (x *MsgCreateAssetInfo) GetCreator() string

func (*MsgCreateAssetInfo) GetDecimal

func (x *MsgCreateAssetInfo) GetDecimal() uint64

func (*MsgCreateAssetInfo) GetDenom

func (x *MsgCreateAssetInfo) GetDenom() string

func (*MsgCreateAssetInfo) GetDisplay

func (x *MsgCreateAssetInfo) GetDisplay() string

func (*MsgCreateAssetInfo) GetElysTicker

func (x *MsgCreateAssetInfo) GetElysTicker() string

func (*MsgCreateAssetInfo) ProtoMessage

func (*MsgCreateAssetInfo) ProtoMessage()

func (*MsgCreateAssetInfo) ProtoReflect

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

func (*MsgCreateAssetInfo) Reset

func (x *MsgCreateAssetInfo) Reset()

func (*MsgCreateAssetInfo) String

func (x *MsgCreateAssetInfo) String() string

type MsgCreateAssetInfoResponse

type MsgCreateAssetInfoResponse struct {
	// contains filtered or unexported fields
}

func (*MsgCreateAssetInfoResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateAssetInfoResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateAssetInfoResponse) ProtoMessage

func (*MsgCreateAssetInfoResponse) ProtoMessage()

func (*MsgCreateAssetInfoResponse) ProtoReflect

func (*MsgCreateAssetInfoResponse) Reset

func (x *MsgCreateAssetInfoResponse) Reset()

func (*MsgCreateAssetInfoResponse) String

func (x *MsgCreateAssetInfoResponse) String() string

type MsgDeletePriceFeeder

type MsgDeletePriceFeeder struct {
	Feeder string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgDeletePriceFeeder) Descriptor deprecated

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

Deprecated: Use MsgDeletePriceFeeder.ProtoReflect.Descriptor instead.

func (*MsgDeletePriceFeeder) GetFeeder

func (x *MsgDeletePriceFeeder) GetFeeder() string

func (*MsgDeletePriceFeeder) ProtoMessage

func (*MsgDeletePriceFeeder) ProtoMessage()

func (*MsgDeletePriceFeeder) ProtoReflect

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

func (*MsgDeletePriceFeeder) Reset

func (x *MsgDeletePriceFeeder) Reset()

func (*MsgDeletePriceFeeder) String

func (x *MsgDeletePriceFeeder) String() string

type MsgDeletePriceFeederResponse

type MsgDeletePriceFeederResponse struct {
	// contains filtered or unexported fields
}

func (*MsgDeletePriceFeederResponse) Descriptor deprecated

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

Deprecated: Use MsgDeletePriceFeederResponse.ProtoReflect.Descriptor instead.

func (*MsgDeletePriceFeederResponse) ProtoMessage

func (*MsgDeletePriceFeederResponse) ProtoMessage()

func (*MsgDeletePriceFeederResponse) ProtoReflect

func (*MsgDeletePriceFeederResponse) Reset

func (x *MsgDeletePriceFeederResponse) Reset()

func (*MsgDeletePriceFeederResponse) String

type MsgFeedMultiplePrices

type MsgFeedMultiplePrices struct {
	Creator    string       `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	FeedPrices []*FeedPrice `protobuf:"bytes,2,rep,name=feed_prices,json=feedPrices,proto3" json:"feed_prices,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgFeedMultiplePrices) Descriptor deprecated

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

Deprecated: Use MsgFeedMultiplePrices.ProtoReflect.Descriptor instead.

func (*MsgFeedMultiplePrices) GetCreator

func (x *MsgFeedMultiplePrices) GetCreator() string

func (*MsgFeedMultiplePrices) GetFeedPrices

func (x *MsgFeedMultiplePrices) GetFeedPrices() []*FeedPrice

func (*MsgFeedMultiplePrices) ProtoMessage

func (*MsgFeedMultiplePrices) ProtoMessage()

func (*MsgFeedMultiplePrices) ProtoReflect

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

func (*MsgFeedMultiplePrices) Reset

func (x *MsgFeedMultiplePrices) Reset()

func (*MsgFeedMultiplePrices) String

func (x *MsgFeedMultiplePrices) String() string

type MsgFeedMultiplePricesResponse

type MsgFeedMultiplePricesResponse struct {
	// contains filtered or unexported fields
}

func (*MsgFeedMultiplePricesResponse) Descriptor deprecated

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

Deprecated: Use MsgFeedMultiplePricesResponse.ProtoReflect.Descriptor instead.

func (*MsgFeedMultiplePricesResponse) ProtoMessage

func (*MsgFeedMultiplePricesResponse) ProtoMessage()

func (*MsgFeedMultiplePricesResponse) ProtoReflect

func (*MsgFeedMultiplePricesResponse) Reset

func (x *MsgFeedMultiplePricesResponse) Reset()

func (*MsgFeedMultiplePricesResponse) String

type MsgFeedPrice

type MsgFeedPrice struct {
	Provider  string     `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	FeedPrice *FeedPrice `protobuf:"bytes,2,opt,name=feed_price,json=feedPrice,proto3" json:"feed_price,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgFeedPrice) Descriptor deprecated

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

Deprecated: Use MsgFeedPrice.ProtoReflect.Descriptor instead.

func (*MsgFeedPrice) GetFeedPrice

func (x *MsgFeedPrice) GetFeedPrice() *FeedPrice

func (*MsgFeedPrice) GetProvider

func (x *MsgFeedPrice) GetProvider() string

func (*MsgFeedPrice) ProtoMessage

func (*MsgFeedPrice) ProtoMessage()

func (*MsgFeedPrice) ProtoReflect

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

func (*MsgFeedPrice) Reset

func (x *MsgFeedPrice) Reset()

func (*MsgFeedPrice) String

func (x *MsgFeedPrice) String() string

type MsgFeedPriceResponse

type MsgFeedPriceResponse struct {
	// contains filtered or unexported fields
}

func (*MsgFeedPriceResponse) Descriptor deprecated

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

Deprecated: Use MsgFeedPriceResponse.ProtoReflect.Descriptor instead.

func (*MsgFeedPriceResponse) ProtoMessage

func (*MsgFeedPriceResponse) ProtoMessage()

func (*MsgFeedPriceResponse) ProtoReflect

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

func (*MsgFeedPriceResponse) Reset

func (x *MsgFeedPriceResponse) Reset()

func (*MsgFeedPriceResponse) String

func (x *MsgFeedPriceResponse) String() string

type MsgRemoveAssetInfo

type MsgRemoveAssetInfo struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Denom     string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRemoveAssetInfo) Descriptor deprecated

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

Deprecated: Use MsgRemoveAssetInfo.ProtoReflect.Descriptor instead.

func (*MsgRemoveAssetInfo) GetAuthority

func (x *MsgRemoveAssetInfo) GetAuthority() string

func (*MsgRemoveAssetInfo) GetDenom

func (x *MsgRemoveAssetInfo) GetDenom() string

func (*MsgRemoveAssetInfo) ProtoMessage

func (*MsgRemoveAssetInfo) ProtoMessage()

func (*MsgRemoveAssetInfo) ProtoReflect

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

func (*MsgRemoveAssetInfo) Reset

func (x *MsgRemoveAssetInfo) Reset()

func (*MsgRemoveAssetInfo) String

func (x *MsgRemoveAssetInfo) String() string

type MsgRemoveAssetInfoResponse

type MsgRemoveAssetInfoResponse struct {
	// contains filtered or unexported fields
}

func (*MsgRemoveAssetInfoResponse) Descriptor deprecated

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

Deprecated: Use MsgRemoveAssetInfoResponse.ProtoReflect.Descriptor instead.

func (*MsgRemoveAssetInfoResponse) ProtoMessage

func (*MsgRemoveAssetInfoResponse) ProtoMessage()

func (*MsgRemoveAssetInfoResponse) ProtoReflect

func (*MsgRemoveAssetInfoResponse) Reset

func (x *MsgRemoveAssetInfoResponse) Reset()

func (*MsgRemoveAssetInfoResponse) String

func (x *MsgRemoveAssetInfoResponse) String() string

type MsgRemovePriceFeeders

type MsgRemovePriceFeeders struct {
	Authority string   `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Feeders   []string `protobuf:"bytes,2,rep,name=feeders,proto3" json:"feeders,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRemovePriceFeeders) Descriptor deprecated

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

Deprecated: Use MsgRemovePriceFeeders.ProtoReflect.Descriptor instead.

func (*MsgRemovePriceFeeders) GetAuthority

func (x *MsgRemovePriceFeeders) GetAuthority() string

func (*MsgRemovePriceFeeders) GetFeeders

func (x *MsgRemovePriceFeeders) GetFeeders() []string

func (*MsgRemovePriceFeeders) ProtoMessage

func (*MsgRemovePriceFeeders) ProtoMessage()

func (*MsgRemovePriceFeeders) ProtoReflect

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

func (*MsgRemovePriceFeeders) Reset

func (x *MsgRemovePriceFeeders) Reset()

func (*MsgRemovePriceFeeders) String

func (x *MsgRemovePriceFeeders) String() string

type MsgRemovePriceFeedersResponse

type MsgRemovePriceFeedersResponse struct {
	// contains filtered or unexported fields
}

func (*MsgRemovePriceFeedersResponse) Descriptor deprecated

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

Deprecated: Use MsgRemovePriceFeedersResponse.ProtoReflect.Descriptor instead.

func (*MsgRemovePriceFeedersResponse) ProtoMessage

func (*MsgRemovePriceFeedersResponse) ProtoMessage()

func (*MsgRemovePriceFeedersResponse) ProtoReflect

func (*MsgRemovePriceFeedersResponse) Reset

func (x *MsgRemovePriceFeedersResponse) Reset()

func (*MsgRemovePriceFeedersResponse) String

type MsgServer

type MsgServer interface {
	FeedPrice(context.Context, *MsgFeedPrice) (*MsgFeedPriceResponse, error)
	FeedMultiplePrices(context.Context, *MsgFeedMultiplePrices) (*MsgFeedMultiplePricesResponse, error)
	SetPriceFeeder(context.Context, *MsgSetPriceFeeder) (*MsgSetPriceFeederResponse, error)
	DeletePriceFeeder(context.Context, *MsgDeletePriceFeeder) (*MsgDeletePriceFeederResponse, error)
	// proposals
	RemoveAssetInfo(context.Context, *MsgRemoveAssetInfo) (*MsgRemoveAssetInfoResponse, error)
	AddPriceFeeders(context.Context, *MsgAddPriceFeeders) (*MsgAddPriceFeedersResponse, error)
	RemovePriceFeeders(context.Context, *MsgRemovePriceFeeders) (*MsgRemovePriceFeedersResponse, error)
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateAssetInfo(context.Context, *MsgCreateAssetInfo) (*MsgCreateAssetInfoResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSetPriceFeeder

type MsgSetPriceFeeder struct {
	Feeder   string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	IsActive bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSetPriceFeeder) Descriptor deprecated

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

Deprecated: Use MsgSetPriceFeeder.ProtoReflect.Descriptor instead.

func (*MsgSetPriceFeeder) GetFeeder

func (x *MsgSetPriceFeeder) GetFeeder() string

func (*MsgSetPriceFeeder) GetIsActive

func (x *MsgSetPriceFeeder) GetIsActive() bool

func (*MsgSetPriceFeeder) ProtoMessage

func (*MsgSetPriceFeeder) ProtoMessage()

func (*MsgSetPriceFeeder) ProtoReflect

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

func (*MsgSetPriceFeeder) Reset

func (x *MsgSetPriceFeeder) Reset()

func (*MsgSetPriceFeeder) String

func (x *MsgSetPriceFeeder) String() string

type MsgSetPriceFeederResponse

type MsgSetPriceFeederResponse struct {
	// contains filtered or unexported fields
}

func (*MsgSetPriceFeederResponse) Descriptor deprecated

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

Deprecated: Use MsgSetPriceFeederResponse.ProtoReflect.Descriptor instead.

func (*MsgSetPriceFeederResponse) ProtoMessage

func (*MsgSetPriceFeederResponse) ProtoMessage()

func (*MsgSetPriceFeederResponse) ProtoReflect

func (*MsgSetPriceFeederResponse) Reset

func (x *MsgSetPriceFeederResponse) Reset()

func (*MsgSetPriceFeederResponse) String

func (x *MsgSetPriceFeederResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {
	BandChannelSource string          `protobuf:"bytes,1,opt,name=band_channel_source,json=bandChannelSource,proto3" json:"band_channel_source,omitempty"`
	OracleScriptId    uint64          `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"`
	Multiplier        uint64          `protobuf:"varint,3,opt,name=multiplier,proto3" json:"multiplier,omitempty"`
	AskCount          uint64          `protobuf:"varint,4,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"`
	MinCount          uint64          `protobuf:"varint,5,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	FeeLimit          []*v1beta1.Coin `protobuf:"bytes,6,rep,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	PrepareGas        uint64          `protobuf:"varint,7,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty"`
	ExecuteGas        uint64          `protobuf:"varint,8,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty"`
	ClientId          string          `protobuf:"bytes,9,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	BandEpoch         string          `protobuf:"bytes,10,opt,name=band_epoch,json=bandEpoch,proto3" json:"band_epoch,omitempty"`
	PriceExpiryTime   uint64          `protobuf:"varint,11,opt,name=price_expiry_time,json=priceExpiryTime,proto3" json:"price_expiry_time,omitempty"`
	LifeTimeInBlocks  uint64          `protobuf:"varint,12,opt,name=life_time_in_blocks,json=lifeTimeInBlocks,proto3" json:"life_time_in_blocks,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAskCount

func (x *Params) GetAskCount() uint64

func (*Params) GetBandChannelSource

func (x *Params) GetBandChannelSource() string

func (*Params) GetBandEpoch

func (x *Params) GetBandEpoch() string

func (*Params) GetClientId

func (x *Params) GetClientId() string

func (*Params) GetExecuteGas

func (x *Params) GetExecuteGas() uint64

func (*Params) GetFeeLimit

func (x *Params) GetFeeLimit() []*v1beta1.Coin

func (*Params) GetLifeTimeInBlocks

func (x *Params) GetLifeTimeInBlocks() uint64

func (*Params) GetMinCount

func (x *Params) GetMinCount() uint64

func (*Params) GetMultiplier

func (x *Params) GetMultiplier() uint64

func (*Params) GetOracleScriptId

func (x *Params) GetOracleScriptId() uint64

func (*Params) GetPrepareGas

func (x *Params) GetPrepareGas() uint64

func (*Params) GetPriceExpiryTime

func (x *Params) GetPriceExpiryTime() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type Price

type Price struct {
	Asset       string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Price       string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	Source      string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Provider    string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
	Timestamp   uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BlockHeight uint64 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// contains filtered or unexported fields
}

func (*Price) Descriptor deprecated

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

Deprecated: Use Price.ProtoReflect.Descriptor instead.

func (*Price) GetAsset

func (x *Price) GetAsset() string

func (*Price) GetBlockHeight

func (x *Price) GetBlockHeight() uint64

func (*Price) GetPrice

func (x *Price) GetPrice() string

func (*Price) GetProvider

func (x *Price) GetProvider() string

func (*Price) GetSource

func (x *Price) GetSource() string

func (*Price) GetTimestamp

func (x *Price) GetTimestamp() uint64

func (*Price) ProtoMessage

func (*Price) ProtoMessage()

func (*Price) ProtoReflect

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

func (*Price) Reset

func (x *Price) Reset()

func (*Price) String

func (x *Price) String() string

type PriceFeeder

type PriceFeeder struct {
	Feeder   string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	IsActive bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// contains filtered or unexported fields
}

func (*PriceFeeder) Descriptor deprecated

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

Deprecated: Use PriceFeeder.ProtoReflect.Descriptor instead.

func (*PriceFeeder) GetFeeder

func (x *PriceFeeder) GetFeeder() string

func (*PriceFeeder) GetIsActive

func (x *PriceFeeder) GetIsActive() bool

func (*PriceFeeder) ProtoMessage

func (*PriceFeeder) ProtoMessage()

func (*PriceFeeder) ProtoReflect

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

func (*PriceFeeder) Reset

func (x *PriceFeeder) Reset()

func (*PriceFeeder) String

func (x *PriceFeeder) String() string

type QueryAllAssetInfoRequest

type QueryAllAssetInfoRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllAssetInfoRequest) Descriptor deprecated

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

Deprecated: Use QueryAllAssetInfoRequest.ProtoReflect.Descriptor instead.

func (*QueryAllAssetInfoRequest) GetPagination

func (x *QueryAllAssetInfoRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllAssetInfoRequest) ProtoMessage

func (*QueryAllAssetInfoRequest) ProtoMessage()

func (*QueryAllAssetInfoRequest) ProtoReflect

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

func (*QueryAllAssetInfoRequest) Reset

func (x *QueryAllAssetInfoRequest) Reset()

func (*QueryAllAssetInfoRequest) String

func (x *QueryAllAssetInfoRequest) String() string

type QueryAllAssetInfoResponse

type QueryAllAssetInfoResponse struct {
	AssetInfo  []*AssetInfo          `protobuf:"bytes,1,rep,name=asset_info,json=assetInfo,proto3" json:"asset_info,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllAssetInfoResponse) Descriptor deprecated

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

Deprecated: Use QueryAllAssetInfoResponse.ProtoReflect.Descriptor instead.

func (*QueryAllAssetInfoResponse) GetAssetInfo

func (x *QueryAllAssetInfoResponse) GetAssetInfo() []*AssetInfo

func (*QueryAllAssetInfoResponse) GetPagination

func (x *QueryAllAssetInfoResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllAssetInfoResponse) ProtoMessage

func (*QueryAllAssetInfoResponse) ProtoMessage()

func (*QueryAllAssetInfoResponse) ProtoReflect

func (*QueryAllAssetInfoResponse) Reset

func (x *QueryAllAssetInfoResponse) Reset()

func (*QueryAllAssetInfoResponse) String

func (x *QueryAllAssetInfoResponse) String() string

type QueryAllPriceFeederRequest

type QueryAllPriceFeederRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPriceFeederRequest) Descriptor deprecated

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

Deprecated: Use QueryAllPriceFeederRequest.ProtoReflect.Descriptor instead.

func (*QueryAllPriceFeederRequest) GetPagination

func (x *QueryAllPriceFeederRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllPriceFeederRequest) ProtoMessage

func (*QueryAllPriceFeederRequest) ProtoMessage()

func (*QueryAllPriceFeederRequest) ProtoReflect

func (*QueryAllPriceFeederRequest) Reset

func (x *QueryAllPriceFeederRequest) Reset()

func (*QueryAllPriceFeederRequest) String

func (x *QueryAllPriceFeederRequest) String() string

type QueryAllPriceFeederResponse

type QueryAllPriceFeederResponse struct {
	PriceFeeder []*PriceFeeder        `protobuf:"bytes,1,rep,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder,omitempty"`
	Pagination  *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPriceFeederResponse) Descriptor deprecated

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

Deprecated: Use QueryAllPriceFeederResponse.ProtoReflect.Descriptor instead.

func (*QueryAllPriceFeederResponse) GetPagination

func (x *QueryAllPriceFeederResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllPriceFeederResponse) GetPriceFeeder

func (x *QueryAllPriceFeederResponse) GetPriceFeeder() []*PriceFeeder

func (*QueryAllPriceFeederResponse) ProtoMessage

func (*QueryAllPriceFeederResponse) ProtoMessage()

func (*QueryAllPriceFeederResponse) ProtoReflect

func (*QueryAllPriceFeederResponse) Reset

func (x *QueryAllPriceFeederResponse) Reset()

func (*QueryAllPriceFeederResponse) String

func (x *QueryAllPriceFeederResponse) String() string

type QueryAllPriceRequest

type QueryAllPriceRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPriceRequest) Descriptor deprecated

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

Deprecated: Use QueryAllPriceRequest.ProtoReflect.Descriptor instead.

func (*QueryAllPriceRequest) GetPagination

func (x *QueryAllPriceRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllPriceRequest) ProtoMessage

func (*QueryAllPriceRequest) ProtoMessage()

func (*QueryAllPriceRequest) ProtoReflect

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

func (*QueryAllPriceRequest) Reset

func (x *QueryAllPriceRequest) Reset()

func (*QueryAllPriceRequest) String

func (x *QueryAllPriceRequest) String() string

type QueryAllPriceResponse

type QueryAllPriceResponse struct {
	Price      []*Price              `protobuf:"bytes,1,rep,name=price,proto3" json:"price,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPriceResponse) Descriptor deprecated

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

Deprecated: Use QueryAllPriceResponse.ProtoReflect.Descriptor instead.

func (*QueryAllPriceResponse) GetPagination

func (x *QueryAllPriceResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllPriceResponse) GetPrice

func (x *QueryAllPriceResponse) GetPrice() []*Price

func (*QueryAllPriceResponse) ProtoMessage

func (*QueryAllPriceResponse) ProtoMessage()

func (*QueryAllPriceResponse) ProtoReflect

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

func (*QueryAllPriceResponse) Reset

func (x *QueryAllPriceResponse) Reset()

func (*QueryAllPriceResponse) String

func (x *QueryAllPriceResponse) String() string

type QueryBandPriceRequest

type QueryBandPriceRequest struct {
	RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBandPriceRequest) Descriptor deprecated

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

Deprecated: Use QueryBandPriceRequest.ProtoReflect.Descriptor instead.

func (*QueryBandPriceRequest) GetRequestId

func (x *QueryBandPriceRequest) GetRequestId() int64

func (*QueryBandPriceRequest) ProtoMessage

func (*QueryBandPriceRequest) ProtoMessage()

func (*QueryBandPriceRequest) ProtoReflect

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

func (*QueryBandPriceRequest) Reset

func (x *QueryBandPriceRequest) Reset()

func (*QueryBandPriceRequest) String

func (x *QueryBandPriceRequest) String() string

type QueryBandPriceResponse

type QueryBandPriceResponse struct {
	Result *BandPriceResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBandPriceResponse) Descriptor deprecated

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

Deprecated: Use QueryBandPriceResponse.ProtoReflect.Descriptor instead.

func (*QueryBandPriceResponse) GetResult

func (x *QueryBandPriceResponse) GetResult() *BandPriceResult

func (*QueryBandPriceResponse) ProtoMessage

func (*QueryBandPriceResponse) ProtoMessage()

func (*QueryBandPriceResponse) ProtoReflect

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

func (*QueryBandPriceResponse) Reset

func (x *QueryBandPriceResponse) Reset()

func (*QueryBandPriceResponse) String

func (x *QueryBandPriceResponse) String() string

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// BandPriceResult defines a rpc handler method for MsgRequestBandPrice.
	BandPriceResult(ctx context.Context, in *QueryBandPriceRequest, opts ...grpc.CallOption) (*QueryBandPriceResponse, error)
	// LastBandRequestId query the last BandPrice result id
	LastBandRequestId(ctx context.Context, in *QueryLastBandRequestIdRequest, opts ...grpc.CallOption) (*QueryLastBandRequestIdResponse, error)
	// Queries a AssetInfo by denom.
	AssetInfo(ctx context.Context, in *QueryGetAssetInfoRequest, opts ...grpc.CallOption) (*QueryGetAssetInfoResponse, error)
	// Queries a list of AssetInfo items.
	AssetInfoAll(ctx context.Context, in *QueryAllAssetInfoRequest, opts ...grpc.CallOption) (*QueryAllAssetInfoResponse, error)
	// Queries a Price by asset.
	Price(ctx context.Context, in *QueryGetPriceRequest, opts ...grpc.CallOption) (*QueryGetPriceResponse, error)
	// Queries a list of Price items.
	PriceAll(ctx context.Context, in *QueryAllPriceRequest, opts ...grpc.CallOption) (*QueryAllPriceResponse, error)
	// Queries a PriceFeeder by feeder.
	PriceFeeder(ctx context.Context, in *QueryGetPriceFeederRequest, opts ...grpc.CallOption) (*QueryGetPriceFeederResponse, error)
	// Queries a list of PriceFeeder items.
	PriceFeederAll(ctx context.Context, in *QueryAllPriceFeederRequest, opts ...grpc.CallOption) (*QueryAllPriceFeederResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryGetAssetInfoRequest

type QueryGetAssetInfoRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetAssetInfoRequest) Descriptor deprecated

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

Deprecated: Use QueryGetAssetInfoRequest.ProtoReflect.Descriptor instead.

func (*QueryGetAssetInfoRequest) GetDenom

func (x *QueryGetAssetInfoRequest) GetDenom() string

func (*QueryGetAssetInfoRequest) ProtoMessage

func (*QueryGetAssetInfoRequest) ProtoMessage()

func (*QueryGetAssetInfoRequest) ProtoReflect

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

func (*QueryGetAssetInfoRequest) Reset

func (x *QueryGetAssetInfoRequest) Reset()

func (*QueryGetAssetInfoRequest) String

func (x *QueryGetAssetInfoRequest) String() string

type QueryGetAssetInfoResponse

type QueryGetAssetInfoResponse struct {
	AssetInfo *AssetInfo `protobuf:"bytes,1,opt,name=asset_info,json=assetInfo,proto3" json:"asset_info,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetAssetInfoResponse) Descriptor deprecated

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

Deprecated: Use QueryGetAssetInfoResponse.ProtoReflect.Descriptor instead.

func (*QueryGetAssetInfoResponse) GetAssetInfo

func (x *QueryGetAssetInfoResponse) GetAssetInfo() *AssetInfo

func (*QueryGetAssetInfoResponse) ProtoMessage

func (*QueryGetAssetInfoResponse) ProtoMessage()

func (*QueryGetAssetInfoResponse) ProtoReflect

func (*QueryGetAssetInfoResponse) Reset

func (x *QueryGetAssetInfoResponse) Reset()

func (*QueryGetAssetInfoResponse) String

func (x *QueryGetAssetInfoResponse) String() string

type QueryGetPriceFeederRequest

type QueryGetPriceFeederRequest struct {
	Feeder string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPriceFeederRequest) Descriptor deprecated

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

Deprecated: Use QueryGetPriceFeederRequest.ProtoReflect.Descriptor instead.

func (*QueryGetPriceFeederRequest) GetFeeder

func (x *QueryGetPriceFeederRequest) GetFeeder() string

func (*QueryGetPriceFeederRequest) ProtoMessage

func (*QueryGetPriceFeederRequest) ProtoMessage()

func (*QueryGetPriceFeederRequest) ProtoReflect

func (*QueryGetPriceFeederRequest) Reset

func (x *QueryGetPriceFeederRequest) Reset()

func (*QueryGetPriceFeederRequest) String

func (x *QueryGetPriceFeederRequest) String() string

type QueryGetPriceFeederResponse

type QueryGetPriceFeederResponse struct {
	PriceFeeder *PriceFeeder `protobuf:"bytes,1,opt,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPriceFeederResponse) Descriptor deprecated

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

Deprecated: Use QueryGetPriceFeederResponse.ProtoReflect.Descriptor instead.

func (*QueryGetPriceFeederResponse) GetPriceFeeder

func (x *QueryGetPriceFeederResponse) GetPriceFeeder() *PriceFeeder

func (*QueryGetPriceFeederResponse) ProtoMessage

func (*QueryGetPriceFeederResponse) ProtoMessage()

func (*QueryGetPriceFeederResponse) ProtoReflect

func (*QueryGetPriceFeederResponse) Reset

func (x *QueryGetPriceFeederResponse) Reset()

func (*QueryGetPriceFeederResponse) String

func (x *QueryGetPriceFeederResponse) String() string

type QueryGetPriceRequest

type QueryGetPriceRequest struct {
	Asset     string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Source    string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPriceRequest) Descriptor deprecated

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

Deprecated: Use QueryGetPriceRequest.ProtoReflect.Descriptor instead.

func (*QueryGetPriceRequest) GetAsset

func (x *QueryGetPriceRequest) GetAsset() string

func (*QueryGetPriceRequest) GetSource

func (x *QueryGetPriceRequest) GetSource() string

func (*QueryGetPriceRequest) GetTimestamp

func (x *QueryGetPriceRequest) GetTimestamp() uint64

func (*QueryGetPriceRequest) ProtoMessage

func (*QueryGetPriceRequest) ProtoMessage()

func (*QueryGetPriceRequest) ProtoReflect

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

func (*QueryGetPriceRequest) Reset

func (x *QueryGetPriceRequest) Reset()

func (*QueryGetPriceRequest) String

func (x *QueryGetPriceRequest) String() string

type QueryGetPriceResponse

type QueryGetPriceResponse struct {
	Price *Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPriceResponse) Descriptor deprecated

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

Deprecated: Use QueryGetPriceResponse.ProtoReflect.Descriptor instead.

func (*QueryGetPriceResponse) GetPrice

func (x *QueryGetPriceResponse) GetPrice() *Price

func (*QueryGetPriceResponse) ProtoMessage

func (*QueryGetPriceResponse) ProtoMessage()

func (*QueryGetPriceResponse) ProtoReflect

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

func (*QueryGetPriceResponse) Reset

func (x *QueryGetPriceResponse) Reset()

func (*QueryGetPriceResponse) String

func (x *QueryGetPriceResponse) String() string

type QueryLastBandRequestIdRequest

type QueryLastBandRequestIdRequest struct {
	// contains filtered or unexported fields
}

func (*QueryLastBandRequestIdRequest) Descriptor deprecated

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

Deprecated: Use QueryLastBandRequestIdRequest.ProtoReflect.Descriptor instead.

func (*QueryLastBandRequestIdRequest) ProtoMessage

func (*QueryLastBandRequestIdRequest) ProtoMessage()

func (*QueryLastBandRequestIdRequest) ProtoReflect

func (*QueryLastBandRequestIdRequest) Reset

func (x *QueryLastBandRequestIdRequest) Reset()

func (*QueryLastBandRequestIdRequest) String

type QueryLastBandRequestIdResponse

type QueryLastBandRequestIdResponse struct {
	RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryLastBandRequestIdResponse) Descriptor deprecated

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

Deprecated: Use QueryLastBandRequestIdResponse.ProtoReflect.Descriptor instead.

func (*QueryLastBandRequestIdResponse) GetRequestId

func (x *QueryLastBandRequestIdResponse) GetRequestId() int64

func (*QueryLastBandRequestIdResponse) ProtoMessage

func (*QueryLastBandRequestIdResponse) ProtoMessage()

func (*QueryLastBandRequestIdResponse) ProtoReflect

func (*QueryLastBandRequestIdResponse) Reset

func (x *QueryLastBandRequestIdResponse) Reset()

func (*QueryLastBandRequestIdResponse) String

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// BandPriceResult defines a rpc handler method for MsgRequestBandPrice.
	BandPriceResult(context.Context, *QueryBandPriceRequest) (*QueryBandPriceResponse, error)
	// LastBandRequestId query the last BandPrice result id
	LastBandRequestId(context.Context, *QueryLastBandRequestIdRequest) (*QueryLastBandRequestIdResponse, error)
	// Queries a AssetInfo by denom.
	AssetInfo(context.Context, *QueryGetAssetInfoRequest) (*QueryGetAssetInfoResponse, error)
	// Queries a list of AssetInfo items.
	AssetInfoAll(context.Context, *QueryAllAssetInfoRequest) (*QueryAllAssetInfoResponse, error)
	// Queries a Price by asset.
	Price(context.Context, *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
	// Queries a list of Price items.
	PriceAll(context.Context, *QueryAllPriceRequest) (*QueryAllPriceResponse, error)
	// Queries a PriceFeeder by feeder.
	PriceFeeder(context.Context, *QueryGetPriceFeederRequest) (*QueryGetPriceFeederResponse, error)
	// Queries a list of PriceFeeder items.
	PriceFeederAll(context.Context, *QueryAllPriceFeederRequest) (*QueryAllPriceFeederResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) AddPriceFeeders

func (UnimplementedMsgServer) CreateAssetInfo

func (UnimplementedMsgServer) FeedPrice

func (UnimplementedMsgServer) RemoveAssetInfo

func (UnimplementedMsgServer) SetPriceFeeder

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) BandPriceResult

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Price

func (UnimplementedQueryServer) PriceAll

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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