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 KeyPrefix(p string) []byte
- func NewProposalAddAssetInfo(title, description string, denom string, display string, bandTicker string, ...) gov.Content
- func NewProposalAddPriceFeeders(title, description string, feeders []string) gov.Content
- func NewProposalRemoveAssetInfo(title, description, denom string) gov.Content
- func NewProposalRemovePriceFeeders(title, description string, feeders []string) gov.Content
- func ParamKeyTable() paramtypes.KeyTable
- func PriceFeederKey(feeder string) []byte
- func PriceKey(asset, source string, timestamp uint64) []byte
- func PriceKeyPrefixAsset(asset string) []byte
- func PriceKeyPrefixAssetAndSource(asset, source string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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 MsgClient
- type MsgDeletePriceFeeder
- func (*MsgDeletePriceFeeder) Descriptor() ([]byte, []int)
- func (m *MsgDeletePriceFeeder) GetFeeder() string
- func (msg *MsgDeletePriceFeeder) GetSignBytes() []byte
- func (msg *MsgDeletePriceFeeder) GetSigners() []sdk.AccAddress
- 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 (msg *MsgDeletePriceFeeder) Route() string
- func (m *MsgDeletePriceFeeder) Size() (n int)
- func (m *MsgDeletePriceFeeder) String() string
- func (msg *MsgDeletePriceFeeder) Type() 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 (msg *MsgFeedMultiplePrices) GetSignBytes() []byte
- func (msg *MsgFeedMultiplePrices) GetSigners() []sdk.AccAddress
- 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 (msg *MsgFeedMultiplePrices) Route() string
- func (m *MsgFeedMultiplePrices) Size() (n int)
- func (m *MsgFeedMultiplePrices) String() string
- func (msg *MsgFeedMultiplePrices) Type() 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 (msg *MsgFeedPrice) GetSignBytes() []byte
- func (msg *MsgFeedPrice) GetSigners() []sdk.AccAddress
- 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 (msg *MsgFeedPrice) Route() string
- func (m *MsgFeedPrice) Size() (n int)
- func (m *MsgFeedPrice) String() string
- func (msg *MsgFeedPrice) Type() 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 MsgRequestBandPrice
- func (*MsgRequestBandPrice) Descriptor() ([]byte, []int)
- func (m *MsgRequestBandPrice) GetAskCount() uint64
- func (m *MsgRequestBandPrice) GetCalldata() *BandPriceCallData
- func (m *MsgRequestBandPrice) GetClientID() string
- func (m *MsgRequestBandPrice) GetCreator() string
- func (m *MsgRequestBandPrice) GetExecuteGas() uint64
- func (m *MsgRequestBandPrice) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgRequestBandPrice) GetMinCount() uint64
- func (m *MsgRequestBandPrice) GetOracleScriptID() uint64
- func (m *MsgRequestBandPrice) GetPrepareGas() uint64
- func (m *MsgRequestBandPrice) GetSignBytes() []byte
- func (m *MsgRequestBandPrice) GetSigners() []sdk.AccAddress
- func (m *MsgRequestBandPrice) GetSourceChannel() string
- func (m *MsgRequestBandPrice) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestBandPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestBandPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestBandPrice) ProtoMessage()
- func (m *MsgRequestBandPrice) Reset()
- func (m *MsgRequestBandPrice) Route() string
- func (m *MsgRequestBandPrice) Size() (n int)
- func (m *MsgRequestBandPrice) String() string
- func (m *MsgRequestBandPrice) Type() string
- func (m *MsgRequestBandPrice) Unmarshal(dAtA []byte) error
- func (m *MsgRequestBandPrice) ValidateBasic() error
- func (m *MsgRequestBandPrice) XXX_DiscardUnknown()
- func (m *MsgRequestBandPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestBandPrice) XXX_Merge(src proto.Message)
- func (m *MsgRequestBandPrice) XXX_Size() int
- func (m *MsgRequestBandPrice) XXX_Unmarshal(b []byte) error
- type MsgRequestBandPriceResponse
- func (*MsgRequestBandPriceResponse) Descriptor() ([]byte, []int)
- func (m *MsgRequestBandPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestBandPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestBandPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestBandPriceResponse) ProtoMessage()
- func (m *MsgRequestBandPriceResponse) Reset()
- func (m *MsgRequestBandPriceResponse) Size() (n int)
- func (m *MsgRequestBandPriceResponse) String() string
- func (m *MsgRequestBandPriceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRequestBandPriceResponse) XXX_DiscardUnknown()
- func (m *MsgRequestBandPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestBandPriceResponse) XXX_Merge(src proto.Message)
- func (m *MsgRequestBandPriceResponse) XXX_Size() int
- func (m *MsgRequestBandPriceResponse) 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 (msg *MsgSetPriceFeeder) GetSignBytes() []byte
- func (msg *MsgSetPriceFeeder) GetSigners() []sdk.AccAddress
- 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 (msg *MsgSetPriceFeeder) Route() string
- func (m *MsgSetPriceFeeder) Size() (n int)
- func (m *MsgSetPriceFeeder) String() string
- func (msg *MsgSetPriceFeeder) Type() 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 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) 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- 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) 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 (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 ProposalAddAssetInfo
- func (*ProposalAddAssetInfo) Descriptor() ([]byte, []int)
- func (m *ProposalAddAssetInfo) GetBandTicker() string
- func (m *ProposalAddAssetInfo) GetDecimal() uint64
- func (m *ProposalAddAssetInfo) GetDenom() string
- func (m *ProposalAddAssetInfo) GetDescription() string
- func (m *ProposalAddAssetInfo) GetDisplay() string
- func (m *ProposalAddAssetInfo) GetElysTicker() string
- func (m *ProposalAddAssetInfo) GetTitle() string
- func (m *ProposalAddAssetInfo) Marshal() (dAtA []byte, err error)
- func (m *ProposalAddAssetInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalAddAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *ProposalAddAssetInfo) ProposalRoute() string
- func (sup *ProposalAddAssetInfo) ProposalType() string
- func (*ProposalAddAssetInfo) ProtoMessage()
- func (m *ProposalAddAssetInfo) Reset()
- func (m *ProposalAddAssetInfo) Size() (n int)
- func (m *ProposalAddAssetInfo) String() string
- func (m *ProposalAddAssetInfo) Unmarshal(dAtA []byte) error
- func (sup *ProposalAddAssetInfo) ValidateBasic() error
- func (m *ProposalAddAssetInfo) XXX_DiscardUnknown()
- func (m *ProposalAddAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalAddAssetInfo) XXX_Merge(src proto.Message)
- func (m *ProposalAddAssetInfo) XXX_Size() int
- func (m *ProposalAddAssetInfo) XXX_Unmarshal(b []byte) error
- type ProposalAddPriceFeeders
- func (*ProposalAddPriceFeeders) Descriptor() ([]byte, []int)
- func (m *ProposalAddPriceFeeders) GetDescription() string
- func (m *ProposalAddPriceFeeders) GetFeeders() []string
- func (m *ProposalAddPriceFeeders) GetTitle() string
- func (m *ProposalAddPriceFeeders) Marshal() (dAtA []byte, err error)
- func (m *ProposalAddPriceFeeders) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalAddPriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *ProposalAddPriceFeeders) ProposalRoute() string
- func (sup *ProposalAddPriceFeeders) ProposalType() string
- func (*ProposalAddPriceFeeders) ProtoMessage()
- func (m *ProposalAddPriceFeeders) Reset()
- func (m *ProposalAddPriceFeeders) Size() (n int)
- func (m *ProposalAddPriceFeeders) String() string
- func (m *ProposalAddPriceFeeders) Unmarshal(dAtA []byte) error
- func (sup *ProposalAddPriceFeeders) ValidateBasic() error
- func (m *ProposalAddPriceFeeders) XXX_DiscardUnknown()
- func (m *ProposalAddPriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalAddPriceFeeders) XXX_Merge(src proto.Message)
- func (m *ProposalAddPriceFeeders) XXX_Size() int
- func (m *ProposalAddPriceFeeders) XXX_Unmarshal(b []byte) error
- type ProposalRemoveAssetInfo
- func (*ProposalRemoveAssetInfo) Descriptor() ([]byte, []int)
- func (m *ProposalRemoveAssetInfo) GetDenom() string
- func (m *ProposalRemoveAssetInfo) GetDescription() string
- func (m *ProposalRemoveAssetInfo) GetTitle() string
- func (m *ProposalRemoveAssetInfo) Marshal() (dAtA []byte, err error)
- func (m *ProposalRemoveAssetInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalRemoveAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (csup *ProposalRemoveAssetInfo) ProposalRoute() string
- func (csup *ProposalRemoveAssetInfo) ProposalType() string
- func (*ProposalRemoveAssetInfo) ProtoMessage()
- func (m *ProposalRemoveAssetInfo) Reset()
- func (m *ProposalRemoveAssetInfo) Size() (n int)
- func (m *ProposalRemoveAssetInfo) String() string
- func (m *ProposalRemoveAssetInfo) Unmarshal(dAtA []byte) error
- func (csup *ProposalRemoveAssetInfo) ValidateBasic() error
- func (m *ProposalRemoveAssetInfo) XXX_DiscardUnknown()
- func (m *ProposalRemoveAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalRemoveAssetInfo) XXX_Merge(src proto.Message)
- func (m *ProposalRemoveAssetInfo) XXX_Size() int
- func (m *ProposalRemoveAssetInfo) XXX_Unmarshal(b []byte) error
- type ProposalRemovePriceFeeders
- func (*ProposalRemovePriceFeeders) Descriptor() ([]byte, []int)
- func (m *ProposalRemovePriceFeeders) GetDescription() string
- func (m *ProposalRemovePriceFeeders) GetFeeders() []string
- func (m *ProposalRemovePriceFeeders) GetTitle() string
- func (m *ProposalRemovePriceFeeders) Marshal() (dAtA []byte, err error)
- func (m *ProposalRemovePriceFeeders) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalRemovePriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (csup *ProposalRemovePriceFeeders) ProposalRoute() string
- func (csup *ProposalRemovePriceFeeders) ProposalType() string
- func (*ProposalRemovePriceFeeders) ProtoMessage()
- func (m *ProposalRemovePriceFeeders) Reset()
- func (m *ProposalRemovePriceFeeders) Size() (n int)
- func (m *ProposalRemovePriceFeeders) String() string
- func (m *ProposalRemovePriceFeeders) Unmarshal(dAtA []byte) error
- func (csup *ProposalRemovePriceFeeders) ValidateBasic() error
- func (m *ProposalRemovePriceFeeders) XXX_DiscardUnknown()
- func (m *ProposalRemovePriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalRemovePriceFeeders) XXX_Merge(src proto.Message)
- func (m *ProposalRemovePriceFeeders) XXX_Size() int
- func (m *ProposalRemovePriceFeeders) 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) 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) RequestBandPrice(ctx context.Context, req *MsgRequestBandPrice) (*MsgRequestBandPriceResponse, error)
- func (*UnimplementedMsgServer) SetPriceFeeder(ctx context.Context, req *MsgSetPriceFeeder) (*MsgSetPriceFeederResponse, 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 // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_oracle" // 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 ( TypeMsgSetPriceFeeder = "update_price_feeder" TypeMsgDeletePriceFeeder = "delete_price_feeder" )
const ( ProposalTypeAddAssetInfo string = "AddAssetInfo" ProposalTypeRemoveAssetInfo string = "RemoveAssetInfo" ProposalTypeAddPriceFeeders string = "AddPriceFeeders" ProposalTypeRemovePriceFeeders string = "RemovePriceFeeders" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgFeedMultiplePrices = "feed_multiple_prices"
const (
TypeMsgFeedPrice = "feed_price"
)
const TypeMsgRequestBandPrice = "request_band_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 ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrNotAvailable = sdkerrors.Register(ModuleName, 1500, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1501, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1502, "invalid version") ErrNotAPriceFeeder = sdkerrors.Register(ModuleName, 1503, "not a price feeder") ErrPriceFeederNotActive = sdkerrors.Register(ModuleName, 1504, "price feeder is not active") ErrNotModuleAdmin = sdkerrors.Register(ModuleName, 1505, "not a module admin") )
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 ( // 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/" // PriceFeederKeyPrefix is the prefix to retrieve all PriceFeeder PriceFeederKeyPrefix = "PriceFeeder/value/" )
var ( KeyBandEpoch = []byte("BandEpoch") KeyClientID = []byte("ClientID") KeyOracleScriptID = []byte("OracleScriptID") KeyMultiplier = []byte("Multiplier") KeyBandChannelSource = []byte("BandChannelSource") KeyAskCount = []byte("AskCount") KeyMinCount = []byte("MinCount") KeyFeeLimit = []byte("FeeLimit") KeyPrepareGas = []byte("PrepareGas") KeyExecuteGas = []byte("ExecuteGas") KeyModuleAdmin = []byte("ModuleAdmin") KeyPriceExpiryTime = []byte("PriceExpiryTime") )
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 ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
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 NewProposalAddAssetInfo ¶
func NewProposalAddAssetInfo( title, description string, denom string, display string, bandTicker string, elysTicker string, decimal uint64, ) gov.Content
NewProposalAddAssetInfo creates a new ProposalAddAssetInfo instance
func NewProposalAddPriceFeeders ¶
NewProposalAddPriceFeeders creates a new ProposalAddPriceFeeders instance
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func PriceFeederKey ¶
PriceFeederKey returns the store key to retrieve a PriceFeeder from the feeder fields
func PriceKeyPrefixAsset ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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 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) RequestBandPrice(ctx context.Context, in *MsgRequestBandPrice, opts ...grpc.CallOption) (*MsgRequestBandPriceResponse, error) SetPriceFeeder(ctx context.Context, in *MsgSetPriceFeeder, opts ...grpc.CallOption) (*MsgSetPriceFeederResponse, error) DeletePriceFeeder(ctx context.Context, in *MsgDeletePriceFeeder, opts ...grpc.CallOption) (*MsgDeletePriceFeederResponse, 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 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) GetSignBytes ¶
func (msg *MsgDeletePriceFeeder) GetSignBytes() []byte
func (*MsgDeletePriceFeeder) GetSigners ¶
func (msg *MsgDeletePriceFeeder) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgDeletePriceFeeder) Route() string
func (*MsgDeletePriceFeeder) Size ¶
func (m *MsgDeletePriceFeeder) Size() (n int)
func (*MsgDeletePriceFeeder) String ¶
func (m *MsgDeletePriceFeeder) String() string
func (*MsgDeletePriceFeeder) Type ¶
func (msg *MsgDeletePriceFeeder) Type() 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) GetSignBytes ¶
func (msg *MsgFeedMultiplePrices) GetSignBytes() []byte
func (*MsgFeedMultiplePrices) GetSigners ¶
func (msg *MsgFeedMultiplePrices) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgFeedMultiplePrices) Route() string
func (*MsgFeedMultiplePrices) Size ¶
func (m *MsgFeedMultiplePrices) Size() (n int)
func (*MsgFeedMultiplePrices) String ¶
func (m *MsgFeedMultiplePrices) String() string
func (*MsgFeedMultiplePrices) Type ¶
func (msg *MsgFeedMultiplePrices) Type() 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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" 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) GetSignBytes ¶
func (msg *MsgFeedPrice) GetSignBytes() []byte
func (*MsgFeedPrice) GetSigners ¶
func (msg *MsgFeedPrice) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgFeedPrice) Route() string
func (*MsgFeedPrice) Size ¶
func (m *MsgFeedPrice) Size() (n int)
func (*MsgFeedPrice) String ¶
func (m *MsgFeedPrice) String() string
func (*MsgFeedPrice) Type ¶
func (msg *MsgFeedPrice) Type() 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 MsgRequestBandPrice ¶
type MsgRequestBandPrice struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` OracleScriptID uint64 `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"` SourceChannel string `protobuf:"bytes,3,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"` Calldata *BandPriceCallData `protobuf:"bytes,4,opt,name=calldata,proto3" json:"calldata,omitempty"` AskCount uint64 `protobuf:"varint,5,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"` MinCount uint64 `protobuf:"varint,6,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,8,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty"` ExecuteGas uint64 `protobuf:"varint,9,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty"` ClientID string `protobuf:"bytes,10,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
func NewMsgRequestBandPrice ¶
func NewMsgRequestBandPrice( creator string, oracleScriptID OracleScriptID, sourceChannel string, calldata *BandPriceCallData, askCount uint64, minCount uint64, feeLimit sdk.Coins, prepareGas uint64, executeGas uint64, ) *MsgRequestBandPrice
NewMsgRequestBandPrice creates a new BandPrice message
func (*MsgRequestBandPrice) Descriptor ¶
func (*MsgRequestBandPrice) Descriptor() ([]byte, []int)
func (*MsgRequestBandPrice) GetAskCount ¶
func (m *MsgRequestBandPrice) GetAskCount() uint64
func (*MsgRequestBandPrice) GetCalldata ¶
func (m *MsgRequestBandPrice) GetCalldata() *BandPriceCallData
func (*MsgRequestBandPrice) GetClientID ¶
func (m *MsgRequestBandPrice) GetClientID() string
func (*MsgRequestBandPrice) GetCreator ¶
func (m *MsgRequestBandPrice) GetCreator() string
func (*MsgRequestBandPrice) GetExecuteGas ¶
func (m *MsgRequestBandPrice) GetExecuteGas() uint64
func (*MsgRequestBandPrice) GetFeeLimit ¶
func (m *MsgRequestBandPrice) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgRequestBandPrice) GetMinCount ¶
func (m *MsgRequestBandPrice) GetMinCount() uint64
func (*MsgRequestBandPrice) GetOracleScriptID ¶
func (m *MsgRequestBandPrice) GetOracleScriptID() uint64
func (*MsgRequestBandPrice) GetPrepareGas ¶
func (m *MsgRequestBandPrice) GetPrepareGas() uint64
func (*MsgRequestBandPrice) GetSignBytes ¶
func (m *MsgRequestBandPrice) GetSignBytes() []byte
GetSignBytes returns the signed bytes from the message
func (*MsgRequestBandPrice) GetSigners ¶
func (m *MsgRequestBandPrice) GetSigners() []sdk.AccAddress
GetSigners returns the message signers
func (*MsgRequestBandPrice) GetSourceChannel ¶
func (m *MsgRequestBandPrice) GetSourceChannel() string
func (*MsgRequestBandPrice) Marshal ¶
func (m *MsgRequestBandPrice) Marshal() (dAtA []byte, err error)
func (*MsgRequestBandPrice) MarshalTo ¶
func (m *MsgRequestBandPrice) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestBandPrice) MarshalToSizedBuffer ¶
func (m *MsgRequestBandPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestBandPrice) ProtoMessage ¶
func (*MsgRequestBandPrice) ProtoMessage()
func (*MsgRequestBandPrice) Reset ¶
func (m *MsgRequestBandPrice) Reset()
func (*MsgRequestBandPrice) Route ¶
func (m *MsgRequestBandPrice) Route() string
Route returns the message route
func (*MsgRequestBandPrice) Size ¶
func (m *MsgRequestBandPrice) Size() (n int)
func (*MsgRequestBandPrice) String ¶
func (m *MsgRequestBandPrice) String() string
func (*MsgRequestBandPrice) Type ¶
func (m *MsgRequestBandPrice) Type() string
Type returns the message type
func (*MsgRequestBandPrice) Unmarshal ¶
func (m *MsgRequestBandPrice) Unmarshal(dAtA []byte) error
func (*MsgRequestBandPrice) ValidateBasic ¶
func (m *MsgRequestBandPrice) ValidateBasic() error
ValidateBasic check the basic message validation
func (*MsgRequestBandPrice) XXX_DiscardUnknown ¶
func (m *MsgRequestBandPrice) XXX_DiscardUnknown()
func (*MsgRequestBandPrice) XXX_Marshal ¶
func (m *MsgRequestBandPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestBandPrice) XXX_Merge ¶
func (m *MsgRequestBandPrice) XXX_Merge(src proto.Message)
func (*MsgRequestBandPrice) XXX_Size ¶
func (m *MsgRequestBandPrice) XXX_Size() int
func (*MsgRequestBandPrice) XXX_Unmarshal ¶
func (m *MsgRequestBandPrice) XXX_Unmarshal(b []byte) error
type MsgRequestBandPriceResponse ¶
type MsgRequestBandPriceResponse struct { }
func (*MsgRequestBandPriceResponse) Descriptor ¶
func (*MsgRequestBandPriceResponse) Descriptor() ([]byte, []int)
func (*MsgRequestBandPriceResponse) Marshal ¶
func (m *MsgRequestBandPriceResponse) Marshal() (dAtA []byte, err error)
func (*MsgRequestBandPriceResponse) MarshalTo ¶
func (m *MsgRequestBandPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestBandPriceResponse) MarshalToSizedBuffer ¶
func (m *MsgRequestBandPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestBandPriceResponse) ProtoMessage ¶
func (*MsgRequestBandPriceResponse) ProtoMessage()
func (*MsgRequestBandPriceResponse) Reset ¶
func (m *MsgRequestBandPriceResponse) Reset()
func (*MsgRequestBandPriceResponse) Size ¶
func (m *MsgRequestBandPriceResponse) Size() (n int)
func (*MsgRequestBandPriceResponse) String ¶
func (m *MsgRequestBandPriceResponse) String() string
func (*MsgRequestBandPriceResponse) Unmarshal ¶
func (m *MsgRequestBandPriceResponse) Unmarshal(dAtA []byte) error
func (*MsgRequestBandPriceResponse) XXX_DiscardUnknown ¶
func (m *MsgRequestBandPriceResponse) XXX_DiscardUnknown()
func (*MsgRequestBandPriceResponse) XXX_Marshal ¶
func (m *MsgRequestBandPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestBandPriceResponse) XXX_Merge ¶
func (m *MsgRequestBandPriceResponse) XXX_Merge(src proto.Message)
func (*MsgRequestBandPriceResponse) XXX_Size ¶
func (m *MsgRequestBandPriceResponse) XXX_Size() int
func (*MsgRequestBandPriceResponse) XXX_Unmarshal ¶
func (m *MsgRequestBandPriceResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { FeedPrice(context.Context, *MsgFeedPrice) (*MsgFeedPriceResponse, error) FeedMultiplePrices(context.Context, *MsgFeedMultiplePrices) (*MsgFeedMultiplePricesResponse, error) RequestBandPrice(context.Context, *MsgRequestBandPrice) (*MsgRequestBandPriceResponse, error) SetPriceFeeder(context.Context, *MsgSetPriceFeeder) (*MsgSetPriceFeederResponse, error) DeletePriceFeeder(context.Context, *MsgDeletePriceFeeder) (*MsgDeletePriceFeederResponse, 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) GetSignBytes ¶
func (msg *MsgSetPriceFeeder) GetSignBytes() []byte
func (*MsgSetPriceFeeder) GetSigners ¶
func (msg *MsgSetPriceFeeder) GetSigners() []sdk.AccAddress
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) Route ¶
func (msg *MsgSetPriceFeeder) Route() string
func (*MsgSetPriceFeeder) Size ¶
func (m *MsgSetPriceFeeder) Size() (n int)
func (*MsgSetPriceFeeder) String ¶
func (m *MsgSetPriceFeeder) String() string
func (*MsgSetPriceFeeder) Type ¶
func (msg *MsgSetPriceFeeder) Type() 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 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"` }
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, ) 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) GetMinCount ¶
func (*Params) GetMultiplier ¶
func (*Params) GetOracleScriptID ¶
func (*Params) GetPrepareGas ¶
func (*Params) GetPriceExpiryTime ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
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 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" 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 (*Price) Descriptor ¶
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) 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 ProposalAddAssetInfo ¶
type ProposalAddAssetInfo struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` Display string `protobuf:"bytes,4,opt,name=display,proto3" json:"display,omitempty"` BandTicker string `protobuf:"bytes,5,opt,name=band_ticker,json=bandTicker,proto3" json:"band_ticker,omitempty"` ElysTicker string `protobuf:"bytes,6,opt,name=elys_ticker,json=elysTicker,proto3" json:"elys_ticker,omitempty"` Decimal uint64 `protobuf:"varint,7,opt,name=decimal,proto3" json:"decimal,omitempty"` }
func (*ProposalAddAssetInfo) Descriptor ¶
func (*ProposalAddAssetInfo) Descriptor() ([]byte, []int)
func (*ProposalAddAssetInfo) GetBandTicker ¶
func (m *ProposalAddAssetInfo) GetBandTicker() string
func (*ProposalAddAssetInfo) GetDecimal ¶
func (m *ProposalAddAssetInfo) GetDecimal() uint64
func (*ProposalAddAssetInfo) GetDenom ¶
func (m *ProposalAddAssetInfo) GetDenom() string
func (*ProposalAddAssetInfo) GetDescription ¶
func (m *ProposalAddAssetInfo) GetDescription() string
func (*ProposalAddAssetInfo) GetDisplay ¶
func (m *ProposalAddAssetInfo) GetDisplay() string
func (*ProposalAddAssetInfo) GetElysTicker ¶
func (m *ProposalAddAssetInfo) GetElysTicker() string
func (*ProposalAddAssetInfo) GetTitle ¶
func (m *ProposalAddAssetInfo) GetTitle() string
func (*ProposalAddAssetInfo) Marshal ¶
func (m *ProposalAddAssetInfo) Marshal() (dAtA []byte, err error)
func (*ProposalAddAssetInfo) MarshalTo ¶
func (m *ProposalAddAssetInfo) MarshalTo(dAtA []byte) (int, error)
func (*ProposalAddAssetInfo) MarshalToSizedBuffer ¶
func (m *ProposalAddAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalAddAssetInfo) ProposalRoute ¶
func (sup *ProposalAddAssetInfo) ProposalRoute() string
ProposalRoute gets the proposal's router key
func (*ProposalAddAssetInfo) ProposalType ¶
func (sup *ProposalAddAssetInfo) ProposalType() string
ProposalType is "SoftwareUpgrade"
func (*ProposalAddAssetInfo) ProtoMessage ¶
func (*ProposalAddAssetInfo) ProtoMessage()
func (*ProposalAddAssetInfo) Reset ¶
func (m *ProposalAddAssetInfo) Reset()
func (*ProposalAddAssetInfo) Size ¶
func (m *ProposalAddAssetInfo) Size() (n int)
func (*ProposalAddAssetInfo) String ¶
func (m *ProposalAddAssetInfo) String() string
func (*ProposalAddAssetInfo) Unmarshal ¶
func (m *ProposalAddAssetInfo) Unmarshal(dAtA []byte) error
func (*ProposalAddAssetInfo) ValidateBasic ¶
func (sup *ProposalAddAssetInfo) ValidateBasic() error
ValidateBasic validates the proposal
func (*ProposalAddAssetInfo) XXX_DiscardUnknown ¶
func (m *ProposalAddAssetInfo) XXX_DiscardUnknown()
func (*ProposalAddAssetInfo) XXX_Marshal ¶
func (m *ProposalAddAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalAddAssetInfo) XXX_Merge ¶
func (m *ProposalAddAssetInfo) XXX_Merge(src proto.Message)
func (*ProposalAddAssetInfo) XXX_Size ¶
func (m *ProposalAddAssetInfo) XXX_Size() int
func (*ProposalAddAssetInfo) XXX_Unmarshal ¶
func (m *ProposalAddAssetInfo) XXX_Unmarshal(b []byte) error
type ProposalAddPriceFeeders ¶
type ProposalAddPriceFeeders struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Feeders []string `protobuf:"bytes,3,rep,name=feeders,proto3" json:"feeders,omitempty"` }
func (*ProposalAddPriceFeeders) Descriptor ¶
func (*ProposalAddPriceFeeders) Descriptor() ([]byte, []int)
func (*ProposalAddPriceFeeders) GetDescription ¶
func (m *ProposalAddPriceFeeders) GetDescription() string
func (*ProposalAddPriceFeeders) GetFeeders ¶
func (m *ProposalAddPriceFeeders) GetFeeders() []string
func (*ProposalAddPriceFeeders) GetTitle ¶
func (m *ProposalAddPriceFeeders) GetTitle() string
func (*ProposalAddPriceFeeders) Marshal ¶
func (m *ProposalAddPriceFeeders) Marshal() (dAtA []byte, err error)
func (*ProposalAddPriceFeeders) MarshalTo ¶
func (m *ProposalAddPriceFeeders) MarshalTo(dAtA []byte) (int, error)
func (*ProposalAddPriceFeeders) MarshalToSizedBuffer ¶
func (m *ProposalAddPriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalAddPriceFeeders) ProposalRoute ¶
func (sup *ProposalAddPriceFeeders) ProposalRoute() string
ProposalRoute gets the proposal's router key
func (*ProposalAddPriceFeeders) ProposalType ¶
func (sup *ProposalAddPriceFeeders) ProposalType() string
ProposalType is "SoftwareUpgrade"
func (*ProposalAddPriceFeeders) ProtoMessage ¶
func (*ProposalAddPriceFeeders) ProtoMessage()
func (*ProposalAddPriceFeeders) Reset ¶
func (m *ProposalAddPriceFeeders) Reset()
func (*ProposalAddPriceFeeders) Size ¶
func (m *ProposalAddPriceFeeders) Size() (n int)
func (*ProposalAddPriceFeeders) String ¶
func (m *ProposalAddPriceFeeders) String() string
func (*ProposalAddPriceFeeders) Unmarshal ¶
func (m *ProposalAddPriceFeeders) Unmarshal(dAtA []byte) error
func (*ProposalAddPriceFeeders) ValidateBasic ¶
func (sup *ProposalAddPriceFeeders) ValidateBasic() error
ValidateBasic validates the proposal
func (*ProposalAddPriceFeeders) XXX_DiscardUnknown ¶
func (m *ProposalAddPriceFeeders) XXX_DiscardUnknown()
func (*ProposalAddPriceFeeders) XXX_Marshal ¶
func (m *ProposalAddPriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalAddPriceFeeders) XXX_Merge ¶
func (m *ProposalAddPriceFeeders) XXX_Merge(src proto.Message)
func (*ProposalAddPriceFeeders) XXX_Size ¶
func (m *ProposalAddPriceFeeders) XXX_Size() int
func (*ProposalAddPriceFeeders) XXX_Unmarshal ¶
func (m *ProposalAddPriceFeeders) XXX_Unmarshal(b []byte) error
type ProposalRemoveAssetInfo ¶
type ProposalRemoveAssetInfo struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*ProposalRemoveAssetInfo) Descriptor ¶
func (*ProposalRemoveAssetInfo) Descriptor() ([]byte, []int)
func (*ProposalRemoveAssetInfo) GetDenom ¶
func (m *ProposalRemoveAssetInfo) GetDenom() string
func (*ProposalRemoveAssetInfo) GetDescription ¶
func (m *ProposalRemoveAssetInfo) GetDescription() string
func (*ProposalRemoveAssetInfo) GetTitle ¶
func (m *ProposalRemoveAssetInfo) GetTitle() string
func (*ProposalRemoveAssetInfo) Marshal ¶
func (m *ProposalRemoveAssetInfo) Marshal() (dAtA []byte, err error)
func (*ProposalRemoveAssetInfo) MarshalTo ¶
func (m *ProposalRemoveAssetInfo) MarshalTo(dAtA []byte) (int, error)
func (*ProposalRemoveAssetInfo) MarshalToSizedBuffer ¶
func (m *ProposalRemoveAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalRemoveAssetInfo) ProposalRoute ¶
func (csup *ProposalRemoveAssetInfo) ProposalRoute() string
func (*ProposalRemoveAssetInfo) ProposalType ¶
func (csup *ProposalRemoveAssetInfo) ProposalType() string
func (*ProposalRemoveAssetInfo) ProtoMessage ¶
func (*ProposalRemoveAssetInfo) ProtoMessage()
func (*ProposalRemoveAssetInfo) Reset ¶
func (m *ProposalRemoveAssetInfo) Reset()
func (*ProposalRemoveAssetInfo) Size ¶
func (m *ProposalRemoveAssetInfo) Size() (n int)
func (*ProposalRemoveAssetInfo) String ¶
func (m *ProposalRemoveAssetInfo) String() string
func (*ProposalRemoveAssetInfo) Unmarshal ¶
func (m *ProposalRemoveAssetInfo) Unmarshal(dAtA []byte) error
func (*ProposalRemoveAssetInfo) ValidateBasic ¶
func (csup *ProposalRemoveAssetInfo) ValidateBasic() error
func (*ProposalRemoveAssetInfo) XXX_DiscardUnknown ¶
func (m *ProposalRemoveAssetInfo) XXX_DiscardUnknown()
func (*ProposalRemoveAssetInfo) XXX_Marshal ¶
func (m *ProposalRemoveAssetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalRemoveAssetInfo) XXX_Merge ¶
func (m *ProposalRemoveAssetInfo) XXX_Merge(src proto.Message)
func (*ProposalRemoveAssetInfo) XXX_Size ¶
func (m *ProposalRemoveAssetInfo) XXX_Size() int
func (*ProposalRemoveAssetInfo) XXX_Unmarshal ¶
func (m *ProposalRemoveAssetInfo) XXX_Unmarshal(b []byte) error
type ProposalRemovePriceFeeders ¶
type ProposalRemovePriceFeeders struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Feeders []string `protobuf:"bytes,3,rep,name=feeders,proto3" json:"feeders,omitempty"` }
func (*ProposalRemovePriceFeeders) Descriptor ¶
func (*ProposalRemovePriceFeeders) Descriptor() ([]byte, []int)
func (*ProposalRemovePriceFeeders) GetDescription ¶
func (m *ProposalRemovePriceFeeders) GetDescription() string
func (*ProposalRemovePriceFeeders) GetFeeders ¶
func (m *ProposalRemovePriceFeeders) GetFeeders() []string
func (*ProposalRemovePriceFeeders) GetTitle ¶
func (m *ProposalRemovePriceFeeders) GetTitle() string
func (*ProposalRemovePriceFeeders) Marshal ¶
func (m *ProposalRemovePriceFeeders) Marshal() (dAtA []byte, err error)
func (*ProposalRemovePriceFeeders) MarshalTo ¶
func (m *ProposalRemovePriceFeeders) MarshalTo(dAtA []byte) (int, error)
func (*ProposalRemovePriceFeeders) MarshalToSizedBuffer ¶
func (m *ProposalRemovePriceFeeders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalRemovePriceFeeders) ProposalRoute ¶
func (csup *ProposalRemovePriceFeeders) ProposalRoute() string
func (*ProposalRemovePriceFeeders) ProposalType ¶
func (csup *ProposalRemovePriceFeeders) ProposalType() string
func (*ProposalRemovePriceFeeders) ProtoMessage ¶
func (*ProposalRemovePriceFeeders) ProtoMessage()
func (*ProposalRemovePriceFeeders) Reset ¶
func (m *ProposalRemovePriceFeeders) Reset()
func (*ProposalRemovePriceFeeders) Size ¶
func (m *ProposalRemovePriceFeeders) Size() (n int)
func (*ProposalRemovePriceFeeders) String ¶
func (m *ProposalRemovePriceFeeders) String() string
func (*ProposalRemovePriceFeeders) Unmarshal ¶
func (m *ProposalRemovePriceFeeders) Unmarshal(dAtA []byte) error
func (*ProposalRemovePriceFeeders) ValidateBasic ¶
func (csup *ProposalRemovePriceFeeders) ValidateBasic() error
func (*ProposalRemovePriceFeeders) XXX_DiscardUnknown ¶
func (m *ProposalRemovePriceFeeders) XXX_DiscardUnknown()
func (*ProposalRemovePriceFeeders) XXX_Marshal ¶
func (m *ProposalRemovePriceFeeders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalRemovePriceFeeders) XXX_Merge ¶
func (m *ProposalRemovePriceFeeders) XXX_Merge(src proto.Message)
func (*ProposalRemovePriceFeeders) XXX_Size ¶
func (m *ProposalRemovePriceFeeders) XXX_Size() int
func (*ProposalRemovePriceFeeders) XXX_Unmarshal ¶
func (m *ProposalRemovePriceFeeders) 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) 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) RequestBandPrice ¶
func (*UnimplementedMsgServer) RequestBandPrice(ctx context.Context, req *MsgRequestBandPrice) (*MsgRequestBandPriceResponse, error)
func (*UnimplementedMsgServer) SetPriceFeeder ¶
func (*UnimplementedMsgServer) SetPriceFeeder(ctx context.Context, req *MsgSetPriceFeeder) (*MsgSetPriceFeederResponse, 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_feed_multiple_prices.go
- messages_price.go
- messages_price_feeder.go
- oracle.go
- params.go
- params.pb.go
- price.pb.go
- price_feeder.pb.go
- proposal.go
- proposal.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go