Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AssetInfoKey(denom string) []byte
- func BandPriceResultStoreKey(requestID OracleRequestID) []byte
- func BandRequestStoreKey(requestID OracleRequestID) []byte
- func GetPriceFeederKey(feeder sdk.AccAddress) []byte
- func KeyPrefix(p string) []byte
- func LegacyPriceFeederKey(feeder string) []byte
- func PriceKey(asset, source string, timestamp uint64) []byte
- func PriceKeyPrefixAsset(asset string) []byte
- func PriceKeyPrefixAssetAndSource(asset, source string) []byte
- func RegisterInterfaces(registry cdctypes.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 AccountKeeper
- type AssetInfo
- func (*AssetInfo) Descriptor() ([]byte, []int)
- func (m *AssetInfo) GetBandTicker() string
- func (m *AssetInfo) GetDecimal() uint64
- func (m *AssetInfo) GetDenom() string
- func (m *AssetInfo) GetDisplay() string
- func (m *AssetInfo) GetElysTicker() string
- func (m *AssetInfo) Marshal() (dAtA []byte, err error)
- func (m *AssetInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetInfo) ProtoMessage()
- func (m *AssetInfo) Reset()
- func (m *AssetInfo) Size() (n int)
- func (m *AssetInfo) String() string
- func (m *AssetInfo) Unmarshal(dAtA []byte) error
- func (m *AssetInfo) XXX_DiscardUnknown()
- func (m *AssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetInfo) XXX_Merge(src proto.Message)
- func (m *AssetInfo) XXX_Size() int
- func (m *AssetInfo) XXX_Unmarshal(b []byte) error
- type BandPriceCallData
- func (*BandPriceCallData) Descriptor() ([]byte, []int)
- func (m *BandPriceCallData) GetMultiplier() uint64
- func (m *BandPriceCallData) GetSymbols() []string
- func (m *BandPriceCallData) Marshal() (dAtA []byte, err error)
- func (m *BandPriceCallData) MarshalTo(dAtA []byte) (int, error)
- func (m *BandPriceCallData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BandPriceCallData) ProtoMessage()
- func (m *BandPriceCallData) Reset()
- func (m *BandPriceCallData) Size() (n int)
- func (m *BandPriceCallData) String() string
- func (m *BandPriceCallData) Unmarshal(dAtA []byte) error
- func (m *BandPriceCallData) XXX_DiscardUnknown()
- func (m *BandPriceCallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BandPriceCallData) XXX_Merge(src proto.Message)
- func (m *BandPriceCallData) XXX_Size() int
- func (m *BandPriceCallData) XXX_Unmarshal(b []byte) error
- type BandPriceResult
- func (*BandPriceResult) Descriptor() ([]byte, []int)
- func (m *BandPriceResult) GetRates() []uint64
- func (m *BandPriceResult) Marshal() (dAtA []byte, err error)
- func (m *BandPriceResult) MarshalTo(dAtA []byte) (int, error)
- func (m *BandPriceResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BandPriceResult) ProtoMessage()
- func (m *BandPriceResult) Reset()
- func (m *BandPriceResult) Size() (n int)
- func (m *BandPriceResult) String() string
- func (m *BandPriceResult) Unmarshal(dAtA []byte) error
- func (m *BandPriceResult) XXX_DiscardUnknown()
- func (m *BandPriceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BandPriceResult) XXX_Merge(src proto.Message)
- func (m *BandPriceResult) XXX_Size() int
- func (m *BandPriceResult) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type ChannelKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAssetInfos() []AssetInfo
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- func (m *GenesisState) GetPriceFeeders() []PriceFeeder
- func (m *GenesisState) GetPrices() []Price
- 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 (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() 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
- type LegacyPrice
- func (*LegacyPrice) Descriptor() ([]byte, []int)
- func (m *LegacyPrice) GetAsset() string
- func (m *LegacyPrice) GetProvider() string
- func (m *LegacyPrice) GetSource() string
- func (m *LegacyPrice) GetTimestamp() uint64
- func (m *LegacyPrice) Marshal() (dAtA []byte, err error)
- func (m *LegacyPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyPrice) ProtoMessage()
- func (m *LegacyPrice) Reset()
- func (m *LegacyPrice) Size() (n int)
- func (m *LegacyPrice) String() string
- func (m *LegacyPrice) Unmarshal(dAtA []byte) error
- func (m *LegacyPrice) XXX_DiscardUnknown()
- func (m *LegacyPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyPrice) XXX_Merge(src proto.Message)
- func (m *LegacyPrice) XXX_Size() int
- func (m *LegacyPrice) XXX_Unmarshal(b []byte) error
- type MsgAddPriceFeeders
- func (*MsgAddPriceFeeders) Descriptor() ([]byte, []int)
- func (m *MsgAddPriceFeeders) GetAuthority() string
- func (m *MsgAddPriceFeeders) GetFeeders() []string
- func (m *MsgAddPriceFeeders) Marshal() (dAtA []byte, err error)
- func (m *MsgAddPriceFeeders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddPriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddPriceFeeders) ProtoMessage()
- func (m *MsgAddPriceFeeders) Reset()
- func (m *MsgAddPriceFeeders) Size() (n int)
- func (m *MsgAddPriceFeeders) String() string
- func (m *MsgAddPriceFeeders) Unmarshal(dAtA []byte) error
- func (msg *MsgAddPriceFeeders) ValidateBasic() error
- func (m *MsgAddPriceFeeders) XXX_DiscardUnknown()
- func (m *MsgAddPriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddPriceFeeders) XXX_Merge(src proto.Message)
- func (m *MsgAddPriceFeeders) XXX_Size() int
- func (m *MsgAddPriceFeeders) XXX_Unmarshal(b []byte) error
- type MsgAddPriceFeedersResponse
- func (*MsgAddPriceFeedersResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddPriceFeedersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddPriceFeedersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddPriceFeedersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddPriceFeedersResponse) ProtoMessage()
- func (m *MsgAddPriceFeedersResponse) Reset()
- func (m *MsgAddPriceFeedersResponse) Size() (n int)
- func (m *MsgAddPriceFeedersResponse) String() string
- func (m *MsgAddPriceFeedersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddPriceFeedersResponse) XXX_DiscardUnknown()
- func (m *MsgAddPriceFeedersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddPriceFeedersResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddPriceFeedersResponse) XXX_Size() int
- func (m *MsgAddPriceFeedersResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateAssetInfo
- func (*MsgCreateAssetInfo) Descriptor() ([]byte, []int)
- func (m *MsgCreateAssetInfo) GetBandTicker() string
- func (m *MsgCreateAssetInfo) GetCreator() string
- func (m *MsgCreateAssetInfo) GetDecimal() uint64
- func (m *MsgCreateAssetInfo) GetDenom() string
- func (m *MsgCreateAssetInfo) GetDisplay() string
- func (m *MsgCreateAssetInfo) GetElysTicker() string
- func (m *MsgCreateAssetInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAssetInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAssetInfo) ProtoMessage()
- func (m *MsgCreateAssetInfo) Reset()
- func (m *MsgCreateAssetInfo) Size() (n int)
- func (m *MsgCreateAssetInfo) String() string
- func (m *MsgCreateAssetInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateAssetInfo) ValidateBasic() error
- func (m *MsgCreateAssetInfo) XXX_DiscardUnknown()
- func (m *MsgCreateAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAssetInfo) XXX_Merge(src proto.Message)
- func (m *MsgCreateAssetInfo) XXX_Size() int
- func (m *MsgCreateAssetInfo) XXX_Unmarshal(b []byte) error
- type MsgCreateAssetInfoResponse
- func (*MsgCreateAssetInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateAssetInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAssetInfoResponse) ProtoMessage()
- func (m *MsgCreateAssetInfoResponse) Reset()
- func (m *MsgCreateAssetInfoResponse) Size() (n int)
- func (m *MsgCreateAssetInfoResponse) String() string
- func (m *MsgCreateAssetInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateAssetInfoResponse) XXX_DiscardUnknown()
- func (m *MsgCreateAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAssetInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateAssetInfoResponse) XXX_Size() int
- func (m *MsgCreateAssetInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgDeletePriceFeeder
- func (*MsgDeletePriceFeeder) Descriptor() ([]byte, []int)
- func (m *MsgDeletePriceFeeder) GetFeeder() string
- func (m *MsgDeletePriceFeeder) Marshal() (dAtA []byte, err error)
- func (m *MsgDeletePriceFeeder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeletePriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeletePriceFeeder) ProtoMessage()
- func (m *MsgDeletePriceFeeder) Reset()
- func (m *MsgDeletePriceFeeder) Size() (n int)
- func (m *MsgDeletePriceFeeder) String() string
- func (m *MsgDeletePriceFeeder) Unmarshal(dAtA []byte) error
- func (msg *MsgDeletePriceFeeder) ValidateBasic() error
- func (m *MsgDeletePriceFeeder) XXX_DiscardUnknown()
- func (m *MsgDeletePriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeletePriceFeeder) XXX_Merge(src proto.Message)
- func (m *MsgDeletePriceFeeder) XXX_Size() int
- func (m *MsgDeletePriceFeeder) XXX_Unmarshal(b []byte) error
- type MsgDeletePriceFeederResponse
- func (*MsgDeletePriceFeederResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeletePriceFeederResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeletePriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeletePriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeletePriceFeederResponse) ProtoMessage()
- func (m *MsgDeletePriceFeederResponse) Reset()
- func (m *MsgDeletePriceFeederResponse) Size() (n int)
- func (m *MsgDeletePriceFeederResponse) String() string
- func (m *MsgDeletePriceFeederResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeletePriceFeederResponse) XXX_DiscardUnknown()
- func (m *MsgDeletePriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeletePriceFeederResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeletePriceFeederResponse) XXX_Size() int
- func (m *MsgDeletePriceFeederResponse) XXX_Unmarshal(b []byte) error
- type MsgFeedMultiplePrices
- func (*MsgFeedMultiplePrices) Descriptor() ([]byte, []int)
- func (m *MsgFeedMultiplePrices) GetCreator() string
- func (m *MsgFeedMultiplePrices) GetPrices() []Price
- func (m *MsgFeedMultiplePrices) Marshal() (dAtA []byte, err error)
- func (m *MsgFeedMultiplePrices) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFeedMultiplePrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFeedMultiplePrices) ProtoMessage()
- func (m *MsgFeedMultiplePrices) Reset()
- func (m *MsgFeedMultiplePrices) Size() (n int)
- func (m *MsgFeedMultiplePrices) String() string
- func (m *MsgFeedMultiplePrices) Unmarshal(dAtA []byte) error
- func (msg *MsgFeedMultiplePrices) ValidateBasic() error
- func (m *MsgFeedMultiplePrices) XXX_DiscardUnknown()
- func (m *MsgFeedMultiplePrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFeedMultiplePrices) XXX_Merge(src proto.Message)
- func (m *MsgFeedMultiplePrices) XXX_Size() int
- func (m *MsgFeedMultiplePrices) XXX_Unmarshal(b []byte) error
- type MsgFeedMultiplePricesResponse
- func (*MsgFeedMultiplePricesResponse) Descriptor() ([]byte, []int)
- func (m *MsgFeedMultiplePricesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFeedMultiplePricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFeedMultiplePricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFeedMultiplePricesResponse) ProtoMessage()
- func (m *MsgFeedMultiplePricesResponse) Reset()
- func (m *MsgFeedMultiplePricesResponse) Size() (n int)
- func (m *MsgFeedMultiplePricesResponse) String() string
- func (m *MsgFeedMultiplePricesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFeedMultiplePricesResponse) XXX_DiscardUnknown()
- func (m *MsgFeedMultiplePricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFeedMultiplePricesResponse) XXX_Merge(src proto.Message)
- func (m *MsgFeedMultiplePricesResponse) XXX_Size() int
- func (m *MsgFeedMultiplePricesResponse) XXX_Unmarshal(b []byte) error
- type MsgFeedPrice
- func (*MsgFeedPrice) Descriptor() ([]byte, []int)
- func (m *MsgFeedPrice) GetAsset() string
- func (m *MsgFeedPrice) GetProvider() string
- func (m *MsgFeedPrice) GetSource() string
- func (m *MsgFeedPrice) Marshal() (dAtA []byte, err error)
- func (m *MsgFeedPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFeedPrice) ProtoMessage()
- func (m *MsgFeedPrice) Reset()
- func (m *MsgFeedPrice) Size() (n int)
- func (m *MsgFeedPrice) String() string
- func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error
- func (msg *MsgFeedPrice) ValidateBasic() error
- func (m *MsgFeedPrice) XXX_DiscardUnknown()
- func (m *MsgFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFeedPrice) XXX_Merge(src proto.Message)
- func (m *MsgFeedPrice) XXX_Size() int
- func (m *MsgFeedPrice) XXX_Unmarshal(b []byte) error
- type MsgFeedPriceResponse
- func (*MsgFeedPriceResponse) Descriptor() ([]byte, []int)
- func (m *MsgFeedPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFeedPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFeedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFeedPriceResponse) ProtoMessage()
- func (m *MsgFeedPriceResponse) Reset()
- func (m *MsgFeedPriceResponse) Size() (n int)
- func (m *MsgFeedPriceResponse) String() string
- func (m *MsgFeedPriceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFeedPriceResponse) XXX_DiscardUnknown()
- func (m *MsgFeedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFeedPriceResponse) XXX_Merge(src proto.Message)
- func (m *MsgFeedPriceResponse) XXX_Size() int
- func (m *MsgFeedPriceResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveAssetInfo
- func (*MsgRemoveAssetInfo) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAssetInfo) GetAuthority() string
- func (m *MsgRemoveAssetInfo) GetDenom() string
- func (m *MsgRemoveAssetInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAssetInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAssetInfo) ProtoMessage()
- func (m *MsgRemoveAssetInfo) Reset()
- func (m *MsgRemoveAssetInfo) Size() (n int)
- func (m *MsgRemoveAssetInfo) String() string
- func (m *MsgRemoveAssetInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveAssetInfo) ValidateBasic() error
- func (m *MsgRemoveAssetInfo) XXX_DiscardUnknown()
- func (m *MsgRemoveAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAssetInfo) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAssetInfo) XXX_Size() int
- func (m *MsgRemoveAssetInfo) XXX_Unmarshal(b []byte) error
- type MsgRemoveAssetInfoResponse
- func (*MsgRemoveAssetInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAssetInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAssetInfoResponse) ProtoMessage()
- func (m *MsgRemoveAssetInfoResponse) Reset()
- func (m *MsgRemoveAssetInfoResponse) Size() (n int)
- func (m *MsgRemoveAssetInfoResponse) String() string
- func (m *MsgRemoveAssetInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveAssetInfoResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAssetInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAssetInfoResponse) XXX_Size() int
- func (m *MsgRemoveAssetInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgRemovePriceFeeders
- func (*MsgRemovePriceFeeders) Descriptor() ([]byte, []int)
- func (m *MsgRemovePriceFeeders) GetAuthority() string
- func (m *MsgRemovePriceFeeders) GetFeeders() []string
- func (m *MsgRemovePriceFeeders) Marshal() (dAtA []byte, err error)
- func (m *MsgRemovePriceFeeders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemovePriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemovePriceFeeders) ProtoMessage()
- func (m *MsgRemovePriceFeeders) Reset()
- func (m *MsgRemovePriceFeeders) Size() (n int)
- func (m *MsgRemovePriceFeeders) String() string
- func (m *MsgRemovePriceFeeders) Unmarshal(dAtA []byte) error
- func (msg *MsgRemovePriceFeeders) ValidateBasic() error
- func (m *MsgRemovePriceFeeders) XXX_DiscardUnknown()
- func (m *MsgRemovePriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemovePriceFeeders) XXX_Merge(src proto.Message)
- func (m *MsgRemovePriceFeeders) XXX_Size() int
- func (m *MsgRemovePriceFeeders) XXX_Unmarshal(b []byte) error
- type MsgRemovePriceFeedersResponse
- func (*MsgRemovePriceFeedersResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemovePriceFeedersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemovePriceFeedersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemovePriceFeedersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemovePriceFeedersResponse) ProtoMessage()
- func (m *MsgRemovePriceFeedersResponse) Reset()
- func (m *MsgRemovePriceFeedersResponse) Size() (n int)
- func (m *MsgRemovePriceFeedersResponse) String() string
- func (m *MsgRemovePriceFeedersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemovePriceFeedersResponse) XXX_DiscardUnknown()
- func (m *MsgRemovePriceFeedersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemovePriceFeedersResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemovePriceFeedersResponse) XXX_Size() int
- func (m *MsgRemovePriceFeedersResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetPriceFeeder
- func (*MsgSetPriceFeeder) Descriptor() ([]byte, []int)
- func (m *MsgSetPriceFeeder) GetFeeder() string
- func (m *MsgSetPriceFeeder) GetIsActive() bool
- func (m *MsgSetPriceFeeder) Marshal() (dAtA []byte, err error)
- func (m *MsgSetPriceFeeder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetPriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetPriceFeeder) ProtoMessage()
- func (m *MsgSetPriceFeeder) Reset()
- func (m *MsgSetPriceFeeder) Size() (n int)
- func (m *MsgSetPriceFeeder) String() string
- func (m *MsgSetPriceFeeder) Unmarshal(dAtA []byte) error
- func (msg *MsgSetPriceFeeder) ValidateBasic() error
- func (m *MsgSetPriceFeeder) XXX_DiscardUnknown()
- func (m *MsgSetPriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetPriceFeeder) XXX_Merge(src proto.Message)
- func (m *MsgSetPriceFeeder) XXX_Size() int
- func (m *MsgSetPriceFeeder) XXX_Unmarshal(b []byte) error
- type MsgSetPriceFeederResponse
- func (*MsgSetPriceFeederResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetPriceFeederResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetPriceFeederResponse) ProtoMessage()
- func (m *MsgSetPriceFeederResponse) Reset()
- func (m *MsgSetPriceFeederResponse) Size() (n int)
- func (m *MsgSetPriceFeederResponse) String() string
- func (m *MsgSetPriceFeederResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetPriceFeederResponse) XXX_DiscardUnknown()
- func (m *MsgSetPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetPriceFeederResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetPriceFeederResponse) XXX_Size() int
- func (m *MsgSetPriceFeederResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type OracleRequestID
- type OracleScriptID
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAskCount() uint64
- func (m *Params) GetBandChannelSource() string
- func (m *Params) GetBandEpoch() string
- func (m *Params) GetClientID() string
- func (m *Params) GetExecuteGas() uint64
- func (m *Params) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Params) GetLifeTimeInBlocks() uint64
- func (m *Params) GetMinCount() uint64
- func (m *Params) GetMultiplier() uint64
- func (m *Params) GetOracleScriptID() uint64
- func (m *Params) GetPrepareGas() uint64
- func (m *Params) GetPriceExpiryTime() uint64
- 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 (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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
- type PortKeeper
- type Price
- func (*Price) Descriptor() ([]byte, []int)
- func (m *Price) GetAsset() string
- func (m *Price) GetBlockHeight() uint64
- func (m *Price) GetProvider() string
- func (m *Price) GetSource() string
- func (m *Price) GetTimestamp() uint64
- func (m *Price) Marshal() (dAtA []byte, err error)
- func (m *Price) MarshalTo(dAtA []byte) (int, error)
- func (m *Price) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Price) ProtoMessage()
- func (m *Price) Reset()
- func (m *Price) Size() (n int)
- func (m *Price) String() string
- func (m *Price) Unmarshal(dAtA []byte) error
- func (m *Price) XXX_DiscardUnknown()
- func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Price) XXX_Merge(src proto.Message)
- func (m *Price) XXX_Size() int
- func (m *Price) XXX_Unmarshal(b []byte) error
- type PriceFeeder
- func (*PriceFeeder) Descriptor() ([]byte, []int)
- func (m *PriceFeeder) GetFeeder() string
- func (p PriceFeeder) GetFeederAccount() sdk.AccAddress
- func (m *PriceFeeder) GetIsActive() bool
- func (m *PriceFeeder) Marshal() (dAtA []byte, err error)
- func (m *PriceFeeder) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceFeeder) ProtoMessage()
- func (m *PriceFeeder) Reset()
- func (m *PriceFeeder) Size() (n int)
- func (m *PriceFeeder) String() string
- func (m *PriceFeeder) Unmarshal(dAtA []byte) error
- func (m *PriceFeeder) XXX_DiscardUnknown()
- func (m *PriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceFeeder) XXX_Merge(src proto.Message)
- func (m *PriceFeeder) XXX_Size() int
- func (m *PriceFeeder) XXX_Unmarshal(b []byte) error
- type QueryAllAssetInfoRequest
- func (*QueryAllAssetInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllAssetInfoRequest) GetPagination() *query.PageRequest
- func (m *QueryAllAssetInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAssetInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAssetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAssetInfoRequest) ProtoMessage()
- func (m *QueryAllAssetInfoRequest) Reset()
- func (m *QueryAllAssetInfoRequest) Size() (n int)
- func (m *QueryAllAssetInfoRequest) String() string
- func (m *QueryAllAssetInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllAssetInfoRequest) XXX_DiscardUnknown()
- func (m *QueryAllAssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAssetInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllAssetInfoRequest) XXX_Size() int
- func (m *QueryAllAssetInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryAllAssetInfoResponse
- func (*QueryAllAssetInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllAssetInfoResponse) GetAssetInfo() []AssetInfo
- func (m *QueryAllAssetInfoResponse) GetPagination() *query.PageResponse
- func (m *QueryAllAssetInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAssetInfoResponse) ProtoMessage()
- func (m *QueryAllAssetInfoResponse) Reset()
- func (m *QueryAllAssetInfoResponse) Size() (n int)
- func (m *QueryAllAssetInfoResponse) String() string
- func (m *QueryAllAssetInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllAssetInfoResponse) XXX_DiscardUnknown()
- func (m *QueryAllAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAssetInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllAssetInfoResponse) XXX_Size() int
- func (m *QueryAllAssetInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPriceFeederRequest
- func (*QueryAllPriceFeederRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceFeederRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPriceFeederRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceFeederRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceFeederRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceFeederRequest) ProtoMessage()
- func (m *QueryAllPriceFeederRequest) Reset()
- func (m *QueryAllPriceFeederRequest) Size() (n int)
- func (m *QueryAllPriceFeederRequest) String() string
- func (m *QueryAllPriceFeederRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceFeederRequest) XXX_DiscardUnknown()
- func (m *QueryAllPriceFeederRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceFeederRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceFeederRequest) XXX_Size() int
- func (m *QueryAllPriceFeederRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPriceFeederResponse
- func (*QueryAllPriceFeederResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceFeederResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPriceFeederResponse) GetPriceFeeder() []PriceFeeder
- func (m *QueryAllPriceFeederResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceFeederResponse) ProtoMessage()
- func (m *QueryAllPriceFeederResponse) Reset()
- func (m *QueryAllPriceFeederResponse) Size() (n int)
- func (m *QueryAllPriceFeederResponse) String() string
- func (m *QueryAllPriceFeederResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceFeederResponse) XXX_DiscardUnknown()
- func (m *QueryAllPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceFeederResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceFeederResponse) XXX_Size() int
- func (m *QueryAllPriceFeederResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPriceRequest
- func (*QueryAllPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceRequest) ProtoMessage()
- func (m *QueryAllPriceRequest) Reset()
- func (m *QueryAllPriceRequest) Size() (n int)
- func (m *QueryAllPriceRequest) String() string
- func (m *QueryAllPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceRequest) XXX_DiscardUnknown()
- func (m *QueryAllPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceRequest) XXX_Size() int
- func (m *QueryAllPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPriceResponse
- func (*QueryAllPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPriceResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPriceResponse) GetPrice() []Price
- func (m *QueryAllPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPriceResponse) ProtoMessage()
- func (m *QueryAllPriceResponse) Reset()
- func (m *QueryAllPriceResponse) Size() (n int)
- func (m *QueryAllPriceResponse) String() string
- func (m *QueryAllPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPriceResponse) XXX_DiscardUnknown()
- func (m *QueryAllPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPriceResponse) XXX_Size() int
- func (m *QueryAllPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryBandPriceRequest
- func (*QueryBandPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBandPriceRequest) GetRequestId() int64
- func (m *QueryBandPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBandPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandPriceRequest) ProtoMessage()
- func (m *QueryBandPriceRequest) Reset()
- func (m *QueryBandPriceRequest) Size() (n int)
- func (m *QueryBandPriceRequest) String() string
- func (m *QueryBandPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBandPriceRequest) XXX_DiscardUnknown()
- func (m *QueryBandPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBandPriceRequest) XXX_Size() int
- func (m *QueryBandPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryBandPriceResponse
- func (*QueryBandPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBandPriceResponse) GetResult() *BandPriceResult
- func (m *QueryBandPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBandPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandPriceResponse) ProtoMessage()
- func (m *QueryBandPriceResponse) Reset()
- func (m *QueryBandPriceResponse) Size() (n int)
- func (m *QueryBandPriceResponse) String() string
- func (m *QueryBandPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBandPriceResponse) XXX_DiscardUnknown()
- func (m *QueryBandPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBandPriceResponse) XXX_Size() int
- func (m *QueryBandPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetAssetInfoRequest
- func (*QueryGetAssetInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAssetInfoRequest) GetDenom() string
- func (m *QueryGetAssetInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAssetInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAssetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAssetInfoRequest) ProtoMessage()
- func (m *QueryGetAssetInfoRequest) Reset()
- func (m *QueryGetAssetInfoRequest) Size() (n int)
- func (m *QueryGetAssetInfoRequest) String() string
- func (m *QueryGetAssetInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAssetInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGetAssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAssetInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAssetInfoRequest) XXX_Size() int
- func (m *QueryGetAssetInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAssetInfoResponse
- func (*QueryGetAssetInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAssetInfoResponse) GetAssetInfo() AssetInfo
- func (m *QueryGetAssetInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAssetInfoResponse) ProtoMessage()
- func (m *QueryGetAssetInfoResponse) Reset()
- func (m *QueryGetAssetInfoResponse) Size() (n int)
- func (m *QueryGetAssetInfoResponse) String() string
- func (m *QueryGetAssetInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAssetInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGetAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAssetInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAssetInfoResponse) XXX_Size() int
- func (m *QueryGetAssetInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPriceFeederRequest
- func (*QueryGetPriceFeederRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceFeederRequest) GetFeeder() string
- func (m *QueryGetPriceFeederRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceFeederRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceFeederRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceFeederRequest) ProtoMessage()
- func (m *QueryGetPriceFeederRequest) Reset()
- func (m *QueryGetPriceFeederRequest) Size() (n int)
- func (m *QueryGetPriceFeederRequest) String() string
- func (m *QueryGetPriceFeederRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceFeederRequest) XXX_DiscardUnknown()
- func (m *QueryGetPriceFeederRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceFeederRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceFeederRequest) XXX_Size() int
- func (m *QueryGetPriceFeederRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPriceFeederResponse
- func (*QueryGetPriceFeederResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceFeederResponse) GetPriceFeeder() PriceFeeder
- func (m *QueryGetPriceFeederResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceFeederResponse) ProtoMessage()
- func (m *QueryGetPriceFeederResponse) Reset()
- func (m *QueryGetPriceFeederResponse) Size() (n int)
- func (m *QueryGetPriceFeederResponse) String() string
- func (m *QueryGetPriceFeederResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceFeederResponse) XXX_DiscardUnknown()
- func (m *QueryGetPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceFeederResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceFeederResponse) XXX_Size() int
- func (m *QueryGetPriceFeederResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPriceRequest
- func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceRequest) GetAsset() string
- func (m *QueryGetPriceRequest) GetSource() string
- func (m *QueryGetPriceRequest) GetTimestamp() uint64
- func (m *QueryGetPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceRequest) ProtoMessage()
- func (m *QueryGetPriceRequest) Reset()
- func (m *QueryGetPriceRequest) Size() (n int)
- func (m *QueryGetPriceRequest) String() string
- func (m *QueryGetPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceRequest) XXX_Size() int
- func (m *QueryGetPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPriceResponse
- func (*QueryGetPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceResponse) GetPrice() Price
- func (m *QueryGetPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceResponse) ProtoMessage()
- func (m *QueryGetPriceResponse) Reset()
- func (m *QueryGetPriceResponse) Size() (n int)
- func (m *QueryGetPriceResponse) String() string
- func (m *QueryGetPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceResponse) XXX_Size() int
- func (m *QueryGetPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryLastBandRequestIdRequest
- func (*QueryLastBandRequestIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryLastBandRequestIdRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLastBandRequestIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastBandRequestIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastBandRequestIdRequest) ProtoMessage()
- func (m *QueryLastBandRequestIdRequest) Reset()
- func (m *QueryLastBandRequestIdRequest) Size() (n int)
- func (m *QueryLastBandRequestIdRequest) String() string
- func (m *QueryLastBandRequestIdRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLastBandRequestIdRequest) XXX_DiscardUnknown()
- func (m *QueryLastBandRequestIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastBandRequestIdRequest) XXX_Merge(src proto.Message)
- func (m *QueryLastBandRequestIdRequest) XXX_Size() int
- func (m *QueryLastBandRequestIdRequest) XXX_Unmarshal(b []byte) error
- type QueryLastBandRequestIdResponse
- func (*QueryLastBandRequestIdResponse) Descriptor() ([]byte, []int)
- func (m *QueryLastBandRequestIdResponse) GetRequestId() int64
- func (m *QueryLastBandRequestIdResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLastBandRequestIdResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastBandRequestIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastBandRequestIdResponse) ProtoMessage()
- func (m *QueryLastBandRequestIdResponse) Reset()
- func (m *QueryLastBandRequestIdResponse) Size() (n int)
- func (m *QueryLastBandRequestIdResponse) String() string
- func (m *QueryLastBandRequestIdResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLastBandRequestIdResponse) XXX_DiscardUnknown()
- func (m *QueryLastBandRequestIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastBandRequestIdResponse) XXX_Merge(src proto.Message)
- func (m *QueryLastBandRequestIdResponse) XXX_Size() int
- func (m *QueryLastBandRequestIdResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- 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 (*QueryParamsRequest) ProtoMessage()
- 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
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- 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 (*QueryParamsResponse) ProtoMessage()
- 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
- type QueryServer
- type ScopedKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddPriceFeeders(ctx context.Context, req *MsgAddPriceFeeders) (*MsgAddPriceFeedersResponse, error)
- func (*UnimplementedMsgServer) CreateAssetInfo(ctx context.Context, req *MsgCreateAssetInfo) (*MsgCreateAssetInfoResponse, error)
- func (*UnimplementedMsgServer) DeletePriceFeeder(ctx context.Context, req *MsgDeletePriceFeeder) (*MsgDeletePriceFeederResponse, error)
- func (*UnimplementedMsgServer) FeedMultiplePrices(ctx context.Context, req *MsgFeedMultiplePrices) (*MsgFeedMultiplePricesResponse, error)
- func (*UnimplementedMsgServer) FeedPrice(ctx context.Context, req *MsgFeedPrice) (*MsgFeedPriceResponse, error)
- func (*UnimplementedMsgServer) RemoveAssetInfo(ctx context.Context, req *MsgRemoveAssetInfo) (*MsgRemoveAssetInfoResponse, error)
- func (*UnimplementedMsgServer) RemovePriceFeeders(ctx context.Context, req *MsgRemovePriceFeeders) (*MsgRemovePriceFeedersResponse, error)
- func (*UnimplementedMsgServer) SetPriceFeeder(ctx context.Context, req *MsgSetPriceFeeder) (*MsgSetPriceFeederResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AssetInfo(ctx context.Context, req *QueryGetAssetInfoRequest) (*QueryGetAssetInfoResponse, error)
- func (*UnimplementedQueryServer) AssetInfoAll(ctx context.Context, req *QueryAllAssetInfoRequest) (*QueryAllAssetInfoResponse, error)
- func (*UnimplementedQueryServer) BandPriceResult(ctx context.Context, req *QueryBandPriceRequest) (*QueryBandPriceResponse, error)
- func (*UnimplementedQueryServer) LastBandRequestId(ctx context.Context, req *QueryLastBandRequestIdRequest) (*QueryLastBandRequestIdResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Price(ctx context.Context, req *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
- func (*UnimplementedQueryServer) PriceAll(ctx context.Context, req *QueryAllPriceRequest) (*QueryAllPriceResponse, error)
- func (*UnimplementedQueryServer) PriceFeeder(ctx context.Context, req *QueryGetPriceFeederRequest) (*QueryGetPriceFeederResponse, error)
- func (*UnimplementedQueryServer) PriceFeederAll(ctx context.Context, req *QueryAllPriceFeederRequest) (*QueryAllPriceFeederResponse, error)
Constants ¶
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" )
IBC events
const ( // ModuleName defines the module name ModuleName = "oracle" // StoreKey defines the primary module store key StoreKey = ModuleName // Version defines the current version the IBC module supports Version = "bandchain-1" // PortID is the default port id that module binds to PortID = "oracle" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
TypeMsgFeedPrice = "feed_price"
)
Variables ¶
var ( BAND = "band" ELYS = "elys" )
var ( ErrInvalidLengthAssetInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAssetInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAssetInfo = fmt.Errorf("proto: unexpected end of group") )
var ( // BandPriceResultStoreKeyPrefix is a prefix for storing result BandPriceResultStoreKeyPrefix = "band_price_result" // LastBandRequestIdKey is the key for the last request id LastBandRequestIdKey = "last_band_request_id" // BandPriceClientIDKey is query request identifier BandPriceClientIDKey = "band_price_id" // PrefixKeyBandRequest is the prefix for band requests PrefixKeyBandRequest = "band_request_" )
var ( ErrInvalidLengthBandPrice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBandPrice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBandPrice = fmt.Errorf("proto: unexpected end of group") )
var ( ErrNotAvailable = errorsmod.Register(ModuleName, 1500, "sample error") ErrInvalidPacketTimeout = errorsmod.Register(ModuleName, 1501, "invalid packet timeout") ErrInvalidVersion = errorsmod.Register(ModuleName, 1502, "invalid version") ErrNotAPriceFeeder = errorsmod.Register(ModuleName, 1503, "not a price feeder") ErrPriceFeederNotActive = errorsmod.Register(ModuleName, 1504, "price feeder is not active") ErrNotModuleAdmin = errorsmod.Register(ModuleName, 1505, "not a module admin") ErrAssetWasCreated = errorsmod.Register(ModuleName, 1506, "asset already exists") ErrInvalidPrice = errorsmod.Register(ModuleName, 1507, "error invalid price") )
x/oracle module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ParamKeyPrefix = []byte{0x01} PriceFeederPrefixKey = []byte{0x02} // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("oracle-port-") // AssetInfoKeyPrefix is the prefix to retrieve all AssetInfo AssetInfoKeyPrefix = "AssetInfo/value/" // PriceKeyPrefix is the prefix to retrieve all Price PriceKeyPrefix = "Price/value/" LegacyPriceFeederKeyPrefix = "PriceFeeder/value/" )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrice = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPriceFeeder = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPriceFeeder = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPriceFeeder = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
Functions ¶
func AssetInfoKey ¶
AssetInfoKey returns the store key to retrieve a AssetInfo from the index fields
func BandPriceResultStoreKey ¶
func BandPriceResultStoreKey(requestID OracleRequestID) []byte
BandPriceResultStoreKey is a function to generate key for each result in store
func BandRequestStoreKey ¶
func BandRequestStoreKey(requestID OracleRequestID) []byte
func GetPriceFeederKey ¶ added in v0.45.0
func GetPriceFeederKey(feeder sdk.AccAddress) []byte
func LegacyPriceFeederKey ¶ added in v0.45.0
func PriceKeyPrefixAsset ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.50.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
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"` }
func (*AssetInfo) Descriptor ¶
func (*AssetInfo) GetBandTicker ¶
func (*AssetInfo) GetDecimal ¶
func (*AssetInfo) GetDisplay ¶
func (*AssetInfo) GetElysTicker ¶
func (*AssetInfo) MarshalToSizedBuffer ¶
func (*AssetInfo) ProtoMessage ¶
func (*AssetInfo) ProtoMessage()
func (*AssetInfo) XXX_DiscardUnknown ¶
func (m *AssetInfo) XXX_DiscardUnknown()
func (*AssetInfo) XXX_Marshal ¶
func (*AssetInfo) XXX_Unmarshal ¶
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"` }
func (*BandPriceCallData) Descriptor ¶
func (*BandPriceCallData) Descriptor() ([]byte, []int)
func (*BandPriceCallData) GetMultiplier ¶
func (m *BandPriceCallData) GetMultiplier() uint64
func (*BandPriceCallData) GetSymbols ¶
func (m *BandPriceCallData) GetSymbols() []string
func (*BandPriceCallData) Marshal ¶
func (m *BandPriceCallData) Marshal() (dAtA []byte, err error)
func (*BandPriceCallData) MarshalTo ¶
func (m *BandPriceCallData) MarshalTo(dAtA []byte) (int, error)
func (*BandPriceCallData) MarshalToSizedBuffer ¶
func (m *BandPriceCallData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BandPriceCallData) ProtoMessage ¶
func (*BandPriceCallData) ProtoMessage()
func (*BandPriceCallData) Reset ¶
func (m *BandPriceCallData) Reset()
func (*BandPriceCallData) Size ¶
func (m *BandPriceCallData) Size() (n int)
func (*BandPriceCallData) String ¶
func (m *BandPriceCallData) String() string
func (*BandPriceCallData) Unmarshal ¶
func (m *BandPriceCallData) Unmarshal(dAtA []byte) error
func (*BandPriceCallData) XXX_DiscardUnknown ¶
func (m *BandPriceCallData) XXX_DiscardUnknown()
func (*BandPriceCallData) XXX_Marshal ¶
func (m *BandPriceCallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BandPriceCallData) XXX_Merge ¶
func (m *BandPriceCallData) XXX_Merge(src proto.Message)
func (*BandPriceCallData) XXX_Size ¶
func (m *BandPriceCallData) XXX_Size() int
func (*BandPriceCallData) XXX_Unmarshal ¶
func (m *BandPriceCallData) XXX_Unmarshal(b []byte) error
type BandPriceResult ¶
type BandPriceResult struct {
Rates []uint64 `protobuf:"varint,1,rep,packed,name=rates,proto3" json:"rates,omitempty"`
}
func (*BandPriceResult) Descriptor ¶
func (*BandPriceResult) Descriptor() ([]byte, []int)
func (*BandPriceResult) GetRates ¶
func (m *BandPriceResult) GetRates() []uint64
func (*BandPriceResult) Marshal ¶
func (m *BandPriceResult) Marshal() (dAtA []byte, err error)
func (*BandPriceResult) MarshalToSizedBuffer ¶
func (m *BandPriceResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BandPriceResult) ProtoMessage ¶
func (*BandPriceResult) ProtoMessage()
func (*BandPriceResult) Reset ¶
func (m *BandPriceResult) Reset()
func (*BandPriceResult) Size ¶
func (m *BandPriceResult) Size() (n int)
func (*BandPriceResult) String ¶
func (m *BandPriceResult) String() string
func (*BandPriceResult) Unmarshal ¶
func (m *BandPriceResult) Unmarshal(dAtA []byte) error
func (*BandPriceResult) XXX_DiscardUnknown ¶
func (m *BandPriceResult) XXX_DiscardUnknown()
func (*BandPriceResult) XXX_Marshal ¶
func (m *BandPriceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BandPriceResult) XXX_Merge ¶
func (m *BandPriceResult) XXX_Merge(src proto.Message)
func (*BandPriceResult) XXX_Size ¶
func (m *BandPriceResult) XXX_Size() int
func (*BandPriceResult) XXX_Unmarshal ¶
func (m *BandPriceResult) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type ChannelKeeper ¶
type ChannelKeeper interface { GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool) SendPacket( ctx sdk.Context, channelCap *capabilitytypes.Capability, sourcePort string, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, data []byte, ) (uint64, error) ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error }
ChannelKeeper defines the expected IBC channel keeper.
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` 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"` Prices []Price `protobuf:"bytes,4,rep,name=prices,proto3" json:"prices"` PriceFeeders []PriceFeeder `protobuf:"bytes,5,rep,name=price_feeders,json=priceFeeders,proto3" json:"price_feeders"` }
GenesisState defines the oracle module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAssetInfos ¶
func (m *GenesisState) GetAssetInfos() []AssetInfo
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPortId ¶
func (m *GenesisState) GetPortId() string
func (*GenesisState) GetPriceFeeders ¶
func (m *GenesisState) GetPriceFeeders() []PriceFeeder
func (*GenesisState) GetPrices ¶
func (m *GenesisState) GetPrices() []Price
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type LegacyPrice ¶ added in v0.29.19
type LegacyPrice struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` 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"` }
func (*LegacyPrice) Descriptor ¶ added in v0.29.19
func (*LegacyPrice) Descriptor() ([]byte, []int)
func (*LegacyPrice) GetAsset ¶ added in v0.29.19
func (m *LegacyPrice) GetAsset() string
func (*LegacyPrice) GetProvider ¶ added in v0.29.19
func (m *LegacyPrice) GetProvider() string
func (*LegacyPrice) GetSource ¶ added in v0.29.19
func (m *LegacyPrice) GetSource() string
func (*LegacyPrice) GetTimestamp ¶ added in v0.29.19
func (m *LegacyPrice) GetTimestamp() uint64
func (*LegacyPrice) Marshal ¶ added in v0.29.19
func (m *LegacyPrice) Marshal() (dAtA []byte, err error)
func (*LegacyPrice) MarshalTo ¶ added in v0.29.19
func (m *LegacyPrice) MarshalTo(dAtA []byte) (int, error)
func (*LegacyPrice) MarshalToSizedBuffer ¶ added in v0.29.19
func (m *LegacyPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyPrice) ProtoMessage ¶ added in v0.29.19
func (*LegacyPrice) ProtoMessage()
func (*LegacyPrice) Reset ¶ added in v0.29.19
func (m *LegacyPrice) Reset()
func (*LegacyPrice) Size ¶ added in v0.29.19
func (m *LegacyPrice) Size() (n int)
func (*LegacyPrice) String ¶ added in v0.29.19
func (m *LegacyPrice) String() string
func (*LegacyPrice) Unmarshal ¶ added in v0.29.19
func (m *LegacyPrice) Unmarshal(dAtA []byte) error
func (*LegacyPrice) XXX_DiscardUnknown ¶ added in v0.29.19
func (m *LegacyPrice) XXX_DiscardUnknown()
func (*LegacyPrice) XXX_Marshal ¶ added in v0.29.19
func (m *LegacyPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyPrice) XXX_Merge ¶ added in v0.29.19
func (m *LegacyPrice) XXX_Merge(src proto.Message)
func (*LegacyPrice) XXX_Size ¶ added in v0.29.19
func (m *LegacyPrice) XXX_Size() int
func (*LegacyPrice) XXX_Unmarshal ¶ added in v0.29.19
func (m *LegacyPrice) XXX_Unmarshal(b []byte) error
type MsgAddPriceFeeders ¶ added in v0.29.21
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"` }
func NewMsgAddPriceFeeders ¶ added in v0.29.21
func NewMsgAddPriceFeeders( authority string, feeders []string, ) *MsgAddPriceFeeders
NewMsgAddPriceFeeders creates a new MsgAddPriceFeeders instance
func (*MsgAddPriceFeeders) Descriptor ¶ added in v0.29.21
func (*MsgAddPriceFeeders) Descriptor() ([]byte, []int)
func (*MsgAddPriceFeeders) GetAuthority ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) GetAuthority() string
func (*MsgAddPriceFeeders) GetFeeders ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) GetFeeders() []string
func (*MsgAddPriceFeeders) Marshal ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) Marshal() (dAtA []byte, err error)
func (*MsgAddPriceFeeders) MarshalTo ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddPriceFeeders) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddPriceFeeders) ProtoMessage ¶ added in v0.29.21
func (*MsgAddPriceFeeders) ProtoMessage()
func (*MsgAddPriceFeeders) Reset ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) Reset()
func (*MsgAddPriceFeeders) Size ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) Size() (n int)
func (*MsgAddPriceFeeders) String ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) String() string
func (*MsgAddPriceFeeders) Unmarshal ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) Unmarshal(dAtA []byte) error
func (*MsgAddPriceFeeders) ValidateBasic ¶ added in v0.29.21
func (msg *MsgAddPriceFeeders) ValidateBasic() error
func (*MsgAddPriceFeeders) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) XXX_DiscardUnknown()
func (*MsgAddPriceFeeders) XXX_Marshal ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddPriceFeeders) XXX_Merge ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) XXX_Merge(src proto.Message)
func (*MsgAddPriceFeeders) XXX_Size ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) XXX_Size() int
func (*MsgAddPriceFeeders) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgAddPriceFeeders) XXX_Unmarshal(b []byte) error
type MsgAddPriceFeedersResponse ¶ added in v0.29.21
type MsgAddPriceFeedersResponse struct { }
func (*MsgAddPriceFeedersResponse) Descriptor ¶ added in v0.29.21
func (*MsgAddPriceFeedersResponse) Descriptor() ([]byte, []int)
func (*MsgAddPriceFeedersResponse) Marshal ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddPriceFeedersResponse) MarshalTo ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddPriceFeedersResponse) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddPriceFeedersResponse) ProtoMessage ¶ added in v0.29.21
func (*MsgAddPriceFeedersResponse) ProtoMessage()
func (*MsgAddPriceFeedersResponse) Reset ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) Reset()
func (*MsgAddPriceFeedersResponse) Size ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) Size() (n int)
func (*MsgAddPriceFeedersResponse) String ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) String() string
func (*MsgAddPriceFeedersResponse) Unmarshal ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) Unmarshal(dAtA []byte) error
func (*MsgAddPriceFeedersResponse) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) XXX_DiscardUnknown()
func (*MsgAddPriceFeedersResponse) XXX_Marshal ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddPriceFeedersResponse) XXX_Merge ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) XXX_Merge(src proto.Message)
func (*MsgAddPriceFeedersResponse) XXX_Size ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) XXX_Size() int
func (*MsgAddPriceFeedersResponse) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgAddPriceFeedersResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateAssetInfo ¶ added in v0.41.0
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"` }
this line is used by starport scaffolding # proto/tx/message
func NewMsgCreateAssetInfo ¶ added in v0.41.0
func (*MsgCreateAssetInfo) Descriptor ¶ added in v0.41.0
func (*MsgCreateAssetInfo) Descriptor() ([]byte, []int)
func (*MsgCreateAssetInfo) GetBandTicker ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) GetBandTicker() string
func (*MsgCreateAssetInfo) GetCreator ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) GetCreator() string
func (*MsgCreateAssetInfo) GetDecimal ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) GetDecimal() uint64
func (*MsgCreateAssetInfo) GetDenom ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) GetDenom() string
func (*MsgCreateAssetInfo) GetDisplay ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) GetDisplay() string
func (*MsgCreateAssetInfo) GetElysTicker ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) GetElysTicker() string
func (*MsgCreateAssetInfo) Marshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) Marshal() (dAtA []byte, err error)
func (*MsgCreateAssetInfo) MarshalTo ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAssetInfo) MarshalToSizedBuffer ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAssetInfo) ProtoMessage ¶ added in v0.41.0
func (*MsgCreateAssetInfo) ProtoMessage()
func (*MsgCreateAssetInfo) Reset ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) Reset()
func (*MsgCreateAssetInfo) Size ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) Size() (n int)
func (*MsgCreateAssetInfo) String ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) String() string
func (*MsgCreateAssetInfo) Unmarshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) Unmarshal(dAtA []byte) error
func (*MsgCreateAssetInfo) ValidateBasic ¶ added in v0.41.0
func (msg *MsgCreateAssetInfo) ValidateBasic() error
func (*MsgCreateAssetInfo) XXX_DiscardUnknown ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) XXX_DiscardUnknown()
func (*MsgCreateAssetInfo) XXX_Marshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAssetInfo) XXX_Merge ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) XXX_Merge(src proto.Message)
func (*MsgCreateAssetInfo) XXX_Size ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) XXX_Size() int
func (*MsgCreateAssetInfo) XXX_Unmarshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfo) XXX_Unmarshal(b []byte) error
type MsgCreateAssetInfoResponse ¶ added in v0.41.0
type MsgCreateAssetInfoResponse struct { }
func (*MsgCreateAssetInfoResponse) Descriptor ¶ added in v0.41.0
func (*MsgCreateAssetInfoResponse) Descriptor() ([]byte, []int)
func (*MsgCreateAssetInfoResponse) Marshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateAssetInfoResponse) MarshalTo ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAssetInfoResponse) MarshalToSizedBuffer ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAssetInfoResponse) ProtoMessage ¶ added in v0.41.0
func (*MsgCreateAssetInfoResponse) ProtoMessage()
func (*MsgCreateAssetInfoResponse) Reset ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) Reset()
func (*MsgCreateAssetInfoResponse) Size ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) Size() (n int)
func (*MsgCreateAssetInfoResponse) String ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) String() string
func (*MsgCreateAssetInfoResponse) Unmarshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateAssetInfoResponse) XXX_DiscardUnknown ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) XXX_DiscardUnknown()
func (*MsgCreateAssetInfoResponse) XXX_Marshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAssetInfoResponse) XXX_Merge ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) XXX_Merge(src proto.Message)
func (*MsgCreateAssetInfoResponse) XXX_Size ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) XXX_Size() int
func (*MsgCreateAssetInfoResponse) XXX_Unmarshal ¶ added in v0.41.0
func (m *MsgCreateAssetInfoResponse) XXX_Unmarshal(b []byte) error
type MsgDeletePriceFeeder ¶
type MsgDeletePriceFeeder struct {
Feeder string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
}
func NewMsgDeletePriceFeeder ¶
func NewMsgDeletePriceFeeder( feeder string, ) *MsgDeletePriceFeeder
func (*MsgDeletePriceFeeder) Descriptor ¶
func (*MsgDeletePriceFeeder) Descriptor() ([]byte, []int)
func (*MsgDeletePriceFeeder) GetFeeder ¶
func (m *MsgDeletePriceFeeder) GetFeeder() string
func (*MsgDeletePriceFeeder) Marshal ¶
func (m *MsgDeletePriceFeeder) Marshal() (dAtA []byte, err error)
func (*MsgDeletePriceFeeder) MarshalTo ¶
func (m *MsgDeletePriceFeeder) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeletePriceFeeder) MarshalToSizedBuffer ¶
func (m *MsgDeletePriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeletePriceFeeder) ProtoMessage ¶
func (*MsgDeletePriceFeeder) ProtoMessage()
func (*MsgDeletePriceFeeder) Reset ¶
func (m *MsgDeletePriceFeeder) Reset()
func (*MsgDeletePriceFeeder) Size ¶
func (m *MsgDeletePriceFeeder) Size() (n int)
func (*MsgDeletePriceFeeder) String ¶
func (m *MsgDeletePriceFeeder) String() string
func (*MsgDeletePriceFeeder) Unmarshal ¶
func (m *MsgDeletePriceFeeder) Unmarshal(dAtA []byte) error
func (*MsgDeletePriceFeeder) ValidateBasic ¶
func (msg *MsgDeletePriceFeeder) ValidateBasic() error
func (*MsgDeletePriceFeeder) XXX_DiscardUnknown ¶
func (m *MsgDeletePriceFeeder) XXX_DiscardUnknown()
func (*MsgDeletePriceFeeder) XXX_Marshal ¶
func (m *MsgDeletePriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeletePriceFeeder) XXX_Merge ¶
func (m *MsgDeletePriceFeeder) XXX_Merge(src proto.Message)
func (*MsgDeletePriceFeeder) XXX_Size ¶
func (m *MsgDeletePriceFeeder) XXX_Size() int
func (*MsgDeletePriceFeeder) XXX_Unmarshal ¶
func (m *MsgDeletePriceFeeder) XXX_Unmarshal(b []byte) error
type MsgDeletePriceFeederResponse ¶
type MsgDeletePriceFeederResponse struct { }
func (*MsgDeletePriceFeederResponse) Descriptor ¶
func (*MsgDeletePriceFeederResponse) Descriptor() ([]byte, []int)
func (*MsgDeletePriceFeederResponse) Marshal ¶
func (m *MsgDeletePriceFeederResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeletePriceFeederResponse) MarshalTo ¶
func (m *MsgDeletePriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeletePriceFeederResponse) MarshalToSizedBuffer ¶
func (m *MsgDeletePriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeletePriceFeederResponse) ProtoMessage ¶
func (*MsgDeletePriceFeederResponse) ProtoMessage()
func (*MsgDeletePriceFeederResponse) Reset ¶
func (m *MsgDeletePriceFeederResponse) Reset()
func (*MsgDeletePriceFeederResponse) Size ¶
func (m *MsgDeletePriceFeederResponse) Size() (n int)
func (*MsgDeletePriceFeederResponse) String ¶
func (m *MsgDeletePriceFeederResponse) String() string
func (*MsgDeletePriceFeederResponse) Unmarshal ¶
func (m *MsgDeletePriceFeederResponse) Unmarshal(dAtA []byte) error
func (*MsgDeletePriceFeederResponse) XXX_DiscardUnknown ¶
func (m *MsgDeletePriceFeederResponse) XXX_DiscardUnknown()
func (*MsgDeletePriceFeederResponse) XXX_Marshal ¶
func (m *MsgDeletePriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeletePriceFeederResponse) XXX_Merge ¶
func (m *MsgDeletePriceFeederResponse) XXX_Merge(src proto.Message)
func (*MsgDeletePriceFeederResponse) XXX_Size ¶
func (m *MsgDeletePriceFeederResponse) XXX_Size() int
func (*MsgDeletePriceFeederResponse) XXX_Unmarshal ¶
func (m *MsgDeletePriceFeederResponse) XXX_Unmarshal(b []byte) error
type MsgFeedMultiplePrices ¶
type MsgFeedMultiplePrices struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Prices []Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices"` }
func NewMsgFeedMultiplePrices ¶
func NewMsgFeedMultiplePrices(creator string) *MsgFeedMultiplePrices
func (*MsgFeedMultiplePrices) Descriptor ¶
func (*MsgFeedMultiplePrices) Descriptor() ([]byte, []int)
func (*MsgFeedMultiplePrices) GetCreator ¶
func (m *MsgFeedMultiplePrices) GetCreator() string
func (*MsgFeedMultiplePrices) GetPrices ¶
func (m *MsgFeedMultiplePrices) GetPrices() []Price
func (*MsgFeedMultiplePrices) Marshal ¶
func (m *MsgFeedMultiplePrices) Marshal() (dAtA []byte, err error)
func (*MsgFeedMultiplePrices) MarshalTo ¶
func (m *MsgFeedMultiplePrices) MarshalTo(dAtA []byte) (int, error)
func (*MsgFeedMultiplePrices) MarshalToSizedBuffer ¶
func (m *MsgFeedMultiplePrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFeedMultiplePrices) ProtoMessage ¶
func (*MsgFeedMultiplePrices) ProtoMessage()
func (*MsgFeedMultiplePrices) Reset ¶
func (m *MsgFeedMultiplePrices) Reset()
func (*MsgFeedMultiplePrices) Size ¶
func (m *MsgFeedMultiplePrices) Size() (n int)
func (*MsgFeedMultiplePrices) String ¶
func (m *MsgFeedMultiplePrices) String() string
func (*MsgFeedMultiplePrices) Unmarshal ¶
func (m *MsgFeedMultiplePrices) Unmarshal(dAtA []byte) error
func (*MsgFeedMultiplePrices) ValidateBasic ¶
func (msg *MsgFeedMultiplePrices) ValidateBasic() error
func (*MsgFeedMultiplePrices) XXX_DiscardUnknown ¶
func (m *MsgFeedMultiplePrices) XXX_DiscardUnknown()
func (*MsgFeedMultiplePrices) XXX_Marshal ¶
func (m *MsgFeedMultiplePrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFeedMultiplePrices) XXX_Merge ¶
func (m *MsgFeedMultiplePrices) XXX_Merge(src proto.Message)
func (*MsgFeedMultiplePrices) XXX_Size ¶
func (m *MsgFeedMultiplePrices) XXX_Size() int
func (*MsgFeedMultiplePrices) XXX_Unmarshal ¶
func (m *MsgFeedMultiplePrices) XXX_Unmarshal(b []byte) error
type MsgFeedMultiplePricesResponse ¶
type MsgFeedMultiplePricesResponse struct { }
func (*MsgFeedMultiplePricesResponse) Descriptor ¶
func (*MsgFeedMultiplePricesResponse) Descriptor() ([]byte, []int)
func (*MsgFeedMultiplePricesResponse) Marshal ¶
func (m *MsgFeedMultiplePricesResponse) Marshal() (dAtA []byte, err error)
func (*MsgFeedMultiplePricesResponse) MarshalTo ¶
func (m *MsgFeedMultiplePricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFeedMultiplePricesResponse) MarshalToSizedBuffer ¶
func (m *MsgFeedMultiplePricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFeedMultiplePricesResponse) ProtoMessage ¶
func (*MsgFeedMultiplePricesResponse) ProtoMessage()
func (*MsgFeedMultiplePricesResponse) Reset ¶
func (m *MsgFeedMultiplePricesResponse) Reset()
func (*MsgFeedMultiplePricesResponse) Size ¶
func (m *MsgFeedMultiplePricesResponse) Size() (n int)
func (*MsgFeedMultiplePricesResponse) String ¶
func (m *MsgFeedMultiplePricesResponse) String() string
func (*MsgFeedMultiplePricesResponse) Unmarshal ¶
func (m *MsgFeedMultiplePricesResponse) Unmarshal(dAtA []byte) error
func (*MsgFeedMultiplePricesResponse) XXX_DiscardUnknown ¶
func (m *MsgFeedMultiplePricesResponse) XXX_DiscardUnknown()
func (*MsgFeedMultiplePricesResponse) XXX_Marshal ¶
func (m *MsgFeedMultiplePricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFeedMultiplePricesResponse) XXX_Merge ¶
func (m *MsgFeedMultiplePricesResponse) XXX_Merge(src proto.Message)
func (*MsgFeedMultiplePricesResponse) XXX_Size ¶
func (m *MsgFeedMultiplePricesResponse) XXX_Size() int
func (*MsgFeedMultiplePricesResponse) XXX_Unmarshal ¶
func (m *MsgFeedMultiplePricesResponse) XXX_Unmarshal(b []byte) error
type MsgFeedPrice ¶
type MsgFeedPrice struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` }
func NewMsgFeedPrice ¶
func (*MsgFeedPrice) Descriptor ¶
func (*MsgFeedPrice) Descriptor() ([]byte, []int)
func (*MsgFeedPrice) GetAsset ¶
func (m *MsgFeedPrice) GetAsset() string
func (*MsgFeedPrice) GetProvider ¶
func (m *MsgFeedPrice) GetProvider() string
func (*MsgFeedPrice) GetSource ¶
func (m *MsgFeedPrice) GetSource() string
func (*MsgFeedPrice) Marshal ¶
func (m *MsgFeedPrice) Marshal() (dAtA []byte, err error)
func (*MsgFeedPrice) MarshalToSizedBuffer ¶
func (m *MsgFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFeedPrice) ProtoMessage ¶
func (*MsgFeedPrice) ProtoMessage()
func (*MsgFeedPrice) Reset ¶
func (m *MsgFeedPrice) Reset()
func (*MsgFeedPrice) Size ¶
func (m *MsgFeedPrice) Size() (n int)
func (*MsgFeedPrice) String ¶
func (m *MsgFeedPrice) String() string
func (*MsgFeedPrice) Unmarshal ¶
func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error
func (*MsgFeedPrice) ValidateBasic ¶
func (msg *MsgFeedPrice) ValidateBasic() error
func (*MsgFeedPrice) XXX_DiscardUnknown ¶
func (m *MsgFeedPrice) XXX_DiscardUnknown()
func (*MsgFeedPrice) XXX_Marshal ¶
func (m *MsgFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFeedPrice) XXX_Merge ¶
func (m *MsgFeedPrice) XXX_Merge(src proto.Message)
func (*MsgFeedPrice) XXX_Size ¶
func (m *MsgFeedPrice) XXX_Size() int
func (*MsgFeedPrice) XXX_Unmarshal ¶
func (m *MsgFeedPrice) XXX_Unmarshal(b []byte) error
type MsgFeedPriceResponse ¶
type MsgFeedPriceResponse struct { }
func (*MsgFeedPriceResponse) Descriptor ¶
func (*MsgFeedPriceResponse) Descriptor() ([]byte, []int)
func (*MsgFeedPriceResponse) Marshal ¶
func (m *MsgFeedPriceResponse) Marshal() (dAtA []byte, err error)
func (*MsgFeedPriceResponse) MarshalTo ¶
func (m *MsgFeedPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFeedPriceResponse) MarshalToSizedBuffer ¶
func (m *MsgFeedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFeedPriceResponse) ProtoMessage ¶
func (*MsgFeedPriceResponse) ProtoMessage()
func (*MsgFeedPriceResponse) Reset ¶
func (m *MsgFeedPriceResponse) Reset()
func (*MsgFeedPriceResponse) Size ¶
func (m *MsgFeedPriceResponse) Size() (n int)
func (*MsgFeedPriceResponse) String ¶
func (m *MsgFeedPriceResponse) String() string
func (*MsgFeedPriceResponse) Unmarshal ¶
func (m *MsgFeedPriceResponse) Unmarshal(dAtA []byte) error
func (*MsgFeedPriceResponse) XXX_DiscardUnknown ¶
func (m *MsgFeedPriceResponse) XXX_DiscardUnknown()
func (*MsgFeedPriceResponse) XXX_Marshal ¶
func (m *MsgFeedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFeedPriceResponse) XXX_Merge ¶
func (m *MsgFeedPriceResponse) XXX_Merge(src proto.Message)
func (*MsgFeedPriceResponse) XXX_Size ¶
func (m *MsgFeedPriceResponse) XXX_Size() int
func (*MsgFeedPriceResponse) XXX_Unmarshal ¶
func (m *MsgFeedPriceResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveAssetInfo ¶ added in v0.29.21
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"` }
func NewMsgRemoveAssetInfo ¶ added in v0.29.21
func NewMsgRemoveAssetInfo(authority, denom string) *MsgRemoveAssetInfo
func (*MsgRemoveAssetInfo) Descriptor ¶ added in v0.29.21
func (*MsgRemoveAssetInfo) Descriptor() ([]byte, []int)
func (*MsgRemoveAssetInfo) GetAuthority ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) GetAuthority() string
func (*MsgRemoveAssetInfo) GetDenom ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) GetDenom() string
func (*MsgRemoveAssetInfo) Marshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAssetInfo) MarshalTo ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAssetInfo) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAssetInfo) ProtoMessage ¶ added in v0.29.21
func (*MsgRemoveAssetInfo) ProtoMessage()
func (*MsgRemoveAssetInfo) Reset ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) Reset()
func (*MsgRemoveAssetInfo) Size ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) Size() (n int)
func (*MsgRemoveAssetInfo) String ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) String() string
func (*MsgRemoveAssetInfo) Unmarshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) Unmarshal(dAtA []byte) error
func (*MsgRemoveAssetInfo) ValidateBasic ¶ added in v0.29.21
func (msg *MsgRemoveAssetInfo) ValidateBasic() error
func (*MsgRemoveAssetInfo) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) XXX_DiscardUnknown()
func (*MsgRemoveAssetInfo) XXX_Marshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAssetInfo) XXX_Merge ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) XXX_Merge(src proto.Message)
func (*MsgRemoveAssetInfo) XXX_Size ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) XXX_Size() int
func (*MsgRemoveAssetInfo) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfo) XXX_Unmarshal(b []byte) error
type MsgRemoveAssetInfoResponse ¶ added in v0.29.21
type MsgRemoveAssetInfoResponse struct { }
func (*MsgRemoveAssetInfoResponse) Descriptor ¶ added in v0.29.21
func (*MsgRemoveAssetInfoResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveAssetInfoResponse) Marshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAssetInfoResponse) MarshalTo ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAssetInfoResponse) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAssetInfoResponse) ProtoMessage ¶ added in v0.29.21
func (*MsgRemoveAssetInfoResponse) ProtoMessage()
func (*MsgRemoveAssetInfoResponse) Reset ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) Reset()
func (*MsgRemoveAssetInfoResponse) Size ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) Size() (n int)
func (*MsgRemoveAssetInfoResponse) String ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) String() string
func (*MsgRemoveAssetInfoResponse) Unmarshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveAssetInfoResponse) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) XXX_DiscardUnknown()
func (*MsgRemoveAssetInfoResponse) XXX_Marshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAssetInfoResponse) XXX_Merge ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveAssetInfoResponse) XXX_Size ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) XXX_Size() int
func (*MsgRemoveAssetInfoResponse) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgRemoveAssetInfoResponse) XXX_Unmarshal(b []byte) error
type MsgRemovePriceFeeders ¶ added in v0.29.21
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"` }
func NewMsgRemovePriceFeeders ¶ added in v0.29.21
func NewMsgRemovePriceFeeders(authority string, feeders []string) *MsgRemovePriceFeeders
func (*MsgRemovePriceFeeders) Descriptor ¶ added in v0.29.21
func (*MsgRemovePriceFeeders) Descriptor() ([]byte, []int)
func (*MsgRemovePriceFeeders) GetAuthority ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) GetAuthority() string
func (*MsgRemovePriceFeeders) GetFeeders ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) GetFeeders() []string
func (*MsgRemovePriceFeeders) Marshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) Marshal() (dAtA []byte, err error)
func (*MsgRemovePriceFeeders) MarshalTo ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemovePriceFeeders) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemovePriceFeeders) ProtoMessage ¶ added in v0.29.21
func (*MsgRemovePriceFeeders) ProtoMessage()
func (*MsgRemovePriceFeeders) Reset ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) Reset()
func (*MsgRemovePriceFeeders) Size ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) Size() (n int)
func (*MsgRemovePriceFeeders) String ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) String() string
func (*MsgRemovePriceFeeders) Unmarshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) Unmarshal(dAtA []byte) error
func (*MsgRemovePriceFeeders) ValidateBasic ¶ added in v0.29.21
func (msg *MsgRemovePriceFeeders) ValidateBasic() error
func (*MsgRemovePriceFeeders) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) XXX_DiscardUnknown()
func (*MsgRemovePriceFeeders) XXX_Marshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemovePriceFeeders) XXX_Merge ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) XXX_Merge(src proto.Message)
func (*MsgRemovePriceFeeders) XXX_Size ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) XXX_Size() int
func (*MsgRemovePriceFeeders) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeeders) XXX_Unmarshal(b []byte) error
type MsgRemovePriceFeedersResponse ¶ added in v0.29.21
type MsgRemovePriceFeedersResponse struct { }
func (*MsgRemovePriceFeedersResponse) Descriptor ¶ added in v0.29.21
func (*MsgRemovePriceFeedersResponse) Descriptor() ([]byte, []int)
func (*MsgRemovePriceFeedersResponse) Marshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemovePriceFeedersResponse) MarshalTo ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemovePriceFeedersResponse) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemovePriceFeedersResponse) ProtoMessage ¶ added in v0.29.21
func (*MsgRemovePriceFeedersResponse) ProtoMessage()
func (*MsgRemovePriceFeedersResponse) Reset ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) Reset()
func (*MsgRemovePriceFeedersResponse) Size ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) Size() (n int)
func (*MsgRemovePriceFeedersResponse) String ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) String() string
func (*MsgRemovePriceFeedersResponse) Unmarshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) Unmarshal(dAtA []byte) error
func (*MsgRemovePriceFeedersResponse) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) XXX_DiscardUnknown()
func (*MsgRemovePriceFeedersResponse) XXX_Marshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemovePriceFeedersResponse) XXX_Merge ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) XXX_Merge(src proto.Message)
func (*MsgRemovePriceFeedersResponse) XXX_Size ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) XXX_Size() int
func (*MsgRemovePriceFeedersResponse) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgRemovePriceFeedersResponse) XXX_Unmarshal(b []byte) error
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) }
MsgServer is the server API for Msg service.
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"` }
func NewMsgSetPriceFeeder ¶
func NewMsgSetPriceFeeder( feeder string, isActive bool, ) *MsgSetPriceFeeder
func (*MsgSetPriceFeeder) Descriptor ¶
func (*MsgSetPriceFeeder) Descriptor() ([]byte, []int)
func (*MsgSetPriceFeeder) GetFeeder ¶
func (m *MsgSetPriceFeeder) GetFeeder() string
func (*MsgSetPriceFeeder) GetIsActive ¶
func (m *MsgSetPriceFeeder) GetIsActive() bool
func (*MsgSetPriceFeeder) Marshal ¶
func (m *MsgSetPriceFeeder) Marshal() (dAtA []byte, err error)
func (*MsgSetPriceFeeder) MarshalTo ¶
func (m *MsgSetPriceFeeder) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetPriceFeeder) MarshalToSizedBuffer ¶
func (m *MsgSetPriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetPriceFeeder) ProtoMessage ¶
func (*MsgSetPriceFeeder) ProtoMessage()
func (*MsgSetPriceFeeder) Reset ¶
func (m *MsgSetPriceFeeder) Reset()
func (*MsgSetPriceFeeder) Size ¶
func (m *MsgSetPriceFeeder) Size() (n int)
func (*MsgSetPriceFeeder) String ¶
func (m *MsgSetPriceFeeder) String() string
func (*MsgSetPriceFeeder) Unmarshal ¶
func (m *MsgSetPriceFeeder) Unmarshal(dAtA []byte) error
func (*MsgSetPriceFeeder) ValidateBasic ¶
func (msg *MsgSetPriceFeeder) ValidateBasic() error
func (*MsgSetPriceFeeder) XXX_DiscardUnknown ¶
func (m *MsgSetPriceFeeder) XXX_DiscardUnknown()
func (*MsgSetPriceFeeder) XXX_Marshal ¶
func (m *MsgSetPriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetPriceFeeder) XXX_Merge ¶
func (m *MsgSetPriceFeeder) XXX_Merge(src proto.Message)
func (*MsgSetPriceFeeder) XXX_Size ¶
func (m *MsgSetPriceFeeder) XXX_Size() int
func (*MsgSetPriceFeeder) XXX_Unmarshal ¶
func (m *MsgSetPriceFeeder) XXX_Unmarshal(b []byte) error
type MsgSetPriceFeederResponse ¶
type MsgSetPriceFeederResponse struct { }
func (*MsgSetPriceFeederResponse) Descriptor ¶
func (*MsgSetPriceFeederResponse) Descriptor() ([]byte, []int)
func (*MsgSetPriceFeederResponse) Marshal ¶
func (m *MsgSetPriceFeederResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetPriceFeederResponse) MarshalTo ¶
func (m *MsgSetPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetPriceFeederResponse) MarshalToSizedBuffer ¶
func (m *MsgSetPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetPriceFeederResponse) ProtoMessage ¶
func (*MsgSetPriceFeederResponse) ProtoMessage()
func (*MsgSetPriceFeederResponse) Reset ¶
func (m *MsgSetPriceFeederResponse) Reset()
func (*MsgSetPriceFeederResponse) Size ¶
func (m *MsgSetPriceFeederResponse) Size() (n int)
func (*MsgSetPriceFeederResponse) String ¶
func (m *MsgSetPriceFeederResponse) String() string
func (*MsgSetPriceFeederResponse) Unmarshal ¶
func (m *MsgSetPriceFeederResponse) Unmarshal(dAtA []byte) error
func (*MsgSetPriceFeederResponse) XXX_DiscardUnknown ¶
func (m *MsgSetPriceFeederResponse) XXX_DiscardUnknown()
func (*MsgSetPriceFeederResponse) XXX_Marshal ¶
func (m *MsgSetPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetPriceFeederResponse) XXX_Merge ¶
func (m *MsgSetPriceFeederResponse) XXX_Merge(src proto.Message)
func (*MsgSetPriceFeederResponse) XXX_Size ¶
func (m *MsgSetPriceFeederResponse) XXX_Size() int
func (*MsgSetPriceFeederResponse) XXX_Unmarshal ¶
func (m *MsgSetPriceFeederResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.29.21
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"` }
func (*MsgUpdateParams) Descriptor ¶ added in v0.29.21
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v0.29.21
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.29.21
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶ added in v0.29.21
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.29.21
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.29.21
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.29.21
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v0.29.21
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.29.21
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v0.29.21
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶ added in v0.29.21
func (msg *MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.29.21
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.29.21
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.29.21
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.29.21
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.29.21
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.29.21
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.29.21
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type OracleRequestID ¶
type OracleRequestID int64
OracleRequestID is the type-safe unique identifier type for data requests.
type OracleScriptID ¶
type OracleScriptID uint64
OracleScriptID is the type-safe unique identifier type for oracle scripts.
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 github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */ 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"` }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( bandEpoch string, oracleScriptID OracleScriptID, multiplier uint64, bandChannelSrc string, askCount uint64, minCount uint64, feeLimit sdk.Coins, prepareGas uint64, executeGas uint64, priceExpiryTime uint64, lifeTimeInBlocks uint64, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetAskCount ¶
func (*Params) GetBandChannelSource ¶
func (*Params) GetBandEpoch ¶
func (*Params) GetClientID ¶
func (*Params) GetExecuteGas ¶
func (*Params) GetFeeLimit ¶
func (m *Params) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
func (*Params) GetLifeTimeInBlocks ¶ added in v0.29.19
func (*Params) GetMinCount ¶
func (*Params) GetMultiplier ¶
func (*Params) GetOracleScriptID ¶
func (*Params) GetPrepareGas ¶
func (*Params) GetPriceExpiryTime ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PortKeeper ¶
type PortKeeper interface {
BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}
PortKeeper defines the expected IBC port keeper.
type Price ¶
type Price struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` 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"` }
func (*Price) Descriptor ¶
func (*Price) GetBlockHeight ¶ added in v0.29.19
func (*Price) GetProvider ¶
func (*Price) GetTimestamp ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) XXX_DiscardUnknown ¶
func (m *Price) XXX_DiscardUnknown()
func (*Price) XXX_Marshal ¶
func (*Price) XXX_Unmarshal ¶
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"` }
func (*PriceFeeder) Descriptor ¶
func (*PriceFeeder) Descriptor() ([]byte, []int)
func (*PriceFeeder) GetFeeder ¶
func (m *PriceFeeder) GetFeeder() string
func (PriceFeeder) GetFeederAccount ¶ added in v0.45.0
func (p PriceFeeder) GetFeederAccount() sdk.AccAddress
func (*PriceFeeder) GetIsActive ¶
func (m *PriceFeeder) GetIsActive() bool
func (*PriceFeeder) Marshal ¶
func (m *PriceFeeder) Marshal() (dAtA []byte, err error)
func (*PriceFeeder) MarshalToSizedBuffer ¶
func (m *PriceFeeder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceFeeder) ProtoMessage ¶
func (*PriceFeeder) ProtoMessage()
func (*PriceFeeder) Reset ¶
func (m *PriceFeeder) Reset()
func (*PriceFeeder) Size ¶
func (m *PriceFeeder) Size() (n int)
func (*PriceFeeder) String ¶
func (m *PriceFeeder) String() string
func (*PriceFeeder) Unmarshal ¶
func (m *PriceFeeder) Unmarshal(dAtA []byte) error
func (*PriceFeeder) XXX_DiscardUnknown ¶
func (m *PriceFeeder) XXX_DiscardUnknown()
func (*PriceFeeder) XXX_Marshal ¶
func (m *PriceFeeder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceFeeder) XXX_Merge ¶
func (m *PriceFeeder) XXX_Merge(src proto.Message)
func (*PriceFeeder) XXX_Size ¶
func (m *PriceFeeder) XXX_Size() int
func (*PriceFeeder) XXX_Unmarshal ¶
func (m *PriceFeeder) XXX_Unmarshal(b []byte) error
type QueryAllAssetInfoRequest ¶
type QueryAllAssetInfoRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllAssetInfoRequest) Descriptor ¶
func (*QueryAllAssetInfoRequest) Descriptor() ([]byte, []int)
func (*QueryAllAssetInfoRequest) GetPagination ¶
func (m *QueryAllAssetInfoRequest) GetPagination() *query.PageRequest
func (*QueryAllAssetInfoRequest) Marshal ¶
func (m *QueryAllAssetInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllAssetInfoRequest) MarshalTo ¶
func (m *QueryAllAssetInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAssetInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryAllAssetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAssetInfoRequest) ProtoMessage ¶
func (*QueryAllAssetInfoRequest) ProtoMessage()
func (*QueryAllAssetInfoRequest) Reset ¶
func (m *QueryAllAssetInfoRequest) Reset()
func (*QueryAllAssetInfoRequest) Size ¶
func (m *QueryAllAssetInfoRequest) Size() (n int)
func (*QueryAllAssetInfoRequest) String ¶
func (m *QueryAllAssetInfoRequest) String() string
func (*QueryAllAssetInfoRequest) Unmarshal ¶
func (m *QueryAllAssetInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryAllAssetInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryAllAssetInfoRequest) XXX_DiscardUnknown()
func (*QueryAllAssetInfoRequest) XXX_Marshal ¶
func (m *QueryAllAssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAssetInfoRequest) XXX_Merge ¶
func (m *QueryAllAssetInfoRequest) XXX_Merge(src proto.Message)
func (*QueryAllAssetInfoRequest) XXX_Size ¶
func (m *QueryAllAssetInfoRequest) XXX_Size() int
func (*QueryAllAssetInfoRequest) XXX_Unmarshal ¶
func (m *QueryAllAssetInfoRequest) XXX_Unmarshal(b []byte) error
type QueryAllAssetInfoResponse ¶
type QueryAllAssetInfoResponse struct { AssetInfo []AssetInfo `protobuf:"bytes,1,rep,name=asset_info,json=assetInfo,proto3" json:"asset_info"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllAssetInfoResponse) Descriptor ¶
func (*QueryAllAssetInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAllAssetInfoResponse) GetAssetInfo ¶
func (m *QueryAllAssetInfoResponse) GetAssetInfo() []AssetInfo
func (*QueryAllAssetInfoResponse) GetPagination ¶
func (m *QueryAllAssetInfoResponse) GetPagination() *query.PageResponse
func (*QueryAllAssetInfoResponse) Marshal ¶
func (m *QueryAllAssetInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllAssetInfoResponse) MarshalTo ¶
func (m *QueryAllAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAssetInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryAllAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAssetInfoResponse) ProtoMessage ¶
func (*QueryAllAssetInfoResponse) ProtoMessage()
func (*QueryAllAssetInfoResponse) Reset ¶
func (m *QueryAllAssetInfoResponse) Reset()
func (*QueryAllAssetInfoResponse) Size ¶
func (m *QueryAllAssetInfoResponse) Size() (n int)
func (*QueryAllAssetInfoResponse) String ¶
func (m *QueryAllAssetInfoResponse) String() string
func (*QueryAllAssetInfoResponse) Unmarshal ¶
func (m *QueryAllAssetInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryAllAssetInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryAllAssetInfoResponse) XXX_DiscardUnknown()
func (*QueryAllAssetInfoResponse) XXX_Marshal ¶
func (m *QueryAllAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAssetInfoResponse) XXX_Merge ¶
func (m *QueryAllAssetInfoResponse) XXX_Merge(src proto.Message)
func (*QueryAllAssetInfoResponse) XXX_Size ¶
func (m *QueryAllAssetInfoResponse) XXX_Size() int
func (*QueryAllAssetInfoResponse) XXX_Unmarshal ¶
func (m *QueryAllAssetInfoResponse) XXX_Unmarshal(b []byte) error
type QueryAllPriceFeederRequest ¶
type QueryAllPriceFeederRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPriceFeederRequest) Descriptor ¶
func (*QueryAllPriceFeederRequest) Descriptor() ([]byte, []int)
func (*QueryAllPriceFeederRequest) GetPagination ¶
func (m *QueryAllPriceFeederRequest) GetPagination() *query.PageRequest
func (*QueryAllPriceFeederRequest) Marshal ¶
func (m *QueryAllPriceFeederRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceFeederRequest) MarshalTo ¶
func (m *QueryAllPriceFeederRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceFeederRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPriceFeederRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceFeederRequest) ProtoMessage ¶
func (*QueryAllPriceFeederRequest) ProtoMessage()
func (*QueryAllPriceFeederRequest) Reset ¶
func (m *QueryAllPriceFeederRequest) Reset()
func (*QueryAllPriceFeederRequest) Size ¶
func (m *QueryAllPriceFeederRequest) Size() (n int)
func (*QueryAllPriceFeederRequest) String ¶
func (m *QueryAllPriceFeederRequest) String() string
func (*QueryAllPriceFeederRequest) Unmarshal ¶
func (m *QueryAllPriceFeederRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPriceFeederRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPriceFeederRequest) XXX_DiscardUnknown()
func (*QueryAllPriceFeederRequest) XXX_Marshal ¶
func (m *QueryAllPriceFeederRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceFeederRequest) XXX_Merge ¶
func (m *QueryAllPriceFeederRequest) XXX_Merge(src proto.Message)
func (*QueryAllPriceFeederRequest) XXX_Size ¶
func (m *QueryAllPriceFeederRequest) XXX_Size() int
func (*QueryAllPriceFeederRequest) XXX_Unmarshal ¶
func (m *QueryAllPriceFeederRequest) XXX_Unmarshal(b []byte) error
type QueryAllPriceFeederResponse ¶
type QueryAllPriceFeederResponse struct { PriceFeeder []PriceFeeder `protobuf:"bytes,1,rep,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPriceFeederResponse) Descriptor ¶
func (*QueryAllPriceFeederResponse) Descriptor() ([]byte, []int)
func (*QueryAllPriceFeederResponse) GetPagination ¶
func (m *QueryAllPriceFeederResponse) GetPagination() *query.PageResponse
func (*QueryAllPriceFeederResponse) GetPriceFeeder ¶
func (m *QueryAllPriceFeederResponse) GetPriceFeeder() []PriceFeeder
func (*QueryAllPriceFeederResponse) Marshal ¶
func (m *QueryAllPriceFeederResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceFeederResponse) MarshalTo ¶
func (m *QueryAllPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceFeederResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceFeederResponse) ProtoMessage ¶
func (*QueryAllPriceFeederResponse) ProtoMessage()
func (*QueryAllPriceFeederResponse) Reset ¶
func (m *QueryAllPriceFeederResponse) Reset()
func (*QueryAllPriceFeederResponse) Size ¶
func (m *QueryAllPriceFeederResponse) Size() (n int)
func (*QueryAllPriceFeederResponse) String ¶
func (m *QueryAllPriceFeederResponse) String() string
func (*QueryAllPriceFeederResponse) Unmarshal ¶
func (m *QueryAllPriceFeederResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPriceFeederResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPriceFeederResponse) XXX_DiscardUnknown()
func (*QueryAllPriceFeederResponse) XXX_Marshal ¶
func (m *QueryAllPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceFeederResponse) XXX_Merge ¶
func (m *QueryAllPriceFeederResponse) XXX_Merge(src proto.Message)
func (*QueryAllPriceFeederResponse) XXX_Size ¶
func (m *QueryAllPriceFeederResponse) XXX_Size() int
func (*QueryAllPriceFeederResponse) XXX_Unmarshal ¶
func (m *QueryAllPriceFeederResponse) XXX_Unmarshal(b []byte) error
type QueryAllPriceRequest ¶
type QueryAllPriceRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPriceRequest) Descriptor ¶
func (*QueryAllPriceRequest) Descriptor() ([]byte, []int)
func (*QueryAllPriceRequest) GetPagination ¶
func (m *QueryAllPriceRequest) GetPagination() *query.PageRequest
func (*QueryAllPriceRequest) Marshal ¶
func (m *QueryAllPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceRequest) MarshalTo ¶
func (m *QueryAllPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceRequest) ProtoMessage ¶
func (*QueryAllPriceRequest) ProtoMessage()
func (*QueryAllPriceRequest) Reset ¶
func (m *QueryAllPriceRequest) Reset()
func (*QueryAllPriceRequest) Size ¶
func (m *QueryAllPriceRequest) Size() (n int)
func (*QueryAllPriceRequest) String ¶
func (m *QueryAllPriceRequest) String() string
func (*QueryAllPriceRequest) Unmarshal ¶
func (m *QueryAllPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPriceRequest) XXX_DiscardUnknown()
func (*QueryAllPriceRequest) XXX_Marshal ¶
func (m *QueryAllPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceRequest) XXX_Merge ¶
func (m *QueryAllPriceRequest) XXX_Merge(src proto.Message)
func (*QueryAllPriceRequest) XXX_Size ¶
func (m *QueryAllPriceRequest) XXX_Size() int
func (*QueryAllPriceRequest) XXX_Unmarshal ¶
func (m *QueryAllPriceRequest) XXX_Unmarshal(b []byte) error
type QueryAllPriceResponse ¶
type QueryAllPriceResponse struct { Price []Price `protobuf:"bytes,1,rep,name=price,proto3" json:"price"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPriceResponse) Descriptor ¶
func (*QueryAllPriceResponse) Descriptor() ([]byte, []int)
func (*QueryAllPriceResponse) GetPagination ¶
func (m *QueryAllPriceResponse) GetPagination() *query.PageResponse
func (*QueryAllPriceResponse) GetPrice ¶
func (m *QueryAllPriceResponse) GetPrice() []Price
func (*QueryAllPriceResponse) Marshal ¶
func (m *QueryAllPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPriceResponse) MarshalTo ¶
func (m *QueryAllPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPriceResponse) ProtoMessage ¶
func (*QueryAllPriceResponse) ProtoMessage()
func (*QueryAllPriceResponse) Reset ¶
func (m *QueryAllPriceResponse) Reset()
func (*QueryAllPriceResponse) Size ¶
func (m *QueryAllPriceResponse) Size() (n int)
func (*QueryAllPriceResponse) String ¶
func (m *QueryAllPriceResponse) String() string
func (*QueryAllPriceResponse) Unmarshal ¶
func (m *QueryAllPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPriceResponse) XXX_DiscardUnknown()
func (*QueryAllPriceResponse) XXX_Marshal ¶
func (m *QueryAllPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPriceResponse) XXX_Merge ¶
func (m *QueryAllPriceResponse) XXX_Merge(src proto.Message)
func (*QueryAllPriceResponse) XXX_Size ¶
func (m *QueryAllPriceResponse) XXX_Size() int
func (*QueryAllPriceResponse) XXX_Unmarshal ¶
func (m *QueryAllPriceResponse) XXX_Unmarshal(b []byte) error
type QueryBandPriceRequest ¶
type QueryBandPriceRequest struct {
RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}
func (*QueryBandPriceRequest) Descriptor ¶
func (*QueryBandPriceRequest) Descriptor() ([]byte, []int)
func (*QueryBandPriceRequest) GetRequestId ¶
func (m *QueryBandPriceRequest) GetRequestId() int64
func (*QueryBandPriceRequest) Marshal ¶
func (m *QueryBandPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBandPriceRequest) MarshalTo ¶
func (m *QueryBandPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryBandPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandPriceRequest) ProtoMessage ¶
func (*QueryBandPriceRequest) ProtoMessage()
func (*QueryBandPriceRequest) Reset ¶
func (m *QueryBandPriceRequest) Reset()
func (*QueryBandPriceRequest) Size ¶
func (m *QueryBandPriceRequest) Size() (n int)
func (*QueryBandPriceRequest) String ¶
func (m *QueryBandPriceRequest) String() string
func (*QueryBandPriceRequest) Unmarshal ¶
func (m *QueryBandPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryBandPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryBandPriceRequest) XXX_DiscardUnknown()
func (*QueryBandPriceRequest) XXX_Marshal ¶
func (m *QueryBandPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandPriceRequest) XXX_Merge ¶
func (m *QueryBandPriceRequest) XXX_Merge(src proto.Message)
func (*QueryBandPriceRequest) XXX_Size ¶
func (m *QueryBandPriceRequest) XXX_Size() int
func (*QueryBandPriceRequest) XXX_Unmarshal ¶
func (m *QueryBandPriceRequest) XXX_Unmarshal(b []byte) error
type QueryBandPriceResponse ¶
type QueryBandPriceResponse struct {
Result *BandPriceResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
}
func (*QueryBandPriceResponse) Descriptor ¶
func (*QueryBandPriceResponse) Descriptor() ([]byte, []int)
func (*QueryBandPriceResponse) GetResult ¶
func (m *QueryBandPriceResponse) GetResult() *BandPriceResult
func (*QueryBandPriceResponse) Marshal ¶
func (m *QueryBandPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBandPriceResponse) MarshalTo ¶
func (m *QueryBandPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryBandPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandPriceResponse) ProtoMessage ¶
func (*QueryBandPriceResponse) ProtoMessage()
func (*QueryBandPriceResponse) Reset ¶
func (m *QueryBandPriceResponse) Reset()
func (*QueryBandPriceResponse) Size ¶
func (m *QueryBandPriceResponse) Size() (n int)
func (*QueryBandPriceResponse) String ¶
func (m *QueryBandPriceResponse) String() string
func (*QueryBandPriceResponse) Unmarshal ¶
func (m *QueryBandPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryBandPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryBandPriceResponse) XXX_DiscardUnknown()
func (*QueryBandPriceResponse) XXX_Marshal ¶
func (m *QueryBandPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandPriceResponse) XXX_Merge ¶
func (m *QueryBandPriceResponse) XXX_Merge(src proto.Message)
func (*QueryBandPriceResponse) XXX_Size ¶
func (m *QueryBandPriceResponse) XXX_Size() int
func (*QueryBandPriceResponse) XXX_Unmarshal ¶
func (m *QueryBandPriceResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetAssetInfoRequest ¶
type QueryGetAssetInfoRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryGetAssetInfoRequest) Descriptor ¶
func (*QueryGetAssetInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGetAssetInfoRequest) GetDenom ¶
func (m *QueryGetAssetInfoRequest) GetDenom() string
func (*QueryGetAssetInfoRequest) Marshal ¶
func (m *QueryGetAssetInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAssetInfoRequest) MarshalTo ¶
func (m *QueryGetAssetInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAssetInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAssetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAssetInfoRequest) ProtoMessage ¶
func (*QueryGetAssetInfoRequest) ProtoMessage()
func (*QueryGetAssetInfoRequest) Reset ¶
func (m *QueryGetAssetInfoRequest) Reset()
func (*QueryGetAssetInfoRequest) Size ¶
func (m *QueryGetAssetInfoRequest) Size() (n int)
func (*QueryGetAssetInfoRequest) String ¶
func (m *QueryGetAssetInfoRequest) String() string
func (*QueryGetAssetInfoRequest) Unmarshal ¶
func (m *QueryGetAssetInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAssetInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAssetInfoRequest) XXX_DiscardUnknown()
func (*QueryGetAssetInfoRequest) XXX_Marshal ¶
func (m *QueryGetAssetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAssetInfoRequest) XXX_Merge ¶
func (m *QueryGetAssetInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGetAssetInfoRequest) XXX_Size ¶
func (m *QueryGetAssetInfoRequest) XXX_Size() int
func (*QueryGetAssetInfoRequest) XXX_Unmarshal ¶
func (m *QueryGetAssetInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGetAssetInfoResponse ¶
type QueryGetAssetInfoResponse struct {
AssetInfo AssetInfo `protobuf:"bytes,1,opt,name=asset_info,json=assetInfo,proto3" json:"asset_info"`
}
func (*QueryGetAssetInfoResponse) Descriptor ¶
func (*QueryGetAssetInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGetAssetInfoResponse) GetAssetInfo ¶
func (m *QueryGetAssetInfoResponse) GetAssetInfo() AssetInfo
func (*QueryGetAssetInfoResponse) Marshal ¶
func (m *QueryGetAssetInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAssetInfoResponse) MarshalTo ¶
func (m *QueryGetAssetInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAssetInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAssetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAssetInfoResponse) ProtoMessage ¶
func (*QueryGetAssetInfoResponse) ProtoMessage()
func (*QueryGetAssetInfoResponse) Reset ¶
func (m *QueryGetAssetInfoResponse) Reset()
func (*QueryGetAssetInfoResponse) Size ¶
func (m *QueryGetAssetInfoResponse) Size() (n int)
func (*QueryGetAssetInfoResponse) String ¶
func (m *QueryGetAssetInfoResponse) String() string
func (*QueryGetAssetInfoResponse) Unmarshal ¶
func (m *QueryGetAssetInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAssetInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAssetInfoResponse) XXX_DiscardUnknown()
func (*QueryGetAssetInfoResponse) XXX_Marshal ¶
func (m *QueryGetAssetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAssetInfoResponse) XXX_Merge ¶
func (m *QueryGetAssetInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGetAssetInfoResponse) XXX_Size ¶
func (m *QueryGetAssetInfoResponse) XXX_Size() int
func (*QueryGetAssetInfoResponse) XXX_Unmarshal ¶
func (m *QueryGetAssetInfoResponse) XXX_Unmarshal(b []byte) error
type QueryGetPriceFeederRequest ¶
type QueryGetPriceFeederRequest struct {
Feeder string `protobuf:"bytes,1,opt,name=feeder,proto3" json:"feeder,omitempty"`
}
func (*QueryGetPriceFeederRequest) Descriptor ¶
func (*QueryGetPriceFeederRequest) Descriptor() ([]byte, []int)
func (*QueryGetPriceFeederRequest) GetFeeder ¶
func (m *QueryGetPriceFeederRequest) GetFeeder() string
func (*QueryGetPriceFeederRequest) Marshal ¶
func (m *QueryGetPriceFeederRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceFeederRequest) MarshalTo ¶
func (m *QueryGetPriceFeederRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceFeederRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPriceFeederRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceFeederRequest) ProtoMessage ¶
func (*QueryGetPriceFeederRequest) ProtoMessage()
func (*QueryGetPriceFeederRequest) Reset ¶
func (m *QueryGetPriceFeederRequest) Reset()
func (*QueryGetPriceFeederRequest) Size ¶
func (m *QueryGetPriceFeederRequest) Size() (n int)
func (*QueryGetPriceFeederRequest) String ¶
func (m *QueryGetPriceFeederRequest) String() string
func (*QueryGetPriceFeederRequest) Unmarshal ¶
func (m *QueryGetPriceFeederRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPriceFeederRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPriceFeederRequest) XXX_DiscardUnknown()
func (*QueryGetPriceFeederRequest) XXX_Marshal ¶
func (m *QueryGetPriceFeederRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceFeederRequest) XXX_Merge ¶
func (m *QueryGetPriceFeederRequest) XXX_Merge(src proto.Message)
func (*QueryGetPriceFeederRequest) XXX_Size ¶
func (m *QueryGetPriceFeederRequest) XXX_Size() int
func (*QueryGetPriceFeederRequest) XXX_Unmarshal ¶
func (m *QueryGetPriceFeederRequest) XXX_Unmarshal(b []byte) error
type QueryGetPriceFeederResponse ¶
type QueryGetPriceFeederResponse struct {
PriceFeeder PriceFeeder `protobuf:"bytes,1,opt,name=price_feeder,json=priceFeeder,proto3" json:"price_feeder"`
}
func (*QueryGetPriceFeederResponse) Descriptor ¶
func (*QueryGetPriceFeederResponse) Descriptor() ([]byte, []int)
func (*QueryGetPriceFeederResponse) GetPriceFeeder ¶
func (m *QueryGetPriceFeederResponse) GetPriceFeeder() PriceFeeder
func (*QueryGetPriceFeederResponse) Marshal ¶
func (m *QueryGetPriceFeederResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceFeederResponse) MarshalTo ¶
func (m *QueryGetPriceFeederResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceFeederResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPriceFeederResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceFeederResponse) ProtoMessage ¶
func (*QueryGetPriceFeederResponse) ProtoMessage()
func (*QueryGetPriceFeederResponse) Reset ¶
func (m *QueryGetPriceFeederResponse) Reset()
func (*QueryGetPriceFeederResponse) Size ¶
func (m *QueryGetPriceFeederResponse) Size() (n int)
func (*QueryGetPriceFeederResponse) String ¶
func (m *QueryGetPriceFeederResponse) String() string
func (*QueryGetPriceFeederResponse) Unmarshal ¶
func (m *QueryGetPriceFeederResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPriceFeederResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPriceFeederResponse) XXX_DiscardUnknown()
func (*QueryGetPriceFeederResponse) XXX_Marshal ¶
func (m *QueryGetPriceFeederResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceFeederResponse) XXX_Merge ¶
func (m *QueryGetPriceFeederResponse) XXX_Merge(src proto.Message)
func (*QueryGetPriceFeederResponse) XXX_Size ¶
func (m *QueryGetPriceFeederResponse) XXX_Size() int
func (*QueryGetPriceFeederResponse) XXX_Unmarshal ¶
func (m *QueryGetPriceFeederResponse) XXX_Unmarshal(b []byte) error
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"` }
func (*QueryGetPriceRequest) Descriptor ¶
func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetPriceRequest) GetAsset ¶
func (m *QueryGetPriceRequest) GetAsset() string
func (*QueryGetPriceRequest) GetSource ¶
func (m *QueryGetPriceRequest) GetSource() string
func (*QueryGetPriceRequest) GetTimestamp ¶
func (m *QueryGetPriceRequest) GetTimestamp() uint64
func (*QueryGetPriceRequest) Marshal ¶
func (m *QueryGetPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceRequest) MarshalTo ¶
func (m *QueryGetPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceRequest) ProtoMessage ¶
func (*QueryGetPriceRequest) ProtoMessage()
func (*QueryGetPriceRequest) Reset ¶
func (m *QueryGetPriceRequest) Reset()
func (*QueryGetPriceRequest) Size ¶
func (m *QueryGetPriceRequest) Size() (n int)
func (*QueryGetPriceRequest) String ¶
func (m *QueryGetPriceRequest) String() string
func (*QueryGetPriceRequest) Unmarshal ¶
func (m *QueryGetPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPriceRequest) XXX_DiscardUnknown()
func (*QueryGetPriceRequest) XXX_Marshal ¶
func (m *QueryGetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceRequest) XXX_Merge ¶
func (m *QueryGetPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetPriceRequest) XXX_Size ¶
func (m *QueryGetPriceRequest) XXX_Size() int
func (*QueryGetPriceRequest) XXX_Unmarshal ¶
func (m *QueryGetPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetPriceResponse ¶
type QueryGetPriceResponse struct {
Price Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price"`
}
func (*QueryGetPriceResponse) Descriptor ¶
func (*QueryGetPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetPriceResponse) GetPrice ¶
func (m *QueryGetPriceResponse) GetPrice() Price
func (*QueryGetPriceResponse) Marshal ¶
func (m *QueryGetPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceResponse) MarshalTo ¶
func (m *QueryGetPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceResponse) ProtoMessage ¶
func (*QueryGetPriceResponse) ProtoMessage()
func (*QueryGetPriceResponse) Reset ¶
func (m *QueryGetPriceResponse) Reset()
func (*QueryGetPriceResponse) Size ¶
func (m *QueryGetPriceResponse) Size() (n int)
func (*QueryGetPriceResponse) String ¶
func (m *QueryGetPriceResponse) String() string
func (*QueryGetPriceResponse) Unmarshal ¶
func (m *QueryGetPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPriceResponse) XXX_DiscardUnknown()
func (*QueryGetPriceResponse) XXX_Marshal ¶
func (m *QueryGetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceResponse) XXX_Merge ¶
func (m *QueryGetPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetPriceResponse) XXX_Size ¶
func (m *QueryGetPriceResponse) XXX_Size() int
func (*QueryGetPriceResponse) XXX_Unmarshal ¶
func (m *QueryGetPriceResponse) XXX_Unmarshal(b []byte) error
type QueryLastBandRequestIdRequest ¶
type QueryLastBandRequestIdRequest struct { }
func (*QueryLastBandRequestIdRequest) Descriptor ¶
func (*QueryLastBandRequestIdRequest) Descriptor() ([]byte, []int)
func (*QueryLastBandRequestIdRequest) Marshal ¶
func (m *QueryLastBandRequestIdRequest) Marshal() (dAtA []byte, err error)
func (*QueryLastBandRequestIdRequest) MarshalTo ¶
func (m *QueryLastBandRequestIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLastBandRequestIdRequest) MarshalToSizedBuffer ¶
func (m *QueryLastBandRequestIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLastBandRequestIdRequest) ProtoMessage ¶
func (*QueryLastBandRequestIdRequest) ProtoMessage()
func (*QueryLastBandRequestIdRequest) Reset ¶
func (m *QueryLastBandRequestIdRequest) Reset()
func (*QueryLastBandRequestIdRequest) Size ¶
func (m *QueryLastBandRequestIdRequest) Size() (n int)
func (*QueryLastBandRequestIdRequest) String ¶
func (m *QueryLastBandRequestIdRequest) String() string
func (*QueryLastBandRequestIdRequest) Unmarshal ¶
func (m *QueryLastBandRequestIdRequest) Unmarshal(dAtA []byte) error
func (*QueryLastBandRequestIdRequest) XXX_DiscardUnknown ¶
func (m *QueryLastBandRequestIdRequest) XXX_DiscardUnknown()
func (*QueryLastBandRequestIdRequest) XXX_Marshal ¶
func (m *QueryLastBandRequestIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLastBandRequestIdRequest) XXX_Merge ¶
func (m *QueryLastBandRequestIdRequest) XXX_Merge(src proto.Message)
func (*QueryLastBandRequestIdRequest) XXX_Size ¶
func (m *QueryLastBandRequestIdRequest) XXX_Size() int
func (*QueryLastBandRequestIdRequest) XXX_Unmarshal ¶
func (m *QueryLastBandRequestIdRequest) XXX_Unmarshal(b []byte) error
type QueryLastBandRequestIdResponse ¶
type QueryLastBandRequestIdResponse struct {
RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}
func (*QueryLastBandRequestIdResponse) Descriptor ¶
func (*QueryLastBandRequestIdResponse) Descriptor() ([]byte, []int)
func (*QueryLastBandRequestIdResponse) GetRequestId ¶
func (m *QueryLastBandRequestIdResponse) GetRequestId() int64
func (*QueryLastBandRequestIdResponse) Marshal ¶
func (m *QueryLastBandRequestIdResponse) Marshal() (dAtA []byte, err error)
func (*QueryLastBandRequestIdResponse) MarshalTo ¶
func (m *QueryLastBandRequestIdResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLastBandRequestIdResponse) MarshalToSizedBuffer ¶
func (m *QueryLastBandRequestIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLastBandRequestIdResponse) ProtoMessage ¶
func (*QueryLastBandRequestIdResponse) ProtoMessage()
func (*QueryLastBandRequestIdResponse) Reset ¶
func (m *QueryLastBandRequestIdResponse) Reset()
func (*QueryLastBandRequestIdResponse) Size ¶
func (m *QueryLastBandRequestIdResponse) Size() (n int)
func (*QueryLastBandRequestIdResponse) String ¶
func (m *QueryLastBandRequestIdResponse) String() string
func (*QueryLastBandRequestIdResponse) Unmarshal ¶
func (m *QueryLastBandRequestIdResponse) Unmarshal(dAtA []byte) error
func (*QueryLastBandRequestIdResponse) XXX_DiscardUnknown ¶
func (m *QueryLastBandRequestIdResponse) XXX_DiscardUnknown()
func (*QueryLastBandRequestIdResponse) XXX_Marshal ¶
func (m *QueryLastBandRequestIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLastBandRequestIdResponse) XXX_Merge ¶
func (m *QueryLastBandRequestIdResponse) XXX_Merge(src proto.Message)
func (*QueryLastBandRequestIdResponse) XXX_Size ¶
func (m *QueryLastBandRequestIdResponse) XXX_Size() int
func (*QueryLastBandRequestIdResponse) XXX_Unmarshal ¶
func (m *QueryLastBandRequestIdResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
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) }
QueryServer is the server API for Query service.
type ScopedKeeper ¶
type ScopedKeeper interface { GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error }
ScopedKeeper defines the expected IBC scoped keeper.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddPriceFeeders ¶ added in v0.29.21
func (*UnimplementedMsgServer) AddPriceFeeders(ctx context.Context, req *MsgAddPriceFeeders) (*MsgAddPriceFeedersResponse, error)
func (*UnimplementedMsgServer) CreateAssetInfo ¶ added in v0.41.0
func (*UnimplementedMsgServer) CreateAssetInfo(ctx context.Context, req *MsgCreateAssetInfo) (*MsgCreateAssetInfoResponse, error)
func (*UnimplementedMsgServer) DeletePriceFeeder ¶
func (*UnimplementedMsgServer) DeletePriceFeeder(ctx context.Context, req *MsgDeletePriceFeeder) (*MsgDeletePriceFeederResponse, error)
func (*UnimplementedMsgServer) FeedMultiplePrices ¶
func (*UnimplementedMsgServer) FeedMultiplePrices(ctx context.Context, req *MsgFeedMultiplePrices) (*MsgFeedMultiplePricesResponse, error)
func (*UnimplementedMsgServer) FeedPrice ¶
func (*UnimplementedMsgServer) FeedPrice(ctx context.Context, req *MsgFeedPrice) (*MsgFeedPriceResponse, error)
func (*UnimplementedMsgServer) RemoveAssetInfo ¶ added in v0.29.21
func (*UnimplementedMsgServer) RemoveAssetInfo(ctx context.Context, req *MsgRemoveAssetInfo) (*MsgRemoveAssetInfoResponse, error)
func (*UnimplementedMsgServer) RemovePriceFeeders ¶ added in v0.29.21
func (*UnimplementedMsgServer) RemovePriceFeeders(ctx context.Context, req *MsgRemovePriceFeeders) (*MsgRemovePriceFeedersResponse, error)
func (*UnimplementedMsgServer) SetPriceFeeder ¶
func (*UnimplementedMsgServer) SetPriceFeeder(ctx context.Context, req *MsgSetPriceFeeder) (*MsgSetPriceFeederResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.29.21
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AssetInfo ¶
func (*UnimplementedQueryServer) AssetInfo(ctx context.Context, req *QueryGetAssetInfoRequest) (*QueryGetAssetInfoResponse, error)
func (*UnimplementedQueryServer) AssetInfoAll ¶
func (*UnimplementedQueryServer) AssetInfoAll(ctx context.Context, req *QueryAllAssetInfoRequest) (*QueryAllAssetInfoResponse, error)
func (*UnimplementedQueryServer) BandPriceResult ¶
func (*UnimplementedQueryServer) BandPriceResult(ctx context.Context, req *QueryBandPriceRequest) (*QueryBandPriceResponse, error)
func (*UnimplementedQueryServer) LastBandRequestId ¶
func (*UnimplementedQueryServer) LastBandRequestId(ctx context.Context, req *QueryLastBandRequestIdRequest) (*QueryLastBandRequestIdResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Price ¶
func (*UnimplementedQueryServer) Price(ctx context.Context, req *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
func (*UnimplementedQueryServer) PriceAll ¶
func (*UnimplementedQueryServer) PriceAll(ctx context.Context, req *QueryAllPriceRequest) (*QueryAllPriceResponse, error)
func (*UnimplementedQueryServer) PriceFeeder ¶
func (*UnimplementedQueryServer) PriceFeeder(ctx context.Context, req *QueryGetPriceFeederRequest) (*QueryGetPriceFeederResponse, error)
func (*UnimplementedQueryServer) PriceFeederAll ¶
func (*UnimplementedQueryServer) PriceFeederAll(ctx context.Context, req *QueryAllPriceFeederRequest) (*QueryAllPriceFeederResponse, error)
Source Files ¶
- asset_info.go
- asset_info.pb.go
- band_price.go
- band_price.pb.go
- codec.go
- errors.go
- events_ibc.go
- expected_ibc_keeper.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_create_asset_info.go
- message_feed_multiple_prices.go
- message_proposals.go
- messages_price.go
- messages_price_feeder.go
- oracle.go
- params.go
- params.pb.go
- price.pb.go
- price_feeder.go
- price_feeder.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go