Documentation ¶
Index ¶
- Constants
- Variables
- func GetBandIBCCallDataRecordKey(clientID uint64) []byte
- func GetBandIBCOracleRequestIDKey(requestID uint64) []byte
- func GetBandIBCPriceStoreKey(symbol string) []byte
- func GetBandPriceStoreKey(symbol string) []byte
- func GetBandRelayerStoreKey(relayer sdk.AccAddress) []byte
- func GetBaseQuoteHash(oracleBase, oracleQuote string) common.Hash
- func GetChainlinkPriceStoreKey(feedId string) []byte
- func GetCoinbasePriceStoreIterationKey(key string) []byte
- func GetCoinbasePriceStoreKey(key string, timestamp uint64) []byte
- func GetPriceFeedInfoKey(priceFeedInfo *PriceFeedInfo) []byte
- func GetPriceFeedPriceStoreKey(baseQuoteHash common.Hash) []byte
- func GetPricefeedRelayerStoreKey(oracleBase, oracleQuote string, relayer sdk.AccAddress) []byte
- func GetPricefeedRelayerStorePrefix(baseQuoteHash common.Hash) []byte
- func NewOracleRequestPacketData(clientID string, calldata []byte, r *BandOracleRequest) bandPacket.OracleRequestPacketData
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateCoinbaseSignature(message, signature []byte) error
- func ValidateEthereumSignature(hash common.Hash, signature []byte, ethAddress common.Address) error
- type AuthorizeBandOracleRequestProposal
- func (*AuthorizeBandOracleRequestProposal) Descriptor() ([]byte, []int)
- func (p *AuthorizeBandOracleRequestProposal) GetDescription() string
- func (p *AuthorizeBandOracleRequestProposal) GetTitle() string
- func (m *AuthorizeBandOracleRequestProposal) Marshal() (dAtA []byte, err error)
- func (m *AuthorizeBandOracleRequestProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthorizeBandOracleRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *AuthorizeBandOracleRequestProposal) ProposalRoute() string
- func (p *AuthorizeBandOracleRequestProposal) ProposalType() string
- func (*AuthorizeBandOracleRequestProposal) ProtoMessage()
- func (m *AuthorizeBandOracleRequestProposal) Reset()
- func (m *AuthorizeBandOracleRequestProposal) Size() (n int)
- func (m *AuthorizeBandOracleRequestProposal) String() string
- func (m *AuthorizeBandOracleRequestProposal) Unmarshal(dAtA []byte) error
- func (p *AuthorizeBandOracleRequestProposal) ValidateBasic() error
- func (m *AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown()
- func (m *AuthorizeBandOracleRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizeBandOracleRequestProposal) XXX_Merge(src proto.Message)
- func (m *AuthorizeBandOracleRequestProposal) XXX_Size() int
- func (m *AuthorizeBandOracleRequestProposal) XXX_Unmarshal(b []byte) error
- type BandIBCParams
- func (*BandIBCParams) Descriptor() ([]byte, []int)
- func (m *BandIBCParams) GetBandIbcEnabled() bool
- func (m *BandIBCParams) GetIbcPortId() string
- func (m *BandIBCParams) GetIbcRequestInterval() int64
- func (m *BandIBCParams) GetIbcSourceChannel() string
- func (m *BandIBCParams) GetIbcVersion() string
- func (m *BandIBCParams) Marshal() (dAtA []byte, err error)
- func (m *BandIBCParams) MarshalTo(dAtA []byte) (int, error)
- func (m *BandIBCParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BandIBCParams) ProtoMessage()
- func (m *BandIBCParams) Reset()
- func (m *BandIBCParams) Size() (n int)
- func (m *BandIBCParams) String() string
- func (m *BandIBCParams) Unmarshal(dAtA []byte) error
- func (m *BandIBCParams) XXX_DiscardUnknown()
- func (m *BandIBCParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BandIBCParams) XXX_Merge(src proto.Message)
- func (m *BandIBCParams) XXX_Size() int
- func (m *BandIBCParams) XXX_Unmarshal(b []byte) error
- type BandOracleRequest
- func (*BandOracleRequest) Descriptor() ([]byte, []int)
- func (m *BandOracleRequest) GetAskCount() uint64
- func (r *BandOracleRequest) GetCalldata() []byte
- func (m *BandOracleRequest) GetExecuteGas() uint64
- func (m *BandOracleRequest) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BandOracleRequest) GetMinCount() uint64
- func (m *BandOracleRequest) GetOracleScriptId() int64
- func (m *BandOracleRequest) GetPrepareGas() uint64
- func (m *BandOracleRequest) GetRequestId() uint64
- func (m *BandOracleRequest) GetSymbols() []string
- func (m *BandOracleRequest) Marshal() (dAtA []byte, err error)
- func (m *BandOracleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BandOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BandOracleRequest) ProtoMessage()
- func (m *BandOracleRequest) Reset()
- func (m *BandOracleRequest) Size() (n int)
- func (m *BandOracleRequest) String() string
- func (m *BandOracleRequest) Unmarshal(dAtA []byte) error
- func (m *BandOracleRequest) XXX_DiscardUnknown()
- func (m *BandOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BandOracleRequest) XXX_Merge(src proto.Message)
- func (m *BandOracleRequest) XXX_Size() int
- func (m *BandOracleRequest) XXX_Unmarshal(b []byte) error
- type BandPriceState
- func (*BandPriceState) Descriptor() ([]byte, []int)
- func (m *BandPriceState) GetPriceState() PriceState
- func (m *BandPriceState) GetRequest_ID() uint64
- func (m *BandPriceState) GetResolveTime() uint64
- func (m *BandPriceState) GetSymbol() string
- func (m *BandPriceState) Marshal() (dAtA []byte, err error)
- func (m *BandPriceState) MarshalTo(dAtA []byte) (int, error)
- func (m *BandPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BandPriceState) ProtoMessage()
- func (m *BandPriceState) Reset()
- func (m *BandPriceState) Size() (n int)
- func (m *BandPriceState) String() string
- func (m *BandPriceState) Unmarshal(dAtA []byte) error
- func (m *BandPriceState) XXX_DiscardUnknown()
- func (m *BandPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BandPriceState) XXX_Merge(src proto.Message)
- func (m *BandPriceState) XXX_Size() int
- func (m *BandPriceState) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type CalldataRecord
- func (*CalldataRecord) Descriptor() ([]byte, []int)
- func (m *CalldataRecord) GetCalldata() []byte
- func (m *CalldataRecord) GetClientId() uint64
- func (m *CalldataRecord) Marshal() (dAtA []byte, err error)
- func (m *CalldataRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *CalldataRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CalldataRecord) ProtoMessage()
- func (m *CalldataRecord) Reset()
- func (m *CalldataRecord) Size() (n int)
- func (m *CalldataRecord) String() string
- func (m *CalldataRecord) Unmarshal(dAtA []byte) error
- func (m *CalldataRecord) XXX_DiscardUnknown()
- func (m *CalldataRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CalldataRecord) XXX_Merge(src proto.Message)
- func (m *CalldataRecord) XXX_Size() int
- func (m *CalldataRecord) XXX_Unmarshal(b []byte) error
- type ChainlinkPriceState
- func (*ChainlinkPriceState) Descriptor() ([]byte, []int)
- func (m *ChainlinkPriceState) GetFeedId() string
- func (m *ChainlinkPriceState) GetPriceState() PriceState
- func (m *ChainlinkPriceState) GetTimestamp() uint64
- func (m *ChainlinkPriceState) Marshal() (dAtA []byte, err error)
- func (m *ChainlinkPriceState) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainlinkPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainlinkPriceState) ProtoMessage()
- func (m *ChainlinkPriceState) Reset()
- func (m *ChainlinkPriceState) Size() (n int)
- func (m *ChainlinkPriceState) String() string
- func (m *ChainlinkPriceState) Unmarshal(dAtA []byte) error
- func (m *ChainlinkPriceState) XXX_DiscardUnknown()
- func (m *ChainlinkPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainlinkPriceState) XXX_Merge(src proto.Message)
- func (m *ChainlinkPriceState) XXX_Size() int
- func (m *ChainlinkPriceState) XXX_Unmarshal(b []byte) error
- type ChannelKeeper
- type CoinbasePriceState
- func (*CoinbasePriceState) Descriptor() ([]byte, []int)
- func (c *CoinbasePriceState) GetDecPrice() sdk.Dec
- func (m *CoinbasePriceState) GetKey() string
- func (m *CoinbasePriceState) GetKind() string
- func (m *CoinbasePriceState) GetPriceState() PriceState
- func (m *CoinbasePriceState) GetTimestamp() uint64
- func (m *CoinbasePriceState) GetValue() uint64
- func (m *CoinbasePriceState) Marshal() (dAtA []byte, err error)
- func (m *CoinbasePriceState) MarshalTo(dAtA []byte) (int, error)
- func (m *CoinbasePriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CoinbasePriceState) ProtoMessage()
- func (m *CoinbasePriceState) Reset()
- func (m *CoinbasePriceState) Size() (n int)
- func (m *CoinbasePriceState) String() string
- func (m *CoinbasePriceState) Unmarshal(dAtA []byte) error
- func (m *CoinbasePriceState) XXX_DiscardUnknown()
- func (m *CoinbasePriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoinbasePriceState) XXX_Merge(src proto.Message)
- func (m *CoinbasePriceState) XXX_Size() int
- func (m *CoinbasePriceState) XXX_Unmarshal(b []byte) error
- type EnableBandIBCProposal
- func (*EnableBandIBCProposal) Descriptor() ([]byte, []int)
- func (p *EnableBandIBCProposal) GetDescription() string
- func (p *EnableBandIBCProposal) GetTitle() string
- func (m *EnableBandIBCProposal) Marshal() (dAtA []byte, err error)
- func (m *EnableBandIBCProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *EnableBandIBCProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *EnableBandIBCProposal) ProposalRoute() string
- func (p *EnableBandIBCProposal) ProposalType() string
- func (*EnableBandIBCProposal) ProtoMessage()
- func (m *EnableBandIBCProposal) Reset()
- func (m *EnableBandIBCProposal) Size() (n int)
- func (m *EnableBandIBCProposal) String() string
- func (m *EnableBandIBCProposal) Unmarshal(dAtA []byte) error
- func (p *EnableBandIBCProposal) ValidateBasic() error
- func (m *EnableBandIBCProposal) XXX_DiscardUnknown()
- func (m *EnableBandIBCProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnableBandIBCProposal) XXX_Merge(src proto.Message)
- func (m *EnableBandIBCProposal) XXX_Size() int
- func (m *EnableBandIBCProposal) XXX_Unmarshal(b []byte) error
- type EventBandIBCAckError
- func (*EventBandIBCAckError) Descriptor() ([]byte, []int)
- func (m *EventBandIBCAckError) GetAckError() string
- func (m *EventBandIBCAckError) GetClientId() int64
- func (m *EventBandIBCAckError) Marshal() (dAtA []byte, err error)
- func (m *EventBandIBCAckError) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBandIBCAckError) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBandIBCAckError) ProtoMessage()
- func (m *EventBandIBCAckError) Reset()
- func (m *EventBandIBCAckError) Size() (n int)
- func (m *EventBandIBCAckError) String() string
- func (m *EventBandIBCAckError) Unmarshal(dAtA []byte) error
- func (m *EventBandIBCAckError) XXX_DiscardUnknown()
- func (m *EventBandIBCAckError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBandIBCAckError) XXX_Merge(src proto.Message)
- func (m *EventBandIBCAckError) XXX_Size() int
- func (m *EventBandIBCAckError) XXX_Unmarshal(b []byte) error
- type EventBandIBCAckSuccess
- func (*EventBandIBCAckSuccess) Descriptor() ([]byte, []int)
- func (m *EventBandIBCAckSuccess) GetAckResult() string
- func (m *EventBandIBCAckSuccess) GetClientId() int64
- func (m *EventBandIBCAckSuccess) Marshal() (dAtA []byte, err error)
- func (m *EventBandIBCAckSuccess) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBandIBCAckSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBandIBCAckSuccess) ProtoMessage()
- func (m *EventBandIBCAckSuccess) Reset()
- func (m *EventBandIBCAckSuccess) Size() (n int)
- func (m *EventBandIBCAckSuccess) String() string
- func (m *EventBandIBCAckSuccess) Unmarshal(dAtA []byte) error
- func (m *EventBandIBCAckSuccess) XXX_DiscardUnknown()
- func (m *EventBandIBCAckSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBandIBCAckSuccess) XXX_Merge(src proto.Message)
- func (m *EventBandIBCAckSuccess) XXX_Size() int
- func (m *EventBandIBCAckSuccess) XXX_Unmarshal(b []byte) error
- type EventBandIBCResponseTimeout
- func (*EventBandIBCResponseTimeout) Descriptor() ([]byte, []int)
- func (m *EventBandIBCResponseTimeout) GetClientId() int64
- func (m *EventBandIBCResponseTimeout) Marshal() (dAtA []byte, err error)
- func (m *EventBandIBCResponseTimeout) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBandIBCResponseTimeout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBandIBCResponseTimeout) ProtoMessage()
- func (m *EventBandIBCResponseTimeout) Reset()
- func (m *EventBandIBCResponseTimeout) Size() (n int)
- func (m *EventBandIBCResponseTimeout) String() string
- func (m *EventBandIBCResponseTimeout) Unmarshal(dAtA []byte) error
- func (m *EventBandIBCResponseTimeout) XXX_DiscardUnknown()
- func (m *EventBandIBCResponseTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBandIBCResponseTimeout) XXX_Merge(src proto.Message)
- func (m *EventBandIBCResponseTimeout) XXX_Size() int
- func (m *EventBandIBCResponseTimeout) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBandIbcLatestClientId() uint64
- func (m *GenesisState) GetBandIbcLatestRequestId() uint64
- func (m *GenesisState) GetBandIbcOracleRequests() []*BandOracleRequest
- func (m *GenesisState) GetBandIbcParams() BandIBCParams
- func (m *GenesisState) GetBandIbcPriceStates() []*BandPriceState
- func (m *GenesisState) GetBandPriceStates() []*BandPriceState
- func (m *GenesisState) GetBandRelayers() []string
- func (m *GenesisState) GetCalldataRecords() []*CalldataRecord
- func (m *GenesisState) GetChainlinkPriceStates() []*ChainlinkPriceState
- func (m *GenesisState) GetCoinbasePriceStates() []*CoinbasePriceState
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPriceFeedPriceStates() []*PriceFeedState
- 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 GetReferenceData
- func (*GetReferenceData) Descriptor() ([]byte, []int)
- func (m *GetReferenceData) GetBaseQuoteRate() string
- func (m *GetReferenceData) GetBaseQuoteSymbol() string
- func (m *GetReferenceData) GetLastUpdateBase() string
- func (m *GetReferenceData) GetLastUpdateQuote() string
- func (m *GetReferenceData) Marshal() (dAtA []byte, err error)
- func (m *GetReferenceData) MarshalTo(dAtA []byte) (int, error)
- func (m *GetReferenceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetReferenceData) ProtoMessage()
- func (m *GetReferenceData) Reset()
- func (m *GetReferenceData) Size() (n int)
- func (m *GetReferenceData) String() string
- func (m *GetReferenceData) Unmarshal(dAtA []byte) error
- func (m *GetReferenceData) XXX_DiscardUnknown()
- func (m *GetReferenceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReferenceData) XXX_Merge(src proto.Message)
- func (m *GetReferenceData) XXX_Size() int
- func (m *GetReferenceData) XXX_Unmarshal(b []byte) error
- type GrantBandOraclePrivilegeProposal
- func (*GrantBandOraclePrivilegeProposal) Descriptor() ([]byte, []int)
- func (p *GrantBandOraclePrivilegeProposal) GetDescription() string
- func (p *GrantBandOraclePrivilegeProposal) GetTitle() string
- func (m *GrantBandOraclePrivilegeProposal) Marshal() (dAtA []byte, err error)
- func (m *GrantBandOraclePrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *GrantBandOraclePrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *GrantBandOraclePrivilegeProposal) ProposalRoute() string
- func (p *GrantBandOraclePrivilegeProposal) ProposalType() string
- func (*GrantBandOraclePrivilegeProposal) ProtoMessage()
- func (m *GrantBandOraclePrivilegeProposal) Reset()
- func (m *GrantBandOraclePrivilegeProposal) Size() (n int)
- func (m *GrantBandOraclePrivilegeProposal) String() string
- func (m *GrantBandOraclePrivilegeProposal) Unmarshal(dAtA []byte) error
- func (p *GrantBandOraclePrivilegeProposal) ValidateBasic() error
- func (m *GrantBandOraclePrivilegeProposal) XXX_DiscardUnknown()
- func (m *GrantBandOraclePrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GrantBandOraclePrivilegeProposal) XXX_Merge(src proto.Message)
- func (m *GrantBandOraclePrivilegeProposal) XXX_Size() int
- func (m *GrantBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error
- type GrantPriceFeederPrivilegeProposal
- func (*GrantPriceFeederPrivilegeProposal) Descriptor() ([]byte, []int)
- func (p *GrantPriceFeederPrivilegeProposal) GetDescription() string
- func (p *GrantPriceFeederPrivilegeProposal) GetTitle() string
- func (m *GrantPriceFeederPrivilegeProposal) Marshal() (dAtA []byte, err error)
- func (m *GrantPriceFeederPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *GrantPriceFeederPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *GrantPriceFeederPrivilegeProposal) ProposalRoute() string
- func (p *GrantPriceFeederPrivilegeProposal) ProposalType() string
- func (*GrantPriceFeederPrivilegeProposal) ProtoMessage()
- func (m *GrantPriceFeederPrivilegeProposal) Reset()
- func (m *GrantPriceFeederPrivilegeProposal) Size() (n int)
- func (m *GrantPriceFeederPrivilegeProposal) String() string
- func (m *GrantPriceFeederPrivilegeProposal) Unmarshal(dAtA []byte) error
- func (p *GrantPriceFeederPrivilegeProposal) ValidateBasic() error
- func (m *GrantPriceFeederPrivilegeProposal) XXX_DiscardUnknown()
- func (m *GrantPriceFeederPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GrantPriceFeederPrivilegeProposal) XXX_Merge(src proto.Message)
- func (m *GrantPriceFeederPrivilegeProposal) XXX_Size() int
- func (m *GrantPriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRelayBandRates
- func (*MsgRelayBandRates) Descriptor() ([]byte, []int)
- func (m *MsgRelayBandRates) GetRates() []uint64
- func (m *MsgRelayBandRates) GetRelayer() string
- func (m *MsgRelayBandRates) GetRequestIDs() []uint64
- func (m *MsgRelayBandRates) GetResolveTimes() []uint64
- func (msg *MsgRelayBandRates) GetSignBytes() []byte
- func (msg MsgRelayBandRates) GetSigners() []sdk.AccAddress
- func (m *MsgRelayBandRates) GetSymbols() []string
- func (m *MsgRelayBandRates) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayBandRates) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayBandRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayBandRates) ProtoMessage()
- func (m *MsgRelayBandRates) Reset()
- func (msg MsgRelayBandRates) Route() string
- func (m *MsgRelayBandRates) Size() (n int)
- func (m *MsgRelayBandRates) String() string
- func (msg MsgRelayBandRates) Type() string
- func (m *MsgRelayBandRates) Unmarshal(dAtA []byte) error
- func (msg MsgRelayBandRates) ValidateBasic() error
- func (m *MsgRelayBandRates) XXX_DiscardUnknown()
- func (m *MsgRelayBandRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayBandRates) XXX_Merge(src proto.Message)
- func (m *MsgRelayBandRates) XXX_Size() int
- func (m *MsgRelayBandRates) XXX_Unmarshal(b []byte) error
- type MsgRelayBandRatesResponse
- func (*MsgRelayBandRatesResponse) Descriptor() ([]byte, []int)
- func (m *MsgRelayBandRatesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayBandRatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayBandRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayBandRatesResponse) ProtoMessage()
- func (m *MsgRelayBandRatesResponse) Reset()
- func (m *MsgRelayBandRatesResponse) Size() (n int)
- func (m *MsgRelayBandRatesResponse) String() string
- func (m *MsgRelayBandRatesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRelayBandRatesResponse) XXX_DiscardUnknown()
- func (m *MsgRelayBandRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayBandRatesResponse) XXX_Merge(src proto.Message)
- func (m *MsgRelayBandRatesResponse) XXX_Size() int
- func (m *MsgRelayBandRatesResponse) XXX_Unmarshal(b []byte) error
- type MsgRelayCoinbaseMessages
- func (*MsgRelayCoinbaseMessages) Descriptor() ([]byte, []int)
- func (msg *MsgRelayCoinbaseMessages) GetSignBytes() []byte
- func (msg MsgRelayCoinbaseMessages) GetSigners() []sdk.AccAddress
- func (m *MsgRelayCoinbaseMessages) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayCoinbaseMessages) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayCoinbaseMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayCoinbaseMessages) ProtoMessage()
- func (m *MsgRelayCoinbaseMessages) Reset()
- func (msg MsgRelayCoinbaseMessages) Route() string
- func (m *MsgRelayCoinbaseMessages) Size() (n int)
- func (m *MsgRelayCoinbaseMessages) String() string
- func (msg MsgRelayCoinbaseMessages) Type() string
- func (m *MsgRelayCoinbaseMessages) Unmarshal(dAtA []byte) error
- func (msg MsgRelayCoinbaseMessages) ValidateBasic() error
- func (m *MsgRelayCoinbaseMessages) XXX_DiscardUnknown()
- func (m *MsgRelayCoinbaseMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayCoinbaseMessages) XXX_Merge(src proto.Message)
- func (m *MsgRelayCoinbaseMessages) XXX_Size() int
- func (m *MsgRelayCoinbaseMessages) XXX_Unmarshal(b []byte) error
- type MsgRelayCoinbaseMessagesResponse
- func (*MsgRelayCoinbaseMessagesResponse) Descriptor() ([]byte, []int)
- func (m *MsgRelayCoinbaseMessagesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayCoinbaseMessagesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayCoinbaseMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayCoinbaseMessagesResponse) ProtoMessage()
- func (m *MsgRelayCoinbaseMessagesResponse) Reset()
- func (m *MsgRelayCoinbaseMessagesResponse) Size() (n int)
- func (m *MsgRelayCoinbaseMessagesResponse) String() string
- func (m *MsgRelayCoinbaseMessagesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRelayCoinbaseMessagesResponse) XXX_DiscardUnknown()
- func (m *MsgRelayCoinbaseMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayCoinbaseMessagesResponse) XXX_Merge(src proto.Message)
- func (m *MsgRelayCoinbaseMessagesResponse) XXX_Size() int
- func (m *MsgRelayCoinbaseMessagesResponse) XXX_Unmarshal(b []byte) error
- type MsgRelayPriceFeedPrice
- func (*MsgRelayPriceFeedPrice) Descriptor() ([]byte, []int)
- func (msg *MsgRelayPriceFeedPrice) GetSignBytes() []byte
- func (msg MsgRelayPriceFeedPrice) GetSigners() []sdk.AccAddress
- func (m *MsgRelayPriceFeedPrice) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayPriceFeedPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayPriceFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayPriceFeedPrice) ProtoMessage()
- func (m *MsgRelayPriceFeedPrice) Reset()
- func (msg MsgRelayPriceFeedPrice) Route() string
- func (m *MsgRelayPriceFeedPrice) Size() (n int)
- func (m *MsgRelayPriceFeedPrice) String() string
- func (msg MsgRelayPriceFeedPrice) Type() string
- func (m *MsgRelayPriceFeedPrice) Unmarshal(dAtA []byte) error
- func (msg MsgRelayPriceFeedPrice) ValidateBasic() error
- func (m *MsgRelayPriceFeedPrice) XXX_DiscardUnknown()
- func (m *MsgRelayPriceFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayPriceFeedPrice) XXX_Merge(src proto.Message)
- func (m *MsgRelayPriceFeedPrice) XXX_Size() int
- func (m *MsgRelayPriceFeedPrice) XXX_Unmarshal(b []byte) error
- type MsgRelayPriceFeedPriceResponse
- func (*MsgRelayPriceFeedPriceResponse) Descriptor() ([]byte, []int)
- func (m *MsgRelayPriceFeedPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayPriceFeedPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayPriceFeedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayPriceFeedPriceResponse) ProtoMessage()
- func (m *MsgRelayPriceFeedPriceResponse) Reset()
- func (m *MsgRelayPriceFeedPriceResponse) Size() (n int)
- func (m *MsgRelayPriceFeedPriceResponse) String() string
- func (m *MsgRelayPriceFeedPriceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRelayPriceFeedPriceResponse) XXX_DiscardUnknown()
- func (m *MsgRelayPriceFeedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayPriceFeedPriceResponse) XXX_Merge(src proto.Message)
- func (m *MsgRelayPriceFeedPriceResponse) XXX_Size() int
- func (m *MsgRelayPriceFeedPriceResponse) XXX_Unmarshal(b []byte) error
- type MsgRequestBandIBCRates
- func (*MsgRequestBandIBCRates) Descriptor() ([]byte, []int)
- func (msg MsgRequestBandIBCRates) GetSignBytes() []byte
- func (msg MsgRequestBandIBCRates) GetSigners() []sdk.AccAddress
- func (m *MsgRequestBandIBCRates) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestBandIBCRates) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestBandIBCRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestBandIBCRates) ProtoMessage()
- func (m *MsgRequestBandIBCRates) Reset()
- func (msg MsgRequestBandIBCRates) Route() string
- func (m *MsgRequestBandIBCRates) Size() (n int)
- func (m *MsgRequestBandIBCRates) String() string
- func (msg MsgRequestBandIBCRates) Type() string
- func (m *MsgRequestBandIBCRates) Unmarshal(dAtA []byte) error
- func (msg MsgRequestBandIBCRates) ValidateBasic() error
- func (m *MsgRequestBandIBCRates) XXX_DiscardUnknown()
- func (m *MsgRequestBandIBCRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestBandIBCRates) XXX_Merge(src proto.Message)
- func (m *MsgRequestBandIBCRates) XXX_Size() int
- func (m *MsgRequestBandIBCRates) XXX_Unmarshal(b []byte) error
- type MsgRequestBandIBCRatesResponse
- func (*MsgRequestBandIBCRatesResponse) Descriptor() ([]byte, []int)
- func (m *MsgRequestBandIBCRatesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestBandIBCRatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestBandIBCRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestBandIBCRatesResponse) ProtoMessage()
- func (m *MsgRequestBandIBCRatesResponse) Reset()
- func (m *MsgRequestBandIBCRatesResponse) Size() (n int)
- func (m *MsgRequestBandIBCRatesResponse) String() string
- func (m *MsgRequestBandIBCRatesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown()
- func (m *MsgRequestBandIBCRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestBandIBCRatesResponse) XXX_Merge(src proto.Message)
- func (m *MsgRequestBandIBCRatesResponse) XXX_Size() int
- func (m *MsgRequestBandIBCRatesResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type OcrKeeper
- type OracleType
- type ParamSet
- type ParamSetPair
- type ParamSetPairs
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- 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 (m *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 PriceFeedInfo
- func (*PriceFeedInfo) Descriptor() ([]byte, []int)
- func (m *PriceFeedInfo) GetBase() string
- func (m *PriceFeedInfo) GetQuote() string
- func (m *PriceFeedInfo) Marshal() (dAtA []byte, err error)
- func (m *PriceFeedInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceFeedInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceFeedInfo) ProtoMessage()
- func (m *PriceFeedInfo) Reset()
- func (m *PriceFeedInfo) Size() (n int)
- func (m *PriceFeedInfo) String() string
- func (m *PriceFeedInfo) Unmarshal(dAtA []byte) error
- func (m *PriceFeedInfo) XXX_DiscardUnknown()
- func (m *PriceFeedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceFeedInfo) XXX_Merge(src proto.Message)
- func (m *PriceFeedInfo) XXX_Size() int
- func (m *PriceFeedInfo) XXX_Unmarshal(b []byte) error
- type PriceFeedPrice
- func (*PriceFeedPrice) Descriptor() ([]byte, []int)
- func (m *PriceFeedPrice) Marshal() (dAtA []byte, err error)
- func (m *PriceFeedPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceFeedPrice) ProtoMessage()
- func (m *PriceFeedPrice) Reset()
- func (m *PriceFeedPrice) Size() (n int)
- func (m *PriceFeedPrice) String() string
- func (m *PriceFeedPrice) Unmarshal(dAtA []byte) error
- func (m *PriceFeedPrice) XXX_DiscardUnknown()
- func (m *PriceFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceFeedPrice) XXX_Merge(src proto.Message)
- func (m *PriceFeedPrice) XXX_Size() int
- func (m *PriceFeedPrice) XXX_Unmarshal(b []byte) error
- type PriceFeedState
- func (*PriceFeedState) Descriptor() ([]byte, []int)
- func (m *PriceFeedState) GetBase() string
- func (m *PriceFeedState) GetPriceState() *PriceState
- func (m *PriceFeedState) GetQuote() string
- func (m *PriceFeedState) GetRelayers() []string
- func (m *PriceFeedState) Marshal() (dAtA []byte, err error)
- func (m *PriceFeedState) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceFeedState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceFeedState) ProtoMessage()
- func (m *PriceFeedState) Reset()
- func (m *PriceFeedState) Size() (n int)
- func (m *PriceFeedState) String() string
- func (m *PriceFeedState) Unmarshal(dAtA []byte) error
- func (m *PriceFeedState) XXX_DiscardUnknown()
- func (m *PriceFeedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceFeedState) XXX_Merge(src proto.Message)
- func (m *PriceFeedState) XXX_Size() int
- func (m *PriceFeedState) XXX_Unmarshal(b []byte) error
- type PriceState
- func (*PriceState) Descriptor() ([]byte, []int)
- func (m *PriceState) GetTimestamp() int64
- func (m *PriceState) Marshal() (dAtA []byte, err error)
- func (m *PriceState) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceState) ProtoMessage()
- func (m *PriceState) Reset()
- func (m *PriceState) Size() (n int)
- func (m *PriceState) String() string
- func (m *PriceState) Unmarshal(dAtA []byte) error
- func (p *PriceState) UpdatePrice(price sdk.Dec, timestamp int64)
- func (m *PriceState) XXX_DiscardUnknown()
- func (m *PriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceState) XXX_Merge(src proto.Message)
- func (m *PriceState) XXX_Size() int
- func (m *PriceState) XXX_Unmarshal(b []byte) error
- type QueryBandIBCPriceStatesRequest
- func (*QueryBandIBCPriceStatesRequest) Descriptor() ([]byte, []int)
- func (m *QueryBandIBCPriceStatesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBandIBCPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandIBCPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandIBCPriceStatesRequest) ProtoMessage()
- func (m *QueryBandIBCPriceStatesRequest) Reset()
- func (m *QueryBandIBCPriceStatesRequest) Size() (n int)
- func (m *QueryBandIBCPriceStatesRequest) String() string
- func (m *QueryBandIBCPriceStatesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown()
- func (m *QueryBandIBCPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandIBCPriceStatesRequest) XXX_Merge(src proto.Message)
- func (m *QueryBandIBCPriceStatesRequest) XXX_Size() int
- func (m *QueryBandIBCPriceStatesRequest) XXX_Unmarshal(b []byte) error
- type QueryBandIBCPriceStatesResponse
- func (*QueryBandIBCPriceStatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryBandIBCPriceStatesResponse) GetPriceStates() []*BandPriceState
- func (m *QueryBandIBCPriceStatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBandIBCPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandIBCPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandIBCPriceStatesResponse) ProtoMessage()
- func (m *QueryBandIBCPriceStatesResponse) Reset()
- func (m *QueryBandIBCPriceStatesResponse) Size() (n int)
- func (m *QueryBandIBCPriceStatesResponse) String() string
- func (m *QueryBandIBCPriceStatesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown()
- func (m *QueryBandIBCPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandIBCPriceStatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryBandIBCPriceStatesResponse) XXX_Size() int
- func (m *QueryBandIBCPriceStatesResponse) XXX_Unmarshal(b []byte) error
- type QueryBandPriceStatesRequest
- func (*QueryBandPriceStatesRequest) Descriptor() ([]byte, []int)
- func (m *QueryBandPriceStatesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBandPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandPriceStatesRequest) ProtoMessage()
- func (m *QueryBandPriceStatesRequest) Reset()
- func (m *QueryBandPriceStatesRequest) Size() (n int)
- func (m *QueryBandPriceStatesRequest) String() string
- func (m *QueryBandPriceStatesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBandPriceStatesRequest) XXX_DiscardUnknown()
- func (m *QueryBandPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandPriceStatesRequest) XXX_Merge(src proto.Message)
- func (m *QueryBandPriceStatesRequest) XXX_Size() int
- func (m *QueryBandPriceStatesRequest) XXX_Unmarshal(b []byte) error
- type QueryBandPriceStatesResponse
- func (*QueryBandPriceStatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryBandPriceStatesResponse) GetPriceStates() []*BandPriceState
- func (m *QueryBandPriceStatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBandPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandPriceStatesResponse) ProtoMessage()
- func (m *QueryBandPriceStatesResponse) Reset()
- func (m *QueryBandPriceStatesResponse) Size() (n int)
- func (m *QueryBandPriceStatesResponse) String() string
- func (m *QueryBandPriceStatesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBandPriceStatesResponse) XXX_DiscardUnknown()
- func (m *QueryBandPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandPriceStatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryBandPriceStatesResponse) XXX_Size() int
- func (m *QueryBandPriceStatesResponse) XXX_Unmarshal(b []byte) error
- type QueryBandRelayersRequest
- func (*QueryBandRelayersRequest) Descriptor() ([]byte, []int)
- func (m *QueryBandRelayersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBandRelayersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandRelayersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandRelayersRequest) ProtoMessage()
- func (m *QueryBandRelayersRequest) Reset()
- func (m *QueryBandRelayersRequest) Size() (n int)
- func (m *QueryBandRelayersRequest) String() string
- func (m *QueryBandRelayersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBandRelayersRequest) XXX_DiscardUnknown()
- func (m *QueryBandRelayersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandRelayersRequest) XXX_Merge(src proto.Message)
- func (m *QueryBandRelayersRequest) XXX_Size() int
- func (m *QueryBandRelayersRequest) XXX_Unmarshal(b []byte) error
- type QueryBandRelayersResponse
- func (*QueryBandRelayersResponse) Descriptor() ([]byte, []int)
- func (m *QueryBandRelayersResponse) GetRelayers() []string
- func (m *QueryBandRelayersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBandRelayersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBandRelayersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBandRelayersResponse) ProtoMessage()
- func (m *QueryBandRelayersResponse) Reset()
- func (m *QueryBandRelayersResponse) Size() (n int)
- func (m *QueryBandRelayersResponse) String() string
- func (m *QueryBandRelayersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBandRelayersResponse) XXX_DiscardUnknown()
- func (m *QueryBandRelayersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBandRelayersResponse) XXX_Merge(src proto.Message)
- func (m *QueryBandRelayersResponse) XXX_Size() int
- func (m *QueryBandRelayersResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCoinbasePriceStatesRequest
- func (*QueryCoinbasePriceStatesRequest) Descriptor() ([]byte, []int)
- func (m *QueryCoinbasePriceStatesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCoinbasePriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoinbasePriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoinbasePriceStatesRequest) ProtoMessage()
- func (m *QueryCoinbasePriceStatesRequest) Reset()
- func (m *QueryCoinbasePriceStatesRequest) Size() (n int)
- func (m *QueryCoinbasePriceStatesRequest) String() string
- func (m *QueryCoinbasePriceStatesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown()
- func (m *QueryCoinbasePriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoinbasePriceStatesRequest) XXX_Merge(src proto.Message)
- func (m *QueryCoinbasePriceStatesRequest) XXX_Size() int
- func (m *QueryCoinbasePriceStatesRequest) XXX_Unmarshal(b []byte) error
- type QueryCoinbasePriceStatesResponse
- func (*QueryCoinbasePriceStatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryCoinbasePriceStatesResponse) GetPriceStates() []*CoinbasePriceState
- func (m *QueryCoinbasePriceStatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCoinbasePriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoinbasePriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoinbasePriceStatesResponse) ProtoMessage()
- func (m *QueryCoinbasePriceStatesResponse) Reset()
- func (m *QueryCoinbasePriceStatesResponse) Size() (n int)
- func (m *QueryCoinbasePriceStatesResponse) String() string
- func (m *QueryCoinbasePriceStatesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown()
- func (m *QueryCoinbasePriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoinbasePriceStatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryCoinbasePriceStatesResponse) XXX_Size() int
- func (m *QueryCoinbasePriceStatesResponse) XXX_Unmarshal(b []byte) error
- type QueryModuleStateRequest
- func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateRequest) ProtoMessage()
- func (m *QueryModuleStateRequest) Reset()
- func (m *QueryModuleStateRequest) Size() (n int)
- func (m *QueryModuleStateRequest) String() string
- func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
- func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateRequest) XXX_Size() int
- func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryModuleStateResponse
- func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateResponse) GetState() *GenesisState
- func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateResponse) ProtoMessage()
- func (m *QueryModuleStateResponse) Reset()
- func (m *QueryModuleStateResponse) Size() (n int)
- func (m *QueryModuleStateResponse) String() string
- func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
- func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateResponse) XXX_Size() int
- func (m *QueryModuleStateResponse) 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 QueryPriceFeedPriceStatesRequest
- func (*QueryPriceFeedPriceStatesRequest) Descriptor() ([]byte, []int)
- func (m *QueryPriceFeedPriceStatesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPriceFeedPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPriceFeedPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPriceFeedPriceStatesRequest) ProtoMessage()
- func (m *QueryPriceFeedPriceStatesRequest) Reset()
- func (m *QueryPriceFeedPriceStatesRequest) Size() (n int)
- func (m *QueryPriceFeedPriceStatesRequest) String() string
- func (m *QueryPriceFeedPriceStatesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPriceFeedPriceStatesRequest) XXX_DiscardUnknown()
- func (m *QueryPriceFeedPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPriceFeedPriceStatesRequest) XXX_Merge(src proto.Message)
- func (m *QueryPriceFeedPriceStatesRequest) XXX_Size() int
- func (m *QueryPriceFeedPriceStatesRequest) XXX_Unmarshal(b []byte) error
- type QueryPriceFeedPriceStatesResponse
- func (*QueryPriceFeedPriceStatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryPriceFeedPriceStatesResponse) GetPriceStates() []*PriceFeedState
- func (m *QueryPriceFeedPriceStatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPriceFeedPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPriceFeedPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPriceFeedPriceStatesResponse) ProtoMessage()
- func (m *QueryPriceFeedPriceStatesResponse) Reset()
- func (m *QueryPriceFeedPriceStatesResponse) Size() (n int)
- func (m *QueryPriceFeedPriceStatesResponse) String() string
- func (m *QueryPriceFeedPriceStatesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPriceFeedPriceStatesResponse) XXX_DiscardUnknown()
- func (m *QueryPriceFeedPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPriceFeedPriceStatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryPriceFeedPriceStatesResponse) XXX_Size() int
- func (m *QueryPriceFeedPriceStatesResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RevokeBandOraclePrivilegeProposal
- func (*RevokeBandOraclePrivilegeProposal) Descriptor() ([]byte, []int)
- func (p *RevokeBandOraclePrivilegeProposal) GetDescription() string
- func (p *RevokeBandOraclePrivilegeProposal) GetTitle() string
- func (m *RevokeBandOraclePrivilegeProposal) Marshal() (dAtA []byte, err error)
- func (m *RevokeBandOraclePrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokeBandOraclePrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *RevokeBandOraclePrivilegeProposal) ProposalRoute() string
- func (p *RevokeBandOraclePrivilegeProposal) ProposalType() string
- func (*RevokeBandOraclePrivilegeProposal) ProtoMessage()
- func (m *RevokeBandOraclePrivilegeProposal) Reset()
- func (m *RevokeBandOraclePrivilegeProposal) Size() (n int)
- func (m *RevokeBandOraclePrivilegeProposal) String() string
- func (m *RevokeBandOraclePrivilegeProposal) Unmarshal(dAtA []byte) error
- func (p *RevokeBandOraclePrivilegeProposal) ValidateBasic() error
- func (m *RevokeBandOraclePrivilegeProposal) XXX_DiscardUnknown()
- func (m *RevokeBandOraclePrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokeBandOraclePrivilegeProposal) XXX_Merge(src proto.Message)
- func (m *RevokeBandOraclePrivilegeProposal) XXX_Size() int
- func (m *RevokeBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error
- type RevokePriceFeederPrivilegeProposal
- func (*RevokePriceFeederPrivilegeProposal) Descriptor() ([]byte, []int)
- func (p *RevokePriceFeederPrivilegeProposal) GetDescription() string
- func (p *RevokePriceFeederPrivilegeProposal) GetTitle() string
- func (m *RevokePriceFeederPrivilegeProposal) Marshal() (dAtA []byte, err error)
- func (m *RevokePriceFeederPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokePriceFeederPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *RevokePriceFeederPrivilegeProposal) ProposalRoute() string
- func (p *RevokePriceFeederPrivilegeProposal) ProposalType() string
- func (*RevokePriceFeederPrivilegeProposal) ProtoMessage()
- func (m *RevokePriceFeederPrivilegeProposal) Reset()
- func (m *RevokePriceFeederPrivilegeProposal) Size() (n int)
- func (m *RevokePriceFeederPrivilegeProposal) String() string
- func (m *RevokePriceFeederPrivilegeProposal) Unmarshal(dAtA []byte) error
- func (p *RevokePriceFeederPrivilegeProposal) ValidateBasic() error
- func (m *RevokePriceFeederPrivilegeProposal) XXX_DiscardUnknown()
- func (m *RevokePriceFeederPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokePriceFeederPrivilegeProposal) XXX_Merge(src proto.Message)
- func (m *RevokePriceFeederPrivilegeProposal) XXX_Size() int
- func (m *RevokePriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error
- type SetBandIBCPriceEvent
- func (*SetBandIBCPriceEvent) Descriptor() ([]byte, []int)
- func (m *SetBandIBCPriceEvent) GetClientId() int64
- func (m *SetBandIBCPriceEvent) GetRelayer() string
- func (m *SetBandIBCPriceEvent) GetRequestId() uint64
- func (m *SetBandIBCPriceEvent) GetResolveTime() uint64
- func (m *SetBandIBCPriceEvent) GetSymbols() []string
- func (m *SetBandIBCPriceEvent) Marshal() (dAtA []byte, err error)
- func (m *SetBandIBCPriceEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SetBandIBCPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetBandIBCPriceEvent) ProtoMessage()
- func (m *SetBandIBCPriceEvent) Reset()
- func (m *SetBandIBCPriceEvent) Size() (n int)
- func (m *SetBandIBCPriceEvent) String() string
- func (m *SetBandIBCPriceEvent) Unmarshal(dAtA []byte) error
- func (m *SetBandIBCPriceEvent) XXX_DiscardUnknown()
- func (m *SetBandIBCPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetBandIBCPriceEvent) XXX_Merge(src proto.Message)
- func (m *SetBandIBCPriceEvent) XXX_Size() int
- func (m *SetBandIBCPriceEvent) XXX_Unmarshal(b []byte) error
- type SetBandPriceEvent
- func (*SetBandPriceEvent) Descriptor() ([]byte, []int)
- func (m *SetBandPriceEvent) GetRelayer() string
- func (m *SetBandPriceEvent) GetRequestId() uint64
- func (m *SetBandPriceEvent) GetResolveTime() uint64
- func (m *SetBandPriceEvent) GetSymbol() string
- func (m *SetBandPriceEvent) Marshal() (dAtA []byte, err error)
- func (m *SetBandPriceEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SetBandPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetBandPriceEvent) ProtoMessage()
- func (m *SetBandPriceEvent) Reset()
- func (m *SetBandPriceEvent) Size() (n int)
- func (m *SetBandPriceEvent) String() string
- func (m *SetBandPriceEvent) Unmarshal(dAtA []byte) error
- func (m *SetBandPriceEvent) XXX_DiscardUnknown()
- func (m *SetBandPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetBandPriceEvent) XXX_Merge(src proto.Message)
- func (m *SetBandPriceEvent) XXX_Size() int
- func (m *SetBandPriceEvent) XXX_Unmarshal(b []byte) error
- type SetChainlinkPriceEvent
- func (*SetChainlinkPriceEvent) Descriptor() ([]byte, []int)
- func (m *SetChainlinkPriceEvent) GetFeedId() string
- func (m *SetChainlinkPriceEvent) GetTimestamp() uint64
- func (m *SetChainlinkPriceEvent) Marshal() (dAtA []byte, err error)
- func (m *SetChainlinkPriceEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SetChainlinkPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetChainlinkPriceEvent) ProtoMessage()
- func (m *SetChainlinkPriceEvent) Reset()
- func (m *SetChainlinkPriceEvent) Size() (n int)
- func (m *SetChainlinkPriceEvent) String() string
- func (m *SetChainlinkPriceEvent) Unmarshal(dAtA []byte) error
- func (m *SetChainlinkPriceEvent) XXX_DiscardUnknown()
- func (m *SetChainlinkPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetChainlinkPriceEvent) XXX_Merge(src proto.Message)
- func (m *SetChainlinkPriceEvent) XXX_Size() int
- func (m *SetChainlinkPriceEvent) XXX_Unmarshal(b []byte) error
- type SetCoinbasePriceEvent
- func (*SetCoinbasePriceEvent) Descriptor() ([]byte, []int)
- func (m *SetCoinbasePriceEvent) GetSymbol() string
- func (m *SetCoinbasePriceEvent) GetTimestamp() uint64
- func (m *SetCoinbasePriceEvent) Marshal() (dAtA []byte, err error)
- func (m *SetCoinbasePriceEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SetCoinbasePriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetCoinbasePriceEvent) ProtoMessage()
- func (m *SetCoinbasePriceEvent) Reset()
- func (m *SetCoinbasePriceEvent) Size() (n int)
- func (m *SetCoinbasePriceEvent) String() string
- func (m *SetCoinbasePriceEvent) Unmarshal(dAtA []byte) error
- func (m *SetCoinbasePriceEvent) XXX_DiscardUnknown()
- func (m *SetCoinbasePriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetCoinbasePriceEvent) XXX_Merge(src proto.Message)
- func (m *SetCoinbasePriceEvent) XXX_Size() int
- func (m *SetCoinbasePriceEvent) XXX_Unmarshal(b []byte) error
- type SetPriceFeedPriceEvent
- func (*SetPriceFeedPriceEvent) Descriptor() ([]byte, []int)
- func (m *SetPriceFeedPriceEvent) GetBase() string
- func (m *SetPriceFeedPriceEvent) GetQuote() string
- func (m *SetPriceFeedPriceEvent) GetRelayer() string
- func (m *SetPriceFeedPriceEvent) Marshal() (dAtA []byte, err error)
- func (m *SetPriceFeedPriceEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SetPriceFeedPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetPriceFeedPriceEvent) ProtoMessage()
- func (m *SetPriceFeedPriceEvent) Reset()
- func (m *SetPriceFeedPriceEvent) Size() (n int)
- func (m *SetPriceFeedPriceEvent) String() string
- func (m *SetPriceFeedPriceEvent) Unmarshal(dAtA []byte) error
- func (m *SetPriceFeedPriceEvent) XXX_DiscardUnknown()
- func (m *SetPriceFeedPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetPriceFeedPriceEvent) XXX_Merge(src proto.Message)
- func (m *SetPriceFeedPriceEvent) XXX_Size() int
- func (m *SetPriceFeedPriceEvent) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) RelayBandRates(ctx context.Context, req *MsgRelayBandRates) (*MsgRelayBandRatesResponse, error)
- func (*UnimplementedMsgServer) RelayCoinbaseMessages(ctx context.Context, req *MsgRelayCoinbaseMessages) (*MsgRelayCoinbaseMessagesResponse, error)
- func (*UnimplementedMsgServer) RelayPriceFeedPrice(ctx context.Context, req *MsgRelayPriceFeedPrice) (*MsgRelayPriceFeedPriceResponse, error)
- func (*UnimplementedMsgServer) RequestBandIBCRates(ctx context.Context, req *MsgRequestBandIBCRates) (*MsgRequestBandIBCRatesResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) BandIBCPriceStates(ctx context.Context, req *QueryBandIBCPriceStatesRequest) (*QueryBandIBCPriceStatesResponse, error)
- func (*UnimplementedQueryServer) BandPriceStates(ctx context.Context, req *QueryBandPriceStatesRequest) (*QueryBandPriceStatesResponse, error)
- func (*UnimplementedQueryServer) BandRelayers(ctx context.Context, req *QueryBandRelayersRequest) (*QueryBandRelayersResponse, error)
- func (*UnimplementedQueryServer) CoinbasePriceStates(ctx context.Context, req *QueryCoinbasePriceStatesRequest) (*QueryCoinbasePriceStatesResponse, error)
- func (*UnimplementedQueryServer) OracleModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) PriceFeedPriceStates(ctx context.Context, req *QueryPriceFeedPriceStatesRequest) (*QueryPriceFeedPriceStatesResponse, error)
- type UpdateBandOracleRequestProposal
- func (*UpdateBandOracleRequestProposal) Descriptor() ([]byte, []int)
- func (p *UpdateBandOracleRequestProposal) GetDescription() string
- func (p *UpdateBandOracleRequestProposal) GetTitle() string
- func (m *UpdateBandOracleRequestProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateBandOracleRequestProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateBandOracleRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *UpdateBandOracleRequestProposal) ProposalRoute() string
- func (p *UpdateBandOracleRequestProposal) ProposalType() string
- func (*UpdateBandOracleRequestProposal) ProtoMessage()
- func (m *UpdateBandOracleRequestProposal) Reset()
- func (m *UpdateBandOracleRequestProposal) Size() (n int)
- func (m *UpdateBandOracleRequestProposal) String() string
- func (m *UpdateBandOracleRequestProposal) Unmarshal(dAtA []byte) error
- func (p *UpdateBandOracleRequestProposal) ValidateBasic() error
- func (m *UpdateBandOracleRequestProposal) XXX_DiscardUnknown()
- func (m *UpdateBandOracleRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBandOracleRequestProposal) XXX_Merge(src proto.Message)
- func (m *UpdateBandOracleRequestProposal) XXX_Size() int
- func (m *UpdateBandOracleRequestProposal) XXX_Unmarshal(b []byte) error
- type ValueValidatorFn
Constants ¶
const ( ModuleName = "oracle" StoreKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_capability" )
const ( TypeMsgRelayPriceFeedPrice = "relayPriceFeedPrice" TypeMsgRelayBandRates = "relayBandRates" TypeMsgRelayCoinbaseMessages = "relayCoinbaseMessages" TypeMsgRequestBandIBCRates = "requestBandIBCRates" )
oracle message types
const ( // Each value below is the default value for each parameter when generating the default // genesis file. DefaultBandIBCEnabled = false DefaultBandIbcRequestInterval = int64(7) //every 7 blocks DefaultBandIBCVersion = "bandchain-1" DefaultBandIBCPortID = "oracle" )
const ( ProposalTypeGrantBandOraclePrivilege string = "ProposalTypeGrantBandOraclePrivilege" ProposalTypeRevokeBandOraclePrivilege string = "ProposalTypeRevokeBandOraclePrivilege" ProposalTypeGrantPriceFeederOraclePrivilege string = "ProposalTypeGrantPriceFeederOraclePrivilege" ProposalTypeRevokePriceFeederOraclePrivilege string = "ProposalTypeRevokePriceFeederOraclePrivilege" ProposalAuthorizeBandOracleRequest string = "ProposalTypeAuthorizeBandOracleRequest" ProposalUpdateBandOracleRequest string = "ProposalUpdateBandOracleRequest" ProposalEnableBandIBC string = "ProposalTypeEnableBandIBC" )
constants
const BandPriceMultiplier uint64 = 1000000000 // 1e9
const CoinbaseABIJSON = `` /* 403-byte string literal not displayed */
const (
CoinbaseOraclePublicKey = "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
EventTypeNewBid = "new_bid"
)
Auction module event types
const QuoteUSD = "USD"
const RouterKey = ModuleName
const TwapWindow = int64(5 * 60) // 5 minute TWAP window
Variables ¶
var ( ErrEmptyRelayerAddr = sdkerrors.Register(ModuleName, 1, "relayer address is empty") ErrBadRatesCount = sdkerrors.Register(ModuleName, 2, "bad rates count") ErrBadResolveTimesCount = sdkerrors.Register(ModuleName, 3, "bad resolve times") ErrBadRequestIDsCount = sdkerrors.Register(ModuleName, 4, "bad request ID") ErrRelayerNotAuthorized = sdkerrors.Register(ModuleName, 5, "relayer not authorized") ErrBadPriceFeedBaseCount = sdkerrors.Register(ModuleName, 6, "bad price feed base count") ErrBadPriceFeedQuoteCount = sdkerrors.Register(ModuleName, 7, "bad price feed quote count") ErrUnsupportedOracleType = sdkerrors.Register(ModuleName, 8, "unsupported oracle type") ErrBadMessagesCount = sdkerrors.Register(ModuleName, 9, "bad messages count") ErrBadCoinbaseMessage = sdkerrors.Register(ModuleName, 10, "bad Coinbase message") ErrInvalidEthereumSignature = sdkerrors.Register(ModuleName, 11, "bad Ethereum signature") ErrBadCoinbaseMessageTimestamp = sdkerrors.Register(ModuleName, 12, "bad Coinbase message timestamp") ErrCoinbasePriceNotFound = sdkerrors.Register(ModuleName, 13, "Coinbase price not found") ErrBadPrice = sdkerrors.Register(ModuleName, 14, "Prices must be positive") ErrPriceTooLarge = sdkerrors.Register(ModuleName, 15, "Prices must be less than 10 million.") ErrInvalidBandIBCRequest = sdkerrors.Register(ModuleName, 16, "Invalid Band IBC Request") ErrSample = sdkerrors.Register(ModuleName, 17, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 18, "invalid packet timeout") ErrBadSymbolsCount = sdkerrors.Register(ModuleName, 19, "invalid symbols count") ErrBadIBCPortBind = sdkerrors.Register(ModuleName, 20, "could not claim port capability") ErrInvalidPortID = sdkerrors.Register(ModuleName, 21, "invalid IBC Port ID") ErrInvalidChannelID = sdkerrors.Register(ModuleName, 22, "invalid IBC Channel ID") ErrBadRequestInterval = sdkerrors.Register(ModuleName, 23, "invalid Band IBC request interval") ErrInvalidBandIBCUpdateRequest = sdkerrors.Register(ModuleName, 24, "Invalid Band IBC Update Request Proposal") ErrBandIBCRequestNotFound = sdkerrors.Register(ModuleName, 25, "Band IBC Oracle Request not found") )
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 ( // Keys for band store prefixes BandPriceKey = []byte{0x01} BandRelayerKey = []byte{0x02} // Keys for pricefeeder store prefixes PricefeedInfoKey = []byte{0x11} PricefeedPriceKey = []byte{0x12} PricefeedRelayerKey = []byte{0x13} CoinbasePriceKey = []byte{0x21} // Band IBC BandIBCPriceKey = []byte{0x31} LatestClientIDKey = []byte{0x32} BandIBCCallDataRecordKey = []byte{0x33} BandIBCOracleRequestIDKey = []byte{0x34} BandIBCParamsKey = []byte{0x35} LatestRequestIDKey = []byte{0x36} // Keys for chainlink price prefixes ChainlinkPriceKey = []byte{0x41} )
var ( ErrInvalidLengthOracle = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOracle = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOracle = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
LargestDecPrice sdk.Dec = sdk.MustNewDecFromStr("10000000")
)
var (
ModuleCdc = codec.NewProtoCodec(types.NewInterfaceRegistry())
)
var OracleType_name = map[int32]string{
0: "Unspecified",
1: "Band",
2: "PriceFeed",
3: "Coinbase",
4: "Chainlink",
5: "Razor",
6: "Dia",
7: "API3",
8: "Uma",
9: "Pyth",
10: "BandIBC",
}
var OracleType_value = map[string]int32{
"Unspecified": 0,
"Band": 1,
"PriceFeed": 2,
"Coinbase": 3,
"Chainlink": 4,
"Razor": 5,
"Dia": 6,
"API3": 7,
"Uma": 8,
"Pyth": 9,
"BandIBC": 10,
}
Functions ¶
func GetBandIBCCallDataRecordKey ¶ added in v1.23.7
func GetBandIBCOracleRequestIDKey ¶ added in v1.24.1
func GetBandIBCPriceStoreKey ¶ added in v1.23.7
func GetBandPriceStoreKey ¶
func GetBandRelayerStoreKey ¶
func GetBandRelayerStoreKey(relayer sdk.AccAddress) []byte
func GetBaseQuoteHash ¶
func GetChainlinkPriceStoreKey ¶ added in v1.27.0
func GetPriceFeedInfoKey ¶
func GetPriceFeedInfoKey(priceFeedInfo *PriceFeedInfo) []byte
func GetPricefeedRelayerStoreKey ¶
func GetPricefeedRelayerStoreKey(oracleBase, oracleQuote string, relayer sdk.AccAddress) []byte
func NewOracleRequestPacketData ¶ added in v1.23.7
func NewOracleRequestPacketData(clientID string, calldata []byte, r *BandOracleRequest) bandPacket.OracleRequestPacketData
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/oracle interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateEthereumSignature ¶
ValidateEthereumSignature takes a message, an associated signature and public key and returns an error if the signature isn't valid TODO: refactor to shared common dir, copy pasted below code from Peggy
Types ¶
type AuthorizeBandOracleRequestProposal ¶ added in v1.23.7
type AuthorizeBandOracleRequestProposal 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"` Request BandOracleRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request"` }
func (*AuthorizeBandOracleRequestProposal) Descriptor ¶ added in v1.23.7
func (*AuthorizeBandOracleRequestProposal) Descriptor() ([]byte, []int)
func (*AuthorizeBandOracleRequestProposal) GetDescription ¶ added in v1.23.7
func (p *AuthorizeBandOracleRequestProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*AuthorizeBandOracleRequestProposal) GetTitle ¶ added in v1.23.7
func (p *AuthorizeBandOracleRequestProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*AuthorizeBandOracleRequestProposal) Marshal ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) Marshal() (dAtA []byte, err error)
func (*AuthorizeBandOracleRequestProposal) MarshalTo ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) MarshalTo(dAtA []byte) (int, error)
func (*AuthorizeBandOracleRequestProposal) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthorizeBandOracleRequestProposal) ProposalRoute ¶ added in v1.23.7
func (p *AuthorizeBandOracleRequestProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*AuthorizeBandOracleRequestProposal) ProposalType ¶ added in v1.23.7
func (p *AuthorizeBandOracleRequestProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*AuthorizeBandOracleRequestProposal) ProtoMessage ¶ added in v1.23.7
func (*AuthorizeBandOracleRequestProposal) ProtoMessage()
func (*AuthorizeBandOracleRequestProposal) Reset ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) Reset()
func (*AuthorizeBandOracleRequestProposal) Size ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) Size() (n int)
func (*AuthorizeBandOracleRequestProposal) String ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) String() string
func (*AuthorizeBandOracleRequestProposal) Unmarshal ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) Unmarshal(dAtA []byte) error
func (*AuthorizeBandOracleRequestProposal) ValidateBasic ¶ added in v1.23.7
func (p *AuthorizeBandOracleRequestProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) XXX_DiscardUnknown()
func (*AuthorizeBandOracleRequestProposal) XXX_Marshal ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizeBandOracleRequestProposal) XXX_Merge ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) XXX_Merge(src proto.Message)
func (*AuthorizeBandOracleRequestProposal) XXX_Size ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) XXX_Size() int
func (*AuthorizeBandOracleRequestProposal) XXX_Unmarshal ¶ added in v1.23.7
func (m *AuthorizeBandOracleRequestProposal) XXX_Unmarshal(b []byte) error
type BandIBCParams ¶ added in v1.23.7
type BandIBCParams struct { // true if Band IBC should be enabled BandIbcEnabled bool `protobuf:"varint,1,opt,name=band_ibc_enabled,json=bandIbcEnabled,proto3" json:"band_ibc_enabled,omitempty"` // block request interval to send Band IBC prices IbcRequestInterval int64 `protobuf:"varint,2,opt,name=ibc_request_interval,json=ibcRequestInterval,proto3" json:"ibc_request_interval,omitempty"` // band IBC source channel IbcSourceChannel string `protobuf:"bytes,3,opt,name=ibc_source_channel,json=ibcSourceChannel,proto3" json:"ibc_source_channel,omitempty"` // band IBC version IbcVersion string `protobuf:"bytes,4,opt,name=ibc_version,json=ibcVersion,proto3" json:"ibc_version,omitempty"` // band IBC portID IbcPortId string `protobuf:"bytes,5,opt,name=ibc_port_id,json=ibcPortId,proto3" json:"ibc_port_id,omitempty"` }
func DefaultBandIBCParams ¶ added in v1.27.0
func DefaultBandIBCParams() BandIBCParams
DefaultBandIBCParams returns a default set of band ibc parameters.
func DefaultTestBandIbcParams ¶ added in v1.28.1
func DefaultTestBandIbcParams() *BandIBCParams
func (*BandIBCParams) Descriptor ¶ added in v1.23.7
func (*BandIBCParams) Descriptor() ([]byte, []int)
func (*BandIBCParams) GetBandIbcEnabled ¶ added in v1.23.7
func (m *BandIBCParams) GetBandIbcEnabled() bool
func (*BandIBCParams) GetIbcPortId ¶ added in v1.24.1
func (m *BandIBCParams) GetIbcPortId() string
func (*BandIBCParams) GetIbcRequestInterval ¶ added in v1.23.7
func (m *BandIBCParams) GetIbcRequestInterval() int64
func (*BandIBCParams) GetIbcSourceChannel ¶ added in v1.24.1
func (m *BandIBCParams) GetIbcSourceChannel() string
func (*BandIBCParams) GetIbcVersion ¶ added in v1.24.1
func (m *BandIBCParams) GetIbcVersion() string
func (*BandIBCParams) Marshal ¶ added in v1.23.7
func (m *BandIBCParams) Marshal() (dAtA []byte, err error)
func (*BandIBCParams) MarshalTo ¶ added in v1.23.7
func (m *BandIBCParams) MarshalTo(dAtA []byte) (int, error)
func (*BandIBCParams) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *BandIBCParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BandIBCParams) ProtoMessage ¶ added in v1.23.7
func (*BandIBCParams) ProtoMessage()
func (*BandIBCParams) Reset ¶ added in v1.23.7
func (m *BandIBCParams) Reset()
func (*BandIBCParams) Size ¶ added in v1.23.7
func (m *BandIBCParams) Size() (n int)
func (*BandIBCParams) String ¶ added in v1.23.7
func (m *BandIBCParams) String() string
func (*BandIBCParams) Unmarshal ¶ added in v1.23.7
func (m *BandIBCParams) Unmarshal(dAtA []byte) error
func (*BandIBCParams) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *BandIBCParams) XXX_DiscardUnknown()
func (*BandIBCParams) XXX_Marshal ¶ added in v1.23.7
func (m *BandIBCParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BandIBCParams) XXX_Merge ¶ added in v1.23.7
func (m *BandIBCParams) XXX_Merge(src proto.Message)
func (*BandIBCParams) XXX_Size ¶ added in v1.23.7
func (m *BandIBCParams) XXX_Size() int
func (*BandIBCParams) XXX_Unmarshal ¶ added in v1.23.7
func (m *BandIBCParams) XXX_Unmarshal(b []byte) error
type BandOracleRequest ¶ added in v1.23.7
type BandOracleRequest struct { // Unique Identifier for band ibc oracle request RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // OracleScriptID is the unique identifier of the oracle script to be executed. OracleScriptId int64 `protobuf:"varint,2,opt,name=oracle_script_id,json=oracleScriptId,proto3" json:"oracle_script_id,omitempty"` // Symbols is the list of symbols to prepare in the calldata Symbols []string `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"` // AskCount is the number of validators that are requested to respond to this // oracle request. Higher value means more security, at a higher gas cost. AskCount uint64 `protobuf:"varint,4,opt,name=ask_count,json=askCount,proto3" json:"ask_count,omitempty"` // MinCount is the minimum number of validators necessary for the request to // proceed to the execution phase. Higher value means more security, at the // cost of liveness. MinCount uint64 `protobuf:"varint,5,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"` // FeeLimit is the maximum tokens that will be paid to all data source providers. FeeLimit github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */ // PrepareGas is amount of gas to pay to prepare raw requests PrepareGas uint64 `protobuf:"varint,7,opt,name=prepare_gas,json=prepareGas,proto3" json:"prepare_gas,omitempty"` // ExecuteGas is amount of gas to reserve for executing ExecuteGas uint64 `protobuf:"varint,8,opt,name=execute_gas,json=executeGas,proto3" json:"execute_gas,omitempty"` }
func (*BandOracleRequest) Descriptor ¶ added in v1.23.7
func (*BandOracleRequest) Descriptor() ([]byte, []int)
func (*BandOracleRequest) GetAskCount ¶ added in v1.23.7
func (m *BandOracleRequest) GetAskCount() uint64
func (*BandOracleRequest) GetCalldata ¶ added in v1.23.7
func (r *BandOracleRequest) GetCalldata() []byte
GetCalldata gets the Band IBC request call data based on the symbols and multiplier.
func (*BandOracleRequest) GetExecuteGas ¶ added in v1.23.7
func (m *BandOracleRequest) GetExecuteGas() uint64
func (*BandOracleRequest) GetFeeLimit ¶ added in v1.23.7
func (m *BandOracleRequest) GetFeeLimit() github_com_cosmos_cosmos_sdk_types.Coins
func (*BandOracleRequest) GetMinCount ¶ added in v1.23.7
func (m *BandOracleRequest) GetMinCount() uint64
func (*BandOracleRequest) GetOracleScriptId ¶ added in v1.23.7
func (m *BandOracleRequest) GetOracleScriptId() int64
func (*BandOracleRequest) GetPrepareGas ¶ added in v1.23.7
func (m *BandOracleRequest) GetPrepareGas() uint64
func (*BandOracleRequest) GetRequestId ¶ added in v1.24.1
func (m *BandOracleRequest) GetRequestId() uint64
func (*BandOracleRequest) GetSymbols ¶ added in v1.23.7
func (m *BandOracleRequest) GetSymbols() []string
func (*BandOracleRequest) Marshal ¶ added in v1.23.7
func (m *BandOracleRequest) Marshal() (dAtA []byte, err error)
func (*BandOracleRequest) MarshalTo ¶ added in v1.23.7
func (m *BandOracleRequest) MarshalTo(dAtA []byte) (int, error)
func (*BandOracleRequest) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *BandOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BandOracleRequest) ProtoMessage ¶ added in v1.23.7
func (*BandOracleRequest) ProtoMessage()
func (*BandOracleRequest) Reset ¶ added in v1.23.7
func (m *BandOracleRequest) Reset()
func (*BandOracleRequest) Size ¶ added in v1.23.7
func (m *BandOracleRequest) Size() (n int)
func (*BandOracleRequest) String ¶ added in v1.23.7
func (m *BandOracleRequest) String() string
func (*BandOracleRequest) Unmarshal ¶ added in v1.23.7
func (m *BandOracleRequest) Unmarshal(dAtA []byte) error
func (*BandOracleRequest) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *BandOracleRequest) XXX_DiscardUnknown()
func (*BandOracleRequest) XXX_Marshal ¶ added in v1.23.7
func (m *BandOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BandOracleRequest) XXX_Merge ¶ added in v1.23.7
func (m *BandOracleRequest) XXX_Merge(src proto.Message)
func (*BandOracleRequest) XXX_Size ¶ added in v1.23.7
func (m *BandOracleRequest) XXX_Size() int
func (*BandOracleRequest) XXX_Unmarshal ¶ added in v1.23.7
func (m *BandOracleRequest) XXX_Unmarshal(b []byte) error
type BandPriceState ¶
type BandPriceState struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Rate github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rate"` ResolveTime uint64 `protobuf:"varint,3,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"` Request_ID uint64 `protobuf:"varint,4,opt,name=request_ID,json=requestID,proto3" json:"request_ID,omitempty"` PriceState PriceState `protobuf:"bytes,5,opt,name=price_state,json=priceState,proto3" json:"price_state"` }
func (*BandPriceState) Descriptor ¶
func (*BandPriceState) Descriptor() ([]byte, []int)
func (*BandPriceState) GetPriceState ¶
func (m *BandPriceState) GetPriceState() PriceState
func (*BandPriceState) GetRequest_ID ¶
func (m *BandPriceState) GetRequest_ID() uint64
func (*BandPriceState) GetResolveTime ¶
func (m *BandPriceState) GetResolveTime() uint64
func (*BandPriceState) GetSymbol ¶
func (m *BandPriceState) GetSymbol() string
func (*BandPriceState) Marshal ¶
func (m *BandPriceState) Marshal() (dAtA []byte, err error)
func (*BandPriceState) MarshalToSizedBuffer ¶
func (m *BandPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BandPriceState) ProtoMessage ¶
func (*BandPriceState) ProtoMessage()
func (*BandPriceState) Reset ¶
func (m *BandPriceState) Reset()
func (*BandPriceState) Size ¶
func (m *BandPriceState) Size() (n int)
func (*BandPriceState) String ¶
func (m *BandPriceState) String() string
func (*BandPriceState) Unmarshal ¶
func (m *BandPriceState) Unmarshal(dAtA []byte) error
func (*BandPriceState) XXX_DiscardUnknown ¶
func (m *BandPriceState) XXX_DiscardUnknown()
func (*BandPriceState) XXX_Marshal ¶
func (m *BandPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BandPriceState) XXX_Merge ¶
func (m *BandPriceState) XXX_Merge(src proto.Message)
func (*BandPriceState) XXX_Size ¶
func (m *BandPriceState) XXX_Size() int
func (*BandPriceState) XXX_Unmarshal ¶
func (m *BandPriceState) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected bank keeper methods
type CalldataRecord ¶ added in v1.23.7
type CalldataRecord struct { ClientId uint64 `protobuf:"varint,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Calldata []byte `protobuf:"bytes,2,opt,name=calldata,proto3" json:"calldata,omitempty"` }
func (*CalldataRecord) Descriptor ¶ added in v1.23.7
func (*CalldataRecord) Descriptor() ([]byte, []int)
func (*CalldataRecord) GetCalldata ¶ added in v1.23.7
func (m *CalldataRecord) GetCalldata() []byte
func (*CalldataRecord) GetClientId ¶ added in v1.23.7
func (m *CalldataRecord) GetClientId() uint64
func (*CalldataRecord) Marshal ¶ added in v1.23.7
func (m *CalldataRecord) Marshal() (dAtA []byte, err error)
func (*CalldataRecord) MarshalTo ¶ added in v1.23.7
func (m *CalldataRecord) MarshalTo(dAtA []byte) (int, error)
func (*CalldataRecord) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *CalldataRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CalldataRecord) ProtoMessage ¶ added in v1.23.7
func (*CalldataRecord) ProtoMessage()
func (*CalldataRecord) Reset ¶ added in v1.23.7
func (m *CalldataRecord) Reset()
func (*CalldataRecord) Size ¶ added in v1.23.7
func (m *CalldataRecord) Size() (n int)
func (*CalldataRecord) String ¶ added in v1.23.7
func (m *CalldataRecord) String() string
func (*CalldataRecord) Unmarshal ¶ added in v1.23.7
func (m *CalldataRecord) Unmarshal(dAtA []byte) error
func (*CalldataRecord) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *CalldataRecord) XXX_DiscardUnknown()
func (*CalldataRecord) XXX_Marshal ¶ added in v1.23.7
func (m *CalldataRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CalldataRecord) XXX_Merge ¶ added in v1.23.7
func (m *CalldataRecord) XXX_Merge(src proto.Message)
func (*CalldataRecord) XXX_Size ¶ added in v1.23.7
func (m *CalldataRecord) XXX_Size() int
func (*CalldataRecord) XXX_Unmarshal ¶ added in v1.23.7
func (m *CalldataRecord) XXX_Unmarshal(b []byte) error
type ChainlinkPriceState ¶ added in v1.27.0
type ChainlinkPriceState struct { FeedId string `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` Answer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"answer"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PriceState PriceState `protobuf:"bytes,4,opt,name=price_state,json=priceState,proto3" json:"price_state"` }
func (*ChainlinkPriceState) Descriptor ¶ added in v1.27.0
func (*ChainlinkPriceState) Descriptor() ([]byte, []int)
func (*ChainlinkPriceState) GetFeedId ¶ added in v1.27.0
func (m *ChainlinkPriceState) GetFeedId() string
func (*ChainlinkPriceState) GetPriceState ¶ added in v1.27.0
func (m *ChainlinkPriceState) GetPriceState() PriceState
func (*ChainlinkPriceState) GetTimestamp ¶ added in v1.27.0
func (m *ChainlinkPriceState) GetTimestamp() uint64
func (*ChainlinkPriceState) Marshal ¶ added in v1.27.0
func (m *ChainlinkPriceState) Marshal() (dAtA []byte, err error)
func (*ChainlinkPriceState) MarshalTo ¶ added in v1.27.0
func (m *ChainlinkPriceState) MarshalTo(dAtA []byte) (int, error)
func (*ChainlinkPriceState) MarshalToSizedBuffer ¶ added in v1.27.0
func (m *ChainlinkPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainlinkPriceState) ProtoMessage ¶ added in v1.27.0
func (*ChainlinkPriceState) ProtoMessage()
func (*ChainlinkPriceState) Reset ¶ added in v1.27.0
func (m *ChainlinkPriceState) Reset()
func (*ChainlinkPriceState) Size ¶ added in v1.27.0
func (m *ChainlinkPriceState) Size() (n int)
func (*ChainlinkPriceState) String ¶ added in v1.27.0
func (m *ChainlinkPriceState) String() string
func (*ChainlinkPriceState) Unmarshal ¶ added in v1.27.0
func (m *ChainlinkPriceState) Unmarshal(dAtA []byte) error
func (*ChainlinkPriceState) XXX_DiscardUnknown ¶ added in v1.27.0
func (m *ChainlinkPriceState) XXX_DiscardUnknown()
func (*ChainlinkPriceState) XXX_Marshal ¶ added in v1.27.0
func (m *ChainlinkPriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainlinkPriceState) XXX_Merge ¶ added in v1.27.0
func (m *ChainlinkPriceState) XXX_Merge(src proto.Message)
func (*ChainlinkPriceState) XXX_Size ¶ added in v1.27.0
func (m *ChainlinkPriceState) XXX_Size() int
func (*ChainlinkPriceState) XXX_Unmarshal ¶ added in v1.27.0
func (m *ChainlinkPriceState) XXX_Unmarshal(b []byte) error
type ChannelKeeper ¶ added in v1.23.7
type ChannelKeeper interface { GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool) SendPacket(ctx sdk.Context, channelCap *capabilitytypes.Capability, packet ibcexported.PacketI) error ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error }
ChannelKeeper defines the expected IBC channel keeper
type CoinbasePriceState ¶
type CoinbasePriceState struct { // kind should always be "prices" Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // timestamp of the when the price was signed by coinbase Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // the symbol of the price, e.g. BTC Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // the value of the price scaled by 1e6 Value uint64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"` // the price state PriceState PriceState `protobuf:"bytes,5,opt,name=price_state,json=priceState,proto3" json:"price_state"` }
func ParseCoinbaseMessage ¶
func ParseCoinbaseMessage(message []byte) (*CoinbasePriceState, error)
func (*CoinbasePriceState) Descriptor ¶
func (*CoinbasePriceState) Descriptor() ([]byte, []int)
func (*CoinbasePriceState) GetDecPrice ¶
func (c *CoinbasePriceState) GetDecPrice() sdk.Dec
func (*CoinbasePriceState) GetKey ¶
func (m *CoinbasePriceState) GetKey() string
func (*CoinbasePriceState) GetKind ¶
func (m *CoinbasePriceState) GetKind() string
func (*CoinbasePriceState) GetPriceState ¶
func (m *CoinbasePriceState) GetPriceState() PriceState
func (*CoinbasePriceState) GetTimestamp ¶
func (m *CoinbasePriceState) GetTimestamp() uint64
func (*CoinbasePriceState) GetValue ¶
func (m *CoinbasePriceState) GetValue() uint64
func (*CoinbasePriceState) Marshal ¶
func (m *CoinbasePriceState) Marshal() (dAtA []byte, err error)
func (*CoinbasePriceState) MarshalTo ¶
func (m *CoinbasePriceState) MarshalTo(dAtA []byte) (int, error)
func (*CoinbasePriceState) MarshalToSizedBuffer ¶
func (m *CoinbasePriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CoinbasePriceState) ProtoMessage ¶
func (*CoinbasePriceState) ProtoMessage()
func (*CoinbasePriceState) Reset ¶
func (m *CoinbasePriceState) Reset()
func (*CoinbasePriceState) Size ¶
func (m *CoinbasePriceState) Size() (n int)
func (*CoinbasePriceState) String ¶
func (m *CoinbasePriceState) String() string
func (*CoinbasePriceState) Unmarshal ¶
func (m *CoinbasePriceState) Unmarshal(dAtA []byte) error
func (*CoinbasePriceState) XXX_DiscardUnknown ¶
func (m *CoinbasePriceState) XXX_DiscardUnknown()
func (*CoinbasePriceState) XXX_Marshal ¶
func (m *CoinbasePriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CoinbasePriceState) XXX_Merge ¶
func (m *CoinbasePriceState) XXX_Merge(src proto.Message)
func (*CoinbasePriceState) XXX_Size ¶
func (m *CoinbasePriceState) XXX_Size() int
func (*CoinbasePriceState) XXX_Unmarshal ¶
func (m *CoinbasePriceState) XXX_Unmarshal(b []byte) error
type EnableBandIBCProposal ¶ added in v1.23.7
type EnableBandIBCProposal 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"` BandIbcParams BandIBCParams `protobuf:"bytes,3,opt,name=band_ibc_params,json=bandIbcParams,proto3" json:"band_ibc_params"` }
func (*EnableBandIBCProposal) Descriptor ¶ added in v1.23.7
func (*EnableBandIBCProposal) Descriptor() ([]byte, []int)
func (*EnableBandIBCProposal) GetDescription ¶ added in v1.23.7
func (p *EnableBandIBCProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*EnableBandIBCProposal) GetTitle ¶ added in v1.23.7
func (p *EnableBandIBCProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*EnableBandIBCProposal) Marshal ¶ added in v1.23.7
func (m *EnableBandIBCProposal) Marshal() (dAtA []byte, err error)
func (*EnableBandIBCProposal) MarshalTo ¶ added in v1.23.7
func (m *EnableBandIBCProposal) MarshalTo(dAtA []byte) (int, error)
func (*EnableBandIBCProposal) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *EnableBandIBCProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EnableBandIBCProposal) ProposalRoute ¶ added in v1.23.7
func (p *EnableBandIBCProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*EnableBandIBCProposal) ProposalType ¶ added in v1.23.7
func (p *EnableBandIBCProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*EnableBandIBCProposal) ProtoMessage ¶ added in v1.23.7
func (*EnableBandIBCProposal) ProtoMessage()
func (*EnableBandIBCProposal) Reset ¶ added in v1.23.7
func (m *EnableBandIBCProposal) Reset()
func (*EnableBandIBCProposal) Size ¶ added in v1.23.7
func (m *EnableBandIBCProposal) Size() (n int)
func (*EnableBandIBCProposal) String ¶ added in v1.23.7
func (m *EnableBandIBCProposal) String() string
func (*EnableBandIBCProposal) Unmarshal ¶ added in v1.23.7
func (m *EnableBandIBCProposal) Unmarshal(dAtA []byte) error
func (*EnableBandIBCProposal) ValidateBasic ¶ added in v1.23.7
func (p *EnableBandIBCProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*EnableBandIBCProposal) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *EnableBandIBCProposal) XXX_DiscardUnknown()
func (*EnableBandIBCProposal) XXX_Marshal ¶ added in v1.23.7
func (m *EnableBandIBCProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnableBandIBCProposal) XXX_Merge ¶ added in v1.23.7
func (m *EnableBandIBCProposal) XXX_Merge(src proto.Message)
func (*EnableBandIBCProposal) XXX_Size ¶ added in v1.23.7
func (m *EnableBandIBCProposal) XXX_Size() int
func (*EnableBandIBCProposal) XXX_Unmarshal ¶ added in v1.23.7
func (m *EnableBandIBCProposal) XXX_Unmarshal(b []byte) error
type EventBandIBCAckError ¶ added in v1.23.7
type EventBandIBCAckError struct { AckError string `protobuf:"bytes,1,opt,name=ack_error,json=ackError,proto3" json:"ack_error,omitempty"` ClientId int64 `protobuf:"varint,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
func (*EventBandIBCAckError) Descriptor ¶ added in v1.23.7
func (*EventBandIBCAckError) Descriptor() ([]byte, []int)
func (*EventBandIBCAckError) GetAckError ¶ added in v1.23.7
func (m *EventBandIBCAckError) GetAckError() string
func (*EventBandIBCAckError) GetClientId ¶ added in v1.23.7
func (m *EventBandIBCAckError) GetClientId() int64
func (*EventBandIBCAckError) Marshal ¶ added in v1.23.7
func (m *EventBandIBCAckError) Marshal() (dAtA []byte, err error)
func (*EventBandIBCAckError) MarshalTo ¶ added in v1.23.7
func (m *EventBandIBCAckError) MarshalTo(dAtA []byte) (int, error)
func (*EventBandIBCAckError) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *EventBandIBCAckError) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBandIBCAckError) ProtoMessage ¶ added in v1.23.7
func (*EventBandIBCAckError) ProtoMessage()
func (*EventBandIBCAckError) Reset ¶ added in v1.23.7
func (m *EventBandIBCAckError) Reset()
func (*EventBandIBCAckError) Size ¶ added in v1.23.7
func (m *EventBandIBCAckError) Size() (n int)
func (*EventBandIBCAckError) String ¶ added in v1.23.7
func (m *EventBandIBCAckError) String() string
func (*EventBandIBCAckError) Unmarshal ¶ added in v1.23.7
func (m *EventBandIBCAckError) Unmarshal(dAtA []byte) error
func (*EventBandIBCAckError) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *EventBandIBCAckError) XXX_DiscardUnknown()
func (*EventBandIBCAckError) XXX_Marshal ¶ added in v1.23.7
func (m *EventBandIBCAckError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBandIBCAckError) XXX_Merge ¶ added in v1.23.7
func (m *EventBandIBCAckError) XXX_Merge(src proto.Message)
func (*EventBandIBCAckError) XXX_Size ¶ added in v1.23.7
func (m *EventBandIBCAckError) XXX_Size() int
func (*EventBandIBCAckError) XXX_Unmarshal ¶ added in v1.23.7
func (m *EventBandIBCAckError) XXX_Unmarshal(b []byte) error
type EventBandIBCAckSuccess ¶ added in v1.23.7
type EventBandIBCAckSuccess struct { AckResult string `protobuf:"bytes,1,opt,name=ack_result,json=ackResult,proto3" json:"ack_result,omitempty"` ClientId int64 `protobuf:"varint,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
func (*EventBandIBCAckSuccess) Descriptor ¶ added in v1.23.7
func (*EventBandIBCAckSuccess) Descriptor() ([]byte, []int)
func (*EventBandIBCAckSuccess) GetAckResult ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) GetAckResult() string
func (*EventBandIBCAckSuccess) GetClientId ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) GetClientId() int64
func (*EventBandIBCAckSuccess) Marshal ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) Marshal() (dAtA []byte, err error)
func (*EventBandIBCAckSuccess) MarshalTo ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) MarshalTo(dAtA []byte) (int, error)
func (*EventBandIBCAckSuccess) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBandIBCAckSuccess) ProtoMessage ¶ added in v1.23.7
func (*EventBandIBCAckSuccess) ProtoMessage()
func (*EventBandIBCAckSuccess) Reset ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) Reset()
func (*EventBandIBCAckSuccess) Size ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) Size() (n int)
func (*EventBandIBCAckSuccess) String ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) String() string
func (*EventBandIBCAckSuccess) Unmarshal ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) Unmarshal(dAtA []byte) error
func (*EventBandIBCAckSuccess) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) XXX_DiscardUnknown()
func (*EventBandIBCAckSuccess) XXX_Marshal ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBandIBCAckSuccess) XXX_Merge ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) XXX_Merge(src proto.Message)
func (*EventBandIBCAckSuccess) XXX_Size ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) XXX_Size() int
func (*EventBandIBCAckSuccess) XXX_Unmarshal ¶ added in v1.23.7
func (m *EventBandIBCAckSuccess) XXX_Unmarshal(b []byte) error
type EventBandIBCResponseTimeout ¶ added in v1.23.7
type EventBandIBCResponseTimeout struct {
ClientId int64 `protobuf:"varint,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}
func (*EventBandIBCResponseTimeout) Descriptor ¶ added in v1.23.7
func (*EventBandIBCResponseTimeout) Descriptor() ([]byte, []int)
func (*EventBandIBCResponseTimeout) GetClientId ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) GetClientId() int64
func (*EventBandIBCResponseTimeout) Marshal ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) Marshal() (dAtA []byte, err error)
func (*EventBandIBCResponseTimeout) MarshalTo ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) MarshalTo(dAtA []byte) (int, error)
func (*EventBandIBCResponseTimeout) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBandIBCResponseTimeout) ProtoMessage ¶ added in v1.23.7
func (*EventBandIBCResponseTimeout) ProtoMessage()
func (*EventBandIBCResponseTimeout) Reset ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) Reset()
func (*EventBandIBCResponseTimeout) Size ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) Size() (n int)
func (*EventBandIBCResponseTimeout) String ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) String() string
func (*EventBandIBCResponseTimeout) Unmarshal ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) Unmarshal(dAtA []byte) error
func (*EventBandIBCResponseTimeout) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) XXX_DiscardUnknown()
func (*EventBandIBCResponseTimeout) XXX_Marshal ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBandIBCResponseTimeout) XXX_Merge ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) XXX_Merge(src proto.Message)
func (*EventBandIBCResponseTimeout) XXX_Size ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) XXX_Size() int
func (*EventBandIBCResponseTimeout) XXX_Unmarshal ¶ added in v1.23.7
func (m *EventBandIBCResponseTimeout) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of related to oracle. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` BandRelayers []string `protobuf:"bytes,2,rep,name=band_relayers,json=bandRelayers,proto3" json:"band_relayers,omitempty"` BandPriceStates []*BandPriceState `protobuf:"bytes,3,rep,name=band_price_states,json=bandPriceStates,proto3" json:"band_price_states,omitempty"` PriceFeedPriceStates []*PriceFeedState `protobuf:"bytes,4,rep,name=price_feed_price_states,json=priceFeedPriceStates,proto3" json:"price_feed_price_states,omitempty"` CoinbasePriceStates []*CoinbasePriceState `protobuf:"bytes,5,rep,name=coinbase_price_states,json=coinbasePriceStates,proto3" json:"coinbase_price_states,omitempty"` BandIbcPriceStates []*BandPriceState `protobuf:"bytes,6,rep,name=band_ibc_price_states,json=bandIbcPriceStates,proto3" json:"band_ibc_price_states,omitempty"` BandIbcOracleRequests []*BandOracleRequest `` /* 128-byte string literal not displayed */ BandIbcParams BandIBCParams `protobuf:"bytes,8,opt,name=band_ibc_params,json=bandIbcParams,proto3" json:"band_ibc_params"` BandIbcLatestClientId uint64 `` /* 131-byte string literal not displayed */ CalldataRecords []*CalldataRecord `protobuf:"bytes,10,rep,name=calldata_records,json=calldataRecords,proto3" json:"calldata_records,omitempty"` BandIbcLatestRequestId uint64 `` /* 135-byte string literal not displayed */ ChainlinkPriceStates []*ChainlinkPriceState `protobuf:"bytes,12,rep,name=chainlink_price_states,json=chainlinkPriceStates,proto3" json:"chainlink_price_states,omitempty"` }
GenesisState defines the oracle module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState() GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBandIbcLatestClientId ¶ added in v1.23.7
func (m *GenesisState) GetBandIbcLatestClientId() uint64
func (*GenesisState) GetBandIbcLatestRequestId ¶ added in v1.24.1
func (m *GenesisState) GetBandIbcLatestRequestId() uint64
func (*GenesisState) GetBandIbcOracleRequests ¶ added in v1.24.1
func (m *GenesisState) GetBandIbcOracleRequests() []*BandOracleRequest
func (*GenesisState) GetBandIbcParams ¶ added in v1.23.7
func (m *GenesisState) GetBandIbcParams() BandIBCParams
func (*GenesisState) GetBandIbcPriceStates ¶ added in v1.23.7
func (m *GenesisState) GetBandIbcPriceStates() []*BandPriceState
func (*GenesisState) GetBandPriceStates ¶
func (m *GenesisState) GetBandPriceStates() []*BandPriceState
func (*GenesisState) GetBandRelayers ¶
func (m *GenesisState) GetBandRelayers() []string
func (*GenesisState) GetCalldataRecords ¶ added in v1.23.7
func (m *GenesisState) GetCalldataRecords() []*CalldataRecord
func (*GenesisState) GetChainlinkPriceStates ¶ added in v1.28.1
func (m *GenesisState) GetChainlinkPriceStates() []*ChainlinkPriceState
func (*GenesisState) GetCoinbasePriceStates ¶
func (m *GenesisState) GetCoinbasePriceStates() []*CoinbasePriceState
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPriceFeedPriceStates ¶
func (m *GenesisState) GetPriceFeedPriceStates() []*PriceFeedState
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
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 GetReferenceData ¶
type GetReferenceData struct { BaseQuoteSymbol string `protobuf:"bytes,1,opt,name=base_quote_symbol,json=baseQuoteSymbol,proto3" json:"base_quote_symbol,omitempty"` BaseQuoteRate string `protobuf:"bytes,2,opt,name=base_quote_rate,json=baseQuoteRate,proto3" json:"base_quote_rate,omitempty"` LastUpdateBase string `protobuf:"bytes,3,opt,name=last_update_base,json=lastUpdateBase,proto3" json:"last_update_base,omitempty"` LastUpdateQuote string `protobuf:"bytes,4,opt,name=last_update_quote,json=lastUpdateQuote,proto3" json:"last_update_quote,omitempty"` }
Event type for getting reference data
func (*GetReferenceData) Descriptor ¶
func (*GetReferenceData) Descriptor() ([]byte, []int)
func (*GetReferenceData) GetBaseQuoteRate ¶
func (m *GetReferenceData) GetBaseQuoteRate() string
func (*GetReferenceData) GetBaseQuoteSymbol ¶
func (m *GetReferenceData) GetBaseQuoteSymbol() string
func (*GetReferenceData) GetLastUpdateBase ¶
func (m *GetReferenceData) GetLastUpdateBase() string
func (*GetReferenceData) GetLastUpdateQuote ¶
func (m *GetReferenceData) GetLastUpdateQuote() string
func (*GetReferenceData) Marshal ¶
func (m *GetReferenceData) Marshal() (dAtA []byte, err error)
func (*GetReferenceData) MarshalToSizedBuffer ¶
func (m *GetReferenceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetReferenceData) ProtoMessage ¶
func (*GetReferenceData) ProtoMessage()
func (*GetReferenceData) Reset ¶
func (m *GetReferenceData) Reset()
func (*GetReferenceData) Size ¶
func (m *GetReferenceData) Size() (n int)
func (*GetReferenceData) String ¶
func (m *GetReferenceData) String() string
func (*GetReferenceData) Unmarshal ¶
func (m *GetReferenceData) Unmarshal(dAtA []byte) error
func (*GetReferenceData) XXX_DiscardUnknown ¶
func (m *GetReferenceData) XXX_DiscardUnknown()
func (*GetReferenceData) XXX_Marshal ¶
func (m *GetReferenceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReferenceData) XXX_Merge ¶
func (m *GetReferenceData) XXX_Merge(src proto.Message)
func (*GetReferenceData) XXX_Size ¶
func (m *GetReferenceData) XXX_Size() int
func (*GetReferenceData) XXX_Unmarshal ¶
func (m *GetReferenceData) XXX_Unmarshal(b []byte) error
type GrantBandOraclePrivilegeProposal ¶
type GrantBandOraclePrivilegeProposal 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"` Relayers []string `protobuf:"bytes,3,rep,name=relayers,proto3" json:"relayers,omitempty"` }
func (*GrantBandOraclePrivilegeProposal) Descriptor ¶
func (*GrantBandOraclePrivilegeProposal) Descriptor() ([]byte, []int)
func (*GrantBandOraclePrivilegeProposal) GetDescription ¶
func (p *GrantBandOraclePrivilegeProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*GrantBandOraclePrivilegeProposal) GetTitle ¶
func (p *GrantBandOraclePrivilegeProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*GrantBandOraclePrivilegeProposal) Marshal ¶
func (m *GrantBandOraclePrivilegeProposal) Marshal() (dAtA []byte, err error)
func (*GrantBandOraclePrivilegeProposal) MarshalTo ¶
func (m *GrantBandOraclePrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
func (*GrantBandOraclePrivilegeProposal) MarshalToSizedBuffer ¶
func (m *GrantBandOraclePrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GrantBandOraclePrivilegeProposal) ProposalRoute ¶
func (p *GrantBandOraclePrivilegeProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*GrantBandOraclePrivilegeProposal) ProposalType ¶
func (p *GrantBandOraclePrivilegeProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*GrantBandOraclePrivilegeProposal) ProtoMessage ¶
func (*GrantBandOraclePrivilegeProposal) ProtoMessage()
func (*GrantBandOraclePrivilegeProposal) Reset ¶
func (m *GrantBandOraclePrivilegeProposal) Reset()
func (*GrantBandOraclePrivilegeProposal) Size ¶
func (m *GrantBandOraclePrivilegeProposal) Size() (n int)
func (*GrantBandOraclePrivilegeProposal) String ¶
func (m *GrantBandOraclePrivilegeProposal) String() string
func (*GrantBandOraclePrivilegeProposal) Unmarshal ¶
func (m *GrantBandOraclePrivilegeProposal) Unmarshal(dAtA []byte) error
func (*GrantBandOraclePrivilegeProposal) ValidateBasic ¶
func (p *GrantBandOraclePrivilegeProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*GrantBandOraclePrivilegeProposal) XXX_DiscardUnknown ¶
func (m *GrantBandOraclePrivilegeProposal) XXX_DiscardUnknown()
func (*GrantBandOraclePrivilegeProposal) XXX_Marshal ¶
func (m *GrantBandOraclePrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantBandOraclePrivilegeProposal) XXX_Merge ¶
func (m *GrantBandOraclePrivilegeProposal) XXX_Merge(src proto.Message)
func (*GrantBandOraclePrivilegeProposal) XXX_Size ¶
func (m *GrantBandOraclePrivilegeProposal) XXX_Size() int
func (*GrantBandOraclePrivilegeProposal) XXX_Unmarshal ¶
func (m *GrantBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error
type GrantPriceFeederPrivilegeProposal ¶
type GrantPriceFeederPrivilegeProposal 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"` Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,4,opt,name=quote,proto3" json:"quote,omitempty"` Relayers []string `protobuf:"bytes,5,rep,name=relayers,proto3" json:"relayers,omitempty"` }
func (*GrantPriceFeederPrivilegeProposal) Descriptor ¶
func (*GrantPriceFeederPrivilegeProposal) Descriptor() ([]byte, []int)
func (*GrantPriceFeederPrivilegeProposal) GetDescription ¶
func (p *GrantPriceFeederPrivilegeProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*GrantPriceFeederPrivilegeProposal) GetTitle ¶
func (p *GrantPriceFeederPrivilegeProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*GrantPriceFeederPrivilegeProposal) Marshal ¶
func (m *GrantPriceFeederPrivilegeProposal) Marshal() (dAtA []byte, err error)
func (*GrantPriceFeederPrivilegeProposal) MarshalTo ¶
func (m *GrantPriceFeederPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
func (*GrantPriceFeederPrivilegeProposal) MarshalToSizedBuffer ¶
func (m *GrantPriceFeederPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GrantPriceFeederPrivilegeProposal) ProposalRoute ¶
func (p *GrantPriceFeederPrivilegeProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*GrantPriceFeederPrivilegeProposal) ProposalType ¶
func (p *GrantPriceFeederPrivilegeProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*GrantPriceFeederPrivilegeProposal) ProtoMessage ¶
func (*GrantPriceFeederPrivilegeProposal) ProtoMessage()
func (*GrantPriceFeederPrivilegeProposal) Reset ¶
func (m *GrantPriceFeederPrivilegeProposal) Reset()
func (*GrantPriceFeederPrivilegeProposal) Size ¶
func (m *GrantPriceFeederPrivilegeProposal) Size() (n int)
func (*GrantPriceFeederPrivilegeProposal) String ¶
func (m *GrantPriceFeederPrivilegeProposal) String() string
func (*GrantPriceFeederPrivilegeProposal) Unmarshal ¶
func (m *GrantPriceFeederPrivilegeProposal) Unmarshal(dAtA []byte) error
func (*GrantPriceFeederPrivilegeProposal) ValidateBasic ¶
func (p *GrantPriceFeederPrivilegeProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*GrantPriceFeederPrivilegeProposal) XXX_DiscardUnknown ¶
func (m *GrantPriceFeederPrivilegeProposal) XXX_DiscardUnknown()
func (*GrantPriceFeederPrivilegeProposal) XXX_Marshal ¶
func (m *GrantPriceFeederPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantPriceFeederPrivilegeProposal) XXX_Merge ¶
func (m *GrantPriceFeederPrivilegeProposal) XXX_Merge(src proto.Message)
func (*GrantPriceFeederPrivilegeProposal) XXX_Size ¶
func (m *GrantPriceFeederPrivilegeProposal) XXX_Size() int
func (*GrantPriceFeederPrivilegeProposal) XXX_Unmarshal ¶
func (m *GrantPriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // RelayPriceFeedPrice defines a method for relaying a price for a price feeder-based oracle RelayPriceFeedPrice(ctx context.Context, in *MsgRelayPriceFeedPrice, opts ...grpc.CallOption) (*MsgRelayPriceFeedPriceResponse, error) // RelayBandRates defines a method for relaying rates from Band RelayBandRates(ctx context.Context, in *MsgRelayBandRates, opts ...grpc.CallOption) (*MsgRelayBandRatesResponse, error) // RequestBandIBCRates defines a method for fetching rates from Band ibc RequestBandIBCRates(ctx context.Context, in *MsgRequestBandIBCRates, opts ...grpc.CallOption) (*MsgRequestBandIBCRatesResponse, error) // RelayCoinbaseMessages defines a method for relaying price messages from Coinbase API RelayCoinbaseMessages(ctx context.Context, in *MsgRelayCoinbaseMessages, opts ...grpc.CallOption) (*MsgRelayCoinbaseMessagesResponse, 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 MsgRelayBandRates ¶
type MsgRelayBandRates struct { Relayer string `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"` Symbols []string `protobuf:"bytes,2,rep,name=symbols,proto3" json:"symbols,omitempty"` Rates []uint64 `protobuf:"varint,3,rep,packed,name=rates,proto3" json:"rates,omitempty"` ResolveTimes []uint64 `protobuf:"varint,4,rep,packed,name=resolve_times,json=resolveTimes,proto3" json:"resolve_times,omitempty"` RequestIDs []uint64 `protobuf:"varint,5,rep,packed,name=requestIDs,proto3" json:"requestIDs,omitempty"` }
func (*MsgRelayBandRates) Descriptor ¶
func (*MsgRelayBandRates) Descriptor() ([]byte, []int)
func (*MsgRelayBandRates) GetRates ¶
func (m *MsgRelayBandRates) GetRates() []uint64
func (*MsgRelayBandRates) GetRelayer ¶
func (m *MsgRelayBandRates) GetRelayer() string
func (*MsgRelayBandRates) GetRequestIDs ¶
func (m *MsgRelayBandRates) GetRequestIDs() []uint64
func (*MsgRelayBandRates) GetResolveTimes ¶
func (m *MsgRelayBandRates) GetResolveTimes() []uint64
func (*MsgRelayBandRates) GetSignBytes ¶
func (msg *MsgRelayBandRates) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgRelayBandRates) GetSigners ¶
func (msg MsgRelayBandRates) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgRelayBandRates) GetSymbols ¶
func (m *MsgRelayBandRates) GetSymbols() []string
func (*MsgRelayBandRates) Marshal ¶
func (m *MsgRelayBandRates) Marshal() (dAtA []byte, err error)
func (*MsgRelayBandRates) MarshalTo ¶
func (m *MsgRelayBandRates) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayBandRates) MarshalToSizedBuffer ¶
func (m *MsgRelayBandRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayBandRates) ProtoMessage ¶
func (*MsgRelayBandRates) ProtoMessage()
func (*MsgRelayBandRates) Reset ¶
func (m *MsgRelayBandRates) Reset()
func (MsgRelayBandRates) Route ¶
func (msg MsgRelayBandRates) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgRelayBandRates) Size ¶
func (m *MsgRelayBandRates) Size() (n int)
func (*MsgRelayBandRates) String ¶
func (m *MsgRelayBandRates) String() string
func (MsgRelayBandRates) Type ¶
func (msg MsgRelayBandRates) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgRelayBandRates) Unmarshal ¶
func (m *MsgRelayBandRates) Unmarshal(dAtA []byte) error
func (MsgRelayBandRates) ValidateBasic ¶
func (msg MsgRelayBandRates) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface for MsgRelay.
func (*MsgRelayBandRates) XXX_DiscardUnknown ¶
func (m *MsgRelayBandRates) XXX_DiscardUnknown()
func (*MsgRelayBandRates) XXX_Marshal ¶
func (m *MsgRelayBandRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayBandRates) XXX_Merge ¶
func (m *MsgRelayBandRates) XXX_Merge(src proto.Message)
func (*MsgRelayBandRates) XXX_Size ¶
func (m *MsgRelayBandRates) XXX_Size() int
func (*MsgRelayBandRates) XXX_Unmarshal ¶
func (m *MsgRelayBandRates) XXX_Unmarshal(b []byte) error
type MsgRelayBandRatesResponse ¶
type MsgRelayBandRatesResponse struct { }
func (*MsgRelayBandRatesResponse) Descriptor ¶
func (*MsgRelayBandRatesResponse) Descriptor() ([]byte, []int)
func (*MsgRelayBandRatesResponse) Marshal ¶
func (m *MsgRelayBandRatesResponse) Marshal() (dAtA []byte, err error)
func (*MsgRelayBandRatesResponse) MarshalTo ¶
func (m *MsgRelayBandRatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayBandRatesResponse) MarshalToSizedBuffer ¶
func (m *MsgRelayBandRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayBandRatesResponse) ProtoMessage ¶
func (*MsgRelayBandRatesResponse) ProtoMessage()
func (*MsgRelayBandRatesResponse) Reset ¶
func (m *MsgRelayBandRatesResponse) Reset()
func (*MsgRelayBandRatesResponse) Size ¶
func (m *MsgRelayBandRatesResponse) Size() (n int)
func (*MsgRelayBandRatesResponse) String ¶
func (m *MsgRelayBandRatesResponse) String() string
func (*MsgRelayBandRatesResponse) Unmarshal ¶
func (m *MsgRelayBandRatesResponse) Unmarshal(dAtA []byte) error
func (*MsgRelayBandRatesResponse) XXX_DiscardUnknown ¶
func (m *MsgRelayBandRatesResponse) XXX_DiscardUnknown()
func (*MsgRelayBandRatesResponse) XXX_Marshal ¶
func (m *MsgRelayBandRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayBandRatesResponse) XXX_Merge ¶
func (m *MsgRelayBandRatesResponse) XXX_Merge(src proto.Message)
func (*MsgRelayBandRatesResponse) XXX_Size ¶
func (m *MsgRelayBandRatesResponse) XXX_Size() int
func (*MsgRelayBandRatesResponse) XXX_Unmarshal ¶
func (m *MsgRelayBandRatesResponse) XXX_Unmarshal(b []byte) error
type MsgRelayCoinbaseMessages ¶
type MsgRelayCoinbaseMessages struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Messages [][]byte `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` }
MsgRelayCoinbaseMessages defines a SDK message for relaying price messages from Coinbase API.
func (*MsgRelayCoinbaseMessages) Descriptor ¶
func (*MsgRelayCoinbaseMessages) Descriptor() ([]byte, []int)
func (*MsgRelayCoinbaseMessages) GetSignBytes ¶
func (msg *MsgRelayCoinbaseMessages) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgRelayCoinbaseMessages) GetSigners ¶
func (msg MsgRelayCoinbaseMessages) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgRelayCoinbaseMessages) Marshal ¶
func (m *MsgRelayCoinbaseMessages) Marshal() (dAtA []byte, err error)
func (*MsgRelayCoinbaseMessages) MarshalTo ¶
func (m *MsgRelayCoinbaseMessages) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayCoinbaseMessages) MarshalToSizedBuffer ¶
func (m *MsgRelayCoinbaseMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayCoinbaseMessages) ProtoMessage ¶
func (*MsgRelayCoinbaseMessages) ProtoMessage()
func (*MsgRelayCoinbaseMessages) Reset ¶
func (m *MsgRelayCoinbaseMessages) Reset()
func (MsgRelayCoinbaseMessages) Route ¶
func (msg MsgRelayCoinbaseMessages) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgRelayCoinbaseMessages) Size ¶
func (m *MsgRelayCoinbaseMessages) Size() (n int)
func (*MsgRelayCoinbaseMessages) String ¶
func (m *MsgRelayCoinbaseMessages) String() string
func (MsgRelayCoinbaseMessages) Type ¶
func (msg MsgRelayCoinbaseMessages) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgRelayCoinbaseMessages) Unmarshal ¶
func (m *MsgRelayCoinbaseMessages) Unmarshal(dAtA []byte) error
func (MsgRelayCoinbaseMessages) ValidateBasic ¶
func (msg MsgRelayCoinbaseMessages) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface for MsgRelay.
func (*MsgRelayCoinbaseMessages) XXX_DiscardUnknown ¶
func (m *MsgRelayCoinbaseMessages) XXX_DiscardUnknown()
func (*MsgRelayCoinbaseMessages) XXX_Marshal ¶
func (m *MsgRelayCoinbaseMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayCoinbaseMessages) XXX_Merge ¶
func (m *MsgRelayCoinbaseMessages) XXX_Merge(src proto.Message)
func (*MsgRelayCoinbaseMessages) XXX_Size ¶
func (m *MsgRelayCoinbaseMessages) XXX_Size() int
func (*MsgRelayCoinbaseMessages) XXX_Unmarshal ¶
func (m *MsgRelayCoinbaseMessages) XXX_Unmarshal(b []byte) error
type MsgRelayCoinbaseMessagesResponse ¶
type MsgRelayCoinbaseMessagesResponse struct { }
func (*MsgRelayCoinbaseMessagesResponse) Descriptor ¶
func (*MsgRelayCoinbaseMessagesResponse) Descriptor() ([]byte, []int)
func (*MsgRelayCoinbaseMessagesResponse) Marshal ¶
func (m *MsgRelayCoinbaseMessagesResponse) Marshal() (dAtA []byte, err error)
func (*MsgRelayCoinbaseMessagesResponse) MarshalTo ¶
func (m *MsgRelayCoinbaseMessagesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayCoinbaseMessagesResponse) MarshalToSizedBuffer ¶
func (m *MsgRelayCoinbaseMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayCoinbaseMessagesResponse) ProtoMessage ¶
func (*MsgRelayCoinbaseMessagesResponse) ProtoMessage()
func (*MsgRelayCoinbaseMessagesResponse) Reset ¶
func (m *MsgRelayCoinbaseMessagesResponse) Reset()
func (*MsgRelayCoinbaseMessagesResponse) Size ¶
func (m *MsgRelayCoinbaseMessagesResponse) Size() (n int)
func (*MsgRelayCoinbaseMessagesResponse) String ¶
func (m *MsgRelayCoinbaseMessagesResponse) String() string
func (*MsgRelayCoinbaseMessagesResponse) Unmarshal ¶
func (m *MsgRelayCoinbaseMessagesResponse) Unmarshal(dAtA []byte) error
func (*MsgRelayCoinbaseMessagesResponse) XXX_DiscardUnknown ¶
func (m *MsgRelayCoinbaseMessagesResponse) XXX_DiscardUnknown()
func (*MsgRelayCoinbaseMessagesResponse) XXX_Marshal ¶
func (m *MsgRelayCoinbaseMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayCoinbaseMessagesResponse) XXX_Merge ¶
func (m *MsgRelayCoinbaseMessagesResponse) XXX_Merge(src proto.Message)
func (*MsgRelayCoinbaseMessagesResponse) XXX_Size ¶
func (m *MsgRelayCoinbaseMessagesResponse) XXX_Size() int
func (*MsgRelayCoinbaseMessagesResponse) XXX_Unmarshal ¶
func (m *MsgRelayCoinbaseMessagesResponse) XXX_Unmarshal(b []byte) error
type MsgRelayPriceFeedPrice ¶
type MsgRelayPriceFeedPrice struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Base []string `protobuf:"bytes,2,rep,name=base,proto3" json:"base,omitempty"` Quote []string `protobuf:"bytes,3,rep,name=quote,proto3" json:"quote,omitempty"` // price defines the price of the oracle base and quote Price []github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,rep,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` }
MsgRelayPriceFeedPrice defines a SDK message for setting a price through the pricefeed oracle.
func (*MsgRelayPriceFeedPrice) Descriptor ¶
func (*MsgRelayPriceFeedPrice) Descriptor() ([]byte, []int)
func (*MsgRelayPriceFeedPrice) GetSignBytes ¶
func (msg *MsgRelayPriceFeedPrice) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgRelayPriceFeedPrice) GetSigners ¶
func (msg MsgRelayPriceFeedPrice) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgRelayPriceFeedPrice) Marshal ¶
func (m *MsgRelayPriceFeedPrice) Marshal() (dAtA []byte, err error)
func (*MsgRelayPriceFeedPrice) MarshalTo ¶
func (m *MsgRelayPriceFeedPrice) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayPriceFeedPrice) MarshalToSizedBuffer ¶
func (m *MsgRelayPriceFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayPriceFeedPrice) ProtoMessage ¶
func (*MsgRelayPriceFeedPrice) ProtoMessage()
func (*MsgRelayPriceFeedPrice) Reset ¶
func (m *MsgRelayPriceFeedPrice) Reset()
func (MsgRelayPriceFeedPrice) Route ¶
func (msg MsgRelayPriceFeedPrice) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgRelayPriceFeedPrice) Size ¶
func (m *MsgRelayPriceFeedPrice) Size() (n int)
func (*MsgRelayPriceFeedPrice) String ¶
func (m *MsgRelayPriceFeedPrice) String() string
func (MsgRelayPriceFeedPrice) Type ¶
func (msg MsgRelayPriceFeedPrice) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgRelayPriceFeedPrice) Unmarshal ¶
func (m *MsgRelayPriceFeedPrice) Unmarshal(dAtA []byte) error
func (MsgRelayPriceFeedPrice) ValidateBasic ¶
func (msg MsgRelayPriceFeedPrice) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgRelayPriceFeedPrice) XXX_DiscardUnknown ¶
func (m *MsgRelayPriceFeedPrice) XXX_DiscardUnknown()
func (*MsgRelayPriceFeedPrice) XXX_Marshal ¶
func (m *MsgRelayPriceFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayPriceFeedPrice) XXX_Merge ¶
func (m *MsgRelayPriceFeedPrice) XXX_Merge(src proto.Message)
func (*MsgRelayPriceFeedPrice) XXX_Size ¶
func (m *MsgRelayPriceFeedPrice) XXX_Size() int
func (*MsgRelayPriceFeedPrice) XXX_Unmarshal ¶
func (m *MsgRelayPriceFeedPrice) XXX_Unmarshal(b []byte) error
type MsgRelayPriceFeedPriceResponse ¶
type MsgRelayPriceFeedPriceResponse struct { }
func (*MsgRelayPriceFeedPriceResponse) Descriptor ¶
func (*MsgRelayPriceFeedPriceResponse) Descriptor() ([]byte, []int)
func (*MsgRelayPriceFeedPriceResponse) Marshal ¶
func (m *MsgRelayPriceFeedPriceResponse) Marshal() (dAtA []byte, err error)
func (*MsgRelayPriceFeedPriceResponse) MarshalTo ¶
func (m *MsgRelayPriceFeedPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayPriceFeedPriceResponse) MarshalToSizedBuffer ¶
func (m *MsgRelayPriceFeedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayPriceFeedPriceResponse) ProtoMessage ¶
func (*MsgRelayPriceFeedPriceResponse) ProtoMessage()
func (*MsgRelayPriceFeedPriceResponse) Reset ¶
func (m *MsgRelayPriceFeedPriceResponse) Reset()
func (*MsgRelayPriceFeedPriceResponse) Size ¶
func (m *MsgRelayPriceFeedPriceResponse) Size() (n int)
func (*MsgRelayPriceFeedPriceResponse) String ¶
func (m *MsgRelayPriceFeedPriceResponse) String() string
func (*MsgRelayPriceFeedPriceResponse) Unmarshal ¶
func (m *MsgRelayPriceFeedPriceResponse) Unmarshal(dAtA []byte) error
func (*MsgRelayPriceFeedPriceResponse) XXX_DiscardUnknown ¶
func (m *MsgRelayPriceFeedPriceResponse) XXX_DiscardUnknown()
func (*MsgRelayPriceFeedPriceResponse) XXX_Marshal ¶
func (m *MsgRelayPriceFeedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayPriceFeedPriceResponse) XXX_Merge ¶
func (m *MsgRelayPriceFeedPriceResponse) XXX_Merge(src proto.Message)
func (*MsgRelayPriceFeedPriceResponse) XXX_Size ¶
func (m *MsgRelayPriceFeedPriceResponse) XXX_Size() int
func (*MsgRelayPriceFeedPriceResponse) XXX_Unmarshal ¶
func (m *MsgRelayPriceFeedPriceResponse) XXX_Unmarshal(b []byte) error
type MsgRequestBandIBCRates ¶ added in v1.23.7
type MsgRequestBandIBCRates struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` RequestId uint64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` }
MsgRequestBandIBCRates defines a SDK message for requesting data from BandChain using IBC.
func NewMsgRequestBandIBCRates ¶ added in v1.23.7
func NewMsgRequestBandIBCRates( sender sdk.AccAddress, requestID uint64, ) *MsgRequestBandIBCRates
NewMsgRequestBandIBCRates creates a new MsgRequestBandIBCRates instance.
func (*MsgRequestBandIBCRates) Descriptor ¶ added in v1.23.7
func (*MsgRequestBandIBCRates) Descriptor() ([]byte, []int)
func (MsgRequestBandIBCRates) GetSignBytes ¶ added in v1.23.7
func (msg MsgRequestBandIBCRates) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface for MsgRequestData.
func (MsgRequestBandIBCRates) GetSigners ¶ added in v1.23.7
func (msg MsgRequestBandIBCRates) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface for MsgRequestData.
func (*MsgRequestBandIBCRates) Marshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) Marshal() (dAtA []byte, err error)
func (*MsgRequestBandIBCRates) MarshalTo ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestBandIBCRates) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestBandIBCRates) ProtoMessage ¶ added in v1.23.7
func (*MsgRequestBandIBCRates) ProtoMessage()
func (*MsgRequestBandIBCRates) Reset ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) Reset()
func (MsgRequestBandIBCRates) Route ¶ added in v1.23.7
func (msg MsgRequestBandIBCRates) Route() string
Route implements the sdk.Msg interface for MsgRequestData.
func (*MsgRequestBandIBCRates) Size ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) Size() (n int)
func (*MsgRequestBandIBCRates) String ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) String() string
func (MsgRequestBandIBCRates) Type ¶ added in v1.23.7
func (msg MsgRequestBandIBCRates) Type() string
Type implements the sdk.Msg interface for MsgRequestData.
func (*MsgRequestBandIBCRates) Unmarshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) Unmarshal(dAtA []byte) error
func (MsgRequestBandIBCRates) ValidateBasic ¶ added in v1.23.7
func (msg MsgRequestBandIBCRates) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface for MsgRequestData.
func (*MsgRequestBandIBCRates) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) XXX_DiscardUnknown()
func (*MsgRequestBandIBCRates) XXX_Marshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestBandIBCRates) XXX_Merge ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) XXX_Merge(src proto.Message)
func (*MsgRequestBandIBCRates) XXX_Size ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) XXX_Size() int
func (*MsgRequestBandIBCRates) XXX_Unmarshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRates) XXX_Unmarshal(b []byte) error
type MsgRequestBandIBCRatesResponse ¶ added in v1.23.7
type MsgRequestBandIBCRatesResponse struct { }
MsgRequestDataResponse defines the Msg/RequestBandIBCRates response type.
func (*MsgRequestBandIBCRatesResponse) Descriptor ¶ added in v1.23.7
func (*MsgRequestBandIBCRatesResponse) Descriptor() ([]byte, []int)
func (*MsgRequestBandIBCRatesResponse) Marshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) Marshal() (dAtA []byte, err error)
func (*MsgRequestBandIBCRatesResponse) MarshalTo ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestBandIBCRatesResponse) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestBandIBCRatesResponse) ProtoMessage ¶ added in v1.23.7
func (*MsgRequestBandIBCRatesResponse) ProtoMessage()
func (*MsgRequestBandIBCRatesResponse) Reset ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) Reset()
func (*MsgRequestBandIBCRatesResponse) Size ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) Size() (n int)
func (*MsgRequestBandIBCRatesResponse) String ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) String() string
func (*MsgRequestBandIBCRatesResponse) Unmarshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) Unmarshal(dAtA []byte) error
func (*MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) XXX_DiscardUnknown()
func (*MsgRequestBandIBCRatesResponse) XXX_Marshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestBandIBCRatesResponse) XXX_Merge ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) XXX_Merge(src proto.Message)
func (*MsgRequestBandIBCRatesResponse) XXX_Size ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) XXX_Size() int
func (*MsgRequestBandIBCRatesResponse) XXX_Unmarshal ¶ added in v1.23.7
func (m *MsgRequestBandIBCRatesResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // RelayPriceFeedPrice defines a method for relaying a price for a price feeder-based oracle RelayPriceFeedPrice(context.Context, *MsgRelayPriceFeedPrice) (*MsgRelayPriceFeedPriceResponse, error) // RelayBandRates defines a method for relaying rates from Band RelayBandRates(context.Context, *MsgRelayBandRates) (*MsgRelayBandRatesResponse, error) // RequestBandIBCRates defines a method for fetching rates from Band ibc RequestBandIBCRates(context.Context, *MsgRequestBandIBCRates) (*MsgRequestBandIBCRatesResponse, error) // RelayCoinbaseMessages defines a method for relaying price messages from Coinbase API RelayCoinbaseMessages(context.Context, *MsgRelayCoinbaseMessages) (*MsgRelayCoinbaseMessagesResponse, error) }
MsgServer is the server API for Msg service.
type OcrKeeper ¶ added in v1.27.0
type OcrKeeper interface {
GetTransmission(ctx sdk.Context, feedId string) *ocrtypes.Transmission
}
type OracleType ¶
type OracleType int32
const ( OracleType_Unspecified OracleType = 0 OracleType_Band OracleType = 1 OracleType_PriceFeed OracleType = 2 OracleType_Coinbase OracleType = 3 OracleType_Chainlink OracleType = 4 OracleType_Razor OracleType = 5 OracleType_Dia OracleType = 6 OracleType_API3 OracleType = 7 OracleType_Uma OracleType = 8 OracleType_Pyth OracleType = 9 OracleType_BandIBC OracleType = 10 )
func GetOracleType ¶
func GetOracleType(oracleTypeStr string) (OracleType, error)
func (OracleType) EnumDescriptor ¶
func (OracleType) EnumDescriptor() ([]byte, []int)
func (OracleType) String ¶
func (x OracleType) String() string
func (*OracleType) UnmarshalJSON ¶
func (o *OracleType) UnmarshalJSON(data []byte) error
type ParamSet ¶
type ParamSet interface {
ParamSetPairs() ParamSetPairs
}
ParamSet defines an interface for structs containing parameters for a module
type ParamSetPair ¶
type ParamSetPair struct { Key []byte Value interface{} ValidatorFn ValueValidatorFn }
ParamSetPair is used for associating paramsubspace key and field of param structs.
func NewParamSetPair ¶
func NewParamSetPair(key []byte, value interface{}, vfn ValueValidatorFn) ParamSetPair
NewParamSetPair creates a new ParamSetPair instance.
type Params ¶
type Params struct { }
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
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 ¶ added in v1.23.7
type PortKeeper interface {
BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}
PortKeeper defines the expected IBC port keeper
type PriceFeedInfo ¶
type PriceFeedInfo struct { Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,2,opt,name=quote,proto3" json:"quote,omitempty"` }
func (*PriceFeedInfo) Descriptor ¶
func (*PriceFeedInfo) Descriptor() ([]byte, []int)
func (*PriceFeedInfo) GetBase ¶
func (m *PriceFeedInfo) GetBase() string
func (*PriceFeedInfo) GetQuote ¶
func (m *PriceFeedInfo) GetQuote() string
func (*PriceFeedInfo) Marshal ¶
func (m *PriceFeedInfo) Marshal() (dAtA []byte, err error)
func (*PriceFeedInfo) MarshalToSizedBuffer ¶
func (m *PriceFeedInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceFeedInfo) ProtoMessage ¶
func (*PriceFeedInfo) ProtoMessage()
func (*PriceFeedInfo) Reset ¶
func (m *PriceFeedInfo) Reset()
func (*PriceFeedInfo) Size ¶
func (m *PriceFeedInfo) Size() (n int)
func (*PriceFeedInfo) String ¶
func (m *PriceFeedInfo) String() string
func (*PriceFeedInfo) Unmarshal ¶
func (m *PriceFeedInfo) Unmarshal(dAtA []byte) error
func (*PriceFeedInfo) XXX_DiscardUnknown ¶
func (m *PriceFeedInfo) XXX_DiscardUnknown()
func (*PriceFeedInfo) XXX_Marshal ¶
func (m *PriceFeedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceFeedInfo) XXX_Merge ¶
func (m *PriceFeedInfo) XXX_Merge(src proto.Message)
func (*PriceFeedInfo) XXX_Size ¶
func (m *PriceFeedInfo) XXX_Size() int
func (*PriceFeedInfo) XXX_Unmarshal ¶
func (m *PriceFeedInfo) XXX_Unmarshal(b []byte) error
type PriceFeedPrice ¶
type PriceFeedPrice struct {
Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
}
func (*PriceFeedPrice) Descriptor ¶
func (*PriceFeedPrice) Descriptor() ([]byte, []int)
func (*PriceFeedPrice) Marshal ¶
func (m *PriceFeedPrice) Marshal() (dAtA []byte, err error)
func (*PriceFeedPrice) MarshalToSizedBuffer ¶
func (m *PriceFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceFeedPrice) ProtoMessage ¶
func (*PriceFeedPrice) ProtoMessage()
func (*PriceFeedPrice) Reset ¶
func (m *PriceFeedPrice) Reset()
func (*PriceFeedPrice) Size ¶
func (m *PriceFeedPrice) Size() (n int)
func (*PriceFeedPrice) String ¶
func (m *PriceFeedPrice) String() string
func (*PriceFeedPrice) Unmarshal ¶
func (m *PriceFeedPrice) Unmarshal(dAtA []byte) error
func (*PriceFeedPrice) XXX_DiscardUnknown ¶
func (m *PriceFeedPrice) XXX_DiscardUnknown()
func (*PriceFeedPrice) XXX_Marshal ¶
func (m *PriceFeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceFeedPrice) XXX_Merge ¶
func (m *PriceFeedPrice) XXX_Merge(src proto.Message)
func (*PriceFeedPrice) XXX_Size ¶
func (m *PriceFeedPrice) XXX_Size() int
func (*PriceFeedPrice) XXX_Unmarshal ¶
func (m *PriceFeedPrice) XXX_Unmarshal(b []byte) error
type PriceFeedState ¶
type PriceFeedState struct { Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,2,opt,name=quote,proto3" json:"quote,omitempty"` PriceState *PriceState `protobuf:"bytes,3,opt,name=price_state,json=priceState,proto3" json:"price_state,omitempty"` Relayers []string `protobuf:"bytes,4,rep,name=relayers,proto3" json:"relayers,omitempty"` }
func (*PriceFeedState) Descriptor ¶
func (*PriceFeedState) Descriptor() ([]byte, []int)
func (*PriceFeedState) GetBase ¶
func (m *PriceFeedState) GetBase() string
func (*PriceFeedState) GetPriceState ¶
func (m *PriceFeedState) GetPriceState() *PriceState
func (*PriceFeedState) GetQuote ¶
func (m *PriceFeedState) GetQuote() string
func (*PriceFeedState) GetRelayers ¶
func (m *PriceFeedState) GetRelayers() []string
func (*PriceFeedState) Marshal ¶
func (m *PriceFeedState) Marshal() (dAtA []byte, err error)
func (*PriceFeedState) MarshalToSizedBuffer ¶
func (m *PriceFeedState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceFeedState) ProtoMessage ¶
func (*PriceFeedState) ProtoMessage()
func (*PriceFeedState) Reset ¶
func (m *PriceFeedState) Reset()
func (*PriceFeedState) Size ¶
func (m *PriceFeedState) Size() (n int)
func (*PriceFeedState) String ¶
func (m *PriceFeedState) String() string
func (*PriceFeedState) Unmarshal ¶
func (m *PriceFeedState) Unmarshal(dAtA []byte) error
func (*PriceFeedState) XXX_DiscardUnknown ¶
func (m *PriceFeedState) XXX_DiscardUnknown()
func (*PriceFeedState) XXX_Marshal ¶
func (m *PriceFeedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceFeedState) XXX_Merge ¶
func (m *PriceFeedState) XXX_Merge(src proto.Message)
func (*PriceFeedState) XXX_Size ¶
func (m *PriceFeedState) XXX_Size() int
func (*PriceFeedState) XXX_Unmarshal ¶
func (m *PriceFeedState) XXX_Unmarshal(b []byte) error
type PriceState ¶
type PriceState struct { Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` CumulativePrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func NewPriceState ¶
func NewPriceState(price sdk.Dec, timestamp int64) *PriceState
func (*PriceState) Descriptor ¶
func (*PriceState) Descriptor() ([]byte, []int)
func (*PriceState) GetTimestamp ¶
func (m *PriceState) GetTimestamp() int64
func (*PriceState) Marshal ¶
func (m *PriceState) Marshal() (dAtA []byte, err error)
func (*PriceState) MarshalToSizedBuffer ¶
func (m *PriceState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceState) ProtoMessage ¶
func (*PriceState) ProtoMessage()
func (*PriceState) Reset ¶
func (m *PriceState) Reset()
func (*PriceState) Size ¶
func (m *PriceState) Size() (n int)
func (*PriceState) String ¶
func (m *PriceState) String() string
func (*PriceState) Unmarshal ¶
func (m *PriceState) Unmarshal(dAtA []byte) error
func (*PriceState) UpdatePrice ¶
func (p *PriceState) UpdatePrice(price sdk.Dec, timestamp int64)
func (*PriceState) XXX_DiscardUnknown ¶
func (m *PriceState) XXX_DiscardUnknown()
func (*PriceState) XXX_Marshal ¶
func (m *PriceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceState) XXX_Merge ¶
func (m *PriceState) XXX_Merge(src proto.Message)
func (*PriceState) XXX_Size ¶
func (m *PriceState) XXX_Size() int
func (*PriceState) XXX_Unmarshal ¶
func (m *PriceState) XXX_Unmarshal(b []byte) error
type QueryBandIBCPriceStatesRequest ¶ added in v1.23.7
type QueryBandIBCPriceStatesRequest struct { }
QueryBandIBCPriceStatesRequest is the request type for the Query/BandIBCPriceStates RPC method.
func (*QueryBandIBCPriceStatesRequest) Descriptor ¶ added in v1.23.7
func (*QueryBandIBCPriceStatesRequest) Descriptor() ([]byte, []int)
func (*QueryBandIBCPriceStatesRequest) Marshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) Marshal() (dAtA []byte, err error)
func (*QueryBandIBCPriceStatesRequest) MarshalTo ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandIBCPriceStatesRequest) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandIBCPriceStatesRequest) ProtoMessage ¶ added in v1.23.7
func (*QueryBandIBCPriceStatesRequest) ProtoMessage()
func (*QueryBandIBCPriceStatesRequest) Reset ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) Reset()
func (*QueryBandIBCPriceStatesRequest) Size ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) Size() (n int)
func (*QueryBandIBCPriceStatesRequest) String ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) String() string
func (*QueryBandIBCPriceStatesRequest) Unmarshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) Unmarshal(dAtA []byte) error
func (*QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) XXX_DiscardUnknown()
func (*QueryBandIBCPriceStatesRequest) XXX_Marshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandIBCPriceStatesRequest) XXX_Merge ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) XXX_Merge(src proto.Message)
func (*QueryBandIBCPriceStatesRequest) XXX_Size ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) XXX_Size() int
func (*QueryBandIBCPriceStatesRequest) XXX_Unmarshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesRequest) XXX_Unmarshal(b []byte) error
type QueryBandIBCPriceStatesResponse ¶ added in v1.23.7
type QueryBandIBCPriceStatesResponse struct {
PriceStates []*BandPriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}
QueryBandIBCPriceStatesResponse is the response type for the Query/BandIBCPriceStates RPC method.
func (*QueryBandIBCPriceStatesResponse) Descriptor ¶ added in v1.23.7
func (*QueryBandIBCPriceStatesResponse) Descriptor() ([]byte, []int)
func (*QueryBandIBCPriceStatesResponse) GetPriceStates ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) GetPriceStates() []*BandPriceState
func (*QueryBandIBCPriceStatesResponse) Marshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryBandIBCPriceStatesResponse) MarshalTo ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandIBCPriceStatesResponse) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandIBCPriceStatesResponse) ProtoMessage ¶ added in v1.23.7
func (*QueryBandIBCPriceStatesResponse) ProtoMessage()
func (*QueryBandIBCPriceStatesResponse) Reset ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) Reset()
func (*QueryBandIBCPriceStatesResponse) Size ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) Size() (n int)
func (*QueryBandIBCPriceStatesResponse) String ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) String() string
func (*QueryBandIBCPriceStatesResponse) Unmarshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) Unmarshal(dAtA []byte) error
func (*QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) XXX_DiscardUnknown()
func (*QueryBandIBCPriceStatesResponse) XXX_Marshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandIBCPriceStatesResponse) XXX_Merge ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) XXX_Merge(src proto.Message)
func (*QueryBandIBCPriceStatesResponse) XXX_Size ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) XXX_Size() int
func (*QueryBandIBCPriceStatesResponse) XXX_Unmarshal ¶ added in v1.23.7
func (m *QueryBandIBCPriceStatesResponse) XXX_Unmarshal(b []byte) error
type QueryBandPriceStatesRequest ¶
type QueryBandPriceStatesRequest struct { }
QueryBandPriceStatesRequest is the request type for the Query/BandPriceStates RPC method.
func (*QueryBandPriceStatesRequest) Descriptor ¶
func (*QueryBandPriceStatesRequest) Descriptor() ([]byte, []int)
func (*QueryBandPriceStatesRequest) Marshal ¶
func (m *QueryBandPriceStatesRequest) Marshal() (dAtA []byte, err error)
func (*QueryBandPriceStatesRequest) MarshalTo ¶
func (m *QueryBandPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandPriceStatesRequest) MarshalToSizedBuffer ¶
func (m *QueryBandPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandPriceStatesRequest) ProtoMessage ¶
func (*QueryBandPriceStatesRequest) ProtoMessage()
func (*QueryBandPriceStatesRequest) Reset ¶
func (m *QueryBandPriceStatesRequest) Reset()
func (*QueryBandPriceStatesRequest) Size ¶
func (m *QueryBandPriceStatesRequest) Size() (n int)
func (*QueryBandPriceStatesRequest) String ¶
func (m *QueryBandPriceStatesRequest) String() string
func (*QueryBandPriceStatesRequest) Unmarshal ¶
func (m *QueryBandPriceStatesRequest) Unmarshal(dAtA []byte) error
func (*QueryBandPriceStatesRequest) XXX_DiscardUnknown ¶
func (m *QueryBandPriceStatesRequest) XXX_DiscardUnknown()
func (*QueryBandPriceStatesRequest) XXX_Marshal ¶
func (m *QueryBandPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandPriceStatesRequest) XXX_Merge ¶
func (m *QueryBandPriceStatesRequest) XXX_Merge(src proto.Message)
func (*QueryBandPriceStatesRequest) XXX_Size ¶
func (m *QueryBandPriceStatesRequest) XXX_Size() int
func (*QueryBandPriceStatesRequest) XXX_Unmarshal ¶
func (m *QueryBandPriceStatesRequest) XXX_Unmarshal(b []byte) error
type QueryBandPriceStatesResponse ¶
type QueryBandPriceStatesResponse struct {
PriceStates []*BandPriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}
QueryBandPriceStatesResponse is the response type for the Query/BandPriceStates RPC method.
func (*QueryBandPriceStatesResponse) Descriptor ¶
func (*QueryBandPriceStatesResponse) Descriptor() ([]byte, []int)
func (*QueryBandPriceStatesResponse) GetPriceStates ¶
func (m *QueryBandPriceStatesResponse) GetPriceStates() []*BandPriceState
func (*QueryBandPriceStatesResponse) Marshal ¶
func (m *QueryBandPriceStatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryBandPriceStatesResponse) MarshalTo ¶
func (m *QueryBandPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandPriceStatesResponse) MarshalToSizedBuffer ¶
func (m *QueryBandPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandPriceStatesResponse) ProtoMessage ¶
func (*QueryBandPriceStatesResponse) ProtoMessage()
func (*QueryBandPriceStatesResponse) Reset ¶
func (m *QueryBandPriceStatesResponse) Reset()
func (*QueryBandPriceStatesResponse) Size ¶
func (m *QueryBandPriceStatesResponse) Size() (n int)
func (*QueryBandPriceStatesResponse) String ¶
func (m *QueryBandPriceStatesResponse) String() string
func (*QueryBandPriceStatesResponse) Unmarshal ¶
func (m *QueryBandPriceStatesResponse) Unmarshal(dAtA []byte) error
func (*QueryBandPriceStatesResponse) XXX_DiscardUnknown ¶
func (m *QueryBandPriceStatesResponse) XXX_DiscardUnknown()
func (*QueryBandPriceStatesResponse) XXX_Marshal ¶
func (m *QueryBandPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandPriceStatesResponse) XXX_Merge ¶
func (m *QueryBandPriceStatesResponse) XXX_Merge(src proto.Message)
func (*QueryBandPriceStatesResponse) XXX_Size ¶
func (m *QueryBandPriceStatesResponse) XXX_Size() int
func (*QueryBandPriceStatesResponse) XXX_Unmarshal ¶
func (m *QueryBandPriceStatesResponse) XXX_Unmarshal(b []byte) error
type QueryBandRelayersRequest ¶
type QueryBandRelayersRequest struct { }
QueryBandRelayersRequest is the request type for the Query/BandRelayers RPC method.
func (*QueryBandRelayersRequest) Descriptor ¶
func (*QueryBandRelayersRequest) Descriptor() ([]byte, []int)
func (*QueryBandRelayersRequest) Marshal ¶
func (m *QueryBandRelayersRequest) Marshal() (dAtA []byte, err error)
func (*QueryBandRelayersRequest) MarshalTo ¶
func (m *QueryBandRelayersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandRelayersRequest) MarshalToSizedBuffer ¶
func (m *QueryBandRelayersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandRelayersRequest) ProtoMessage ¶
func (*QueryBandRelayersRequest) ProtoMessage()
func (*QueryBandRelayersRequest) Reset ¶
func (m *QueryBandRelayersRequest) Reset()
func (*QueryBandRelayersRequest) Size ¶
func (m *QueryBandRelayersRequest) Size() (n int)
func (*QueryBandRelayersRequest) String ¶
func (m *QueryBandRelayersRequest) String() string
func (*QueryBandRelayersRequest) Unmarshal ¶
func (m *QueryBandRelayersRequest) Unmarshal(dAtA []byte) error
func (*QueryBandRelayersRequest) XXX_DiscardUnknown ¶
func (m *QueryBandRelayersRequest) XXX_DiscardUnknown()
func (*QueryBandRelayersRequest) XXX_Marshal ¶
func (m *QueryBandRelayersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandRelayersRequest) XXX_Merge ¶
func (m *QueryBandRelayersRequest) XXX_Merge(src proto.Message)
func (*QueryBandRelayersRequest) XXX_Size ¶
func (m *QueryBandRelayersRequest) XXX_Size() int
func (*QueryBandRelayersRequest) XXX_Unmarshal ¶
func (m *QueryBandRelayersRequest) XXX_Unmarshal(b []byte) error
type QueryBandRelayersResponse ¶
type QueryBandRelayersResponse struct {
Relayers []string `protobuf:"bytes,1,rep,name=relayers,proto3" json:"relayers,omitempty"`
}
QueryBandRelayersResponse is the response type for the Query/BandRelayers RPC method.
func (*QueryBandRelayersResponse) Descriptor ¶
func (*QueryBandRelayersResponse) Descriptor() ([]byte, []int)
func (*QueryBandRelayersResponse) GetRelayers ¶
func (m *QueryBandRelayersResponse) GetRelayers() []string
func (*QueryBandRelayersResponse) Marshal ¶
func (m *QueryBandRelayersResponse) Marshal() (dAtA []byte, err error)
func (*QueryBandRelayersResponse) MarshalTo ¶
func (m *QueryBandRelayersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBandRelayersResponse) MarshalToSizedBuffer ¶
func (m *QueryBandRelayersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBandRelayersResponse) ProtoMessage ¶
func (*QueryBandRelayersResponse) ProtoMessage()
func (*QueryBandRelayersResponse) Reset ¶
func (m *QueryBandRelayersResponse) Reset()
func (*QueryBandRelayersResponse) Size ¶
func (m *QueryBandRelayersResponse) Size() (n int)
func (*QueryBandRelayersResponse) String ¶
func (m *QueryBandRelayersResponse) String() string
func (*QueryBandRelayersResponse) Unmarshal ¶
func (m *QueryBandRelayersResponse) Unmarshal(dAtA []byte) error
func (*QueryBandRelayersResponse) XXX_DiscardUnknown ¶
func (m *QueryBandRelayersResponse) XXX_DiscardUnknown()
func (*QueryBandRelayersResponse) XXX_Marshal ¶
func (m *QueryBandRelayersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBandRelayersResponse) XXX_Merge ¶
func (m *QueryBandRelayersResponse) XXX_Merge(src proto.Message)
func (*QueryBandRelayersResponse) XXX_Size ¶
func (m *QueryBandRelayersResponse) XXX_Size() int
func (*QueryBandRelayersResponse) XXX_Unmarshal ¶
func (m *QueryBandRelayersResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Retrieves oracle params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Retrieves the band relayers BandRelayers(ctx context.Context, in *QueryBandRelayersRequest, opts ...grpc.CallOption) (*QueryBandRelayersResponse, error) // Retrieves the state for all band price feeds BandPriceStates(ctx context.Context, in *QueryBandPriceStatesRequest, opts ...grpc.CallOption) (*QueryBandPriceStatesResponse, error) // Retrieves the state for all band ibc price feeds BandIBCPriceStates(ctx context.Context, in *QueryBandIBCPriceStatesRequest, opts ...grpc.CallOption) (*QueryBandIBCPriceStatesResponse, error) // Retrieves the state for all price feeds PriceFeedPriceStates(ctx context.Context, in *QueryPriceFeedPriceStatesRequest, opts ...grpc.CallOption) (*QueryPriceFeedPriceStatesResponse, error) // Retrieves the state for all coinbase price feeds CoinbasePriceStates(ctx context.Context, in *QueryCoinbasePriceStatesRequest, opts ...grpc.CallOption) (*QueryCoinbasePriceStatesResponse, error) // Retrieves the entire oracle module's state OracleModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, 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 QueryCoinbasePriceStatesRequest ¶
type QueryCoinbasePriceStatesRequest struct { }
QueryCoinbasePriceStatesRequest is the request type for the Query/CoinbasePriceStates RPC method.
func (*QueryCoinbasePriceStatesRequest) Descriptor ¶
func (*QueryCoinbasePriceStatesRequest) Descriptor() ([]byte, []int)
func (*QueryCoinbasePriceStatesRequest) Marshal ¶
func (m *QueryCoinbasePriceStatesRequest) Marshal() (dAtA []byte, err error)
func (*QueryCoinbasePriceStatesRequest) MarshalTo ¶
func (m *QueryCoinbasePriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoinbasePriceStatesRequest) MarshalToSizedBuffer ¶
func (m *QueryCoinbasePriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoinbasePriceStatesRequest) ProtoMessage ¶
func (*QueryCoinbasePriceStatesRequest) ProtoMessage()
func (*QueryCoinbasePriceStatesRequest) Reset ¶
func (m *QueryCoinbasePriceStatesRequest) Reset()
func (*QueryCoinbasePriceStatesRequest) Size ¶
func (m *QueryCoinbasePriceStatesRequest) Size() (n int)
func (*QueryCoinbasePriceStatesRequest) String ¶
func (m *QueryCoinbasePriceStatesRequest) String() string
func (*QueryCoinbasePriceStatesRequest) Unmarshal ¶
func (m *QueryCoinbasePriceStatesRequest) Unmarshal(dAtA []byte) error
func (*QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown ¶
func (m *QueryCoinbasePriceStatesRequest) XXX_DiscardUnknown()
func (*QueryCoinbasePriceStatesRequest) XXX_Marshal ¶
func (m *QueryCoinbasePriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoinbasePriceStatesRequest) XXX_Merge ¶
func (m *QueryCoinbasePriceStatesRequest) XXX_Merge(src proto.Message)
func (*QueryCoinbasePriceStatesRequest) XXX_Size ¶
func (m *QueryCoinbasePriceStatesRequest) XXX_Size() int
func (*QueryCoinbasePriceStatesRequest) XXX_Unmarshal ¶
func (m *QueryCoinbasePriceStatesRequest) XXX_Unmarshal(b []byte) error
type QueryCoinbasePriceStatesResponse ¶
type QueryCoinbasePriceStatesResponse struct {
PriceStates []*CoinbasePriceState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}
QueryCoinbasePriceStatesResponse is the response type for the Query/CoinbasePriceStates RPC method.
func (*QueryCoinbasePriceStatesResponse) Descriptor ¶
func (*QueryCoinbasePriceStatesResponse) Descriptor() ([]byte, []int)
func (*QueryCoinbasePriceStatesResponse) GetPriceStates ¶
func (m *QueryCoinbasePriceStatesResponse) GetPriceStates() []*CoinbasePriceState
func (*QueryCoinbasePriceStatesResponse) Marshal ¶
func (m *QueryCoinbasePriceStatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryCoinbasePriceStatesResponse) MarshalTo ¶
func (m *QueryCoinbasePriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoinbasePriceStatesResponse) MarshalToSizedBuffer ¶
func (m *QueryCoinbasePriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoinbasePriceStatesResponse) ProtoMessage ¶
func (*QueryCoinbasePriceStatesResponse) ProtoMessage()
func (*QueryCoinbasePriceStatesResponse) Reset ¶
func (m *QueryCoinbasePriceStatesResponse) Reset()
func (*QueryCoinbasePriceStatesResponse) Size ¶
func (m *QueryCoinbasePriceStatesResponse) Size() (n int)
func (*QueryCoinbasePriceStatesResponse) String ¶
func (m *QueryCoinbasePriceStatesResponse) String() string
func (*QueryCoinbasePriceStatesResponse) Unmarshal ¶
func (m *QueryCoinbasePriceStatesResponse) Unmarshal(dAtA []byte) error
func (*QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown ¶
func (m *QueryCoinbasePriceStatesResponse) XXX_DiscardUnknown()
func (*QueryCoinbasePriceStatesResponse) XXX_Marshal ¶
func (m *QueryCoinbasePriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoinbasePriceStatesResponse) XXX_Merge ¶
func (m *QueryCoinbasePriceStatesResponse) XXX_Merge(src proto.Message)
func (*QueryCoinbasePriceStatesResponse) XXX_Size ¶
func (m *QueryCoinbasePriceStatesResponse) XXX_Size() int
func (*QueryCoinbasePriceStatesResponse) XXX_Unmarshal ¶
func (m *QueryCoinbasePriceStatesResponse) XXX_Unmarshal(b []byte) error
type QueryModuleStateRequest ¶
type QueryModuleStateRequest struct { }
QueryModuleStateRequest is the request type for the Query/OracleModuleState RPC method.
func (*QueryModuleStateRequest) Descriptor ¶
func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
func (*QueryModuleStateRequest) Marshal ¶
func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateRequest) MarshalTo ¶
func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) MarshalToSizedBuffer ¶
func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) ProtoMessage ¶
func (*QueryModuleStateRequest) ProtoMessage()
func (*QueryModuleStateRequest) Reset ¶
func (m *QueryModuleStateRequest) Reset()
func (*QueryModuleStateRequest) Size ¶
func (m *QueryModuleStateRequest) Size() (n int)
func (*QueryModuleStateRequest) String ¶
func (m *QueryModuleStateRequest) String() string
func (*QueryModuleStateRequest) Unmarshal ¶
func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
func (*QueryModuleStateRequest) XXX_DiscardUnknown ¶
func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
func (*QueryModuleStateRequest) XXX_Marshal ¶
func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateRequest) XXX_Merge ¶
func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
func (*QueryModuleStateRequest) XXX_Size ¶
func (m *QueryModuleStateRequest) XXX_Size() int
func (*QueryModuleStateRequest) XXX_Unmarshal ¶
func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
type QueryModuleStateResponse ¶
type QueryModuleStateResponse struct {
State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}
QueryModuleStateResponse is the response type for the Query/OracleModuleState RPC method.
func (*QueryModuleStateResponse) Descriptor ¶
func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
func (*QueryModuleStateResponse) GetState ¶
func (m *QueryModuleStateResponse) GetState() *GenesisState
func (*QueryModuleStateResponse) Marshal ¶
func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateResponse) MarshalTo ¶
func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) MarshalToSizedBuffer ¶
func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) ProtoMessage ¶
func (*QueryModuleStateResponse) ProtoMessage()
func (*QueryModuleStateResponse) Reset ¶
func (m *QueryModuleStateResponse) Reset()
func (*QueryModuleStateResponse) Size ¶
func (m *QueryModuleStateResponse) Size() (n int)
func (*QueryModuleStateResponse) String ¶
func (m *QueryModuleStateResponse) String() string
func (*QueryModuleStateResponse) Unmarshal ¶
func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
func (*QueryModuleStateResponse) XXX_DiscardUnknown ¶
func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
func (*QueryModuleStateResponse) XXX_Marshal ¶
func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateResponse) XXX_Merge ¶
func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
func (*QueryModuleStateResponse) XXX_Size ¶
func (m *QueryModuleStateResponse) XXX_Size() int
func (*QueryModuleStateResponse) XXX_Unmarshal ¶
func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryOracleParamsRequest is the request type for the Query/OracleParams 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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryOracleParamsResponse is the response type for the Query/OracleParams 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 QueryPriceFeedPriceStatesRequest ¶
type QueryPriceFeedPriceStatesRequest struct { }
QueryPriceFeedPriceStatesRequest is the request type for the Query/PriceFeedPriceStates RPC method.
func (*QueryPriceFeedPriceStatesRequest) Descriptor ¶
func (*QueryPriceFeedPriceStatesRequest) Descriptor() ([]byte, []int)
func (*QueryPriceFeedPriceStatesRequest) Marshal ¶
func (m *QueryPriceFeedPriceStatesRequest) Marshal() (dAtA []byte, err error)
func (*QueryPriceFeedPriceStatesRequest) MarshalTo ¶
func (m *QueryPriceFeedPriceStatesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPriceFeedPriceStatesRequest) MarshalToSizedBuffer ¶
func (m *QueryPriceFeedPriceStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPriceFeedPriceStatesRequest) ProtoMessage ¶
func (*QueryPriceFeedPriceStatesRequest) ProtoMessage()
func (*QueryPriceFeedPriceStatesRequest) Reset ¶
func (m *QueryPriceFeedPriceStatesRequest) Reset()
func (*QueryPriceFeedPriceStatesRequest) Size ¶
func (m *QueryPriceFeedPriceStatesRequest) Size() (n int)
func (*QueryPriceFeedPriceStatesRequest) String ¶
func (m *QueryPriceFeedPriceStatesRequest) String() string
func (*QueryPriceFeedPriceStatesRequest) Unmarshal ¶
func (m *QueryPriceFeedPriceStatesRequest) Unmarshal(dAtA []byte) error
func (*QueryPriceFeedPriceStatesRequest) XXX_DiscardUnknown ¶
func (m *QueryPriceFeedPriceStatesRequest) XXX_DiscardUnknown()
func (*QueryPriceFeedPriceStatesRequest) XXX_Marshal ¶
func (m *QueryPriceFeedPriceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPriceFeedPriceStatesRequest) XXX_Merge ¶
func (m *QueryPriceFeedPriceStatesRequest) XXX_Merge(src proto.Message)
func (*QueryPriceFeedPriceStatesRequest) XXX_Size ¶
func (m *QueryPriceFeedPriceStatesRequest) XXX_Size() int
func (*QueryPriceFeedPriceStatesRequest) XXX_Unmarshal ¶
func (m *QueryPriceFeedPriceStatesRequest) XXX_Unmarshal(b []byte) error
type QueryPriceFeedPriceStatesResponse ¶
type QueryPriceFeedPriceStatesResponse struct {
PriceStates []*PriceFeedState `protobuf:"bytes,1,rep,name=price_states,json=priceStates,proto3" json:"price_states,omitempty"`
}
QueryPriceFeedPriceStatesResponse is the response type for the Query/PriceFeedPriceStates RPC method.
func (*QueryPriceFeedPriceStatesResponse) Descriptor ¶
func (*QueryPriceFeedPriceStatesResponse) Descriptor() ([]byte, []int)
func (*QueryPriceFeedPriceStatesResponse) GetPriceStates ¶
func (m *QueryPriceFeedPriceStatesResponse) GetPriceStates() []*PriceFeedState
func (*QueryPriceFeedPriceStatesResponse) Marshal ¶
func (m *QueryPriceFeedPriceStatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryPriceFeedPriceStatesResponse) MarshalTo ¶
func (m *QueryPriceFeedPriceStatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPriceFeedPriceStatesResponse) MarshalToSizedBuffer ¶
func (m *QueryPriceFeedPriceStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPriceFeedPriceStatesResponse) ProtoMessage ¶
func (*QueryPriceFeedPriceStatesResponse) ProtoMessage()
func (*QueryPriceFeedPriceStatesResponse) Reset ¶
func (m *QueryPriceFeedPriceStatesResponse) Reset()
func (*QueryPriceFeedPriceStatesResponse) Size ¶
func (m *QueryPriceFeedPriceStatesResponse) Size() (n int)
func (*QueryPriceFeedPriceStatesResponse) String ¶
func (m *QueryPriceFeedPriceStatesResponse) String() string
func (*QueryPriceFeedPriceStatesResponse) Unmarshal ¶
func (m *QueryPriceFeedPriceStatesResponse) Unmarshal(dAtA []byte) error
func (*QueryPriceFeedPriceStatesResponse) XXX_DiscardUnknown ¶
func (m *QueryPriceFeedPriceStatesResponse) XXX_DiscardUnknown()
func (*QueryPriceFeedPriceStatesResponse) XXX_Marshal ¶
func (m *QueryPriceFeedPriceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPriceFeedPriceStatesResponse) XXX_Merge ¶
func (m *QueryPriceFeedPriceStatesResponse) XXX_Merge(src proto.Message)
func (*QueryPriceFeedPriceStatesResponse) XXX_Size ¶
func (m *QueryPriceFeedPriceStatesResponse) XXX_Size() int
func (*QueryPriceFeedPriceStatesResponse) XXX_Unmarshal ¶
func (m *QueryPriceFeedPriceStatesResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Retrieves oracle params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Retrieves the band relayers BandRelayers(context.Context, *QueryBandRelayersRequest) (*QueryBandRelayersResponse, error) // Retrieves the state for all band price feeds BandPriceStates(context.Context, *QueryBandPriceStatesRequest) (*QueryBandPriceStatesResponse, error) // Retrieves the state for all band ibc price feeds BandIBCPriceStates(context.Context, *QueryBandIBCPriceStatesRequest) (*QueryBandIBCPriceStatesResponse, error) // Retrieves the state for all price feeds PriceFeedPriceStates(context.Context, *QueryPriceFeedPriceStatesRequest) (*QueryPriceFeedPriceStatesResponse, error) // Retrieves the state for all coinbase price feeds CoinbasePriceStates(context.Context, *QueryCoinbasePriceStatesRequest) (*QueryCoinbasePriceStatesResponse, error) // Retrieves the entire oracle module's state OracleModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error) }
QueryServer is the server API for Query service.
type RevokeBandOraclePrivilegeProposal ¶
type RevokeBandOraclePrivilegeProposal 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"` Relayers []string `protobuf:"bytes,3,rep,name=relayers,proto3" json:"relayers,omitempty"` }
func (*RevokeBandOraclePrivilegeProposal) Descriptor ¶
func (*RevokeBandOraclePrivilegeProposal) Descriptor() ([]byte, []int)
func (*RevokeBandOraclePrivilegeProposal) GetDescription ¶
func (p *RevokeBandOraclePrivilegeProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*RevokeBandOraclePrivilegeProposal) GetTitle ¶
func (p *RevokeBandOraclePrivilegeProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*RevokeBandOraclePrivilegeProposal) Marshal ¶
func (m *RevokeBandOraclePrivilegeProposal) Marshal() (dAtA []byte, err error)
func (*RevokeBandOraclePrivilegeProposal) MarshalTo ¶
func (m *RevokeBandOraclePrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
func (*RevokeBandOraclePrivilegeProposal) MarshalToSizedBuffer ¶
func (m *RevokeBandOraclePrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokeBandOraclePrivilegeProposal) ProposalRoute ¶
func (p *RevokeBandOraclePrivilegeProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*RevokeBandOraclePrivilegeProposal) ProposalType ¶
func (p *RevokeBandOraclePrivilegeProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*RevokeBandOraclePrivilegeProposal) ProtoMessage ¶
func (*RevokeBandOraclePrivilegeProposal) ProtoMessage()
func (*RevokeBandOraclePrivilegeProposal) Reset ¶
func (m *RevokeBandOraclePrivilegeProposal) Reset()
func (*RevokeBandOraclePrivilegeProposal) Size ¶
func (m *RevokeBandOraclePrivilegeProposal) Size() (n int)
func (*RevokeBandOraclePrivilegeProposal) String ¶
func (m *RevokeBandOraclePrivilegeProposal) String() string
func (*RevokeBandOraclePrivilegeProposal) Unmarshal ¶
func (m *RevokeBandOraclePrivilegeProposal) Unmarshal(dAtA []byte) error
func (*RevokeBandOraclePrivilegeProposal) ValidateBasic ¶
func (p *RevokeBandOraclePrivilegeProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*RevokeBandOraclePrivilegeProposal) XXX_DiscardUnknown ¶
func (m *RevokeBandOraclePrivilegeProposal) XXX_DiscardUnknown()
func (*RevokeBandOraclePrivilegeProposal) XXX_Marshal ¶
func (m *RevokeBandOraclePrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeBandOraclePrivilegeProposal) XXX_Merge ¶
func (m *RevokeBandOraclePrivilegeProposal) XXX_Merge(src proto.Message)
func (*RevokeBandOraclePrivilegeProposal) XXX_Size ¶
func (m *RevokeBandOraclePrivilegeProposal) XXX_Size() int
func (*RevokeBandOraclePrivilegeProposal) XXX_Unmarshal ¶
func (m *RevokeBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error
type RevokePriceFeederPrivilegeProposal ¶
type RevokePriceFeederPrivilegeProposal 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"` Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,4,opt,name=quote,proto3" json:"quote,omitempty"` Relayers []string `protobuf:"bytes,5,rep,name=relayers,proto3" json:"relayers,omitempty"` }
func (*RevokePriceFeederPrivilegeProposal) Descriptor ¶
func (*RevokePriceFeederPrivilegeProposal) Descriptor() ([]byte, []int)
func (*RevokePriceFeederPrivilegeProposal) GetDescription ¶
func (p *RevokePriceFeederPrivilegeProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*RevokePriceFeederPrivilegeProposal) GetTitle ¶
func (p *RevokePriceFeederPrivilegeProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*RevokePriceFeederPrivilegeProposal) Marshal ¶
func (m *RevokePriceFeederPrivilegeProposal) Marshal() (dAtA []byte, err error)
func (*RevokePriceFeederPrivilegeProposal) MarshalTo ¶
func (m *RevokePriceFeederPrivilegeProposal) MarshalTo(dAtA []byte) (int, error)
func (*RevokePriceFeederPrivilegeProposal) MarshalToSizedBuffer ¶
func (m *RevokePriceFeederPrivilegeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokePriceFeederPrivilegeProposal) ProposalRoute ¶
func (p *RevokePriceFeederPrivilegeProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*RevokePriceFeederPrivilegeProposal) ProposalType ¶
func (p *RevokePriceFeederPrivilegeProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*RevokePriceFeederPrivilegeProposal) ProtoMessage ¶
func (*RevokePriceFeederPrivilegeProposal) ProtoMessage()
func (*RevokePriceFeederPrivilegeProposal) Reset ¶
func (m *RevokePriceFeederPrivilegeProposal) Reset()
func (*RevokePriceFeederPrivilegeProposal) Size ¶
func (m *RevokePriceFeederPrivilegeProposal) Size() (n int)
func (*RevokePriceFeederPrivilegeProposal) String ¶
func (m *RevokePriceFeederPrivilegeProposal) String() string
func (*RevokePriceFeederPrivilegeProposal) Unmarshal ¶
func (m *RevokePriceFeederPrivilegeProposal) Unmarshal(dAtA []byte) error
func (*RevokePriceFeederPrivilegeProposal) ValidateBasic ¶
func (p *RevokePriceFeederPrivilegeProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*RevokePriceFeederPrivilegeProposal) XXX_DiscardUnknown ¶
func (m *RevokePriceFeederPrivilegeProposal) XXX_DiscardUnknown()
func (*RevokePriceFeederPrivilegeProposal) XXX_Marshal ¶
func (m *RevokePriceFeederPrivilegeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokePriceFeederPrivilegeProposal) XXX_Merge ¶
func (m *RevokePriceFeederPrivilegeProposal) XXX_Merge(src proto.Message)
func (*RevokePriceFeederPrivilegeProposal) XXX_Size ¶
func (m *RevokePriceFeederPrivilegeProposal) XXX_Size() int
func (*RevokePriceFeederPrivilegeProposal) XXX_Unmarshal ¶
func (m *RevokePriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error
type SetBandIBCPriceEvent ¶ added in v1.23.7
type SetBandIBCPriceEvent struct { Relayer string `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"` Symbols []string `protobuf:"bytes,2,rep,name=symbols,proto3" json:"symbols,omitempty"` Prices []github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,rep,name=prices,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"prices"` ResolveTime uint64 `protobuf:"varint,4,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"` RequestId uint64 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` ClientId int64 `protobuf:"varint,6,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
func (*SetBandIBCPriceEvent) Descriptor ¶ added in v1.23.7
func (*SetBandIBCPriceEvent) Descriptor() ([]byte, []int)
func (*SetBandIBCPriceEvent) GetClientId ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) GetClientId() int64
func (*SetBandIBCPriceEvent) GetRelayer ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) GetRelayer() string
func (*SetBandIBCPriceEvent) GetRequestId ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) GetRequestId() uint64
func (*SetBandIBCPriceEvent) GetResolveTime ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) GetResolveTime() uint64
func (*SetBandIBCPriceEvent) GetSymbols ¶ added in v1.27.2
func (m *SetBandIBCPriceEvent) GetSymbols() []string
func (*SetBandIBCPriceEvent) Marshal ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) Marshal() (dAtA []byte, err error)
func (*SetBandIBCPriceEvent) MarshalTo ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) MarshalTo(dAtA []byte) (int, error)
func (*SetBandIBCPriceEvent) MarshalToSizedBuffer ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetBandIBCPriceEvent) ProtoMessage ¶ added in v1.23.7
func (*SetBandIBCPriceEvent) ProtoMessage()
func (*SetBandIBCPriceEvent) Reset ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) Reset()
func (*SetBandIBCPriceEvent) Size ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) Size() (n int)
func (*SetBandIBCPriceEvent) String ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) String() string
func (*SetBandIBCPriceEvent) Unmarshal ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) Unmarshal(dAtA []byte) error
func (*SetBandIBCPriceEvent) XXX_DiscardUnknown ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) XXX_DiscardUnknown()
func (*SetBandIBCPriceEvent) XXX_Marshal ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetBandIBCPriceEvent) XXX_Merge ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) XXX_Merge(src proto.Message)
func (*SetBandIBCPriceEvent) XXX_Size ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) XXX_Size() int
func (*SetBandIBCPriceEvent) XXX_Unmarshal ¶ added in v1.23.7
func (m *SetBandIBCPriceEvent) XXX_Unmarshal(b []byte) error
type SetBandPriceEvent ¶
type SetBandPriceEvent struct { Relayer string `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` ResolveTime uint64 `protobuf:"varint,4,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"` RequestId uint64 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` }
Event type upon set ref
func (*SetBandPriceEvent) Descriptor ¶
func (*SetBandPriceEvent) Descriptor() ([]byte, []int)
func (*SetBandPriceEvent) GetRelayer ¶
func (m *SetBandPriceEvent) GetRelayer() string
func (*SetBandPriceEvent) GetRequestId ¶
func (m *SetBandPriceEvent) GetRequestId() uint64
func (*SetBandPriceEvent) GetResolveTime ¶
func (m *SetBandPriceEvent) GetResolveTime() uint64
func (*SetBandPriceEvent) GetSymbol ¶
func (m *SetBandPriceEvent) GetSymbol() string
func (*SetBandPriceEvent) Marshal ¶
func (m *SetBandPriceEvent) Marshal() (dAtA []byte, err error)
func (*SetBandPriceEvent) MarshalTo ¶
func (m *SetBandPriceEvent) MarshalTo(dAtA []byte) (int, error)
func (*SetBandPriceEvent) MarshalToSizedBuffer ¶
func (m *SetBandPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetBandPriceEvent) ProtoMessage ¶
func (*SetBandPriceEvent) ProtoMessage()
func (*SetBandPriceEvent) Reset ¶
func (m *SetBandPriceEvent) Reset()
func (*SetBandPriceEvent) Size ¶
func (m *SetBandPriceEvent) Size() (n int)
func (*SetBandPriceEvent) String ¶
func (m *SetBandPriceEvent) String() string
func (*SetBandPriceEvent) Unmarshal ¶
func (m *SetBandPriceEvent) Unmarshal(dAtA []byte) error
func (*SetBandPriceEvent) XXX_DiscardUnknown ¶
func (m *SetBandPriceEvent) XXX_DiscardUnknown()
func (*SetBandPriceEvent) XXX_Marshal ¶
func (m *SetBandPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetBandPriceEvent) XXX_Merge ¶
func (m *SetBandPriceEvent) XXX_Merge(src proto.Message)
func (*SetBandPriceEvent) XXX_Size ¶
func (m *SetBandPriceEvent) XXX_Size() int
func (*SetBandPriceEvent) XXX_Unmarshal ¶
func (m *SetBandPriceEvent) XXX_Unmarshal(b []byte) error
type SetChainlinkPriceEvent ¶ added in v1.28.6
type SetChainlinkPriceEvent struct { FeedId string `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` Answer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"answer"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*SetChainlinkPriceEvent) Descriptor ¶ added in v1.28.6
func (*SetChainlinkPriceEvent) Descriptor() ([]byte, []int)
func (*SetChainlinkPriceEvent) GetFeedId ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) GetFeedId() string
func (*SetChainlinkPriceEvent) GetTimestamp ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) GetTimestamp() uint64
func (*SetChainlinkPriceEvent) Marshal ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) Marshal() (dAtA []byte, err error)
func (*SetChainlinkPriceEvent) MarshalTo ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) MarshalTo(dAtA []byte) (int, error)
func (*SetChainlinkPriceEvent) MarshalToSizedBuffer ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetChainlinkPriceEvent) ProtoMessage ¶ added in v1.28.6
func (*SetChainlinkPriceEvent) ProtoMessage()
func (*SetChainlinkPriceEvent) Reset ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) Reset()
func (*SetChainlinkPriceEvent) Size ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) Size() (n int)
func (*SetChainlinkPriceEvent) String ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) String() string
func (*SetChainlinkPriceEvent) Unmarshal ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) Unmarshal(dAtA []byte) error
func (*SetChainlinkPriceEvent) XXX_DiscardUnknown ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) XXX_DiscardUnknown()
func (*SetChainlinkPriceEvent) XXX_Marshal ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetChainlinkPriceEvent) XXX_Merge ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) XXX_Merge(src proto.Message)
func (*SetChainlinkPriceEvent) XXX_Size ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) XXX_Size() int
func (*SetChainlinkPriceEvent) XXX_Unmarshal ¶ added in v1.28.6
func (m *SetChainlinkPriceEvent) XXX_Unmarshal(b []byte) error
type SetCoinbasePriceEvent ¶
type SetCoinbasePriceEvent struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,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"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*SetCoinbasePriceEvent) Descriptor ¶
func (*SetCoinbasePriceEvent) Descriptor() ([]byte, []int)
func (*SetCoinbasePriceEvent) GetSymbol ¶
func (m *SetCoinbasePriceEvent) GetSymbol() string
func (*SetCoinbasePriceEvent) GetTimestamp ¶
func (m *SetCoinbasePriceEvent) GetTimestamp() uint64
func (*SetCoinbasePriceEvent) Marshal ¶
func (m *SetCoinbasePriceEvent) Marshal() (dAtA []byte, err error)
func (*SetCoinbasePriceEvent) MarshalTo ¶
func (m *SetCoinbasePriceEvent) MarshalTo(dAtA []byte) (int, error)
func (*SetCoinbasePriceEvent) MarshalToSizedBuffer ¶
func (m *SetCoinbasePriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetCoinbasePriceEvent) ProtoMessage ¶
func (*SetCoinbasePriceEvent) ProtoMessage()
func (*SetCoinbasePriceEvent) Reset ¶
func (m *SetCoinbasePriceEvent) Reset()
func (*SetCoinbasePriceEvent) Size ¶
func (m *SetCoinbasePriceEvent) Size() (n int)
func (*SetCoinbasePriceEvent) String ¶
func (m *SetCoinbasePriceEvent) String() string
func (*SetCoinbasePriceEvent) Unmarshal ¶
func (m *SetCoinbasePriceEvent) Unmarshal(dAtA []byte) error
func (*SetCoinbasePriceEvent) XXX_DiscardUnknown ¶
func (m *SetCoinbasePriceEvent) XXX_DiscardUnknown()
func (*SetCoinbasePriceEvent) XXX_Marshal ¶
func (m *SetCoinbasePriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetCoinbasePriceEvent) XXX_Merge ¶
func (m *SetCoinbasePriceEvent) XXX_Merge(src proto.Message)
func (*SetCoinbasePriceEvent) XXX_Size ¶
func (m *SetCoinbasePriceEvent) XXX_Size() int
func (*SetCoinbasePriceEvent) XXX_Unmarshal ¶
func (m *SetCoinbasePriceEvent) XXX_Unmarshal(b []byte) error
type SetPriceFeedPriceEvent ¶
type SetPriceFeedPriceEvent struct { Relayer string `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"` Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"` // price defines the price of the oracle base and quote Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` }
func (*SetPriceFeedPriceEvent) Descriptor ¶
func (*SetPriceFeedPriceEvent) Descriptor() ([]byte, []int)
func (*SetPriceFeedPriceEvent) GetBase ¶
func (m *SetPriceFeedPriceEvent) GetBase() string
func (*SetPriceFeedPriceEvent) GetQuote ¶
func (m *SetPriceFeedPriceEvent) GetQuote() string
func (*SetPriceFeedPriceEvent) GetRelayer ¶
func (m *SetPriceFeedPriceEvent) GetRelayer() string
func (*SetPriceFeedPriceEvent) Marshal ¶
func (m *SetPriceFeedPriceEvent) Marshal() (dAtA []byte, err error)
func (*SetPriceFeedPriceEvent) MarshalTo ¶
func (m *SetPriceFeedPriceEvent) MarshalTo(dAtA []byte) (int, error)
func (*SetPriceFeedPriceEvent) MarshalToSizedBuffer ¶
func (m *SetPriceFeedPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetPriceFeedPriceEvent) ProtoMessage ¶
func (*SetPriceFeedPriceEvent) ProtoMessage()
func (*SetPriceFeedPriceEvent) Reset ¶
func (m *SetPriceFeedPriceEvent) Reset()
func (*SetPriceFeedPriceEvent) Size ¶
func (m *SetPriceFeedPriceEvent) Size() (n int)
func (*SetPriceFeedPriceEvent) String ¶
func (m *SetPriceFeedPriceEvent) String() string
func (*SetPriceFeedPriceEvent) Unmarshal ¶
func (m *SetPriceFeedPriceEvent) Unmarshal(dAtA []byte) error
func (*SetPriceFeedPriceEvent) XXX_DiscardUnknown ¶
func (m *SetPriceFeedPriceEvent) XXX_DiscardUnknown()
func (*SetPriceFeedPriceEvent) XXX_Marshal ¶
func (m *SetPriceFeedPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPriceFeedPriceEvent) XXX_Merge ¶
func (m *SetPriceFeedPriceEvent) XXX_Merge(src proto.Message)
func (*SetPriceFeedPriceEvent) XXX_Size ¶
func (m *SetPriceFeedPriceEvent) XXX_Size() int
func (*SetPriceFeedPriceEvent) XXX_Unmarshal ¶
func (m *SetPriceFeedPriceEvent) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RelayBandRates ¶
func (*UnimplementedMsgServer) RelayBandRates(ctx context.Context, req *MsgRelayBandRates) (*MsgRelayBandRatesResponse, error)
func (*UnimplementedMsgServer) RelayCoinbaseMessages ¶
func (*UnimplementedMsgServer) RelayCoinbaseMessages(ctx context.Context, req *MsgRelayCoinbaseMessages) (*MsgRelayCoinbaseMessagesResponse, error)
func (*UnimplementedMsgServer) RelayPriceFeedPrice ¶
func (*UnimplementedMsgServer) RelayPriceFeedPrice(ctx context.Context, req *MsgRelayPriceFeedPrice) (*MsgRelayPriceFeedPriceResponse, error)
func (*UnimplementedMsgServer) RequestBandIBCRates ¶ added in v1.23.7
func (*UnimplementedMsgServer) RequestBandIBCRates(ctx context.Context, req *MsgRequestBandIBCRates) (*MsgRequestBandIBCRatesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) BandIBCPriceStates ¶ added in v1.23.7
func (*UnimplementedQueryServer) BandIBCPriceStates(ctx context.Context, req *QueryBandIBCPriceStatesRequest) (*QueryBandIBCPriceStatesResponse, error)
func (*UnimplementedQueryServer) BandPriceStates ¶
func (*UnimplementedQueryServer) BandPriceStates(ctx context.Context, req *QueryBandPriceStatesRequest) (*QueryBandPriceStatesResponse, error)
func (*UnimplementedQueryServer) BandRelayers ¶
func (*UnimplementedQueryServer) BandRelayers(ctx context.Context, req *QueryBandRelayersRequest) (*QueryBandRelayersResponse, error)
func (*UnimplementedQueryServer) CoinbasePriceStates ¶
func (*UnimplementedQueryServer) CoinbasePriceStates(ctx context.Context, req *QueryCoinbasePriceStatesRequest) (*QueryCoinbasePriceStatesResponse, error)
func (*UnimplementedQueryServer) OracleModuleState ¶
func (*UnimplementedQueryServer) OracleModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) PriceFeedPriceStates ¶
func (*UnimplementedQueryServer) PriceFeedPriceStates(ctx context.Context, req *QueryPriceFeedPriceStatesRequest) (*QueryPriceFeedPriceStatesResponse, error)
type UpdateBandOracleRequestProposal ¶ added in v1.24.1
type UpdateBandOracleRequestProposal 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"` DeleteRequestId uint64 `protobuf:"varint,3,opt,name=delete_request_id,json=deleteRequestId,proto3" json:"delete_request_id,omitempty"` UpdateOracleRequest *BandOracleRequest `protobuf:"bytes,4,opt,name=update_oracle_request,json=updateOracleRequest,proto3" json:"update_oracle_request,omitempty"` }
func (*UpdateBandOracleRequestProposal) Descriptor ¶ added in v1.24.1
func (*UpdateBandOracleRequestProposal) Descriptor() ([]byte, []int)
func (*UpdateBandOracleRequestProposal) GetDescription ¶ added in v1.24.1
func (p *UpdateBandOracleRequestProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*UpdateBandOracleRequestProposal) GetTitle ¶ added in v1.24.1
func (p *UpdateBandOracleRequestProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*UpdateBandOracleRequestProposal) Marshal ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) Marshal() (dAtA []byte, err error)
func (*UpdateBandOracleRequestProposal) MarshalTo ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateBandOracleRequestProposal) MarshalToSizedBuffer ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateBandOracleRequestProposal) ProposalRoute ¶ added in v1.24.1
func (p *UpdateBandOracleRequestProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*UpdateBandOracleRequestProposal) ProposalType ¶ added in v1.24.1
func (p *UpdateBandOracleRequestProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*UpdateBandOracleRequestProposal) ProtoMessage ¶ added in v1.24.1
func (*UpdateBandOracleRequestProposal) ProtoMessage()
func (*UpdateBandOracleRequestProposal) Reset ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) Reset()
func (*UpdateBandOracleRequestProposal) Size ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) Size() (n int)
func (*UpdateBandOracleRequestProposal) String ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) String() string
func (*UpdateBandOracleRequestProposal) Unmarshal ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) Unmarshal(dAtA []byte) error
func (*UpdateBandOracleRequestProposal) ValidateBasic ¶ added in v1.24.1
func (p *UpdateBandOracleRequestProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*UpdateBandOracleRequestProposal) XXX_DiscardUnknown ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) XXX_DiscardUnknown()
func (*UpdateBandOracleRequestProposal) XXX_Marshal ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBandOracleRequestProposal) XXX_Merge ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) XXX_Merge(src proto.Message)
func (*UpdateBandOracleRequestProposal) XXX_Size ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) XXX_Size() int
func (*UpdateBandOracleRequestProposal) XXX_Unmarshal ¶ added in v1.24.1
func (m *UpdateBandOracleRequestProposal) XXX_Unmarshal(b []byte) error
type ValueValidatorFn ¶
type ValueValidatorFn func(value interface{}) error