Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ClaimMapToSlices(claims map[string]Claim, rewardSet []string) ([]Claim, []Claim)
- func GetAggregateExchangeRatePrevoteKey(v sdk.ValAddress) (key []byte)
- func GetAggregateExchangeRateVoteKey(v sdk.ValAddress) (key []byte)
- func GetExchangeRateKey(denom string) (key []byte)
- func GetFeederDelegationKey(v sdk.ValAddress) (key []byte)
- func GetMissCounterKey(v sdk.ValAddress) (key []byte)
- func KeyHistoricPrice(denom string, blockNum uint64) (key []byte)
- func KeyMedian(denom string, blockNum uint64) (key []byte)
- func KeyMedianDeviation(denom string, blockNum uint64) (key []byte)
- func KeyParamUpdatePlan(planHeight uint64) (key []byte)
- func KeyValidatorRewardSet() (key []byte)
- func ParamKeyTable() paramstypes.KeyTable
- func ParseDenomAndBlockFromKey(key []byte, prefix []byte) (string, uint64)
- func ParseExchangeRateDecCoins(tuplesStr string) (sdk.DecCoins, error)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(data *GenesisState) error
- type AccountKeeper
- type AggregateExchangeRatePrevote
- func (*AggregateExchangeRatePrevote) Descriptor() ([]byte, []int)
- func (m *AggregateExchangeRatePrevote) Marshal() (dAtA []byte, err error)
- func (m *AggregateExchangeRatePrevote) MarshalTo(dAtA []byte) (int, error)
- func (m *AggregateExchangeRatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AggregateExchangeRatePrevote) ProtoMessage()
- func (m *AggregateExchangeRatePrevote) Reset()
- func (m *AggregateExchangeRatePrevote) Size() (n int)
- func (v AggregateExchangeRatePrevote) String() string
- func (m *AggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error
- func (m *AggregateExchangeRatePrevote) XXX_DiscardUnknown()
- func (m *AggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AggregateExchangeRatePrevote) XXX_Merge(src proto.Message)
- func (m *AggregateExchangeRatePrevote) XXX_Size() int
- func (m *AggregateExchangeRatePrevote) XXX_Unmarshal(b []byte) error
- type AggregateExchangeRateVote
- func (*AggregateExchangeRateVote) Descriptor() ([]byte, []int)
- func (m *AggregateExchangeRateVote) Marshal() (dAtA []byte, err error)
- func (m *AggregateExchangeRateVote) MarshalTo(dAtA []byte) (int, error)
- func (m *AggregateExchangeRateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AggregateExchangeRateVote) ProtoMessage()
- func (m *AggregateExchangeRateVote) Reset()
- func (m *AggregateExchangeRateVote) Size() (n int)
- func (v AggregateExchangeRateVote) String() string
- func (m *AggregateExchangeRateVote) Unmarshal(dAtA []byte) error
- func (m *AggregateExchangeRateVote) XXX_DiscardUnknown()
- func (m *AggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AggregateExchangeRateVote) XXX_Merge(src proto.Message)
- func (m *AggregateExchangeRateVote) XXX_Size() int
- func (m *AggregateExchangeRateVote) XXX_Unmarshal(b []byte) error
- type AggregateVoteHash
- func (h AggregateVoteHash) Bytes() []byte
- func (h AggregateVoteHash) Empty() bool
- func (h AggregateVoteHash) Equal(h2 AggregateVoteHash) bool
- func (h AggregateVoteHash) Format(s fmt.State, verb rune)
- func (h AggregateVoteHash) Marshal() ([]byte, error)
- func (h AggregateVoteHash) MarshalJSON() ([]byte, error)
- func (h AggregateVoteHash) MarshalYAML() (interface{}, error)
- func (h AggregateVoteHash) Size() int
- func (h AggregateVoteHash) String() string
- func (h *AggregateVoteHash) Unmarshal(data []byte) error
- func (h *AggregateVoteHash) UnmarshalJSON(data []byte) error
- type BallotDenom
- type BankKeeper
- type Claim
- type CurrencyDeviationThreshold
- func (*CurrencyDeviationThreshold) Descriptor() ([]byte, []int)
- func (cdt CurrencyDeviationThreshold) Equal(cdt2 *CurrencyDeviationThreshold) bool
- func (m *CurrencyDeviationThreshold) Marshal() (dAtA []byte, err error)
- func (m *CurrencyDeviationThreshold) MarshalTo(dAtA []byte) (int, error)
- func (m *CurrencyDeviationThreshold) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CurrencyDeviationThreshold) ProtoMessage()
- func (m *CurrencyDeviationThreshold) Reset()
- func (m *CurrencyDeviationThreshold) Size() (n int)
- func (cdt CurrencyDeviationThreshold) String() string
- func (m *CurrencyDeviationThreshold) Unmarshal(dAtA []byte) error
- func (m *CurrencyDeviationThreshold) XXX_DiscardUnknown()
- func (m *CurrencyDeviationThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrencyDeviationThreshold) XXX_Merge(src proto.Message)
- func (m *CurrencyDeviationThreshold) XXX_Size() int
- func (m *CurrencyDeviationThreshold) XXX_Unmarshal(b []byte) error
- type CurrencyDeviationThresholdList
- type CurrencyPairProviders
- func (*CurrencyPairProviders) Descriptor() ([]byte, []int)
- func (cpp CurrencyPairProviders) Equal(cpp2 *CurrencyPairProviders) bool
- func (m *CurrencyPairProviders) Marshal() (dAtA []byte, err error)
- func (m *CurrencyPairProviders) MarshalTo(dAtA []byte) (int, error)
- func (m *CurrencyPairProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CurrencyPairProviders) ProtoMessage()
- func (m *CurrencyPairProviders) Reset()
- func (m *CurrencyPairProviders) Size() (n int)
- func (cpp CurrencyPairProviders) String() string
- func (m *CurrencyPairProviders) Unmarshal(dAtA []byte) error
- func (m *CurrencyPairProviders) XXX_DiscardUnknown()
- func (m *CurrencyPairProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrencyPairProviders) XXX_Merge(src proto.Message)
- func (m *CurrencyPairProviders) XXX_Size() int
- func (m *CurrencyPairProviders) XXX_Unmarshal(b []byte) error
- type CurrencyPairProvidersList
- type Denom
- func (*Denom) Descriptor() ([]byte, []int)
- func (d Denom) Equal(d1 *Denom) bool
- func (m *Denom) Marshal() (dAtA []byte, err error)
- func (m *Denom) MarshalTo(dAtA []byte) (int, error)
- func (m *Denom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Denom) ProtoMessage()
- func (m *Denom) Reset()
- func (m *Denom) Size() (n int)
- func (d Denom) String() string
- func (m *Denom) Unmarshal(dAtA []byte) error
- func (m *Denom) XXX_DiscardUnknown()
- func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Denom) XXX_Merge(src proto.Message)
- func (m *Denom) XXX_Size() int
- func (m *Denom) XXX_Unmarshal(b []byte) error
- type DenomList
- type DistributionKeeper
- type EventDelegateFeedConsent
- func (*EventDelegateFeedConsent) Descriptor() ([]byte, []int)
- func (m *EventDelegateFeedConsent) Marshal() (dAtA []byte, err error)
- func (m *EventDelegateFeedConsent) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDelegateFeedConsent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDelegateFeedConsent) ProtoMessage()
- func (m *EventDelegateFeedConsent) Reset()
- func (m *EventDelegateFeedConsent) Size() (n int)
- func (m *EventDelegateFeedConsent) String() string
- func (m *EventDelegateFeedConsent) Unmarshal(dAtA []byte) error
- func (m *EventDelegateFeedConsent) XXX_DiscardUnknown()
- func (m *EventDelegateFeedConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDelegateFeedConsent) XXX_Merge(src proto.Message)
- func (m *EventDelegateFeedConsent) XXX_Size() int
- func (m *EventDelegateFeedConsent) XXX_Unmarshal(b []byte) error
- type EventSetFxRate
- func (*EventSetFxRate) Descriptor() ([]byte, []int)
- func (m *EventSetFxRate) Marshal() (dAtA []byte, err error)
- func (m *EventSetFxRate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSetFxRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSetFxRate) ProtoMessage()
- func (m *EventSetFxRate) Reset()
- func (m *EventSetFxRate) Size() (n int)
- func (m *EventSetFxRate) String() string
- func (m *EventSetFxRate) Unmarshal(dAtA []byte) error
- func (m *EventSetFxRate) XXX_DiscardUnknown()
- func (m *EventSetFxRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSetFxRate) XXX_Merge(src proto.Message)
- func (m *EventSetFxRate) XXX_Size() int
- func (m *EventSetFxRate) XXX_Unmarshal(b []byte) error
- type ExchangeRateBallot
- func (pb ExchangeRateBallot) Len() int
- func (pb ExchangeRateBallot) Less(i, j int) bool
- func (pb ExchangeRateBallot) Power() int64
- func (pb ExchangeRateBallot) StandardDeviation() (math.LegacyDec, error)
- func (pb ExchangeRateBallot) Swap(i, j int)
- func (pb ExchangeRateBallot) ToMap() map[string]math.LegacyDec
- func (pb ExchangeRateBallot) WeightedMedian() (math.LegacyDec, error)
- type ExchangeRatePrevote
- type ExchangeRateVote
- type FeederDelegation
- func (*FeederDelegation) Descriptor() ([]byte, []int)
- func (m *FeederDelegation) Marshal() (dAtA []byte, err error)
- func (m *FeederDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *FeederDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeederDelegation) ProtoMessage()
- func (m *FeederDelegation) Reset()
- func (m *FeederDelegation) Size() (n int)
- func (m *FeederDelegation) String() string
- func (m *FeederDelegation) Unmarshal(dAtA []byte) error
- func (m *FeederDelegation) XXX_DiscardUnknown()
- func (m *FeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeederDelegation) XXX_Merge(src proto.Message)
- func (m *FeederDelegation) XXX_Size() int
- func (m *FeederDelegation) XXX_Unmarshal(b []byte) error
- type GasEstimate
- func (*GasEstimate) Descriptor() ([]byte, []int)
- func (m *GasEstimate) Marshal() (dAtA []byte, err error)
- func (m *GasEstimate) MarshalTo(dAtA []byte) (int, error)
- func (m *GasEstimate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasEstimate) ProtoMessage()
- func (m *GasEstimate) Reset()
- func (m *GasEstimate) Size() (n int)
- func (m *GasEstimate) String() string
- func (m *GasEstimate) Unmarshal(dAtA []byte) error
- func (m *GasEstimate) XXX_DiscardUnknown()
- func (m *GasEstimate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasEstimate) XXX_Merge(src proto.Message)
- func (m *GasEstimate) XXX_Size() int
- func (m *GasEstimate) XXX_Unmarshal(b []byte) error
- type GasEstimateKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 (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 InjectedVoteExtensionTx
- func (*InjectedVoteExtensionTx) Descriptor() ([]byte, []int)
- func (m *InjectedVoteExtensionTx) Marshal() (dAtA []byte, err error)
- func (m *InjectedVoteExtensionTx) MarshalTo(dAtA []byte) (int, error)
- func (m *InjectedVoteExtensionTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InjectedVoteExtensionTx) ProtoMessage()
- func (m *InjectedVoteExtensionTx) Reset()
- func (m *InjectedVoteExtensionTx) Size() (n int)
- func (m *InjectedVoteExtensionTx) String() string
- func (m *InjectedVoteExtensionTx) Unmarshal(dAtA []byte) error
- func (m *InjectedVoteExtensionTx) XXX_DiscardUnknown()
- func (m *InjectedVoteExtensionTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InjectedVoteExtensionTx) XXX_Merge(src proto.Message)
- func (m *InjectedVoteExtensionTx) XXX_Size() int
- func (m *InjectedVoteExtensionTx) XXX_Unmarshal(b []byte) error
- type MissCounter
- func (*MissCounter) Descriptor() ([]byte, []int)
- func (m *MissCounter) Marshal() (dAtA []byte, err error)
- func (m *MissCounter) MarshalTo(dAtA []byte) (int, error)
- func (m *MissCounter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MissCounter) ProtoMessage()
- func (m *MissCounter) Reset()
- func (m *MissCounter) Size() (n int)
- func (m *MissCounter) String() string
- func (m *MissCounter) Unmarshal(dAtA []byte) error
- func (m *MissCounter) XXX_DiscardUnknown()
- func (m *MissCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MissCounter) XXX_Merge(src proto.Message)
- func (m *MissCounter) XXX_Size() int
- func (m *MissCounter) XXX_Unmarshal(b []byte) error
- type MsgAggregateExchangeRatePrevote
- func (*MsgAggregateExchangeRatePrevote) Descriptor() ([]byte, []int)
- func (msg MsgAggregateExchangeRatePrevote) GetSigners() []sdk.AccAddress
- func (m *MsgAggregateExchangeRatePrevote) Marshal() (dAtA []byte, err error)
- func (m *MsgAggregateExchangeRatePrevote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAggregateExchangeRatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAggregateExchangeRatePrevote) ProtoMessage()
- func (m *MsgAggregateExchangeRatePrevote) Reset()
- func (m *MsgAggregateExchangeRatePrevote) Size() (n int)
- func (m *MsgAggregateExchangeRatePrevote) String() string
- func (msg MsgAggregateExchangeRatePrevote) Type() string
- func (m *MsgAggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error
- func (msg MsgAggregateExchangeRatePrevote) ValidateBasic() error
- func (m *MsgAggregateExchangeRatePrevote) XXX_DiscardUnknown()
- func (m *MsgAggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAggregateExchangeRatePrevote) XXX_Merge(src proto.Message)
- func (m *MsgAggregateExchangeRatePrevote) XXX_Size() int
- func (m *MsgAggregateExchangeRatePrevote) XXX_Unmarshal(b []byte) error
- type MsgAggregateExchangeRatePrevoteResponse
- func (*MsgAggregateExchangeRatePrevoteResponse) Descriptor() ([]byte, []int)
- func (m *MsgAggregateExchangeRatePrevoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAggregateExchangeRatePrevoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAggregateExchangeRatePrevoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAggregateExchangeRatePrevoteResponse) ProtoMessage()
- func (m *MsgAggregateExchangeRatePrevoteResponse) Reset()
- func (m *MsgAggregateExchangeRatePrevoteResponse) Size() (n int)
- func (m *MsgAggregateExchangeRatePrevoteResponse) String() string
- func (m *MsgAggregateExchangeRatePrevoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_DiscardUnknown()
- func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Size() int
- func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Unmarshal(b []byte) error
- type MsgAggregateExchangeRateVote
- func (*MsgAggregateExchangeRateVote) Descriptor() ([]byte, []int)
- func (msg MsgAggregateExchangeRateVote) GetSigners() []sdk.AccAddress
- func (m *MsgAggregateExchangeRateVote) Marshal() (dAtA []byte, err error)
- func (m *MsgAggregateExchangeRateVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAggregateExchangeRateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAggregateExchangeRateVote) ProtoMessage()
- func (m *MsgAggregateExchangeRateVote) Reset()
- func (m *MsgAggregateExchangeRateVote) Size() (n int)
- func (m *MsgAggregateExchangeRateVote) String() string
- func (msg MsgAggregateExchangeRateVote) Type() string
- func (m *MsgAggregateExchangeRateVote) Unmarshal(dAtA []byte) error
- func (msg MsgAggregateExchangeRateVote) ValidateBasic() error
- func (m *MsgAggregateExchangeRateVote) XXX_DiscardUnknown()
- func (m *MsgAggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAggregateExchangeRateVote) XXX_Merge(src proto.Message)
- func (m *MsgAggregateExchangeRateVote) XXX_Size() int
- func (m *MsgAggregateExchangeRateVote) XXX_Unmarshal(b []byte) error
- type MsgAggregateExchangeRateVoteResponse
- func (*MsgAggregateExchangeRateVoteResponse) Descriptor() ([]byte, []int)
- func (m *MsgAggregateExchangeRateVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAggregateExchangeRateVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAggregateExchangeRateVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAggregateExchangeRateVoteResponse) ProtoMessage()
- func (m *MsgAggregateExchangeRateVoteResponse) Reset()
- func (m *MsgAggregateExchangeRateVoteResponse) Size() (n int)
- func (m *MsgAggregateExchangeRateVoteResponse) String() string
- func (m *MsgAggregateExchangeRateVoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAggregateExchangeRateVoteResponse) XXX_DiscardUnknown()
- func (m *MsgAggregateExchangeRateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAggregateExchangeRateVoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgAggregateExchangeRateVoteResponse) XXX_Size() int
- func (m *MsgAggregateExchangeRateVoteResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDelegateFeedConsent
- func (*MsgDelegateFeedConsent) Descriptor() ([]byte, []int)
- func (msg MsgDelegateFeedConsent) GetSigners() []sdk.AccAddress
- func (m *MsgDelegateFeedConsent) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateFeedConsent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateFeedConsent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegateFeedConsent) ProtoMessage()
- func (m *MsgDelegateFeedConsent) Reset()
- func (m *MsgDelegateFeedConsent) Size() (n int)
- func (m *MsgDelegateFeedConsent) String() string
- func (msg MsgDelegateFeedConsent) Type() string
- func (m *MsgDelegateFeedConsent) Unmarshal(dAtA []byte) error
- func (msg MsgDelegateFeedConsent) ValidateBasic() error
- func (m *MsgDelegateFeedConsent) XXX_DiscardUnknown()
- func (m *MsgDelegateFeedConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateFeedConsent) XXX_Merge(src proto.Message)
- func (m *MsgDelegateFeedConsent) XXX_Size() int
- func (m *MsgDelegateFeedConsent) XXX_Unmarshal(b []byte) error
- type MsgDelegateFeedConsentResponse
- func (*MsgDelegateFeedConsentResponse) Descriptor() ([]byte, []int)
- func (m *MsgDelegateFeedConsentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateFeedConsentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateFeedConsentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegateFeedConsentResponse) ProtoMessage()
- func (m *MsgDelegateFeedConsentResponse) Reset()
- func (m *MsgDelegateFeedConsentResponse) Size() (n int)
- func (m *MsgDelegateFeedConsentResponse) String() string
- func (m *MsgDelegateFeedConsentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDelegateFeedConsentResponse) XXX_DiscardUnknown()
- func (m *MsgDelegateFeedConsentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateFeedConsentResponse) XXX_Merge(src proto.Message)
- func (m *MsgDelegateFeedConsentResponse) XXX_Size() int
- func (m *MsgDelegateFeedConsentResponse) XXX_Unmarshal(b []byte) error
- type MsgGovAddDenoms
- func (*MsgGovAddDenoms) Descriptor() ([]byte, []int)
- func (this *MsgGovAddDenoms) Equal(that interface{}) bool
- func (msg *MsgGovAddDenoms) GetDescription() string
- func (msg MsgGovAddDenoms) GetSigners() []sdk.AccAddress
- func (msg *MsgGovAddDenoms) GetTitle() string
- func (m *MsgGovAddDenoms) Marshal() (dAtA []byte, err error)
- func (m *MsgGovAddDenoms) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovAddDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgGovAddDenoms) ProposalRoute() string
- func (msg *MsgGovAddDenoms) ProposalType() string
- func (*MsgGovAddDenoms) ProtoMessage()
- func (m *MsgGovAddDenoms) Reset()
- func (m *MsgGovAddDenoms) Size() (n int)
- func (msg MsgGovAddDenoms) String() string
- func (msg MsgGovAddDenoms) Type() string
- func (m *MsgGovAddDenoms) Unmarshal(dAtA []byte) error
- func (msg MsgGovAddDenoms) ValidateBasic() error
- func (m *MsgGovAddDenoms) XXX_DiscardUnknown()
- func (m *MsgGovAddDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovAddDenoms) XXX_Merge(src proto.Message)
- func (m *MsgGovAddDenoms) XXX_Size() int
- func (m *MsgGovAddDenoms) XXX_Unmarshal(b []byte) error
- type MsgGovAddDenomsResponse
- func (*MsgGovAddDenomsResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovAddDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovAddDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovAddDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovAddDenomsResponse) ProtoMessage()
- func (m *MsgGovAddDenomsResponse) Reset()
- func (m *MsgGovAddDenomsResponse) Size() (n int)
- func (m *MsgGovAddDenomsResponse) String() string
- func (m *MsgGovAddDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovAddDenomsResponse) XXX_DiscardUnknown()
- func (m *MsgGovAddDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovAddDenomsResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovAddDenomsResponse) XXX_Size() int
- func (m *MsgGovAddDenomsResponse) XXX_Unmarshal(b []byte) error
- type MsgGovCancelUpdateParamPlan
- func (*MsgGovCancelUpdateParamPlan) Descriptor() ([]byte, []int)
- func (this *MsgGovCancelUpdateParamPlan) Equal(that interface{}) bool
- func (msg *MsgGovCancelUpdateParamPlan) GetDescription() string
- func (msg MsgGovCancelUpdateParamPlan) GetSigners() []sdk.AccAddress
- func (msg *MsgGovCancelUpdateParamPlan) GetTitle() string
- func (m *MsgGovCancelUpdateParamPlan) Marshal() (dAtA []byte, err error)
- func (m *MsgGovCancelUpdateParamPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovCancelUpdateParamPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgGovCancelUpdateParamPlan) ProposalRoute() string
- func (msg *MsgGovCancelUpdateParamPlan) ProposalType() string
- func (*MsgGovCancelUpdateParamPlan) ProtoMessage()
- func (m *MsgGovCancelUpdateParamPlan) Reset()
- func (m *MsgGovCancelUpdateParamPlan) Size() (n int)
- func (msg MsgGovCancelUpdateParamPlan) String() string
- func (msg MsgGovCancelUpdateParamPlan) Type() string
- func (m *MsgGovCancelUpdateParamPlan) Unmarshal(dAtA []byte) error
- func (msg MsgGovCancelUpdateParamPlan) ValidateBasic() error
- func (m *MsgGovCancelUpdateParamPlan) XXX_DiscardUnknown()
- func (m *MsgGovCancelUpdateParamPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovCancelUpdateParamPlan) XXX_Merge(src proto.Message)
- func (m *MsgGovCancelUpdateParamPlan) XXX_Size() int
- func (m *MsgGovCancelUpdateParamPlan) XXX_Unmarshal(b []byte) error
- type MsgGovCancelUpdateParamPlanResponse
- func (*MsgGovCancelUpdateParamPlanResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovCancelUpdateParamPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovCancelUpdateParamPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovCancelUpdateParamPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovCancelUpdateParamPlanResponse) ProtoMessage()
- func (m *MsgGovCancelUpdateParamPlanResponse) Reset()
- func (m *MsgGovCancelUpdateParamPlanResponse) Size() (n int)
- func (m *MsgGovCancelUpdateParamPlanResponse) String() string
- func (m *MsgGovCancelUpdateParamPlanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovCancelUpdateParamPlanResponse) XXX_DiscardUnknown()
- func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Size() int
- func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Unmarshal(b []byte) error
- type MsgGovRemoveCurrencyDeviationThresholds
- func (*MsgGovRemoveCurrencyDeviationThresholds) Descriptor() ([]byte, []int)
- func (this *MsgGovRemoveCurrencyDeviationThresholds) Equal(that interface{}) bool
- func (msg *MsgGovRemoveCurrencyDeviationThresholds) GetDescription() string
- func (msg MsgGovRemoveCurrencyDeviationThresholds) GetSigners() []sdk.AccAddress
- func (msg *MsgGovRemoveCurrencyDeviationThresholds) GetTitle() string
- func (m *MsgGovRemoveCurrencyDeviationThresholds) Marshal() (dAtA []byte, err error)
- func (m *MsgGovRemoveCurrencyDeviationThresholds) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovRemoveCurrencyDeviationThresholds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgGovRemoveCurrencyDeviationThresholds) ProposalRoute() string
- func (msg *MsgGovRemoveCurrencyDeviationThresholds) ProposalType() string
- func (*MsgGovRemoveCurrencyDeviationThresholds) ProtoMessage()
- func (m *MsgGovRemoveCurrencyDeviationThresholds) Reset()
- func (m *MsgGovRemoveCurrencyDeviationThresholds) Size() (n int)
- func (msg MsgGovRemoveCurrencyDeviationThresholds) String() string
- func (msg MsgGovRemoveCurrencyDeviationThresholds) Type() string
- func (m *MsgGovRemoveCurrencyDeviationThresholds) Unmarshal(dAtA []byte) error
- func (msg MsgGovRemoveCurrencyDeviationThresholds) ValidateBasic() error
- func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_DiscardUnknown()
- func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Merge(src proto.Message)
- func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Size() int
- func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Unmarshal(b []byte) error
- type MsgGovRemoveCurrencyDeviationThresholdsResponse
- func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) ProtoMessage()
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Reset()
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Size() (n int)
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) String() string
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_DiscardUnknown()
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Size() int
- func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Unmarshal(b []byte) error
- type MsgGovRemoveCurrencyPairProviders
- func (*MsgGovRemoveCurrencyPairProviders) Descriptor() ([]byte, []int)
- func (this *MsgGovRemoveCurrencyPairProviders) Equal(that interface{}) bool
- func (msg *MsgGovRemoveCurrencyPairProviders) GetDescription() string
- func (msg MsgGovRemoveCurrencyPairProviders) GetSigners() []sdk.AccAddress
- func (msg *MsgGovRemoveCurrencyPairProviders) GetTitle() string
- func (m *MsgGovRemoveCurrencyPairProviders) Marshal() (dAtA []byte, err error)
- func (m *MsgGovRemoveCurrencyPairProviders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovRemoveCurrencyPairProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgGovRemoveCurrencyPairProviders) ProposalRoute() string
- func (msg *MsgGovRemoveCurrencyPairProviders) ProposalType() string
- func (*MsgGovRemoveCurrencyPairProviders) ProtoMessage()
- func (m *MsgGovRemoveCurrencyPairProviders) Reset()
- func (m *MsgGovRemoveCurrencyPairProviders) Size() (n int)
- func (msg MsgGovRemoveCurrencyPairProviders) String() string
- func (msg MsgGovRemoveCurrencyPairProviders) Type() string
- func (m *MsgGovRemoveCurrencyPairProviders) Unmarshal(dAtA []byte) error
- func (msg MsgGovRemoveCurrencyPairProviders) ValidateBasic() error
- func (m *MsgGovRemoveCurrencyPairProviders) XXX_DiscardUnknown()
- func (m *MsgGovRemoveCurrencyPairProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovRemoveCurrencyPairProviders) XXX_Merge(src proto.Message)
- func (m *MsgGovRemoveCurrencyPairProviders) XXX_Size() int
- func (m *MsgGovRemoveCurrencyPairProviders) XXX_Unmarshal(b []byte) error
- type MsgGovRemoveCurrencyPairProvidersResponse
- func (*MsgGovRemoveCurrencyPairProvidersResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovRemoveCurrencyPairProvidersResponse) ProtoMessage()
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) Reset()
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) Size() (n int)
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) String() string
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_DiscardUnknown()
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Size() int
- func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Unmarshal(b []byte) error
- type MsgGovUpdateParams
- func (*MsgGovUpdateParams) Descriptor() ([]byte, []int)
- func (this *MsgGovUpdateParams) Equal(that interface{}) bool
- func (msg *MsgGovUpdateParams) GetDescription() string
- func (msg MsgGovUpdateParams) GetSigners() []sdk.AccAddress
- func (msg *MsgGovUpdateParams) GetTitle() string
- func (m *MsgGovUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgGovUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgGovUpdateParams) ProposalRoute() string
- func (msg *MsgGovUpdateParams) ProposalType() string
- func (*MsgGovUpdateParams) ProtoMessage()
- func (m *MsgGovUpdateParams) Reset()
- func (m *MsgGovUpdateParams) Size() (n int)
- func (msg MsgGovUpdateParams) String() string
- func (msg MsgGovUpdateParams) Type() string
- func (m *MsgGovUpdateParams) Unmarshal(dAtA []byte) error
- func (msg MsgGovUpdateParams) ValidateBasic() error
- func (m *MsgGovUpdateParams) XXX_DiscardUnknown()
- func (m *MsgGovUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgGovUpdateParams) XXX_Size() int
- func (m *MsgGovUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgGovUpdateParamsResponse
- func (*MsgGovUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovUpdateParamsResponse) ProtoMessage()
- func (m *MsgGovUpdateParamsResponse) Reset()
- func (m *MsgGovUpdateParamsResponse) Size() (n int)
- func (m *MsgGovUpdateParamsResponse) String() string
- func (m *MsgGovUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgGovUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovUpdateParamsResponse) XXX_Size() int
- func (m *MsgGovUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgLegacyGovUpdateParams
- func (*MsgLegacyGovUpdateParams) Descriptor() ([]byte, []int)
- func (this *MsgLegacyGovUpdateParams) Equal(that interface{}) bool
- func (msg *MsgLegacyGovUpdateParams) GetDescription() string
- func (msg MsgLegacyGovUpdateParams) GetSigners() []sdk.AccAddress
- func (msg *MsgLegacyGovUpdateParams) GetTitle() string
- func (m *MsgLegacyGovUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgLegacyGovUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLegacyGovUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgLegacyGovUpdateParams) ProposalRoute() string
- func (msg *MsgLegacyGovUpdateParams) ProposalType() string
- func (*MsgLegacyGovUpdateParams) ProtoMessage()
- func (m *MsgLegacyGovUpdateParams) Reset()
- func (m *MsgLegacyGovUpdateParams) Size() (n int)
- func (msg MsgLegacyGovUpdateParams) String() string
- func (msg MsgLegacyGovUpdateParams) Type() string
- func (m *MsgLegacyGovUpdateParams) Unmarshal(dAtA []byte) error
- func (msg MsgLegacyGovUpdateParams) ValidateBasic() error
- func (m *MsgLegacyGovUpdateParams) XXX_DiscardUnknown()
- func (m *MsgLegacyGovUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLegacyGovUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgLegacyGovUpdateParams) XXX_Size() int
- func (m *MsgLegacyGovUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgLegacyGovUpdateParamsResponse
- func (*MsgLegacyGovUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgLegacyGovUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLegacyGovUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLegacyGovUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLegacyGovUpdateParamsResponse) ProtoMessage()
- func (m *MsgLegacyGovUpdateParamsResponse) Reset()
- func (m *MsgLegacyGovUpdateParamsResponse) Size() (n int)
- func (m *MsgLegacyGovUpdateParamsResponse) String() string
- func (m *MsgLegacyGovUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLegacyGovUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgLegacyGovUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLegacyGovUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgLegacyGovUpdateParamsResponse) XXX_Size() int
- func (m *MsgLegacyGovUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type OracleVoteExtension
- func (*OracleVoteExtension) Descriptor() ([]byte, []int)
- func (m *OracleVoteExtension) Marshal() (dAtA []byte, err error)
- func (m *OracleVoteExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleVoteExtension) ProtoMessage()
- func (m *OracleVoteExtension) Reset()
- func (m *OracleVoteExtension) Size() (n int)
- func (m *OracleVoteExtension) String() string
- func (m *OracleVoteExtension) Unmarshal(dAtA []byte) error
- func (m *OracleVoteExtension) XXX_DiscardUnknown()
- func (m *OracleVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleVoteExtension) XXX_Merge(src proto.Message)
- func (m *OracleVoteExtension) XXX_Size() int
- func (m *OracleVoteExtension) XXX_Unmarshal(b []byte) error
- type PairAddressProvider
- func (*PairAddressProvider) Descriptor() ([]byte, []int)
- func (m *PairAddressProvider) Marshal() (dAtA []byte, err error)
- func (m *PairAddressProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *PairAddressProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PairAddressProvider) ProtoMessage()
- func (m *PairAddressProvider) Reset()
- func (m *PairAddressProvider) Size() (n int)
- func (m *PairAddressProvider) String() string
- func (m *PairAddressProvider) Unmarshal(dAtA []byte) error
- func (m *PairAddressProvider) XXX_DiscardUnknown()
- func (m *PairAddressProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PairAddressProvider) XXX_Merge(src proto.Message)
- func (m *PairAddressProvider) XXX_Size() int
- func (m *PairAddressProvider) XXX_Unmarshal(b []byte) error
- type ParamUpdatePlan
- func (*ParamUpdatePlan) Descriptor() ([]byte, []int)
- func (p ParamUpdatePlan) DueAt() string
- func (this *ParamUpdatePlan) Equal(that interface{}) bool
- func (m *ParamUpdatePlan) Marshal() (dAtA []byte, err error)
- func (m *ParamUpdatePlan) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamUpdatePlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamUpdatePlan) ProtoMessage()
- func (m *ParamUpdatePlan) Reset()
- func (p ParamUpdatePlan) ShouldExecute(ctx sdk.Context) bool
- func (m *ParamUpdatePlan) Size() (n int)
- func (p ParamUpdatePlan) String() string
- func (m *ParamUpdatePlan) Unmarshal(dAtA []byte) error
- func (p ParamUpdatePlan) ValidateBasic() error
- func (m *ParamUpdatePlan) XXX_DiscardUnknown()
- func (m *ParamUpdatePlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamUpdatePlan) XXX_Merge(src proto.Message)
- func (m *ParamUpdatePlan) XXX_Size() int
- func (m *ParamUpdatePlan) XXX_Unmarshal(b []byte) error
- 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() paramstypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PriceStamp
- func (*PriceStamp) Descriptor() ([]byte, []int)
- func (m *PriceStamp) Marshal() (dAtA []byte, err error)
- func (m *PriceStamp) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceStamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceStamp) ProtoMessage()
- func (m *PriceStamp) Reset()
- func (m *PriceStamp) Size() (n int)
- func (m *PriceStamp) String() string
- func (m *PriceStamp) Unmarshal(dAtA []byte) error
- func (m *PriceStamp) XXX_DiscardUnknown()
- func (m *PriceStamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceStamp) XXX_Merge(src proto.Message)
- func (m *PriceStamp) XXX_Size() int
- func (m *PriceStamp) XXX_Unmarshal(b []byte) error
- type PriceStamps
- func (p *PriceStamps) Decs() []math.LegacyDec
- func (p *PriceStamps) FilterByBlock(blockNum uint64) *PriceStamps
- func (p *PriceStamps) FilterByDenom(denom string) *PriceStamps
- func (p *PriceStamps) NewestBlockNum() uint64
- func (p *PriceStamps) NewestPrices() *PriceStamps
- func (p *PriceStamps) Sort() *PriceStamps
- type QueryActiveExchangeRates
- func (*QueryActiveExchangeRates) Descriptor() ([]byte, []int)
- func (m *QueryActiveExchangeRates) Marshal() (dAtA []byte, err error)
- func (m *QueryActiveExchangeRates) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActiveExchangeRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActiveExchangeRates) ProtoMessage()
- func (m *QueryActiveExchangeRates) Reset()
- func (m *QueryActiveExchangeRates) Size() (n int)
- func (m *QueryActiveExchangeRates) String() string
- func (m *QueryActiveExchangeRates) Unmarshal(dAtA []byte) error
- func (m *QueryActiveExchangeRates) XXX_DiscardUnknown()
- func (m *QueryActiveExchangeRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActiveExchangeRates) XXX_Merge(src proto.Message)
- func (m *QueryActiveExchangeRates) XXX_Size() int
- func (m *QueryActiveExchangeRates) XXX_Unmarshal(b []byte) error
- type QueryActiveExchangeRatesResponse
- func (*QueryActiveExchangeRatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryActiveExchangeRatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryActiveExchangeRatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActiveExchangeRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActiveExchangeRatesResponse) ProtoMessage()
- func (m *QueryActiveExchangeRatesResponse) Reset()
- func (m *QueryActiveExchangeRatesResponse) Size() (n int)
- func (m *QueryActiveExchangeRatesResponse) String() string
- func (m *QueryActiveExchangeRatesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryActiveExchangeRatesResponse) XXX_DiscardUnknown()
- func (m *QueryActiveExchangeRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActiveExchangeRatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryActiveExchangeRatesResponse) XXX_Size() int
- func (m *QueryActiveExchangeRatesResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevote
- func (*QueryAggregatePrevote) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevote) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevote) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevote) ProtoMessage()
- func (m *QueryAggregatePrevote) Reset()
- func (m *QueryAggregatePrevote) Size() (n int)
- func (m *QueryAggregatePrevote) String() string
- func (m *QueryAggregatePrevote) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevote) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevote) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevote) XXX_Size() int
- func (m *QueryAggregatePrevote) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevoteResponse
- func (*QueryAggregatePrevoteResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevoteResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevoteResponse) ProtoMessage()
- func (m *QueryAggregatePrevoteResponse) Reset()
- func (m *QueryAggregatePrevoteResponse) Size() (n int)
- func (m *QueryAggregatePrevoteResponse) String() string
- func (m *QueryAggregatePrevoteResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevoteResponse) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevoteResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevoteResponse) XXX_Size() int
- func (m *QueryAggregatePrevoteResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevotes
- func (*QueryAggregatePrevotes) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevotes) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevotes) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevotes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevotes) ProtoMessage()
- func (m *QueryAggregatePrevotes) Reset()
- func (m *QueryAggregatePrevotes) Size() (n int)
- func (m *QueryAggregatePrevotes) String() string
- func (m *QueryAggregatePrevotes) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevotes) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevotes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevotes) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevotes) XXX_Size() int
- func (m *QueryAggregatePrevotes) XXX_Unmarshal(b []byte) error
- type QueryAggregatePrevotesResponse
- func (*QueryAggregatePrevotesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregatePrevotesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregatePrevotesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregatePrevotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregatePrevotesResponse) ProtoMessage()
- func (m *QueryAggregatePrevotesResponse) Reset()
- func (m *QueryAggregatePrevotesResponse) Size() (n int)
- func (m *QueryAggregatePrevotesResponse) String() string
- func (m *QueryAggregatePrevotesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregatePrevotesResponse) XXX_DiscardUnknown()
- func (m *QueryAggregatePrevotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregatePrevotesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregatePrevotesResponse) XXX_Size() int
- func (m *QueryAggregatePrevotesResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregateVote
- func (*QueryAggregateVote) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVote) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVote) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVote) ProtoMessage()
- func (m *QueryAggregateVote) Reset()
- func (m *QueryAggregateVote) Size() (n int)
- func (m *QueryAggregateVote) String() string
- func (m *QueryAggregateVote) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVote) XXX_DiscardUnknown()
- func (m *QueryAggregateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVote) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVote) XXX_Size() int
- func (m *QueryAggregateVote) XXX_Unmarshal(b []byte) error
- type QueryAggregateVoteResponse
- func (*QueryAggregateVoteResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVoteResponse) ProtoMessage()
- func (m *QueryAggregateVoteResponse) Reset()
- func (m *QueryAggregateVoteResponse) Size() (n int)
- func (m *QueryAggregateVoteResponse) String() string
- func (m *QueryAggregateVoteResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVoteResponse) XXX_DiscardUnknown()
- func (m *QueryAggregateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVoteResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVoteResponse) XXX_Size() int
- func (m *QueryAggregateVoteResponse) XXX_Unmarshal(b []byte) error
- type QueryAggregateVotes
- func (*QueryAggregateVotes) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVotes) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVotes) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVotes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVotes) ProtoMessage()
- func (m *QueryAggregateVotes) Reset()
- func (m *QueryAggregateVotes) Size() (n int)
- func (m *QueryAggregateVotes) String() string
- func (m *QueryAggregateVotes) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVotes) XXX_DiscardUnknown()
- func (m *QueryAggregateVotes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVotes) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVotes) XXX_Size() int
- func (m *QueryAggregateVotes) XXX_Unmarshal(b []byte) error
- type QueryAggregateVotesResponse
- func (*QueryAggregateVotesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAggregateVotesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAggregateVotesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAggregateVotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAggregateVotesResponse) ProtoMessage()
- func (m *QueryAggregateVotesResponse) Reset()
- func (m *QueryAggregateVotesResponse) Size() (n int)
- func (m *QueryAggregateVotesResponse) String() string
- func (m *QueryAggregateVotesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAggregateVotesResponse) XXX_DiscardUnknown()
- func (m *QueryAggregateVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAggregateVotesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAggregateVotesResponse) XXX_Size() int
- func (m *QueryAggregateVotesResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryExchangeRates
- func (*QueryExchangeRates) Descriptor() ([]byte, []int)
- func (m *QueryExchangeRates) Marshal() (dAtA []byte, err error)
- func (m *QueryExchangeRates) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExchangeRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExchangeRates) ProtoMessage()
- func (m *QueryExchangeRates) Reset()
- func (m *QueryExchangeRates) Size() (n int)
- func (m *QueryExchangeRates) String() string
- func (m *QueryExchangeRates) Unmarshal(dAtA []byte) error
- func (m *QueryExchangeRates) XXX_DiscardUnknown()
- func (m *QueryExchangeRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExchangeRates) XXX_Merge(src proto.Message)
- func (m *QueryExchangeRates) XXX_Size() int
- func (m *QueryExchangeRates) XXX_Unmarshal(b []byte) error
- type QueryExchangeRatesResponse
- func (*QueryExchangeRatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryExchangeRatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExchangeRatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExchangeRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExchangeRatesResponse) ProtoMessage()
- func (m *QueryExchangeRatesResponse) Reset()
- func (m *QueryExchangeRatesResponse) Size() (n int)
- func (m *QueryExchangeRatesResponse) String() string
- func (m *QueryExchangeRatesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExchangeRatesResponse) XXX_DiscardUnknown()
- func (m *QueryExchangeRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExchangeRatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryExchangeRatesResponse) XXX_Size() int
- func (m *QueryExchangeRatesResponse) XXX_Unmarshal(b []byte) error
- type QueryFeederDelegation
- func (*QueryFeederDelegation) Descriptor() ([]byte, []int)
- func (m *QueryFeederDelegation) Marshal() (dAtA []byte, err error)
- func (m *QueryFeederDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeederDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeederDelegation) ProtoMessage()
- func (m *QueryFeederDelegation) Reset()
- func (m *QueryFeederDelegation) Size() (n int)
- func (m *QueryFeederDelegation) String() string
- func (m *QueryFeederDelegation) Unmarshal(dAtA []byte) error
- func (m *QueryFeederDelegation) XXX_DiscardUnknown()
- func (m *QueryFeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeederDelegation) XXX_Merge(src proto.Message)
- func (m *QueryFeederDelegation) XXX_Size() int
- func (m *QueryFeederDelegation) XXX_Unmarshal(b []byte) error
- type QueryFeederDelegationResponse
- func (*QueryFeederDelegationResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeederDelegationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeederDelegationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeederDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeederDelegationResponse) ProtoMessage()
- func (m *QueryFeederDelegationResponse) Reset()
- func (m *QueryFeederDelegationResponse) Size() (n int)
- func (m *QueryFeederDelegationResponse) String() string
- func (m *QueryFeederDelegationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeederDelegationResponse) XXX_DiscardUnknown()
- func (m *QueryFeederDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeederDelegationResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeederDelegationResponse) XXX_Size() int
- func (m *QueryFeederDelegationResponse) XXX_Unmarshal(b []byte) error
- type QueryMedianDeviations
- func (*QueryMedianDeviations) Descriptor() ([]byte, []int)
- func (m *QueryMedianDeviations) Marshal() (dAtA []byte, err error)
- func (m *QueryMedianDeviations) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMedianDeviations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMedianDeviations) ProtoMessage()
- func (m *QueryMedianDeviations) Reset()
- func (m *QueryMedianDeviations) Size() (n int)
- func (m *QueryMedianDeviations) String() string
- func (m *QueryMedianDeviations) Unmarshal(dAtA []byte) error
- func (m *QueryMedianDeviations) XXX_DiscardUnknown()
- func (m *QueryMedianDeviations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMedianDeviations) XXX_Merge(src proto.Message)
- func (m *QueryMedianDeviations) XXX_Size() int
- func (m *QueryMedianDeviations) XXX_Unmarshal(b []byte) error
- type QueryMedianDeviationsResponse
- func (*QueryMedianDeviationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryMedianDeviationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMedianDeviationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMedianDeviationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMedianDeviationsResponse) ProtoMessage()
- func (m *QueryMedianDeviationsResponse) Reset()
- func (m *QueryMedianDeviationsResponse) Size() (n int)
- func (m *QueryMedianDeviationsResponse) String() string
- func (m *QueryMedianDeviationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMedianDeviationsResponse) XXX_DiscardUnknown()
- func (m *QueryMedianDeviationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMedianDeviationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryMedianDeviationsResponse) XXX_Size() int
- func (m *QueryMedianDeviationsResponse) XXX_Unmarshal(b []byte) error
- type QueryMedians
- func (*QueryMedians) Descriptor() ([]byte, []int)
- func (m *QueryMedians) Marshal() (dAtA []byte, err error)
- func (m *QueryMedians) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMedians) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMedians) ProtoMessage()
- func (m *QueryMedians) Reset()
- func (m *QueryMedians) Size() (n int)
- func (m *QueryMedians) String() string
- func (m *QueryMedians) Unmarshal(dAtA []byte) error
- func (m *QueryMedians) XXX_DiscardUnknown()
- func (m *QueryMedians) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMedians) XXX_Merge(src proto.Message)
- func (m *QueryMedians) XXX_Size() int
- func (m *QueryMedians) XXX_Unmarshal(b []byte) error
- type QueryMediansResponse
- func (*QueryMediansResponse) Descriptor() ([]byte, []int)
- func (m *QueryMediansResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMediansResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMediansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMediansResponse) ProtoMessage()
- func (m *QueryMediansResponse) Reset()
- func (m *QueryMediansResponse) Size() (n int)
- func (m *QueryMediansResponse) String() string
- func (m *QueryMediansResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMediansResponse) XXX_DiscardUnknown()
- func (m *QueryMediansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMediansResponse) XXX_Merge(src proto.Message)
- func (m *QueryMediansResponse) XXX_Size() int
- func (m *QueryMediansResponse) XXX_Unmarshal(b []byte) error
- type QueryMissCounter
- func (*QueryMissCounter) Descriptor() ([]byte, []int)
- func (m *QueryMissCounter) Marshal() (dAtA []byte, err error)
- func (m *QueryMissCounter) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissCounter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissCounter) ProtoMessage()
- func (m *QueryMissCounter) Reset()
- func (m *QueryMissCounter) Size() (n int)
- func (m *QueryMissCounter) String() string
- func (m *QueryMissCounter) Unmarshal(dAtA []byte) error
- func (m *QueryMissCounter) XXX_DiscardUnknown()
- func (m *QueryMissCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissCounter) XXX_Merge(src proto.Message)
- func (m *QueryMissCounter) XXX_Size() int
- func (m *QueryMissCounter) XXX_Unmarshal(b []byte) error
- type QueryMissCounterResponse
- func (*QueryMissCounterResponse) Descriptor() ([]byte, []int)
- func (m *QueryMissCounterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMissCounterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissCounterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissCounterResponse) ProtoMessage()
- func (m *QueryMissCounterResponse) Reset()
- func (m *QueryMissCounterResponse) Size() (n int)
- func (m *QueryMissCounterResponse) String() string
- func (m *QueryMissCounterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMissCounterResponse) XXX_DiscardUnknown()
- func (m *QueryMissCounterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissCounterResponse) XXX_Merge(src proto.Message)
- func (m *QueryMissCounterResponse) XXX_Size() int
- func (m *QueryMissCounterResponse) XXX_Unmarshal(b []byte) error
- type QueryParams
- func (*QueryParams) Descriptor() ([]byte, []int)
- func (m *QueryParams) Marshal() (dAtA []byte, err error)
- func (m *QueryParams) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParams) ProtoMessage()
- func (m *QueryParams) Reset()
- func (m *QueryParams) Size() (n int)
- func (m *QueryParams) String() string
- func (m *QueryParams) Unmarshal(dAtA []byte) error
- func (m *QueryParams) XXX_DiscardUnknown()
- func (m *QueryParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParams) XXX_Merge(src proto.Message)
- func (m *QueryParams) XXX_Size() int
- func (m *QueryParams) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySlashWindow
- func (*QuerySlashWindow) Descriptor() ([]byte, []int)
- func (m *QuerySlashWindow) Marshal() (dAtA []byte, err error)
- func (m *QuerySlashWindow) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySlashWindow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySlashWindow) ProtoMessage()
- func (m *QuerySlashWindow) Reset()
- func (m *QuerySlashWindow) Size() (n int)
- func (m *QuerySlashWindow) String() string
- func (m *QuerySlashWindow) Unmarshal(dAtA []byte) error
- func (m *QuerySlashWindow) XXX_DiscardUnknown()
- func (m *QuerySlashWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySlashWindow) XXX_Merge(src proto.Message)
- func (m *QuerySlashWindow) XXX_Size() int
- func (m *QuerySlashWindow) XXX_Unmarshal(b []byte) error
- type QuerySlashWindowResponse
- func (*QuerySlashWindowResponse) Descriptor() ([]byte, []int)
- func (m *QuerySlashWindowResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySlashWindowResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySlashWindowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySlashWindowResponse) ProtoMessage()
- func (m *QuerySlashWindowResponse) Reset()
- func (m *QuerySlashWindowResponse) Size() (n int)
- func (m *QuerySlashWindowResponse) String() string
- func (m *QuerySlashWindowResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySlashWindowResponse) XXX_DiscardUnknown()
- func (m *QuerySlashWindowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySlashWindowResponse) XXX_Merge(src proto.Message)
- func (m *QuerySlashWindowResponse) XXX_Size() int
- func (m *QuerySlashWindowResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorRewardSet
- func (*QueryValidatorRewardSet) Descriptor() ([]byte, []int)
- func (m *QueryValidatorRewardSet) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorRewardSet) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorRewardSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorRewardSet) ProtoMessage()
- func (m *QueryValidatorRewardSet) Reset()
- func (m *QueryValidatorRewardSet) Size() (n int)
- func (m *QueryValidatorRewardSet) String() string
- func (m *QueryValidatorRewardSet) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorRewardSet) XXX_DiscardUnknown()
- func (m *QueryValidatorRewardSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorRewardSet) XXX_Merge(src proto.Message)
- func (m *QueryValidatorRewardSet) XXX_Size() int
- func (m *QueryValidatorRewardSet) XXX_Unmarshal(b []byte) error
- type QueryValidatorRewardSetResponse
- func (*QueryValidatorRewardSetResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorRewardSetResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorRewardSetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorRewardSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorRewardSetResponse) ProtoMessage()
- func (m *QueryValidatorRewardSetResponse) Reset()
- func (m *QueryValidatorRewardSetResponse) Size() (n int)
- func (m *QueryValidatorRewardSetResponse) String() string
- func (m *QueryValidatorRewardSetResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorRewardSetResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorRewardSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorRewardSetResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorRewardSetResponse) XXX_Size() int
- func (m *QueryValidatorRewardSetResponse) XXX_Unmarshal(b []byte) error
- type RewardBand
- func (*RewardBand) Descriptor() ([]byte, []int)
- func (rb RewardBand) Equal(rb2 *RewardBand) bool
- func (m *RewardBand) Marshal() (dAtA []byte, err error)
- func (m *RewardBand) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardBand) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardBand) ProtoMessage()
- func (m *RewardBand) Reset()
- func (m *RewardBand) Size() (n int)
- func (rb RewardBand) String() string
- func (m *RewardBand) Unmarshal(dAtA []byte) error
- func (m *RewardBand) XXX_DiscardUnknown()
- func (m *RewardBand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardBand) XXX_Merge(src proto.Message)
- func (m *RewardBand) XXX_Size() int
- func (m *RewardBand) XXX_Unmarshal(b []byte) error
- type RewardBandList
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AggregateExchangeRatePrevote(ctx context.Context, req *MsgAggregateExchangeRatePrevote) (*MsgAggregateExchangeRatePrevoteResponse, error)
- func (*UnimplementedMsgServer) AggregateExchangeRateVote(ctx context.Context, req *MsgAggregateExchangeRateVote) (*MsgAggregateExchangeRateVoteResponse, error)
- func (*UnimplementedMsgServer) DelegateFeedConsent(ctx context.Context, req *MsgDelegateFeedConsent) (*MsgDelegateFeedConsentResponse, error)
- func (*UnimplementedMsgServer) GovAddDenoms(ctx context.Context, req *MsgGovAddDenoms) (*MsgGovAddDenomsResponse, error)
- func (*UnimplementedMsgServer) GovCancelUpdateParamPlan(ctx context.Context, req *MsgGovCancelUpdateParamPlan) (*MsgGovCancelUpdateParamPlanResponse, error)
- func (*UnimplementedMsgServer) GovRemoveCurrencyDeviationThresholds(ctx context.Context, req *MsgGovRemoveCurrencyDeviationThresholds) (*MsgGovRemoveCurrencyDeviationThresholdsResponse, error)
- func (*UnimplementedMsgServer) GovRemoveCurrencyPairProviders(ctx context.Context, req *MsgGovRemoveCurrencyPairProviders) (*MsgGovRemoveCurrencyPairProvidersResponse, error)
- func (*UnimplementedMsgServer) GovUpdateParams(ctx context.Context, req *MsgGovUpdateParams) (*MsgGovUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) LegacyGovUpdateParams(ctx context.Context, req *MsgLegacyGovUpdateParams) (*MsgLegacyGovUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ActiveExchangeRates(ctx context.Context, req *QueryActiveExchangeRates) (*QueryActiveExchangeRatesResponse, error)
- func (*UnimplementedQueryServer) AggregatePrevote(ctx context.Context, req *QueryAggregatePrevote) (*QueryAggregatePrevoteResponse, error)
- func (*UnimplementedQueryServer) AggregatePrevotes(ctx context.Context, req *QueryAggregatePrevotes) (*QueryAggregatePrevotesResponse, error)
- func (*UnimplementedQueryServer) AggregateVote(ctx context.Context, req *QueryAggregateVote) (*QueryAggregateVoteResponse, error)
- func (*UnimplementedQueryServer) AggregateVotes(ctx context.Context, req *QueryAggregateVotes) (*QueryAggregateVotesResponse, error)
- func (*UnimplementedQueryServer) ExchangeRates(ctx context.Context, req *QueryExchangeRates) (*QueryExchangeRatesResponse, error)
- func (*UnimplementedQueryServer) FeederDelegation(ctx context.Context, req *QueryFeederDelegation) (*QueryFeederDelegationResponse, error)
- func (*UnimplementedQueryServer) MedianDeviations(ctx context.Context, req *QueryMedianDeviations) (*QueryMedianDeviationsResponse, error)
- func (*UnimplementedQueryServer) Medians(ctx context.Context, req *QueryMedians) (*QueryMediansResponse, error)
- func (*UnimplementedQueryServer) MissCounter(ctx context.Context, req *QueryMissCounter) (*QueryMissCounterResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParams) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SlashWindow(ctx context.Context, req *QuerySlashWindow) (*QuerySlashWindowResponse, error)
- func (*UnimplementedQueryServer) ValidatorRewardSet(ctx context.Context, req *QueryValidatorRewardSet) (*QueryValidatorRewardSetResponse, error)
- type ValidatorRewardSet
- func (*ValidatorRewardSet) Descriptor() ([]byte, []int)
- func (m *ValidatorRewardSet) Marshal() (dAtA []byte, err error)
- func (m *ValidatorRewardSet) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorRewardSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorRewardSet) ProtoMessage()
- func (m *ValidatorRewardSet) Reset()
- func (m *ValidatorRewardSet) Size() (n int)
- func (m *ValidatorRewardSet) String() string
- func (m *ValidatorRewardSet) Unmarshal(dAtA []byte) error
- func (m *ValidatorRewardSet) XXX_DiscardUnknown()
- func (m *ValidatorRewardSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorRewardSet) XXX_Merge(src proto.Message)
- func (m *ValidatorRewardSet) XXX_Size() int
- func (m *ValidatorRewardSet) XXX_Unmarshal(b []byte) error
- type VoteForTally
- type VoteHash
Constants ¶
const ( OjoDenom string = appparams.BondDenom OjoSymbol string = "OJO" OjoExponent = uint32(6) AtomDenom string = "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" AtomSymbol string = "ATOM" AtomExponent = uint32(6) BitcoinDenom string = "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" BitcoinSymbol string = "BTC" BitcoinExponent = uint32(18) EthereumDenom string = "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" EthereumSymbol string = "ETH" EthereumExponent = uint32(18) USDTDenom string = "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9" USDTSymbol string = "USDT" USDTExponent = uint32(18) USDSymbol string = "USD" BlocksPerMinute = uint64(10) BlocksPerHour = BlocksPerMinute * 60 BlocksPerDay = BlocksPerHour * 24 BlocksPerWeek = BlocksPerDay * 7 BlocksPerMonth = BlocksPerDay * 30 BlocksPerYear = BlocksPerDay * 365 MicroUnit = int64(1e6) )
const ( EventParamUpdate = "param_update" AttributeKeyNotifyPriceFeeder = "notify_price_feeder" )
oracle module event types
const ( // ModuleName is the name of the oracle module ModuleName = "oracle" // StoreKey is the string store representation StoreKey = ModuleName // RouterKey is the message route RouterKey = ModuleName // QuerierRoute is the query router key for the oracle module QuerierRoute = ModuleName )
const ( MaxVoteThresholdPrecision = 2 MaxVoteThresholdMultiplier = 100 // must be 10^MaxVoteThresholdPrecision )
maxium number of decimals allowed for VoteThreshold
const ( DefaultVotePeriod = 1 DefaultSlashWindow = BlocksPerWeek // window for a week DefaultRewardDistributionWindow = BlocksPerYear // window for a year DefaultHistoricStampPeriod = BlocksPerMinute * 3 // window for 3 minutes DefaultMaximumPriceStamps = 60 // retain for 3 hours DefaultMedianStampPeriod = BlocksPerHour * 3 // window for 3 hours DefaultMaximumMedianStamps = 24 // retain for 3 days )
Default parameter values
Variables ¶
var ( ErrInvalidLengthAbci = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAbci = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAbci = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidExchangeRate = errors.Register(ModuleName, 2, "invalid exchange rate") ErrNoPrevote = errors.Register(ModuleName, 3, "no prevote") ErrNoVote = errors.Register(ModuleName, 4, "no vote") ErrNoVotingPermission = errors.Register(ModuleName, 5, "unauthorized voter") ErrInvalidHash = errors.Register(ModuleName, 6, "invalid hash") ErrInvalidHashLength = errors.Register(ModuleName, 7, fmt.Sprintf("invalid hash length; should equal %d", tmhash.TruncatedSize)) //nolint: lll ErrVerificationFailed = errors.Register(ModuleName, 8, "hash verification failed") ErrRevealPeriodMissMatch = errors.Register(ModuleName, 9, "reveal period of submitted vote does not match with registered prevote") //nolint: lll ErrInvalidSaltLength = errors.Register(ModuleName, 10, "invalid salt length; must be 64") ErrInvalidSaltFormat = errors.Register(ModuleName, 11, "invalid salt format") ErrNoAggregatePrevote = errors.Register(ModuleName, 12, "no aggregate prevote") ErrNoAggregateVote = errors.Register(ModuleName, 13, "no aggregate vote") ErrUnknownDenom = errors.Register(ModuleName, 14, "unknown denom") ErrNegativeOrZeroRate = errors.Register(ModuleName, 15, "invalid exchange rate; should be positive") ErrExistingPrevote = errors.Register(ModuleName, 16, "prevote already submitted for this voting period") ErrBallotNotSorted = errors.Register(ModuleName, 17, "ballot must be sorted before this operation") ErrInvalidOraclePrice = errors.Register(ModuleName, 18, "invalid or unavailable oracle price") ErrNoHistoricPrice = errors.Register(ModuleName, 19, "no historic price for this denom at this block") ErrNoMedian = errors.Register(ModuleName, 20, "no median for this denom at this block") ErrNoMedianDeviation = errors.Register(ModuleName, 21, "no median deviation for this denom at this block") ErrNoRewardBand = errors.Register(ModuleName, 22, "unable to find the reward band the given asset") ErrNoValidatorRewardSet = errors.Register(ModuleName, 23, "unable to find the latest validator reward set") ErrNoGovAuthority = errors.Register(ModuleName, 24, "invalid gov authority to perform these changes") ErrInvalidRequest = errors.Register(ModuleName, 25, "invalid request") ErrInvalidParamValue = errors.Register(ModuleName, 26, "invalid oracle param value") ErrEncodeInjVoteExt = errors.Register(ModuleName, 27, "failed to encode injected vote extension tx") ErrNonEqualInjVotesLen = errors.Register(ModuleName, 28, "number of exchange rate votes in vote extension and extended commit info are not equal") //nolint: lll ErrNonEqualInjVotesRates = errors.Register(ModuleName, 29, "injected exchange rate votes and generated exchange votes are not equal") //nolint: lll ErrNoCommitInfo = errors.Register(ModuleName, 30, "no commit info in process proposal request") )
Oracle sentinel errors
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
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 ( KeyPrefixExchangeRate = []byte{0x01} // prefix for each key to a rate KeyPrefixFeederDelegation = []byte{0x02} // prefix for each key to a feeder delegation KeyPrefixMissCounter = []byte{0x03} // prefix for each key to a miss counter KeyPrefixAggregateExchangeRatePrevote = []byte{0x04} // prefix for each key to a aggregate prevote KeyPrefixAggregateExchangeRateVote = []byte{0x05} // prefix for each key to a aggregate vote KeyPrefixMedian = []byte{0x06} // prefix for each key to a price median KeyPrefixMedianDeviation = []byte{0x07} // prefix for each key to a price median standard deviation KeyPrefixHistoricPrice = []byte{0x08} // prefix for each key to a historic price KeyPrefixValidatorRewardSet = []byte{0x09} // prefix for each key to a validator reward set KeyPrefixParamUpdatePlan = []byte{0x10} // prefix for each key to a param update plan )
KVStore key prefixes
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 ( KeyVotePeriod = []byte("VotePeriod") KeyVoteThreshold = []byte("VoteThreshold") KeyRewardBands = []byte("RewardBands") KeyRewardDistributionWindow = []byte("RewardDistributionWindow") KeyAcceptList = []byte("AcceptList") KeyMandatoryList = []byte("MandatoryList") KeySlashFraction = []byte("SlashFraction") KeySlashWindow = []byte("SlashWindow") KeyMinValidPerWindow = []byte("MinValidPerWindow") KeyHistoricStampPeriod = []byte("HistoricStampPeriod") KeyMedianStampPeriod = []byte("MedianStampPeriod") KeyMaximumPriceStamps = []byte("MaximumPriceStamps") KeyMaximumMedianStamps = []byte("MaximumMedianStamps") KeyCurrencyPairProviders = []byte("CurrencyPairProviders") KeyCurrencyDeviationThresholds = []byte("CurrencyDeviationThresholds") )
Parameter keys
var ( DefaultVoteThreshold = math.LegacyNewDecWithPrec(50, 2) // 50% DefaultAcceptList = DenomList{ { BaseDenom: OjoDenom, SymbolDenom: OjoSymbol, Exponent: OjoExponent, }, { BaseDenom: AtomDenom, SymbolDenom: AtomSymbol, Exponent: AtomExponent, }, { BaseDenom: USDTDenom, SymbolDenom: USDTSymbol, Exponent: USDTExponent, }, { BaseDenom: BitcoinDenom, SymbolDenom: BitcoinSymbol, Exponent: BitcoinExponent, }, { BaseDenom: EthereumDenom, SymbolDenom: EthereumSymbol, Exponent: EthereumExponent, }, } DefaultMandatoryList = DenomList{ { BaseDenom: AtomDenom, SymbolDenom: AtomSymbol, Exponent: AtomExponent, }, { BaseDenom: USDTDenom, SymbolDenom: USDTSymbol, Exponent: USDTExponent, }, { BaseDenom: BitcoinDenom, SymbolDenom: BitcoinSymbol, Exponent: BitcoinExponent, }, { BaseDenom: EthereumDenom, SymbolDenom: EthereumSymbol, Exponent: EthereumExponent, }, } DefaultSlashFraction = math.LegacyNewDecWithPrec(1, 4) // 0.01% DefaultMinValidPerWindow = math.LegacyNewDecWithPrec(5, 2) // 5% DefaultCurrencyPairProviders = CurrencyPairProvidersList{ CurrencyPairProviders{ BaseDenom: OjoSymbol, QuoteDenom: USDSymbol, Providers: []string{ "binance", "coinbase", }, }, CurrencyPairProviders{ BaseDenom: USDTSymbol, QuoteDenom: USDSymbol, Providers: []string{ "kraken", "coinbase", "crypto", }, }, CurrencyPairProviders{ BaseDenom: AtomSymbol, QuoteDenom: USDSymbol, Providers: []string{ "kraken", }, }, CurrencyPairProviders{ BaseDenom: AtomSymbol, QuoteDenom: USDTSymbol, Providers: []string{ "okx", "bitget", "gate", }, }, CurrencyPairProviders{ BaseDenom: BitcoinSymbol, QuoteDenom: USDSymbol, Providers: []string{ "coinbase", }, }, CurrencyPairProviders{ BaseDenom: BitcoinSymbol, QuoteDenom: USDTSymbol, Providers: []string{ "okx", "gate", "bitget", }, }, CurrencyPairProviders{ BaseDenom: EthereumSymbol, QuoteDenom: USDSymbol, Providers: []string{ "kraken", }, }, CurrencyPairProviders{ BaseDenom: EthereumSymbol, QuoteDenom: USDTSymbol, Providers: []string{ "okx", "bitget", }, }, } DefaultCurrencyDeviationThresholds = CurrencyDeviationThresholdList{ CurrencyDeviationThreshold{ BaseDenom: OjoSymbol, Threshold: "2", }, CurrencyDeviationThreshold{ BaseDenom: USDTSymbol, Threshold: "2", }, CurrencyDeviationThreshold{ BaseDenom: AtomSymbol, Threshold: "2", }, CurrencyDeviationThreshold{ BaseDenom: BitcoinSymbol, Threshold: "2", }, CurrencyDeviationThreshold{ BaseDenom: EthereumSymbol, Threshold: "2", }, } )
Default parameter values
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/oracle module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/staking and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
Functions ¶
func ClaimMapToSlices ¶ added in v0.1.3
ClaimMapToSlices returns an array of sorted exchange rate ballots and uses the rewardSet to return a second array of claims that are eligible to earn rewards in the current Slash Window.
func GetAggregateExchangeRatePrevoteKey ¶
func GetAggregateExchangeRatePrevoteKey(v sdk.ValAddress) (key []byte)
GetAggregateExchangeRatePrevoteKey - stored by *Validator* address
func GetAggregateExchangeRateVoteKey ¶
func GetAggregateExchangeRateVoteKey(v sdk.ValAddress) (key []byte)
GetAggregateExchangeRateVoteKey - stored by *Validator* address
func GetExchangeRateKey ¶
GetExchangeRateKey - stored by *denom*
func GetFeederDelegationKey ¶
func GetFeederDelegationKey(v sdk.ValAddress) (key []byte)
GetFeederDelegationKey - stored by *Validator* address
func GetMissCounterKey ¶
func GetMissCounterKey(v sdk.ValAddress) (key []byte)
GetMissCounterKey - stored by *Validator* address
func KeyHistoricPrice ¶
KeyHistoricPrice - stored by *denom* and *block*
func KeyMedianDeviation ¶
KeyMedianDeviation - stored by *denom*
func KeyParamUpdatePlan ¶ added in v0.2.1
KeyParamUpdatePlan - stored by *planHeight*
func KeyValidatorRewardSet ¶ added in v0.1.3
func KeyValidatorRewardSet() (key []byte)
KeyValidatorRewardSet - stored by *block*
func ParamKeyTable ¶
func ParamKeyTable() paramstypes.KeyTable
ParamKeyTable returns the parameter key table.
func ParseDenomAndBlockFromKey ¶
ParseDenomAndBlockFromKey returns the denom and block contained in the *key* that has a uint64 at the end with a null prefix (length 9).
func ParseExchangeRateDecCoins ¶ added in v0.1.2
ParseExchangeRateDecCoins DecCoins parser
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the x/oracle interfaces types with the interface registry
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 RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
ValidateGenesis validates the oracle genesis state.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI // only used for simulation GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI }
AccountKeeper defines the expected interface contract defined by the x/auth module.
type AggregateExchangeRatePrevote ¶
type AggregateExchangeRatePrevote struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" yaml:"hash"` Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty" yaml:"voter"` SubmitBlock uint64 `protobuf:"varint,3,opt,name=submit_block,json=submitBlock,proto3" json:"submit_block,omitempty" yaml:"submit_block"` }
AggregateExchangeRatePrevote - struct for aggregate prevoting on the ExchangeRateVote. The purpose of aggregate prevote is to hide vote exchange rates with hash which is formatted as hex string in SHA256("{salt}:{exchange rate}{denom},...,{exchange rate}{denom}:{voter}")
func NewAggregateExchangeRatePrevote ¶
func NewAggregateExchangeRatePrevote( hash AggregateVoteHash, voter sdk.ValAddress, submitBlock uint64, ) AggregateExchangeRatePrevote
func (*AggregateExchangeRatePrevote) Descriptor ¶
func (*AggregateExchangeRatePrevote) Descriptor() ([]byte, []int)
func (*AggregateExchangeRatePrevote) Marshal ¶
func (m *AggregateExchangeRatePrevote) Marshal() (dAtA []byte, err error)
func (*AggregateExchangeRatePrevote) MarshalTo ¶
func (m *AggregateExchangeRatePrevote) MarshalTo(dAtA []byte) (int, error)
func (*AggregateExchangeRatePrevote) MarshalToSizedBuffer ¶
func (m *AggregateExchangeRatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AggregateExchangeRatePrevote) ProtoMessage ¶
func (*AggregateExchangeRatePrevote) ProtoMessage()
func (*AggregateExchangeRatePrevote) Reset ¶
func (m *AggregateExchangeRatePrevote) Reset()
func (*AggregateExchangeRatePrevote) Size ¶
func (m *AggregateExchangeRatePrevote) Size() (n int)
func (AggregateExchangeRatePrevote) String ¶
func (v AggregateExchangeRatePrevote) String() string
String implement stringify
func (*AggregateExchangeRatePrevote) Unmarshal ¶
func (m *AggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error
func (*AggregateExchangeRatePrevote) XXX_DiscardUnknown ¶
func (m *AggregateExchangeRatePrevote) XXX_DiscardUnknown()
func (*AggregateExchangeRatePrevote) XXX_Marshal ¶
func (m *AggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AggregateExchangeRatePrevote) XXX_Merge ¶
func (m *AggregateExchangeRatePrevote) XXX_Merge(src proto.Message)
func (*AggregateExchangeRatePrevote) XXX_Size ¶
func (m *AggregateExchangeRatePrevote) XXX_Size() int
func (*AggregateExchangeRatePrevote) XXX_Unmarshal ¶
func (m *AggregateExchangeRatePrevote) XXX_Unmarshal(b []byte) error
type AggregateExchangeRateVote ¶
type AggregateExchangeRateVote struct { ExchangeRates github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */ Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty" yaml:"voter"` }
AggregateExchangeRateVote - struct for voting on the exchange rates of USD denominated in various assets.
func NewAggregateExchangeRateVote ¶
func NewAggregateExchangeRateVote( decCoins sdk.DecCoins, voter sdk.ValAddress, ) AggregateExchangeRateVote
func (*AggregateExchangeRateVote) Descriptor ¶
func (*AggregateExchangeRateVote) Descriptor() ([]byte, []int)
func (*AggregateExchangeRateVote) Marshal ¶
func (m *AggregateExchangeRateVote) Marshal() (dAtA []byte, err error)
func (*AggregateExchangeRateVote) MarshalTo ¶
func (m *AggregateExchangeRateVote) MarshalTo(dAtA []byte) (int, error)
func (*AggregateExchangeRateVote) MarshalToSizedBuffer ¶
func (m *AggregateExchangeRateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AggregateExchangeRateVote) ProtoMessage ¶
func (*AggregateExchangeRateVote) ProtoMessage()
func (*AggregateExchangeRateVote) Reset ¶
func (m *AggregateExchangeRateVote) Reset()
func (*AggregateExchangeRateVote) Size ¶
func (m *AggregateExchangeRateVote) Size() (n int)
func (AggregateExchangeRateVote) String ¶
func (v AggregateExchangeRateVote) String() string
String implement stringify
func (*AggregateExchangeRateVote) Unmarshal ¶
func (m *AggregateExchangeRateVote) Unmarshal(dAtA []byte) error
func (*AggregateExchangeRateVote) XXX_DiscardUnknown ¶
func (m *AggregateExchangeRateVote) XXX_DiscardUnknown()
func (*AggregateExchangeRateVote) XXX_Marshal ¶
func (m *AggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AggregateExchangeRateVote) XXX_Merge ¶
func (m *AggregateExchangeRateVote) XXX_Merge(src proto.Message)
func (*AggregateExchangeRateVote) XXX_Size ¶
func (m *AggregateExchangeRateVote) XXX_Size() int
func (*AggregateExchangeRateVote) XXX_Unmarshal ¶
func (m *AggregateExchangeRateVote) XXX_Unmarshal(b []byte) error
type AggregateVoteHash ¶
type AggregateVoteHash []byte
AggregateVoteHash is hash value to hide vote exchange rates which is formatted as a HEX string: SHA256("{salt}:{symbol}:{exchangeRate},...,{symbol}:{exchangeRate}:{voter}")
func AggregateVoteHashFromHexString ¶
func AggregateVoteHashFromHexString(s string) (AggregateVoteHash, error)
AggregateVoteHashFromHexString convert hex string to AggregateVoteHash.
func GetAggregateVoteHash ¶
func GetAggregateVoteHash(salt, exchangeRatesStr string, voter sdk.ValAddress) AggregateVoteHash
GetAggregateVoteHash computes hash value of ExchangeRateVote to avoid redundant DecCoins stringify operation.
func (AggregateVoteHash) Bytes ¶
func (h AggregateVoteHash) Bytes() []byte
Bytes returns the raw address bytes.
func (AggregateVoteHash) Empty ¶
func (h AggregateVoteHash) Empty() bool
Empty check the name hash has zero length
func (AggregateVoteHash) Equal ¶
func (h AggregateVoteHash) Equal(h2 AggregateVoteHash) bool
Equal does bytes equal check
func (AggregateVoteHash) Format ¶
func (h AggregateVoteHash) Format(s fmt.State, verb rune)
Format implements the fmt.Formatter interface.
func (AggregateVoteHash) Marshal ¶
func (h AggregateVoteHash) Marshal() ([]byte, error)
Marshal returns the raw address bytes. It is needed for protobuf compatibility.
func (AggregateVoteHash) MarshalJSON ¶
func (h AggregateVoteHash) MarshalJSON() ([]byte, error)
MarshalJSON marshals to JSON using Bech32.
func (AggregateVoteHash) MarshalYAML ¶
func (h AggregateVoteHash) MarshalYAML() (interface{}, error)
MarshalYAML marshals to YAML using Bech32.
func (AggregateVoteHash) Size ¶
func (h AggregateVoteHash) Size() int
Size returns the raw address bytes.
func (AggregateVoteHash) String ¶
func (h AggregateVoteHash) String() string
String implements fmt.Stringer interface
func (*AggregateVoteHash) Unmarshal ¶
func (h *AggregateVoteHash) Unmarshal(data []byte) error
Unmarshal sets the address to the given data. It is needed for protobuf compatibility.
func (*AggregateVoteHash) UnmarshalJSON ¶
func (h *AggregateVoteHash) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals from JSON assuming Bech32 encoding.
type BallotDenom ¶
type BallotDenom struct { Ballot ExchangeRateBallot Denom string }
BallotDenom is a convenience wrapper for setting rates deterministically.
func BallotMapToSlice ¶
func BallotMapToSlice(votes map[string]ExchangeRateBallot) []BallotDenom
BallotMapToSlice returns an array of sorted exchange rate ballots.
type BankKeeper ¶
type BankKeeper interface { GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata) }
BankKeeper defines the expected interface contract defined by the x/bank module.
type Claim ¶
type Claim struct { Power int64 Weight int64 MandatoryWinCount int64 Recipient sdk.ValAddress }
Claim is an interface that directs its rewards to an attached bank account.
type CurrencyDeviationThreshold ¶ added in v0.2.2
type CurrencyDeviationThreshold struct { BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"` Threshold string `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty" yaml:"threshold"` }
CurrencyDeviationThreshold defines a deviation theshold for a base denom.
func (*CurrencyDeviationThreshold) Descriptor ¶ added in v0.2.2
func (*CurrencyDeviationThreshold) Descriptor() ([]byte, []int)
func (CurrencyDeviationThreshold) Equal ¶ added in v0.2.2
func (cdt CurrencyDeviationThreshold) Equal(cdt2 *CurrencyDeviationThreshold) bool
func (*CurrencyDeviationThreshold) Marshal ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) Marshal() (dAtA []byte, err error)
func (*CurrencyDeviationThreshold) MarshalTo ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) MarshalTo(dAtA []byte) (int, error)
func (*CurrencyDeviationThreshold) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CurrencyDeviationThreshold) ProtoMessage ¶ added in v0.2.2
func (*CurrencyDeviationThreshold) ProtoMessage()
func (*CurrencyDeviationThreshold) Reset ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) Reset()
func (*CurrencyDeviationThreshold) Size ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) Size() (n int)
func (CurrencyDeviationThreshold) String ¶ added in v0.2.2
func (cdt CurrencyDeviationThreshold) String() string
String implements fmt.Stringer interface
func (*CurrencyDeviationThreshold) Unmarshal ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) Unmarshal(dAtA []byte) error
func (*CurrencyDeviationThreshold) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) XXX_DiscardUnknown()
func (*CurrencyDeviationThreshold) XXX_Marshal ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrencyDeviationThreshold) XXX_Merge ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) XXX_Merge(src proto.Message)
func (*CurrencyDeviationThreshold) XXX_Size ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) XXX_Size() int
func (*CurrencyDeviationThreshold) XXX_Unmarshal ¶ added in v0.2.2
func (m *CurrencyDeviationThreshold) XXX_Unmarshal(b []byte) error
type CurrencyDeviationThresholdList ¶ added in v0.2.2
type CurrencyDeviationThresholdList []CurrencyDeviationThreshold
CurrencyDeviationThresholdList is array of CurrencyDeviationThresholds
func (CurrencyDeviationThresholdList) RemovePair ¶ added in v0.2.2
func (cdtl CurrencyDeviationThresholdList) RemovePair(curr string) CurrencyDeviationThresholdList
func (CurrencyDeviationThresholdList) String ¶ added in v0.2.2
func (cdtl CurrencyDeviationThresholdList) String() (out string)
type CurrencyPairProviders ¶ added in v0.2.2
type CurrencyPairProviders struct { BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"` QuoteDenom string `protobuf:"bytes,2,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty" yaml:"quote_denom"` PairAddress []PairAddressProvider `protobuf:"bytes,3,rep,name=pair_address,json=pairAddress,proto3" json:"pair_address" yaml:"pair_address"` Providers []string `protobuf:"bytes,4,rep,name=providers,proto3" json:"providers,omitempty" yaml:"providers"` }
CurrencyPairProviders defines a list of currency providers for the currency pair defined by base and quote.
func (*CurrencyPairProviders) Descriptor ¶ added in v0.2.2
func (*CurrencyPairProviders) Descriptor() ([]byte, []int)
func (CurrencyPairProviders) Equal ¶ added in v0.2.2
func (cpp CurrencyPairProviders) Equal(cpp2 *CurrencyPairProviders) bool
func (*CurrencyPairProviders) Marshal ¶ added in v0.2.2
func (m *CurrencyPairProviders) Marshal() (dAtA []byte, err error)
func (*CurrencyPairProviders) MarshalTo ¶ added in v0.2.2
func (m *CurrencyPairProviders) MarshalTo(dAtA []byte) (int, error)
func (*CurrencyPairProviders) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *CurrencyPairProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CurrencyPairProviders) ProtoMessage ¶ added in v0.2.2
func (*CurrencyPairProviders) ProtoMessage()
func (*CurrencyPairProviders) Reset ¶ added in v0.2.2
func (m *CurrencyPairProviders) Reset()
func (*CurrencyPairProviders) Size ¶ added in v0.2.2
func (m *CurrencyPairProviders) Size() (n int)
func (CurrencyPairProviders) String ¶ added in v0.2.2
func (cpp CurrencyPairProviders) String() string
String implements fmt.Stringer interface
func (*CurrencyPairProviders) Unmarshal ¶ added in v0.2.2
func (m *CurrencyPairProviders) Unmarshal(dAtA []byte) error
func (*CurrencyPairProviders) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *CurrencyPairProviders) XXX_DiscardUnknown()
func (*CurrencyPairProviders) XXX_Marshal ¶ added in v0.2.2
func (m *CurrencyPairProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrencyPairProviders) XXX_Merge ¶ added in v0.2.2
func (m *CurrencyPairProviders) XXX_Merge(src proto.Message)
func (*CurrencyPairProviders) XXX_Size ¶ added in v0.2.2
func (m *CurrencyPairProviders) XXX_Size() int
func (*CurrencyPairProviders) XXX_Unmarshal ¶ added in v0.2.2
func (m *CurrencyPairProviders) XXX_Unmarshal(b []byte) error
type CurrencyPairProvidersList ¶ added in v0.2.2
type CurrencyPairProvidersList []CurrencyPairProviders
CurrencyPairProvidersList is array of CurrencyPairProviders
func (CurrencyPairProvidersList) RemovePair ¶ added in v0.2.2
func (cppl CurrencyPairProvidersList) RemovePair(pair CurrencyPairProviders) CurrencyPairProvidersList
func (CurrencyPairProvidersList) String ¶ added in v0.2.2
func (cppl CurrencyPairProvidersList) String() (out string)
type Denom ¶
type Denom struct { BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty" yaml:"base_denom"` SymbolDenom string `protobuf:"bytes,2,opt,name=symbol_denom,json=symbolDenom,proto3" json:"symbol_denom,omitempty" yaml:"symbol_denom"` Exponent uint32 `protobuf:"varint,3,opt,name=exponent,proto3" json:"exponent,omitempty" yaml:"exponent"` }
Denom - the object to hold configurations of each denom
func (*Denom) Descriptor ¶
func (*Denom) ProtoMessage ¶
func (*Denom) ProtoMessage()
func (*Denom) XXX_DiscardUnknown ¶
func (m *Denom) XXX_DiscardUnknown()
func (*Denom) XXX_Marshal ¶
func (*Denom) XXX_Unmarshal ¶
type DenomList ¶
type DenomList []Denom
DenomList is array of Denom
func (DenomList) ContainDenoms ¶
ContainDenoms checks if d is a subset of dl
func (DenomList) Contains ¶
Contains checks whether or not a SymbolDenom (e.g. OJO) is in the DenomList
type DistributionKeeper ¶
type DistributionKeeper interface { AllocateTokensToValidator(ctx context.Context, val stakingtypes.ValidatorI, tokens sdk.DecCoins) error GetValidatorOutstandingRewardsCoins(ctx context.Context, val sdk.ValAddress) (sdk.DecCoins, error) }
DistributionKeeper defines the expected interface contract defined by the x/distribution module.
type EventDelegateFeedConsent ¶
type EventDelegateFeedConsent struct { // Operator bech32 address who delegates his feed consent Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // Delegate bech32 address Delegate string `protobuf:"bytes,2,opt,name=delegate,proto3" json:"delegate,omitempty"` }
EventDelegateFeedConsent is emitted on Msg/DelegateFeedConsent
func (*EventDelegateFeedConsent) Descriptor ¶
func (*EventDelegateFeedConsent) Descriptor() ([]byte, []int)
func (*EventDelegateFeedConsent) Marshal ¶
func (m *EventDelegateFeedConsent) Marshal() (dAtA []byte, err error)
func (*EventDelegateFeedConsent) MarshalTo ¶
func (m *EventDelegateFeedConsent) MarshalTo(dAtA []byte) (int, error)
func (*EventDelegateFeedConsent) MarshalToSizedBuffer ¶
func (m *EventDelegateFeedConsent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDelegateFeedConsent) ProtoMessage ¶
func (*EventDelegateFeedConsent) ProtoMessage()
func (*EventDelegateFeedConsent) Reset ¶
func (m *EventDelegateFeedConsent) Reset()
func (*EventDelegateFeedConsent) Size ¶
func (m *EventDelegateFeedConsent) Size() (n int)
func (*EventDelegateFeedConsent) String ¶
func (m *EventDelegateFeedConsent) String() string
func (*EventDelegateFeedConsent) Unmarshal ¶
func (m *EventDelegateFeedConsent) Unmarshal(dAtA []byte) error
func (*EventDelegateFeedConsent) XXX_DiscardUnknown ¶
func (m *EventDelegateFeedConsent) XXX_DiscardUnknown()
func (*EventDelegateFeedConsent) XXX_Marshal ¶
func (m *EventDelegateFeedConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDelegateFeedConsent) XXX_Merge ¶
func (m *EventDelegateFeedConsent) XXX_Merge(src proto.Message)
func (*EventDelegateFeedConsent) XXX_Size ¶
func (m *EventDelegateFeedConsent) XXX_Size() int
func (*EventDelegateFeedConsent) XXX_Unmarshal ¶
func (m *EventDelegateFeedConsent) XXX_Unmarshal(b []byte) error
type EventSetFxRate ¶
type EventSetFxRate struct { // uToken denom Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // Exchange rate (based to USD) Rate cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=rate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rate"` }
EventSetFxRate is emitted on exchange rate update
func (*EventSetFxRate) Descriptor ¶
func (*EventSetFxRate) Descriptor() ([]byte, []int)
func (*EventSetFxRate) Marshal ¶
func (m *EventSetFxRate) Marshal() (dAtA []byte, err error)
func (*EventSetFxRate) MarshalToSizedBuffer ¶
func (m *EventSetFxRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSetFxRate) ProtoMessage ¶
func (*EventSetFxRate) ProtoMessage()
func (*EventSetFxRate) Reset ¶
func (m *EventSetFxRate) Reset()
func (*EventSetFxRate) Size ¶
func (m *EventSetFxRate) Size() (n int)
func (*EventSetFxRate) String ¶
func (m *EventSetFxRate) String() string
func (*EventSetFxRate) Unmarshal ¶
func (m *EventSetFxRate) Unmarshal(dAtA []byte) error
func (*EventSetFxRate) XXX_DiscardUnknown ¶
func (m *EventSetFxRate) XXX_DiscardUnknown()
func (*EventSetFxRate) XXX_Marshal ¶
func (m *EventSetFxRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSetFxRate) XXX_Merge ¶
func (m *EventSetFxRate) XXX_Merge(src proto.Message)
func (*EventSetFxRate) XXX_Size ¶
func (m *EventSetFxRate) XXX_Size() int
func (*EventSetFxRate) XXX_Unmarshal ¶
func (m *EventSetFxRate) XXX_Unmarshal(b []byte) error
type ExchangeRateBallot ¶
type ExchangeRateBallot []VoteForTally
ExchangeRateBallot is a convenience wrapper around a ExchangeRateVote slice.
func (ExchangeRateBallot) Len ¶
func (pb ExchangeRateBallot) Len() int
Len implements sort.Interface
func (ExchangeRateBallot) Less ¶
func (pb ExchangeRateBallot) Less(i, j int) bool
Less reports whether the element with index i should sort before the element with index j.
func (ExchangeRateBallot) Power ¶
func (pb ExchangeRateBallot) Power() int64
Power returns the total amount of voting power in the ballot.
func (ExchangeRateBallot) StandardDeviation ¶
func (pb ExchangeRateBallot) StandardDeviation() (math.LegacyDec, error)
StandardDeviation returns the standard deviation by the power of the ExchangeRateVote.
func (ExchangeRateBallot) Swap ¶
func (pb ExchangeRateBallot) Swap(i, j int)
Swap implements sort.Interface.
func (ExchangeRateBallot) ToMap ¶
func (pb ExchangeRateBallot) ToMap() map[string]math.LegacyDec
ToMap return organized exchange rate map by validator.
func (ExchangeRateBallot) WeightedMedian ¶ added in v0.1.3
func (pb ExchangeRateBallot) WeightedMedian() (math.LegacyDec, error)
WeightedMedian returns the median weighted by the power of the ExchangeRateVote. CONTRACT: The ballot must be sorted.
type ExchangeRatePrevote ¶
type ExchangeRatePrevote struct { Hash VoteHash `json:"hash"` // Vote hex hash to protect centralize data source problem Denom string `json:"denom"` // Ticker symbol of denomination exchanged against USD Voter sdk.ValAddress `json:"voter"` // Voter validator address SubmitBlock int64 `json:"submit_block"` // Block height at submission }
ExchangeRatePrevote defines a structure to store a validator's prevote on the rate of USD in the denom asset.
type ExchangeRateVote ¶
type ExchangeRateVote struct { ExchangeRate math.LegacyDec `json:"exchange_rate"` // Exchange rate of a denomination against USD Denom string `json:"denom"` // Ticker symbol of denomination exchanged against USD Voter sdk.ValAddress `json:"voter"` // Voter validator address }
ExchangeRateVote defines a structure to store a validator's vote on the rate of USD in the denom asset.
type FeederDelegation ¶
type FeederDelegation struct { FeederAddress string `protobuf:"bytes,1,opt,name=feeder_address,json=feederAddress,proto3" json:"feeder_address,omitempty"` ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` }
FeederDelegation is the address for where oracle feeder authority are delegated to. By default this struct is only used at genesis to feed in default feeder addresses.
func (*FeederDelegation) Descriptor ¶
func (*FeederDelegation) Descriptor() ([]byte, []int)
func (*FeederDelegation) Marshal ¶
func (m *FeederDelegation) Marshal() (dAtA []byte, err error)
func (*FeederDelegation) MarshalToSizedBuffer ¶
func (m *FeederDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeederDelegation) ProtoMessage ¶
func (*FeederDelegation) ProtoMessage()
func (*FeederDelegation) Reset ¶
func (m *FeederDelegation) Reset()
func (*FeederDelegation) Size ¶
func (m *FeederDelegation) Size() (n int)
func (*FeederDelegation) String ¶
func (m *FeederDelegation) String() string
func (*FeederDelegation) Unmarshal ¶
func (m *FeederDelegation) Unmarshal(dAtA []byte) error
func (*FeederDelegation) XXX_DiscardUnknown ¶
func (m *FeederDelegation) XXX_DiscardUnknown()
func (*FeederDelegation) XXX_Marshal ¶
func (m *FeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeederDelegation) XXX_Merge ¶
func (m *FeederDelegation) XXX_Merge(src proto.Message)
func (*FeederDelegation) XXX_Size ¶
func (m *FeederDelegation) XXX_Size() int
func (*FeederDelegation) XXX_Unmarshal ¶
func (m *FeederDelegation) XXX_Unmarshal(b []byte) error
type GasEstimate ¶ added in v0.5.0
type GasEstimate struct { GasEstimation int64 `protobuf:"varint,1,opt,name=gas_estimation,json=gasEstimation,proto3" json:"gas_estimation,omitempty"` Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` }
GasEstimate defines a gas estimate for a given network.
func (*GasEstimate) Descriptor ¶ added in v0.5.0
func (*GasEstimate) Descriptor() ([]byte, []int)
func (*GasEstimate) Marshal ¶ added in v0.5.0
func (m *GasEstimate) Marshal() (dAtA []byte, err error)
func (*GasEstimate) MarshalTo ¶ added in v0.5.0
func (m *GasEstimate) MarshalTo(dAtA []byte) (int, error)
func (*GasEstimate) MarshalToSizedBuffer ¶ added in v0.5.0
func (m *GasEstimate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GasEstimate) ProtoMessage ¶ added in v0.5.0
func (*GasEstimate) ProtoMessage()
func (*GasEstimate) Reset ¶ added in v0.5.0
func (m *GasEstimate) Reset()
func (*GasEstimate) Size ¶ added in v0.5.0
func (m *GasEstimate) Size() (n int)
func (*GasEstimate) String ¶ added in v0.5.0
func (m *GasEstimate) String() string
func (*GasEstimate) Unmarshal ¶ added in v0.5.0
func (m *GasEstimate) Unmarshal(dAtA []byte) error
func (*GasEstimate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *GasEstimate) XXX_DiscardUnknown()
func (*GasEstimate) XXX_Marshal ¶ added in v0.5.0
func (m *GasEstimate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GasEstimate) XXX_Merge ¶ added in v0.5.0
func (m *GasEstimate) XXX_Merge(src proto.Message)
func (*GasEstimate) XXX_Size ¶ added in v0.5.0
func (m *GasEstimate) XXX_Size() int
func (*GasEstimate) XXX_Unmarshal ¶ added in v0.5.0
func (m *GasEstimate) XXX_Unmarshal(b []byte) error
type GasEstimateKeeper ¶ added in v0.5.0
type GasEstimateKeeper interface {
GetParams(ctx sdk.Context) (params gasestimatetypes.Params)
}
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` FeederDelegations []FeederDelegation `protobuf:"bytes,2,rep,name=feeder_delegations,json=feederDelegations,proto3" json:"feeder_delegations"` ExchangeRates github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */ MissCounters []MissCounter `protobuf:"bytes,4,rep,name=miss_counters,json=missCounters,proto3" json:"miss_counters"` AggregateExchangeRatePrevotes []AggregateExchangeRatePrevote `` /* 142-byte string literal not displayed */ AggregateExchangeRateVotes []AggregateExchangeRateVote `` /* 133-byte string literal not displayed */ Medians []PriceStamp `protobuf:"bytes,7,rep,name=medians,proto3" json:"medians"` HistoricPrices []PriceStamp `protobuf:"bytes,8,rep,name=historic_prices,json=historicPrices,proto3" json:"historic_prices"` MedianDeviations []PriceStamp `protobuf:"bytes,9,rep,name=median_deviations,json=medianDeviations,proto3" json:"median_deviations"` }
GenesisState defines the oracle module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns the default genesesis state for the x/oracle module.
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/oracle GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState( params Params, rates sdk.DecCoins, feederDelegations []FeederDelegation, missCounters []MissCounter, aggregateExchangeRatePrevotes []AggregateExchangeRatePrevote, aggregateExchangeRateVotes []AggregateExchangeRateVote, historicPrices []PriceStamp, medianPrices []PriceStamp, medianDeviationPrices []PriceStamp, ) *GenesisState
NewGenesisState creates a new GenesisState object
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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) 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 InjectedVoteExtensionTx ¶ added in v0.4.1
type InjectedVoteExtensionTx struct { ExchangeRateVotes []AggregateExchangeRateVote `protobuf:"bytes,1,rep,name=exchange_rate_votes,json=exchangeRateVotes,proto3" json:"exchange_rate_votes"` ExtendedCommitInfo []byte `protobuf:"bytes,2,opt,name=extended_commit_info,json=extendedCommitInfo,proto3" json:"extended_commit_info,omitempty"` GasEstimateMedians []GasEstimate `protobuf:"bytes,3,rep,name=gas_estimate_medians,json=gasEstimateMedians,proto3" json:"gas_estimate_medians"` }
InjectedVoteExtensionTx defines the vote extension tx injected by the prepare proposal handler.
func (*InjectedVoteExtensionTx) Descriptor ¶ added in v0.4.1
func (*InjectedVoteExtensionTx) Descriptor() ([]byte, []int)
func (*InjectedVoteExtensionTx) Marshal ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) Marshal() (dAtA []byte, err error)
func (*InjectedVoteExtensionTx) MarshalTo ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) MarshalTo(dAtA []byte) (int, error)
func (*InjectedVoteExtensionTx) MarshalToSizedBuffer ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InjectedVoteExtensionTx) ProtoMessage ¶ added in v0.4.1
func (*InjectedVoteExtensionTx) ProtoMessage()
func (*InjectedVoteExtensionTx) Reset ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) Reset()
func (*InjectedVoteExtensionTx) Size ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) Size() (n int)
func (*InjectedVoteExtensionTx) String ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) String() string
func (*InjectedVoteExtensionTx) Unmarshal ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) Unmarshal(dAtA []byte) error
func (*InjectedVoteExtensionTx) XXX_DiscardUnknown ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) XXX_DiscardUnknown()
func (*InjectedVoteExtensionTx) XXX_Marshal ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InjectedVoteExtensionTx) XXX_Merge ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) XXX_Merge(src proto.Message)
func (*InjectedVoteExtensionTx) XXX_Size ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) XXX_Size() int
func (*InjectedVoteExtensionTx) XXX_Unmarshal ¶ added in v0.4.1
func (m *InjectedVoteExtensionTx) XXX_Unmarshal(b []byte) error
type MissCounter ¶
type MissCounter struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` MissCounter uint64 `protobuf:"varint,2,opt,name=miss_counter,json=missCounter,proto3" json:"miss_counter,omitempty"` }
MissCounter defines an miss counter and validator address pair used in oracle module's genesis state
func (*MissCounter) Descriptor ¶
func (*MissCounter) Descriptor() ([]byte, []int)
func (*MissCounter) Marshal ¶
func (m *MissCounter) Marshal() (dAtA []byte, err error)
func (*MissCounter) MarshalToSizedBuffer ¶
func (m *MissCounter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MissCounter) ProtoMessage ¶
func (*MissCounter) ProtoMessage()
func (*MissCounter) Reset ¶
func (m *MissCounter) Reset()
func (*MissCounter) Size ¶
func (m *MissCounter) Size() (n int)
func (*MissCounter) String ¶
func (m *MissCounter) String() string
func (*MissCounter) Unmarshal ¶
func (m *MissCounter) Unmarshal(dAtA []byte) error
func (*MissCounter) XXX_DiscardUnknown ¶
func (m *MissCounter) XXX_DiscardUnknown()
func (*MissCounter) XXX_Marshal ¶
func (m *MissCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MissCounter) XXX_Merge ¶
func (m *MissCounter) XXX_Merge(src proto.Message)
func (*MissCounter) XXX_Size ¶
func (m *MissCounter) XXX_Size() int
func (*MissCounter) XXX_Unmarshal ¶
func (m *MissCounter) XXX_Unmarshal(b []byte) error
type MsgAggregateExchangeRatePrevote ¶
type MsgAggregateExchangeRatePrevote struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty" yaml:"hash"` // Feeder is the author and the signer of the message. Feeder string `protobuf:"bytes,2,opt,name=feeder,proto3" json:"feeder,omitempty"` Validator string `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` }
MsgAggregateExchangeRatePrevote represents a message to submit an aggregate exchange rate prevote.
func NewMsgAggregateExchangeRatePrevote ¶
func NewMsgAggregateExchangeRatePrevote( hash AggregateVoteHash, feeder sdk.AccAddress, validator sdk.ValAddress, ) *MsgAggregateExchangeRatePrevote
func (*MsgAggregateExchangeRatePrevote) Descriptor ¶
func (*MsgAggregateExchangeRatePrevote) Descriptor() ([]byte, []int)
func (MsgAggregateExchangeRatePrevote) GetSigners ¶
func (msg MsgAggregateExchangeRatePrevote) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgAggregateExchangeRatePrevote) Marshal ¶
func (m *MsgAggregateExchangeRatePrevote) Marshal() (dAtA []byte, err error)
func (*MsgAggregateExchangeRatePrevote) MarshalTo ¶
func (m *MsgAggregateExchangeRatePrevote) MarshalTo(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRatePrevote) MarshalToSizedBuffer ¶
func (m *MsgAggregateExchangeRatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRatePrevote) ProtoMessage ¶
func (*MsgAggregateExchangeRatePrevote) ProtoMessage()
func (*MsgAggregateExchangeRatePrevote) Reset ¶
func (m *MsgAggregateExchangeRatePrevote) Reset()
func (*MsgAggregateExchangeRatePrevote) Size ¶
func (m *MsgAggregateExchangeRatePrevote) Size() (n int)
func (*MsgAggregateExchangeRatePrevote) String ¶
func (m *MsgAggregateExchangeRatePrevote) String() string
func (MsgAggregateExchangeRatePrevote) Type ¶
func (msg MsgAggregateExchangeRatePrevote) Type() string
Type implements LegacyMsg interface
func (*MsgAggregateExchangeRatePrevote) Unmarshal ¶
func (m *MsgAggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error
func (MsgAggregateExchangeRatePrevote) ValidateBasic ¶
func (msg MsgAggregateExchangeRatePrevote) ValidateBasic() error
ValidateBasic Implements sdk.Msg
func (*MsgAggregateExchangeRatePrevote) XXX_DiscardUnknown ¶
func (m *MsgAggregateExchangeRatePrevote) XXX_DiscardUnknown()
func (*MsgAggregateExchangeRatePrevote) XXX_Marshal ¶
func (m *MsgAggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAggregateExchangeRatePrevote) XXX_Merge ¶
func (m *MsgAggregateExchangeRatePrevote) XXX_Merge(src proto.Message)
func (*MsgAggregateExchangeRatePrevote) XXX_Size ¶
func (m *MsgAggregateExchangeRatePrevote) XXX_Size() int
func (*MsgAggregateExchangeRatePrevote) XXX_Unmarshal ¶
func (m *MsgAggregateExchangeRatePrevote) XXX_Unmarshal(b []byte) error
type MsgAggregateExchangeRatePrevoteResponse ¶
type MsgAggregateExchangeRatePrevoteResponse struct { }
MsgAggregateExchangeRatePrevoteResponse defines the Msg/AggregateExchangeRatePrevote response type.
func (*MsgAggregateExchangeRatePrevoteResponse) Descriptor ¶
func (*MsgAggregateExchangeRatePrevoteResponse) Descriptor() ([]byte, []int)
func (*MsgAggregateExchangeRatePrevoteResponse) Marshal ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) Marshal() (dAtA []byte, err error)
func (*MsgAggregateExchangeRatePrevoteResponse) MarshalTo ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRatePrevoteResponse) MarshalToSizedBuffer ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRatePrevoteResponse) ProtoMessage ¶
func (*MsgAggregateExchangeRatePrevoteResponse) ProtoMessage()
func (*MsgAggregateExchangeRatePrevoteResponse) Reset ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) Reset()
func (*MsgAggregateExchangeRatePrevoteResponse) Size ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) Size() (n int)
func (*MsgAggregateExchangeRatePrevoteResponse) String ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) String() string
func (*MsgAggregateExchangeRatePrevoteResponse) Unmarshal ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) Unmarshal(dAtA []byte) error
func (*MsgAggregateExchangeRatePrevoteResponse) XXX_DiscardUnknown ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_DiscardUnknown()
func (*MsgAggregateExchangeRatePrevoteResponse) XXX_Marshal ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAggregateExchangeRatePrevoteResponse) XXX_Merge ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Merge(src proto.Message)
func (*MsgAggregateExchangeRatePrevoteResponse) XXX_Size ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Size() int
func (*MsgAggregateExchangeRatePrevoteResponse) XXX_Unmarshal ¶
func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Unmarshal(b []byte) error
type MsgAggregateExchangeRateVote ¶
type MsgAggregateExchangeRateVote struct { Salt string `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty" yaml:"salt"` ExchangeRates string `protobuf:"bytes,2,opt,name=exchange_rates,json=exchangeRates,proto3" json:"exchange_rates,omitempty" yaml:"exchange_rates"` // Feeder is the author and the signer of the message. Feeder string `protobuf:"bytes,3,opt,name=feeder,proto3" json:"feeder,omitempty"` Validator string `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` }
MsgAggregateExchangeRateVote represents a message to submit anaggregate exchange rate vote.
func NewMsgAggregateExchangeRateVote ¶
func NewMsgAggregateExchangeRateVote( salt string, exchangeRates string, feeder sdk.AccAddress, validator sdk.ValAddress, ) *MsgAggregateExchangeRateVote
func (*MsgAggregateExchangeRateVote) Descriptor ¶
func (*MsgAggregateExchangeRateVote) Descriptor() ([]byte, []int)
func (MsgAggregateExchangeRateVote) GetSigners ¶
func (msg MsgAggregateExchangeRateVote) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgAggregateExchangeRateVote) Marshal ¶
func (m *MsgAggregateExchangeRateVote) Marshal() (dAtA []byte, err error)
func (*MsgAggregateExchangeRateVote) MarshalTo ¶
func (m *MsgAggregateExchangeRateVote) MarshalTo(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRateVote) MarshalToSizedBuffer ¶
func (m *MsgAggregateExchangeRateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRateVote) ProtoMessage ¶
func (*MsgAggregateExchangeRateVote) ProtoMessage()
func (*MsgAggregateExchangeRateVote) Reset ¶
func (m *MsgAggregateExchangeRateVote) Reset()
func (*MsgAggregateExchangeRateVote) Size ¶
func (m *MsgAggregateExchangeRateVote) Size() (n int)
func (*MsgAggregateExchangeRateVote) String ¶
func (m *MsgAggregateExchangeRateVote) String() string
func (MsgAggregateExchangeRateVote) Type ¶
func (msg MsgAggregateExchangeRateVote) Type() string
Type implements LegacyMsg interface
func (*MsgAggregateExchangeRateVote) Unmarshal ¶
func (m *MsgAggregateExchangeRateVote) Unmarshal(dAtA []byte) error
func (MsgAggregateExchangeRateVote) ValidateBasic ¶
func (msg MsgAggregateExchangeRateVote) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgAggregateExchangeRateVote) XXX_DiscardUnknown ¶
func (m *MsgAggregateExchangeRateVote) XXX_DiscardUnknown()
func (*MsgAggregateExchangeRateVote) XXX_Marshal ¶
func (m *MsgAggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAggregateExchangeRateVote) XXX_Merge ¶
func (m *MsgAggregateExchangeRateVote) XXX_Merge(src proto.Message)
func (*MsgAggregateExchangeRateVote) XXX_Size ¶
func (m *MsgAggregateExchangeRateVote) XXX_Size() int
func (*MsgAggregateExchangeRateVote) XXX_Unmarshal ¶
func (m *MsgAggregateExchangeRateVote) XXX_Unmarshal(b []byte) error
type MsgAggregateExchangeRateVoteResponse ¶
type MsgAggregateExchangeRateVoteResponse struct { }
MsgAggregateExchangeRateVoteResponse defines the Msg/AggregateExchangeRateVote response type.
func (*MsgAggregateExchangeRateVoteResponse) Descriptor ¶
func (*MsgAggregateExchangeRateVoteResponse) Descriptor() ([]byte, []int)
func (*MsgAggregateExchangeRateVoteResponse) Marshal ¶
func (m *MsgAggregateExchangeRateVoteResponse) Marshal() (dAtA []byte, err error)
func (*MsgAggregateExchangeRateVoteResponse) MarshalTo ¶
func (m *MsgAggregateExchangeRateVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRateVoteResponse) MarshalToSizedBuffer ¶
func (m *MsgAggregateExchangeRateVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAggregateExchangeRateVoteResponse) ProtoMessage ¶
func (*MsgAggregateExchangeRateVoteResponse) ProtoMessage()
func (*MsgAggregateExchangeRateVoteResponse) Reset ¶
func (m *MsgAggregateExchangeRateVoteResponse) Reset()
func (*MsgAggregateExchangeRateVoteResponse) Size ¶
func (m *MsgAggregateExchangeRateVoteResponse) Size() (n int)
func (*MsgAggregateExchangeRateVoteResponse) String ¶
func (m *MsgAggregateExchangeRateVoteResponse) String() string
func (*MsgAggregateExchangeRateVoteResponse) Unmarshal ¶
func (m *MsgAggregateExchangeRateVoteResponse) Unmarshal(dAtA []byte) error
func (*MsgAggregateExchangeRateVoteResponse) XXX_DiscardUnknown ¶
func (m *MsgAggregateExchangeRateVoteResponse) XXX_DiscardUnknown()
func (*MsgAggregateExchangeRateVoteResponse) XXX_Marshal ¶
func (m *MsgAggregateExchangeRateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAggregateExchangeRateVoteResponse) XXX_Merge ¶
func (m *MsgAggregateExchangeRateVoteResponse) XXX_Merge(src proto.Message)
func (*MsgAggregateExchangeRateVoteResponse) XXX_Size ¶
func (m *MsgAggregateExchangeRateVoteResponse) XXX_Size() int
func (*MsgAggregateExchangeRateVoteResponse) XXX_Unmarshal ¶
func (m *MsgAggregateExchangeRateVoteResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // AggregateExchangeRatePrevote defines a method for submitting an aggregate // exchange rate prevote. AggregateExchangeRatePrevote(ctx context.Context, in *MsgAggregateExchangeRatePrevote, opts ...grpc.CallOption) (*MsgAggregateExchangeRatePrevoteResponse, error) // AggregateExchangeRateVote defines a method for submitting an aggregate // exchange rate vote. AggregateExchangeRateVote(ctx context.Context, in *MsgAggregateExchangeRateVote, opts ...grpc.CallOption) (*MsgAggregateExchangeRateVoteResponse, error) // DelegateFeedConsent defines a method for setting the feeder delegation. DelegateFeedConsent(ctx context.Context, in *MsgDelegateFeedConsent, opts ...grpc.CallOption) (*MsgDelegateFeedConsentResponse, error) // LegacyGovUpdateParams defines the legacy message that updates the oracle parameters. LegacyGovUpdateParams(ctx context.Context, in *MsgLegacyGovUpdateParams, opts ...grpc.CallOption) (*MsgLegacyGovUpdateParamsResponse, error) // GovUpdateParams updates the oracle parameters. GovUpdateParams(ctx context.Context, in *MsgGovUpdateParams, opts ...grpc.CallOption) (*MsgGovUpdateParamsResponse, error) // GovAddDenoms updates the oracle parameters to include a new tokens. GovAddDenoms(ctx context.Context, in *MsgGovAddDenoms, opts ...grpc.CallOption) (*MsgGovAddDenomsResponse, error) // GovRemoveCurrencyPairProviders updates the oracle parameters to remove a list of // currency pair providers. GovRemoveCurrencyPairProviders(ctx context.Context, in *MsgGovRemoveCurrencyPairProviders, opts ...grpc.CallOption) (*MsgGovRemoveCurrencyPairProvidersResponse, error) // GovRemoveCurrencyDeviationThresholds updates the oracle parameters to remove a list // of currency deviation thresholds. GovRemoveCurrencyDeviationThresholds(ctx context.Context, in *MsgGovRemoveCurrencyDeviationThresholds, opts ...grpc.CallOption) (*MsgGovRemoveCurrencyDeviationThresholdsResponse, error) // GovCancelUpdateParamPlan cancels a plan to update the oracle parameters. GovCancelUpdateParamPlan(ctx context.Context, in *MsgGovCancelUpdateParamPlan, opts ...grpc.CallOption) (*MsgGovCancelUpdateParamPlanResponse, 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 MsgDelegateFeedConsent ¶
type MsgDelegateFeedConsent struct { // Operator is the author and the signer of the message. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` Delegate string `protobuf:"bytes,2,opt,name=delegate,proto3" json:"delegate,omitempty"` }
MsgDelegateFeedConsent represents a message to delegate oracle voting rights to another address.
func NewMsgDelegateFeedConsent ¶
func NewMsgDelegateFeedConsent(operatorAddress sdk.ValAddress, feederAddress sdk.AccAddress) *MsgDelegateFeedConsent
NewMsgDelegateFeedConsent creates a MsgDelegateFeedConsent instance
func (*MsgDelegateFeedConsent) Descriptor ¶
func (*MsgDelegateFeedConsent) Descriptor() ([]byte, []int)
func (MsgDelegateFeedConsent) GetSigners ¶
func (msg MsgDelegateFeedConsent) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgDelegateFeedConsent) Marshal ¶
func (m *MsgDelegateFeedConsent) Marshal() (dAtA []byte, err error)
func (*MsgDelegateFeedConsent) MarshalTo ¶
func (m *MsgDelegateFeedConsent) MarshalTo(dAtA []byte) (int, error)
func (*MsgDelegateFeedConsent) MarshalToSizedBuffer ¶
func (m *MsgDelegateFeedConsent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateFeedConsent) ProtoMessage ¶
func (*MsgDelegateFeedConsent) ProtoMessage()
func (*MsgDelegateFeedConsent) Reset ¶
func (m *MsgDelegateFeedConsent) Reset()
func (*MsgDelegateFeedConsent) Size ¶
func (m *MsgDelegateFeedConsent) Size() (n int)
func (*MsgDelegateFeedConsent) String ¶
func (m *MsgDelegateFeedConsent) String() string
func (MsgDelegateFeedConsent) Type ¶
func (msg MsgDelegateFeedConsent) Type() string
Type implements LegacyMsg interface
func (*MsgDelegateFeedConsent) Unmarshal ¶
func (m *MsgDelegateFeedConsent) Unmarshal(dAtA []byte) error
func (MsgDelegateFeedConsent) ValidateBasic ¶
func (msg MsgDelegateFeedConsent) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgDelegateFeedConsent) XXX_DiscardUnknown ¶
func (m *MsgDelegateFeedConsent) XXX_DiscardUnknown()
func (*MsgDelegateFeedConsent) XXX_Marshal ¶
func (m *MsgDelegateFeedConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateFeedConsent) XXX_Merge ¶
func (m *MsgDelegateFeedConsent) XXX_Merge(src proto.Message)
func (*MsgDelegateFeedConsent) XXX_Size ¶
func (m *MsgDelegateFeedConsent) XXX_Size() int
func (*MsgDelegateFeedConsent) XXX_Unmarshal ¶
func (m *MsgDelegateFeedConsent) XXX_Unmarshal(b []byte) error
type MsgDelegateFeedConsentResponse ¶
type MsgDelegateFeedConsentResponse struct { }
MsgDelegateFeedConsentResponse defines the Msg/DelegateFeedConsent response type.
func (*MsgDelegateFeedConsentResponse) Descriptor ¶
func (*MsgDelegateFeedConsentResponse) Descriptor() ([]byte, []int)
func (*MsgDelegateFeedConsentResponse) Marshal ¶
func (m *MsgDelegateFeedConsentResponse) Marshal() (dAtA []byte, err error)
func (*MsgDelegateFeedConsentResponse) MarshalTo ¶
func (m *MsgDelegateFeedConsentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDelegateFeedConsentResponse) MarshalToSizedBuffer ¶
func (m *MsgDelegateFeedConsentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateFeedConsentResponse) ProtoMessage ¶
func (*MsgDelegateFeedConsentResponse) ProtoMessage()
func (*MsgDelegateFeedConsentResponse) Reset ¶
func (m *MsgDelegateFeedConsentResponse) Reset()
func (*MsgDelegateFeedConsentResponse) Size ¶
func (m *MsgDelegateFeedConsentResponse) Size() (n int)
func (*MsgDelegateFeedConsentResponse) String ¶
func (m *MsgDelegateFeedConsentResponse) String() string
func (*MsgDelegateFeedConsentResponse) Unmarshal ¶
func (m *MsgDelegateFeedConsentResponse) Unmarshal(dAtA []byte) error
func (*MsgDelegateFeedConsentResponse) XXX_DiscardUnknown ¶
func (m *MsgDelegateFeedConsentResponse) XXX_DiscardUnknown()
func (*MsgDelegateFeedConsentResponse) XXX_Marshal ¶
func (m *MsgDelegateFeedConsentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateFeedConsentResponse) XXX_Merge ¶
func (m *MsgDelegateFeedConsentResponse) XXX_Merge(src proto.Message)
func (*MsgDelegateFeedConsentResponse) XXX_Size ¶
func (m *MsgDelegateFeedConsentResponse) XXX_Size() int
func (*MsgDelegateFeedConsentResponse) XXX_Unmarshal ¶
func (m *MsgDelegateFeedConsentResponse) XXX_Unmarshal(b []byte) error
type MsgGovAddDenoms ¶ added in v0.2.1
type MsgGovAddDenoms struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // title of the proposal Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // description of the proposal Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // height at which the param update must be performed Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // denom_list is the list of denoms to add to the oracle registry DenomList DenomList `protobuf:"bytes,5,rep,name=denom_list,json=denomList,proto3,castrepeated=DenomList" json:"denom_list"` // whether or not the assets should be mandatory Mandatory bool `protobuf:"varint,6,opt,name=mandatory,proto3" json:"mandatory,omitempty"` // reward_band determines what the reward_band will be for every // asset in the proposal. If not provided, it will default. RewardBand *cosmossdk_io_math.LegacyDec `` /* 152-byte string literal not displayed */ // currency_pair_providers defines the currency provider pairs for // each denom being added. CurrencyPairProviders CurrencyPairProvidersList `` /* 186-byte string literal not displayed */ // currency_deviation_thresholds defines the deviation thresholds // for each denom being added. CurrencyDeviationThresholds CurrencyDeviationThresholdList `` /* 215-byte string literal not displayed */ }
MsgGovAddDenoms defines the Msg/GovAddDenoms request type.
func NewMsgGovAddDenoms ¶ added in v0.2.1
func NewMsgGovAddDenoms( authority, title, description string, height int64, denoms DenomList, mandatory bool, rewardBand math.LegacyDec, currencyPairProviders CurrencyPairProvidersList, currencyDeviationThresholds CurrencyDeviationThresholdList, ) *MsgGovAddDenoms
NewMsgGovAddDenoms will creates a new NewMsgGovAddDenoms instance
func (*MsgGovAddDenoms) Descriptor ¶ added in v0.2.1
func (*MsgGovAddDenoms) Descriptor() ([]byte, []int)
func (*MsgGovAddDenoms) Equal ¶ added in v0.2.1
func (this *MsgGovAddDenoms) Equal(that interface{}) bool
func (*MsgGovAddDenoms) GetDescription ¶ added in v0.2.1
func (msg *MsgGovAddDenoms) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (MsgGovAddDenoms) GetSigners ¶ added in v0.2.1
func (msg MsgGovAddDenoms) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovAddDenoms) GetTitle ¶ added in v0.2.1
func (msg *MsgGovAddDenoms) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*MsgGovAddDenoms) Marshal ¶ added in v0.2.1
func (m *MsgGovAddDenoms) Marshal() (dAtA []byte, err error)
func (*MsgGovAddDenoms) MarshalTo ¶ added in v0.2.1
func (m *MsgGovAddDenoms) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovAddDenoms) MarshalToSizedBuffer ¶ added in v0.2.1
func (m *MsgGovAddDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovAddDenoms) ProposalRoute ¶ added in v0.2.1
func (msg *MsgGovAddDenoms) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*MsgGovAddDenoms) ProposalType ¶ added in v0.2.1
func (msg *MsgGovAddDenoms) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*MsgGovAddDenoms) ProtoMessage ¶ added in v0.2.1
func (*MsgGovAddDenoms) ProtoMessage()
func (*MsgGovAddDenoms) Reset ¶ added in v0.2.1
func (m *MsgGovAddDenoms) Reset()
func (*MsgGovAddDenoms) Size ¶ added in v0.2.1
func (m *MsgGovAddDenoms) Size() (n int)
func (MsgGovAddDenoms) String ¶ added in v0.2.1
func (msg MsgGovAddDenoms) String() string
String implements the Stringer interface.
func (MsgGovAddDenoms) Type ¶ added in v0.2.1
func (msg MsgGovAddDenoms) Type() string
Type implements Msg interface
func (*MsgGovAddDenoms) Unmarshal ¶ added in v0.2.1
func (m *MsgGovAddDenoms) Unmarshal(dAtA []byte) error
func (MsgGovAddDenoms) ValidateBasic ¶ added in v0.2.1
func (msg MsgGovAddDenoms) ValidateBasic() error
ValidateBasic implements Msg
func (*MsgGovAddDenoms) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *MsgGovAddDenoms) XXX_DiscardUnknown()
func (*MsgGovAddDenoms) XXX_Marshal ¶ added in v0.2.1
func (m *MsgGovAddDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovAddDenoms) XXX_Merge ¶ added in v0.2.1
func (m *MsgGovAddDenoms) XXX_Merge(src proto.Message)
func (*MsgGovAddDenoms) XXX_Size ¶ added in v0.2.1
func (m *MsgGovAddDenoms) XXX_Size() int
func (*MsgGovAddDenoms) XXX_Unmarshal ¶ added in v0.2.1
func (m *MsgGovAddDenoms) XXX_Unmarshal(b []byte) error
type MsgGovAddDenomsResponse ¶ added in v0.2.1
type MsgGovAddDenomsResponse struct { }
MsgGovAddDenomResponse defines the Msg/GovAddDenomResponse response type.
func (*MsgGovAddDenomsResponse) Descriptor ¶ added in v0.2.1
func (*MsgGovAddDenomsResponse) Descriptor() ([]byte, []int)
func (*MsgGovAddDenomsResponse) Marshal ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovAddDenomsResponse) MarshalTo ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovAddDenomsResponse) MarshalToSizedBuffer ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovAddDenomsResponse) ProtoMessage ¶ added in v0.2.1
func (*MsgGovAddDenomsResponse) ProtoMessage()
func (*MsgGovAddDenomsResponse) Reset ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) Reset()
func (*MsgGovAddDenomsResponse) Size ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) Size() (n int)
func (*MsgGovAddDenomsResponse) String ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) String() string
func (*MsgGovAddDenomsResponse) Unmarshal ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) Unmarshal(dAtA []byte) error
func (*MsgGovAddDenomsResponse) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) XXX_DiscardUnknown()
func (*MsgGovAddDenomsResponse) XXX_Marshal ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovAddDenomsResponse) XXX_Merge ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) XXX_Merge(src proto.Message)
func (*MsgGovAddDenomsResponse) XXX_Size ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) XXX_Size() int
func (*MsgGovAddDenomsResponse) XXX_Unmarshal ¶ added in v0.2.1
func (m *MsgGovAddDenomsResponse) XXX_Unmarshal(b []byte) error
type MsgGovCancelUpdateParamPlan ¶ added in v0.2.2
type MsgGovCancelUpdateParamPlan struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // title of the proposal Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // description of the proposal Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // height of param update plan to cancel Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` }
MsgGovCancelUpdateParamPlan defines the Msg/GovCancelUpdateParamPlan request type.
func NewMsgGovCancelUpdateParamPlan ¶ added in v0.2.2
func NewMsgGovCancelUpdateParamPlan(authority, title, description string) *MsgGovCancelUpdateParamPlan
NewMsgGovCancelUpdateParamPlan will creates a new MsgGovCancelUpdateParamPlan instance
func (*MsgGovCancelUpdateParamPlan) Descriptor ¶ added in v0.2.2
func (*MsgGovCancelUpdateParamPlan) Descriptor() ([]byte, []int)
func (*MsgGovCancelUpdateParamPlan) Equal ¶ added in v0.2.2
func (this *MsgGovCancelUpdateParamPlan) Equal(that interface{}) bool
func (*MsgGovCancelUpdateParamPlan) GetDescription ¶ added in v0.2.2
func (msg *MsgGovCancelUpdateParamPlan) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (MsgGovCancelUpdateParamPlan) GetSigners ¶ added in v0.2.2
func (msg MsgGovCancelUpdateParamPlan) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovCancelUpdateParamPlan) GetTitle ¶ added in v0.2.2
func (msg *MsgGovCancelUpdateParamPlan) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*MsgGovCancelUpdateParamPlan) Marshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) Marshal() (dAtA []byte, err error)
func (*MsgGovCancelUpdateParamPlan) MarshalTo ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovCancelUpdateParamPlan) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovCancelUpdateParamPlan) ProposalRoute ¶ added in v0.2.2
func (msg *MsgGovCancelUpdateParamPlan) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*MsgGovCancelUpdateParamPlan) ProposalType ¶ added in v0.2.2
func (msg *MsgGovCancelUpdateParamPlan) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*MsgGovCancelUpdateParamPlan) ProtoMessage ¶ added in v0.2.2
func (*MsgGovCancelUpdateParamPlan) ProtoMessage()
func (*MsgGovCancelUpdateParamPlan) Reset ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) Reset()
func (*MsgGovCancelUpdateParamPlan) Size ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) Size() (n int)
func (MsgGovCancelUpdateParamPlan) String ¶ added in v0.2.2
func (msg MsgGovCancelUpdateParamPlan) String() string
String implements the Stringer interface.
func (MsgGovCancelUpdateParamPlan) Type ¶ added in v0.2.2
func (msg MsgGovCancelUpdateParamPlan) Type() string
Type implements Msg interface
func (*MsgGovCancelUpdateParamPlan) Unmarshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) Unmarshal(dAtA []byte) error
func (MsgGovCancelUpdateParamPlan) ValidateBasic ¶ added in v0.2.2
func (msg MsgGovCancelUpdateParamPlan) ValidateBasic() error
ValidateBasic implements Msg
func (*MsgGovCancelUpdateParamPlan) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) XXX_DiscardUnknown()
func (*MsgGovCancelUpdateParamPlan) XXX_Marshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovCancelUpdateParamPlan) XXX_Merge ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) XXX_Merge(src proto.Message)
func (*MsgGovCancelUpdateParamPlan) XXX_Size ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) XXX_Size() int
func (*MsgGovCancelUpdateParamPlan) XXX_Unmarshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlan) XXX_Unmarshal(b []byte) error
type MsgGovCancelUpdateParamPlanResponse ¶ added in v0.2.2
type MsgGovCancelUpdateParamPlanResponse struct { }
MsgGovCancelUpdateParamPlanResponse defines the Msg/GovCancelUpdateParamPlanResponse response type.
func (*MsgGovCancelUpdateParamPlanResponse) Descriptor ¶ added in v0.2.2
func (*MsgGovCancelUpdateParamPlanResponse) Descriptor() ([]byte, []int)
func (*MsgGovCancelUpdateParamPlanResponse) Marshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovCancelUpdateParamPlanResponse) MarshalTo ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovCancelUpdateParamPlanResponse) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovCancelUpdateParamPlanResponse) ProtoMessage ¶ added in v0.2.2
func (*MsgGovCancelUpdateParamPlanResponse) ProtoMessage()
func (*MsgGovCancelUpdateParamPlanResponse) Reset ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) Reset()
func (*MsgGovCancelUpdateParamPlanResponse) Size ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) Size() (n int)
func (*MsgGovCancelUpdateParamPlanResponse) String ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) String() string
func (*MsgGovCancelUpdateParamPlanResponse) Unmarshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) Unmarshal(dAtA []byte) error
func (*MsgGovCancelUpdateParamPlanResponse) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) XXX_DiscardUnknown()
func (*MsgGovCancelUpdateParamPlanResponse) XXX_Marshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovCancelUpdateParamPlanResponse) XXX_Merge ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Merge(src proto.Message)
func (*MsgGovCancelUpdateParamPlanResponse) XXX_Size ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Size() int
func (*MsgGovCancelUpdateParamPlanResponse) XXX_Unmarshal ¶ added in v0.2.2
func (m *MsgGovCancelUpdateParamPlanResponse) XXX_Unmarshal(b []byte) error
type MsgGovRemoveCurrencyDeviationThresholds ¶ added in v0.2.2
type MsgGovRemoveCurrencyDeviationThresholds struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // title of the proposal Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // description of the proposal Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // height at which the param update must be performed Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // currencies to remove from the current CurrencyDeviationThresholdsList Currencies []string `protobuf:"bytes,5,rep,name=currencies,proto3" json:"currencies,omitempty"` }
MsgGovRemoveCurrencyDeviationThresholds defines the Msg/GovRemoveCurrencyDeviationThresholds request type.
func NewMsgGovRemoveCurrencyDeviationThresholds ¶ added in v0.2.2
func NewMsgGovRemoveCurrencyDeviationThresholds( authority, title, description string, height int64, currencies []string, ) *MsgGovRemoveCurrencyDeviationThresholds
NewMsgGovRemoveCurrencyDeviationThresholds will creates a new NewMsgGovRemoveCurrencyDeviationThresholds instance
func (*MsgGovRemoveCurrencyDeviationThresholds) Descriptor ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyDeviationThresholds) Descriptor() ([]byte, []int)
func (*MsgGovRemoveCurrencyDeviationThresholds) Equal ¶ added in v0.2.2
func (this *MsgGovRemoveCurrencyDeviationThresholds) Equal(that interface{}) bool
func (*MsgGovRemoveCurrencyDeviationThresholds) GetDescription ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyDeviationThresholds) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (MsgGovRemoveCurrencyDeviationThresholds) GetSigners ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyDeviationThresholds) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovRemoveCurrencyDeviationThresholds) GetTitle ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyDeviationThresholds) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*MsgGovRemoveCurrencyDeviationThresholds) Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) Marshal() (dAtA []byte, err error)
func (*MsgGovRemoveCurrencyDeviationThresholds) MarshalTo ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyDeviationThresholds) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyDeviationThresholds) ProposalRoute ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyDeviationThresholds) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*MsgGovRemoveCurrencyDeviationThresholds) ProposalType ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyDeviationThresholds) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*MsgGovRemoveCurrencyDeviationThresholds) ProtoMessage ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyDeviationThresholds) ProtoMessage()
func (*MsgGovRemoveCurrencyDeviationThresholds) Reset ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) Reset()
func (*MsgGovRemoveCurrencyDeviationThresholds) Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) Size() (n int)
func (MsgGovRemoveCurrencyDeviationThresholds) String ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyDeviationThresholds) String() string
String implements the Stringer interface.
func (MsgGovRemoveCurrencyDeviationThresholds) Type ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyDeviationThresholds) Type() string
Type implements Msg interface
func (*MsgGovRemoveCurrencyDeviationThresholds) Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) Unmarshal(dAtA []byte) error
func (MsgGovRemoveCurrencyDeviationThresholds) ValidateBasic ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyDeviationThresholds) ValidateBasic() error
ValidateBasic implements Msg
func (*MsgGovRemoveCurrencyDeviationThresholds) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_DiscardUnknown()
func (*MsgGovRemoveCurrencyDeviationThresholds) XXX_Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovRemoveCurrencyDeviationThresholds) XXX_Merge ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Merge(src proto.Message)
func (*MsgGovRemoveCurrencyDeviationThresholds) XXX_Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Size() int
func (*MsgGovRemoveCurrencyDeviationThresholds) XXX_Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholds) XXX_Unmarshal(b []byte) error
type MsgGovRemoveCurrencyDeviationThresholdsResponse ¶ added in v0.2.2
type MsgGovRemoveCurrencyDeviationThresholdsResponse struct { }
MsgGovRemoveCurrencyDeviationThresholdsResponse defines the Msg/GovRemoveCurrencyDeviationThresholdsResponse response type.
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Descriptor ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Descriptor() ([]byte, []int)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) MarshalTo ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) ProtoMessage ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) ProtoMessage()
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Reset ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Reset()
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Size() (n int)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) String ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) String() string
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) Unmarshal(dAtA []byte) error
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_DiscardUnknown()
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Merge ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Merge(src proto.Message)
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Size() int
func (*MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyDeviationThresholdsResponse) XXX_Unmarshal(b []byte) error
type MsgGovRemoveCurrencyPairProviders ¶ added in v0.2.2
type MsgGovRemoveCurrencyPairProviders struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // title of the proposal Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // description of the proposal Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // height at which the param update must be performed Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // currency_pair_providers to remove from the current CurrencyPairProvidersList CurrencyPairProviders CurrencyPairProvidersList `` /* 186-byte string literal not displayed */ }
MsgGovRemoveCurrencyPairProviders defines the Msg/GovRemoveCurrencyPairProviders request type.
func NewMsgGovRemoveCurrencyPairProviders ¶ added in v0.2.2
func NewMsgGovRemoveCurrencyPairProviders( authority, title, description string, height int64, currencyPairProviders CurrencyPairProvidersList, ) *MsgGovRemoveCurrencyPairProviders
NewMsgGovRemoveCurrencyPairProviders will creates a new NewMsgGovRemoveCurrencyPairProviders instance
func (*MsgGovRemoveCurrencyPairProviders) Descriptor ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyPairProviders) Descriptor() ([]byte, []int)
func (*MsgGovRemoveCurrencyPairProviders) Equal ¶ added in v0.2.2
func (this *MsgGovRemoveCurrencyPairProviders) Equal(that interface{}) bool
func (*MsgGovRemoveCurrencyPairProviders) GetDescription ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyPairProviders) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (MsgGovRemoveCurrencyPairProviders) GetSigners ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyPairProviders) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovRemoveCurrencyPairProviders) GetTitle ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyPairProviders) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*MsgGovRemoveCurrencyPairProviders) Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) Marshal() (dAtA []byte, err error)
func (*MsgGovRemoveCurrencyPairProviders) MarshalTo ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyPairProviders) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyPairProviders) ProposalRoute ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyPairProviders) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*MsgGovRemoveCurrencyPairProviders) ProposalType ¶ added in v0.2.2
func (msg *MsgGovRemoveCurrencyPairProviders) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*MsgGovRemoveCurrencyPairProviders) ProtoMessage ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyPairProviders) ProtoMessage()
func (*MsgGovRemoveCurrencyPairProviders) Reset ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) Reset()
func (*MsgGovRemoveCurrencyPairProviders) Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) Size() (n int)
func (MsgGovRemoveCurrencyPairProviders) String ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyPairProviders) String() string
String implements the Stringer interface.
func (MsgGovRemoveCurrencyPairProviders) Type ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyPairProviders) Type() string
Type implements Msg interface
func (*MsgGovRemoveCurrencyPairProviders) Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) Unmarshal(dAtA []byte) error
func (MsgGovRemoveCurrencyPairProviders) ValidateBasic ¶ added in v0.2.2
func (msg MsgGovRemoveCurrencyPairProviders) ValidateBasic() error
ValidateBasic implements Msg
func (*MsgGovRemoveCurrencyPairProviders) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) XXX_DiscardUnknown()
func (*MsgGovRemoveCurrencyPairProviders) XXX_Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovRemoveCurrencyPairProviders) XXX_Merge ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) XXX_Merge(src proto.Message)
func (*MsgGovRemoveCurrencyPairProviders) XXX_Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) XXX_Size() int
func (*MsgGovRemoveCurrencyPairProviders) XXX_Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProviders) XXX_Unmarshal(b []byte) error
type MsgGovRemoveCurrencyPairProvidersResponse ¶ added in v0.2.2
type MsgGovRemoveCurrencyPairProvidersResponse struct { }
MsgGovRemoveCurrencyPairProvidersResponse defines the Msg/GovRemoveCurrencyPairProvidersResponse response type.
func (*MsgGovRemoveCurrencyPairProvidersResponse) Descriptor ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyPairProvidersResponse) Descriptor() ([]byte, []int)
func (*MsgGovRemoveCurrencyPairProvidersResponse) Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovRemoveCurrencyPairProvidersResponse) MarshalTo ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyPairProvidersResponse) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovRemoveCurrencyPairProvidersResponse) ProtoMessage ¶ added in v0.2.2
func (*MsgGovRemoveCurrencyPairProvidersResponse) ProtoMessage()
func (*MsgGovRemoveCurrencyPairProvidersResponse) Reset ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) Reset()
func (*MsgGovRemoveCurrencyPairProvidersResponse) Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) Size() (n int)
func (*MsgGovRemoveCurrencyPairProvidersResponse) String ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) String() string
func (*MsgGovRemoveCurrencyPairProvidersResponse) Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) Unmarshal(dAtA []byte) error
func (*MsgGovRemoveCurrencyPairProvidersResponse) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_DiscardUnknown()
func (*MsgGovRemoveCurrencyPairProvidersResponse) XXX_Marshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovRemoveCurrencyPairProvidersResponse) XXX_Merge ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Merge(src proto.Message)
func (*MsgGovRemoveCurrencyPairProvidersResponse) XXX_Size ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Size() int
func (*MsgGovRemoveCurrencyPairProvidersResponse) XXX_Unmarshal ¶ added in v0.2.2
func (m *MsgGovRemoveCurrencyPairProvidersResponse) XXX_Unmarshal(b []byte) error
type MsgGovUpdateParams ¶ added in v0.1.3
type MsgGovUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // title of the proposal Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // description of the proposal Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // plan is the param update plan Plan ParamUpdatePlan `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan"` }
MsgGovUpdateParams defines the Msg/GovUpdateParams request type.
func NewMsgUpdateParams ¶ added in v0.1.3
func NewMsgUpdateParams(authority, title, description string, plan ParamUpdatePlan) *MsgGovUpdateParams
NewMsgUpdateParams will creates a new MsgUpdateParams instance
func (*MsgGovUpdateParams) Descriptor ¶ added in v0.1.3
func (*MsgGovUpdateParams) Descriptor() ([]byte, []int)
func (*MsgGovUpdateParams) Equal ¶ added in v0.1.3
func (this *MsgGovUpdateParams) Equal(that interface{}) bool
func (*MsgGovUpdateParams) GetDescription ¶ added in v0.1.3
func (msg *MsgGovUpdateParams) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (MsgGovUpdateParams) GetSigners ¶ added in v0.1.3
func (msg MsgGovUpdateParams) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGovUpdateParams) GetTitle ¶ added in v0.1.3
func (msg *MsgGovUpdateParams) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*MsgGovUpdateParams) Marshal ¶ added in v0.1.3
func (m *MsgGovUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgGovUpdateParams) MarshalTo ¶ added in v0.1.3
func (m *MsgGovUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovUpdateParams) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *MsgGovUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovUpdateParams) ProposalRoute ¶ added in v0.1.3
func (msg *MsgGovUpdateParams) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*MsgGovUpdateParams) ProposalType ¶ added in v0.1.3
func (msg *MsgGovUpdateParams) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*MsgGovUpdateParams) ProtoMessage ¶ added in v0.1.3
func (*MsgGovUpdateParams) ProtoMessage()
func (*MsgGovUpdateParams) Reset ¶ added in v0.1.3
func (m *MsgGovUpdateParams) Reset()
func (*MsgGovUpdateParams) Size ¶ added in v0.1.3
func (m *MsgGovUpdateParams) Size() (n int)
func (MsgGovUpdateParams) String ¶ added in v0.1.3
func (msg MsgGovUpdateParams) String() string
String implements the Stringer interface.
func (MsgGovUpdateParams) Type ¶ added in v0.1.3
func (msg MsgGovUpdateParams) Type() string
Type implements Msg interface
func (*MsgGovUpdateParams) Unmarshal ¶ added in v0.1.3
func (m *MsgGovUpdateParams) Unmarshal(dAtA []byte) error
func (MsgGovUpdateParams) ValidateBasic ¶ added in v0.1.3
func (msg MsgGovUpdateParams) ValidateBasic() error
ValidateBasic implements Msg and validates params for each param key specified in the proposal. If one param is invalid, the whole proposal will fail to go through.
func (*MsgGovUpdateParams) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *MsgGovUpdateParams) XXX_DiscardUnknown()
func (*MsgGovUpdateParams) XXX_Marshal ¶ added in v0.1.3
func (m *MsgGovUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovUpdateParams) XXX_Merge ¶ added in v0.1.3
func (m *MsgGovUpdateParams) XXX_Merge(src proto.Message)
func (*MsgGovUpdateParams) XXX_Size ¶ added in v0.1.3
func (m *MsgGovUpdateParams) XXX_Size() int
func (*MsgGovUpdateParams) XXX_Unmarshal ¶ added in v0.1.3
func (m *MsgGovUpdateParams) XXX_Unmarshal(b []byte) error
type MsgGovUpdateParamsResponse ¶ added in v0.1.3
type MsgGovUpdateParamsResponse struct { }
MsgGovUpdateParamsResponse defines the Msg/GovUpdateParams response type.
func (*MsgGovUpdateParamsResponse) Descriptor ¶ added in v0.1.3
func (*MsgGovUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgGovUpdateParamsResponse) Marshal ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovUpdateParamsResponse) MarshalTo ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovUpdateParamsResponse) ProtoMessage ¶ added in v0.1.3
func (*MsgGovUpdateParamsResponse) ProtoMessage()
func (*MsgGovUpdateParamsResponse) Reset ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) Reset()
func (*MsgGovUpdateParamsResponse) Size ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) Size() (n int)
func (*MsgGovUpdateParamsResponse) String ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) String() string
func (*MsgGovUpdateParamsResponse) Unmarshal ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgGovUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgGovUpdateParamsResponse) XXX_Marshal ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovUpdateParamsResponse) XXX_Merge ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgGovUpdateParamsResponse) XXX_Size ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) XXX_Size() int
func (*MsgGovUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.1.3
func (m *MsgGovUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgLegacyGovUpdateParams ¶ added in v0.4.1
type MsgLegacyGovUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Keys []string `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` Changes Params `protobuf:"bytes,5,opt,name=changes,proto3" json:"changes"` }
MsgLegacyGovUpdateParams defines the Msg/MsgLegacyGovUpdateParams request type.
func NewLegacyMsgUpdateParams ¶ added in v0.4.1
func NewLegacyMsgUpdateParams( authority string, title string, description string, keys []string, changes Params, ) *MsgLegacyGovUpdateParams
NewLegacyMsgUpdateParams will creates a new LegacyMsgUpdateParams instance
func (*MsgLegacyGovUpdateParams) Descriptor ¶ added in v0.4.1
func (*MsgLegacyGovUpdateParams) Descriptor() ([]byte, []int)
func (*MsgLegacyGovUpdateParams) Equal ¶ added in v0.4.1
func (this *MsgLegacyGovUpdateParams) Equal(that interface{}) bool
func (*MsgLegacyGovUpdateParams) GetDescription ¶ added in v0.4.1
func (msg *MsgLegacyGovUpdateParams) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (MsgLegacyGovUpdateParams) GetSigners ¶ added in v0.4.1
func (msg MsgLegacyGovUpdateParams) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgLegacyGovUpdateParams) GetTitle ¶ added in v0.4.1
func (msg *MsgLegacyGovUpdateParams) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*MsgLegacyGovUpdateParams) Marshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgLegacyGovUpdateParams) MarshalTo ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgLegacyGovUpdateParams) MarshalToSizedBuffer ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLegacyGovUpdateParams) ProposalRoute ¶ added in v0.4.1
func (msg *MsgLegacyGovUpdateParams) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*MsgLegacyGovUpdateParams) ProposalType ¶ added in v0.4.1
func (msg *MsgLegacyGovUpdateParams) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*MsgLegacyGovUpdateParams) ProtoMessage ¶ added in v0.4.1
func (*MsgLegacyGovUpdateParams) ProtoMessage()
func (*MsgLegacyGovUpdateParams) Reset ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) Reset()
func (*MsgLegacyGovUpdateParams) Size ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) Size() (n int)
func (MsgLegacyGovUpdateParams) String ¶ added in v0.4.1
func (msg MsgLegacyGovUpdateParams) String() string
String implements the Stringer interface.
func (MsgLegacyGovUpdateParams) Type ¶ added in v0.4.1
func (msg MsgLegacyGovUpdateParams) Type() string
Type implements Msg interface
func (*MsgLegacyGovUpdateParams) Unmarshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) Unmarshal(dAtA []byte) error
func (MsgLegacyGovUpdateParams) ValidateBasic ¶ added in v0.4.1
func (msg MsgLegacyGovUpdateParams) ValidateBasic() error
ValidateBasic implements Msg and validates params for each param key specified in the proposal. If one param is invalid, the whole proposal will fail to go through.
func (*MsgLegacyGovUpdateParams) XXX_DiscardUnknown ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) XXX_DiscardUnknown()
func (*MsgLegacyGovUpdateParams) XXX_Marshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLegacyGovUpdateParams) XXX_Merge ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) XXX_Merge(src proto.Message)
func (*MsgLegacyGovUpdateParams) XXX_Size ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) XXX_Size() int
func (*MsgLegacyGovUpdateParams) XXX_Unmarshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParams) XXX_Unmarshal(b []byte) error
type MsgLegacyGovUpdateParamsResponse ¶ added in v0.4.1
type MsgLegacyGovUpdateParamsResponse struct { }
MsgLegacyGovUpdateParams defines the Msg/MsgLegacyGovUpdateParams response type.
func (*MsgLegacyGovUpdateParamsResponse) Descriptor ¶ added in v0.4.1
func (*MsgLegacyGovUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgLegacyGovUpdateParamsResponse) Marshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgLegacyGovUpdateParamsResponse) MarshalTo ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLegacyGovUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLegacyGovUpdateParamsResponse) ProtoMessage ¶ added in v0.4.1
func (*MsgLegacyGovUpdateParamsResponse) ProtoMessage()
func (*MsgLegacyGovUpdateParamsResponse) Reset ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) Reset()
func (*MsgLegacyGovUpdateParamsResponse) Size ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) Size() (n int)
func (*MsgLegacyGovUpdateParamsResponse) String ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) String() string
func (*MsgLegacyGovUpdateParamsResponse) Unmarshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgLegacyGovUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgLegacyGovUpdateParamsResponse) XXX_Marshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLegacyGovUpdateParamsResponse) XXX_Merge ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgLegacyGovUpdateParamsResponse) XXX_Size ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) XXX_Size() int
func (*MsgLegacyGovUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.4.1
func (m *MsgLegacyGovUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // AggregateExchangeRatePrevote defines a method for submitting an aggregate // exchange rate prevote. AggregateExchangeRatePrevote(context.Context, *MsgAggregateExchangeRatePrevote) (*MsgAggregateExchangeRatePrevoteResponse, error) // AggregateExchangeRateVote defines a method for submitting an aggregate // exchange rate vote. AggregateExchangeRateVote(context.Context, *MsgAggregateExchangeRateVote) (*MsgAggregateExchangeRateVoteResponse, error) // DelegateFeedConsent defines a method for setting the feeder delegation. DelegateFeedConsent(context.Context, *MsgDelegateFeedConsent) (*MsgDelegateFeedConsentResponse, error) // LegacyGovUpdateParams defines the legacy message that updates the oracle parameters. LegacyGovUpdateParams(context.Context, *MsgLegacyGovUpdateParams) (*MsgLegacyGovUpdateParamsResponse, error) // GovUpdateParams updates the oracle parameters. GovUpdateParams(context.Context, *MsgGovUpdateParams) (*MsgGovUpdateParamsResponse, error) // GovAddDenoms updates the oracle parameters to include a new tokens. GovAddDenoms(context.Context, *MsgGovAddDenoms) (*MsgGovAddDenomsResponse, error) // GovRemoveCurrencyPairProviders updates the oracle parameters to remove a list of // currency pair providers. GovRemoveCurrencyPairProviders(context.Context, *MsgGovRemoveCurrencyPairProviders) (*MsgGovRemoveCurrencyPairProvidersResponse, error) // GovRemoveCurrencyDeviationThresholds updates the oracle parameters to remove a list // of currency deviation thresholds. GovRemoveCurrencyDeviationThresholds(context.Context, *MsgGovRemoveCurrencyDeviationThresholds) (*MsgGovRemoveCurrencyDeviationThresholdsResponse, error) // GovCancelUpdateParamPlan cancels a plan to update the oracle parameters. GovCancelUpdateParamPlan(context.Context, *MsgGovCancelUpdateParamPlan) (*MsgGovCancelUpdateParamPlanResponse, error) }
MsgServer is the server API for Msg service.
type OracleVoteExtension ¶ added in v0.4.1
type OracleVoteExtension struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` ExchangeRates github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */ GasEstimates []GasEstimate `protobuf:"bytes,3,rep,name=gas_estimates,json=gasEstimates,proto3" json:"gas_estimates"` }
OracleVoteExtension defines the vote extension structure used by the oracle module.
func (*OracleVoteExtension) Descriptor ¶ added in v0.4.1
func (*OracleVoteExtension) Descriptor() ([]byte, []int)
func (*OracleVoteExtension) Marshal ¶ added in v0.4.1
func (m *OracleVoteExtension) Marshal() (dAtA []byte, err error)
func (*OracleVoteExtension) MarshalTo ¶ added in v0.4.1
func (m *OracleVoteExtension) MarshalTo(dAtA []byte) (int, error)
func (*OracleVoteExtension) MarshalToSizedBuffer ¶ added in v0.4.1
func (m *OracleVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleVoteExtension) ProtoMessage ¶ added in v0.4.1
func (*OracleVoteExtension) ProtoMessage()
func (*OracleVoteExtension) Reset ¶ added in v0.4.1
func (m *OracleVoteExtension) Reset()
func (*OracleVoteExtension) Size ¶ added in v0.4.1
func (m *OracleVoteExtension) Size() (n int)
func (*OracleVoteExtension) String ¶ added in v0.4.1
func (m *OracleVoteExtension) String() string
func (*OracleVoteExtension) Unmarshal ¶ added in v0.4.1
func (m *OracleVoteExtension) Unmarshal(dAtA []byte) error
func (*OracleVoteExtension) XXX_DiscardUnknown ¶ added in v0.4.1
func (m *OracleVoteExtension) XXX_DiscardUnknown()
func (*OracleVoteExtension) XXX_Marshal ¶ added in v0.4.1
func (m *OracleVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleVoteExtension) XXX_Merge ¶ added in v0.4.1
func (m *OracleVoteExtension) XXX_Merge(src proto.Message)
func (*OracleVoteExtension) XXX_Size ¶ added in v0.4.1
func (m *OracleVoteExtension) XXX_Size() int
func (*OracleVoteExtension) XXX_Unmarshal ¶ added in v0.4.1
func (m *OracleVoteExtension) XXX_Unmarshal(b []byte) error
type PairAddressProvider ¶ added in v0.2.2
type PairAddressProvider struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` AddressProvider string `` /* 130-byte string literal not displayed */ }
PairAddressProvider defines the uniswap pair address and provider for uniswap currency pair.
func (*PairAddressProvider) Descriptor ¶ added in v0.2.2
func (*PairAddressProvider) Descriptor() ([]byte, []int)
func (*PairAddressProvider) Marshal ¶ added in v0.2.2
func (m *PairAddressProvider) Marshal() (dAtA []byte, err error)
func (*PairAddressProvider) MarshalTo ¶ added in v0.2.2
func (m *PairAddressProvider) MarshalTo(dAtA []byte) (int, error)
func (*PairAddressProvider) MarshalToSizedBuffer ¶ added in v0.2.2
func (m *PairAddressProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PairAddressProvider) ProtoMessage ¶ added in v0.2.2
func (*PairAddressProvider) ProtoMessage()
func (*PairAddressProvider) Reset ¶ added in v0.2.2
func (m *PairAddressProvider) Reset()
func (*PairAddressProvider) Size ¶ added in v0.2.2
func (m *PairAddressProvider) Size() (n int)
func (*PairAddressProvider) String ¶ added in v0.2.2
func (m *PairAddressProvider) String() string
func (*PairAddressProvider) Unmarshal ¶ added in v0.2.2
func (m *PairAddressProvider) Unmarshal(dAtA []byte) error
func (*PairAddressProvider) XXX_DiscardUnknown ¶ added in v0.2.2
func (m *PairAddressProvider) XXX_DiscardUnknown()
func (*PairAddressProvider) XXX_Marshal ¶ added in v0.2.2
func (m *PairAddressProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PairAddressProvider) XXX_Merge ¶ added in v0.2.2
func (m *PairAddressProvider) XXX_Merge(src proto.Message)
func (*PairAddressProvider) XXX_Size ¶ added in v0.2.2
func (m *PairAddressProvider) XXX_Size() int
func (*PairAddressProvider) XXX_Unmarshal ¶ added in v0.2.2
func (m *PairAddressProvider) XXX_Unmarshal(b []byte) error
type ParamUpdatePlan ¶ added in v0.2.1
type ParamUpdatePlan struct { // Store keys of the Oracle params getting updated. Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // The height at which the param update must be performed. Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // Changes to the oracle parameters. Changes Params `protobuf:"bytes,3,opt,name=changes,proto3" json:"changes"` }
ParamUpdatePlan specifies updates to the Oracle module parameters and at which block height they should occur.
func (*ParamUpdatePlan) Descriptor ¶ added in v0.2.1
func (*ParamUpdatePlan) Descriptor() ([]byte, []int)
func (ParamUpdatePlan) DueAt ¶ added in v0.2.1
func (p ParamUpdatePlan) DueAt() string
DueAt is a string representation of when this plan is due to be executed
func (*ParamUpdatePlan) Equal ¶ added in v0.2.1
func (this *ParamUpdatePlan) Equal(that interface{}) bool
func (*ParamUpdatePlan) Marshal ¶ added in v0.2.1
func (m *ParamUpdatePlan) Marshal() (dAtA []byte, err error)
func (*ParamUpdatePlan) MarshalTo ¶ added in v0.2.1
func (m *ParamUpdatePlan) MarshalTo(dAtA []byte) (int, error)
func (*ParamUpdatePlan) MarshalToSizedBuffer ¶ added in v0.2.1
func (m *ParamUpdatePlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamUpdatePlan) ProtoMessage ¶ added in v0.2.1
func (*ParamUpdatePlan) ProtoMessage()
func (*ParamUpdatePlan) Reset ¶ added in v0.2.1
func (m *ParamUpdatePlan) Reset()
func (ParamUpdatePlan) ShouldExecute ¶ added in v0.2.1
func (p ParamUpdatePlan) ShouldExecute(ctx sdk.Context) bool
ShouldExecute returns true if the Plan is ready to execute given the current context
func (*ParamUpdatePlan) Size ¶ added in v0.2.1
func (m *ParamUpdatePlan) Size() (n int)
func (ParamUpdatePlan) String ¶ added in v0.2.1
func (p ParamUpdatePlan) String() string
func (*ParamUpdatePlan) Unmarshal ¶ added in v0.2.1
func (m *ParamUpdatePlan) Unmarshal(dAtA []byte) error
func (ParamUpdatePlan) ValidateBasic ¶ added in v0.2.1
func (p ParamUpdatePlan) ValidateBasic() error
ValidateBasic does basic validation of a ParamUpdatePlan
func (*ParamUpdatePlan) XXX_DiscardUnknown ¶ added in v0.2.1
func (m *ParamUpdatePlan) XXX_DiscardUnknown()
func (*ParamUpdatePlan) XXX_Marshal ¶ added in v0.2.1
func (m *ParamUpdatePlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamUpdatePlan) XXX_Merge ¶ added in v0.2.1
func (m *ParamUpdatePlan) XXX_Merge(src proto.Message)
func (*ParamUpdatePlan) XXX_Size ¶ added in v0.2.1
func (m *ParamUpdatePlan) XXX_Size() int
func (*ParamUpdatePlan) XXX_Unmarshal ¶ added in v0.2.1
func (m *ParamUpdatePlan) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { VotePeriod uint64 `protobuf:"varint,1,opt,name=vote_period,json=votePeriod,proto3" json:"vote_period,omitempty" yaml:"vote_period"` VoteThreshold cosmossdk_io_math.LegacyDec `` /* 151-byte string literal not displayed */ RewardBands RewardBandList `` /* 132-byte string literal not displayed */ RewardDistributionWindow uint64 `` /* 170-byte string literal not displayed */ AcceptList DenomList `protobuf:"bytes,5,rep,name=accept_list,json=acceptList,proto3,castrepeated=DenomList" json:"accept_list" yaml:"accept_list"` SlashFraction cosmossdk_io_math.LegacyDec `` /* 151-byte string literal not displayed */ SlashWindow uint64 `protobuf:"varint,7,opt,name=slash_window,json=slashWindow,proto3" json:"slash_window,omitempty" yaml:"slash_window"` MinValidPerWindow cosmossdk_io_math.LegacyDec `` /* 173-byte string literal not displayed */ MandatoryList DenomList `` /* 135-byte string literal not displayed */ // Historic Stamp Period represents the amount of blocks the oracle // module waits before recording a new historic price. HistoricStampPeriod uint64 `protobuf:"varint,10,opt,name=historic_stamp_period,json=historicStampPeriod,proto3" json:"historic_stamp_period,omitempty"` // Median Stamp Period represents the amount blocks the oracle module // waits between calculating and stamping a new median and standard // deviation of that median. MedianStampPeriod uint64 `protobuf:"varint,11,opt,name=median_stamp_period,json=medianStampPeriod,proto3" json:"median_stamp_period,omitempty"` // Maximum Price Stamps represents the maximum amount of historic prices // the oracle module will store before pruning via FIFO. MaximumPriceStamps uint64 `protobuf:"varint,12,opt,name=maximum_price_stamps,json=maximumPriceStamps,proto3" json:"maximum_price_stamps,omitempty"` // Maximum Median Stamps represents the maximum amount of medians the // oracle module will store before pruning via FIFO. MaximumMedianStamps uint64 `protobuf:"varint,13,opt,name=maximum_median_stamps,json=maximumMedianStamps,proto3" json:"maximum_median_stamps,omitempty"` // Currency Pair Providers defines the currency provider pairs the // price feeder uses upon start up for pricing data. CurrencyPairProviders CurrencyPairProvidersList `` /* 187-byte string literal not displayed */ // Currency Deviation Thresholds defines the deviation thresholds // for each base currency the price feeder uses upon start up. CurrencyDeviationThresholds CurrencyDeviationThresholdList `` /* 216-byte string literal not displayed */ }
Params defines the parameters for the oracle module.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams creates default oracle module parameters
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of oracle module's parameters.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PriceStamp ¶ added in v0.1.2
type PriceStamp struct { ExchangeRate *types.DecCoin `protobuf:"bytes,1,opt,name=exchange_rate,json=exchangeRate,proto3" json:"exchange_rate,omitempty"` BlockNum uint64 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` }
PriceStamp defines a stamp of a denom's exchange rate at the block number it was calculated in.
func NewPriceStamp ¶ added in v0.1.2
func NewPriceStamp(exchangeRate math.LegacyDec, denom string, blockNum uint64) *PriceStamp
func (*PriceStamp) Descriptor ¶ added in v0.1.2
func (*PriceStamp) Descriptor() ([]byte, []int)
func (*PriceStamp) Marshal ¶ added in v0.1.2
func (m *PriceStamp) Marshal() (dAtA []byte, err error)
func (*PriceStamp) MarshalTo ¶ added in v0.1.2
func (m *PriceStamp) MarshalTo(dAtA []byte) (int, error)
func (*PriceStamp) MarshalToSizedBuffer ¶ added in v0.1.2
func (m *PriceStamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceStamp) ProtoMessage ¶ added in v0.1.2
func (*PriceStamp) ProtoMessage()
func (*PriceStamp) Reset ¶ added in v0.1.2
func (m *PriceStamp) Reset()
func (*PriceStamp) Size ¶ added in v0.1.2
func (m *PriceStamp) Size() (n int)
func (*PriceStamp) String ¶ added in v0.1.2
func (m *PriceStamp) String() string
func (*PriceStamp) Unmarshal ¶ added in v0.1.2
func (m *PriceStamp) Unmarshal(dAtA []byte) error
func (*PriceStamp) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *PriceStamp) XXX_DiscardUnknown()
func (*PriceStamp) XXX_Marshal ¶ added in v0.1.2
func (m *PriceStamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceStamp) XXX_Merge ¶ added in v0.1.2
func (m *PriceStamp) XXX_Merge(src proto.Message)
func (*PriceStamp) XXX_Size ¶ added in v0.1.2
func (m *PriceStamp) XXX_Size() int
func (*PriceStamp) XXX_Unmarshal ¶ added in v0.1.2
func (m *PriceStamp) XXX_Unmarshal(b []byte) error
type PriceStamps ¶ added in v0.1.2
type PriceStamps []PriceStamp
func (*PriceStamps) Decs ¶ added in v0.1.2
func (p *PriceStamps) Decs() []math.LegacyDec
Decs returns the exchange rates in math.LegacyDec format
func (*PriceStamps) FilterByBlock ¶ added in v0.1.2
func (p *PriceStamps) FilterByBlock(blockNum uint64) *PriceStamps
FilterByBlock filters the PriceStamps by block number
func (*PriceStamps) FilterByDenom ¶ added in v0.1.2
func (p *PriceStamps) FilterByDenom(denom string) *PriceStamps
FilterByDenom filters the PriceStamps by denom
func (*PriceStamps) NewestBlockNum ¶ added in v0.1.3
func (p *PriceStamps) NewestBlockNum() uint64
NewestBlockNum returns the newest block number in the PriceStamps
func (*PriceStamps) NewestPrices ¶ added in v0.1.3
func (p *PriceStamps) NewestPrices() *PriceStamps
NewestPrices returns PriceStamps at the newest block number
func (*PriceStamps) Sort ¶ added in v0.1.2
func (p *PriceStamps) Sort() *PriceStamps
Sort sorts the PriceStamps by block number and denom
type QueryActiveExchangeRates ¶
type QueryActiveExchangeRates struct { }
QueryActiveExchangeRates is the request type for the Query/ActiveExchangeRates RPC method.
func (*QueryActiveExchangeRates) Descriptor ¶
func (*QueryActiveExchangeRates) Descriptor() ([]byte, []int)
func (*QueryActiveExchangeRates) Marshal ¶
func (m *QueryActiveExchangeRates) Marshal() (dAtA []byte, err error)
func (*QueryActiveExchangeRates) MarshalTo ¶
func (m *QueryActiveExchangeRates) MarshalTo(dAtA []byte) (int, error)
func (*QueryActiveExchangeRates) MarshalToSizedBuffer ¶
func (m *QueryActiveExchangeRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActiveExchangeRates) ProtoMessage ¶
func (*QueryActiveExchangeRates) ProtoMessage()
func (*QueryActiveExchangeRates) Reset ¶
func (m *QueryActiveExchangeRates) Reset()
func (*QueryActiveExchangeRates) Size ¶
func (m *QueryActiveExchangeRates) Size() (n int)
func (*QueryActiveExchangeRates) String ¶
func (m *QueryActiveExchangeRates) String() string
func (*QueryActiveExchangeRates) Unmarshal ¶
func (m *QueryActiveExchangeRates) Unmarshal(dAtA []byte) error
func (*QueryActiveExchangeRates) XXX_DiscardUnknown ¶
func (m *QueryActiveExchangeRates) XXX_DiscardUnknown()
func (*QueryActiveExchangeRates) XXX_Marshal ¶
func (m *QueryActiveExchangeRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActiveExchangeRates) XXX_Merge ¶
func (m *QueryActiveExchangeRates) XXX_Merge(src proto.Message)
func (*QueryActiveExchangeRates) XXX_Size ¶
func (m *QueryActiveExchangeRates) XXX_Size() int
func (*QueryActiveExchangeRates) XXX_Unmarshal ¶
func (m *QueryActiveExchangeRates) XXX_Unmarshal(b []byte) error
type QueryActiveExchangeRatesResponse ¶
type QueryActiveExchangeRatesResponse struct { // activeRates defines a list of the denomination which oracle prices aggreed // upon. ActiveRates []string `protobuf:"bytes,1,rep,name=active_rates,json=activeRates,proto3" json:"active_rates,omitempty"` }
QueryActiveExchangeRatesResponse is response type for the Query/ActiveExchangeRates RPC method.
func (*QueryActiveExchangeRatesResponse) Descriptor ¶
func (*QueryActiveExchangeRatesResponse) Descriptor() ([]byte, []int)
func (*QueryActiveExchangeRatesResponse) Marshal ¶
func (m *QueryActiveExchangeRatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryActiveExchangeRatesResponse) MarshalTo ¶
func (m *QueryActiveExchangeRatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryActiveExchangeRatesResponse) MarshalToSizedBuffer ¶
func (m *QueryActiveExchangeRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActiveExchangeRatesResponse) ProtoMessage ¶
func (*QueryActiveExchangeRatesResponse) ProtoMessage()
func (*QueryActiveExchangeRatesResponse) Reset ¶
func (m *QueryActiveExchangeRatesResponse) Reset()
func (*QueryActiveExchangeRatesResponse) Size ¶
func (m *QueryActiveExchangeRatesResponse) Size() (n int)
func (*QueryActiveExchangeRatesResponse) String ¶
func (m *QueryActiveExchangeRatesResponse) String() string
func (*QueryActiveExchangeRatesResponse) Unmarshal ¶
func (m *QueryActiveExchangeRatesResponse) Unmarshal(dAtA []byte) error
func (*QueryActiveExchangeRatesResponse) XXX_DiscardUnknown ¶
func (m *QueryActiveExchangeRatesResponse) XXX_DiscardUnknown()
func (*QueryActiveExchangeRatesResponse) XXX_Marshal ¶
func (m *QueryActiveExchangeRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActiveExchangeRatesResponse) XXX_Merge ¶
func (m *QueryActiveExchangeRatesResponse) XXX_Merge(src proto.Message)
func (*QueryActiveExchangeRatesResponse) XXX_Size ¶
func (m *QueryActiveExchangeRatesResponse) XXX_Size() int
func (*QueryActiveExchangeRatesResponse) XXX_Unmarshal ¶
func (m *QueryActiveExchangeRatesResponse) XXX_Unmarshal(b []byte) error
type QueryAggregatePrevote ¶
type QueryAggregatePrevote struct { // validator defines the validator address to query for. ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` }
QueryAggregatePrevote is the request type for the Query/AggregatePrevote RPC method.
func (*QueryAggregatePrevote) Descriptor ¶
func (*QueryAggregatePrevote) Descriptor() ([]byte, []int)
func (*QueryAggregatePrevote) Marshal ¶
func (m *QueryAggregatePrevote) Marshal() (dAtA []byte, err error)
func (*QueryAggregatePrevote) MarshalTo ¶
func (m *QueryAggregatePrevote) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregatePrevote) MarshalToSizedBuffer ¶
func (m *QueryAggregatePrevote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregatePrevote) ProtoMessage ¶
func (*QueryAggregatePrevote) ProtoMessage()
func (*QueryAggregatePrevote) Reset ¶
func (m *QueryAggregatePrevote) Reset()
func (*QueryAggregatePrevote) Size ¶
func (m *QueryAggregatePrevote) Size() (n int)
func (*QueryAggregatePrevote) String ¶
func (m *QueryAggregatePrevote) String() string
func (*QueryAggregatePrevote) Unmarshal ¶
func (m *QueryAggregatePrevote) Unmarshal(dAtA []byte) error
func (*QueryAggregatePrevote) XXX_DiscardUnknown ¶
func (m *QueryAggregatePrevote) XXX_DiscardUnknown()
func (*QueryAggregatePrevote) XXX_Marshal ¶
func (m *QueryAggregatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregatePrevote) XXX_Merge ¶
func (m *QueryAggregatePrevote) XXX_Merge(src proto.Message)
func (*QueryAggregatePrevote) XXX_Size ¶
func (m *QueryAggregatePrevote) XXX_Size() int
func (*QueryAggregatePrevote) XXX_Unmarshal ¶
func (m *QueryAggregatePrevote) XXX_Unmarshal(b []byte) error
type QueryAggregatePrevoteResponse ¶
type QueryAggregatePrevoteResponse struct { // aggregate_prevote defines oracle aggregate prevote submitted by a validator // in the current vote period AggregatePrevote AggregateExchangeRatePrevote `protobuf:"bytes,1,opt,name=aggregate_prevote,json=aggregatePrevote,proto3" json:"aggregate_prevote"` }
QueryAggregatePrevoteResponse is response type for the Query/AggregatePrevote RPC method.
func (*QueryAggregatePrevoteResponse) Descriptor ¶
func (*QueryAggregatePrevoteResponse) Descriptor() ([]byte, []int)
func (*QueryAggregatePrevoteResponse) Marshal ¶
func (m *QueryAggregatePrevoteResponse) Marshal() (dAtA []byte, err error)
func (*QueryAggregatePrevoteResponse) MarshalTo ¶
func (m *QueryAggregatePrevoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregatePrevoteResponse) MarshalToSizedBuffer ¶
func (m *QueryAggregatePrevoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregatePrevoteResponse) ProtoMessage ¶
func (*QueryAggregatePrevoteResponse) ProtoMessage()
func (*QueryAggregatePrevoteResponse) Reset ¶
func (m *QueryAggregatePrevoteResponse) Reset()
func (*QueryAggregatePrevoteResponse) Size ¶
func (m *QueryAggregatePrevoteResponse) Size() (n int)
func (*QueryAggregatePrevoteResponse) String ¶
func (m *QueryAggregatePrevoteResponse) String() string
func (*QueryAggregatePrevoteResponse) Unmarshal ¶
func (m *QueryAggregatePrevoteResponse) Unmarshal(dAtA []byte) error
func (*QueryAggregatePrevoteResponse) XXX_DiscardUnknown ¶
func (m *QueryAggregatePrevoteResponse) XXX_DiscardUnknown()
func (*QueryAggregatePrevoteResponse) XXX_Marshal ¶
func (m *QueryAggregatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregatePrevoteResponse) XXX_Merge ¶
func (m *QueryAggregatePrevoteResponse) XXX_Merge(src proto.Message)
func (*QueryAggregatePrevoteResponse) XXX_Size ¶
func (m *QueryAggregatePrevoteResponse) XXX_Size() int
func (*QueryAggregatePrevoteResponse) XXX_Unmarshal ¶
func (m *QueryAggregatePrevoteResponse) XXX_Unmarshal(b []byte) error
type QueryAggregatePrevotes ¶
type QueryAggregatePrevotes struct { }
QueryAggregatePrevotes is the request type for the Query/AggregatePrevotes RPC method.
func (*QueryAggregatePrevotes) Descriptor ¶
func (*QueryAggregatePrevotes) Descriptor() ([]byte, []int)
func (*QueryAggregatePrevotes) Marshal ¶
func (m *QueryAggregatePrevotes) Marshal() (dAtA []byte, err error)
func (*QueryAggregatePrevotes) MarshalTo ¶
func (m *QueryAggregatePrevotes) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregatePrevotes) MarshalToSizedBuffer ¶
func (m *QueryAggregatePrevotes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregatePrevotes) ProtoMessage ¶
func (*QueryAggregatePrevotes) ProtoMessage()
func (*QueryAggregatePrevotes) Reset ¶
func (m *QueryAggregatePrevotes) Reset()
func (*QueryAggregatePrevotes) Size ¶
func (m *QueryAggregatePrevotes) Size() (n int)
func (*QueryAggregatePrevotes) String ¶
func (m *QueryAggregatePrevotes) String() string
func (*QueryAggregatePrevotes) Unmarshal ¶
func (m *QueryAggregatePrevotes) Unmarshal(dAtA []byte) error
func (*QueryAggregatePrevotes) XXX_DiscardUnknown ¶
func (m *QueryAggregatePrevotes) XXX_DiscardUnknown()
func (*QueryAggregatePrevotes) XXX_Marshal ¶
func (m *QueryAggregatePrevotes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregatePrevotes) XXX_Merge ¶
func (m *QueryAggregatePrevotes) XXX_Merge(src proto.Message)
func (*QueryAggregatePrevotes) XXX_Size ¶
func (m *QueryAggregatePrevotes) XXX_Size() int
func (*QueryAggregatePrevotes) XXX_Unmarshal ¶
func (m *QueryAggregatePrevotes) XXX_Unmarshal(b []byte) error
type QueryAggregatePrevotesResponse ¶
type QueryAggregatePrevotesResponse struct { // aggregate_prevotes defines all oracle aggregate prevotes submitted in the // current vote period AggregatePrevotes []AggregateExchangeRatePrevote `protobuf:"bytes,1,rep,name=aggregate_prevotes,json=aggregatePrevotes,proto3" json:"aggregate_prevotes"` }
QueryAggregatePrevotesResponse is response type for the Query/AggregatePrevotes RPC method.
func (*QueryAggregatePrevotesResponse) Descriptor ¶
func (*QueryAggregatePrevotesResponse) Descriptor() ([]byte, []int)
func (*QueryAggregatePrevotesResponse) Marshal ¶
func (m *QueryAggregatePrevotesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAggregatePrevotesResponse) MarshalTo ¶
func (m *QueryAggregatePrevotesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregatePrevotesResponse) MarshalToSizedBuffer ¶
func (m *QueryAggregatePrevotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregatePrevotesResponse) ProtoMessage ¶
func (*QueryAggregatePrevotesResponse) ProtoMessage()
func (*QueryAggregatePrevotesResponse) Reset ¶
func (m *QueryAggregatePrevotesResponse) Reset()
func (*QueryAggregatePrevotesResponse) Size ¶
func (m *QueryAggregatePrevotesResponse) Size() (n int)
func (*QueryAggregatePrevotesResponse) String ¶
func (m *QueryAggregatePrevotesResponse) String() string
func (*QueryAggregatePrevotesResponse) Unmarshal ¶
func (m *QueryAggregatePrevotesResponse) Unmarshal(dAtA []byte) error
func (*QueryAggregatePrevotesResponse) XXX_DiscardUnknown ¶
func (m *QueryAggregatePrevotesResponse) XXX_DiscardUnknown()
func (*QueryAggregatePrevotesResponse) XXX_Marshal ¶
func (m *QueryAggregatePrevotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregatePrevotesResponse) XXX_Merge ¶
func (m *QueryAggregatePrevotesResponse) XXX_Merge(src proto.Message)
func (*QueryAggregatePrevotesResponse) XXX_Size ¶
func (m *QueryAggregatePrevotesResponse) XXX_Size() int
func (*QueryAggregatePrevotesResponse) XXX_Unmarshal ¶
func (m *QueryAggregatePrevotesResponse) XXX_Unmarshal(b []byte) error
type QueryAggregateVote ¶
type QueryAggregateVote struct { // validator defines the validator address to query for. ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` }
QueryAggregateVote is the request type for the Query/AggregateVote RPC method.
func (*QueryAggregateVote) Descriptor ¶
func (*QueryAggregateVote) Descriptor() ([]byte, []int)
func (*QueryAggregateVote) Marshal ¶
func (m *QueryAggregateVote) Marshal() (dAtA []byte, err error)
func (*QueryAggregateVote) MarshalTo ¶
func (m *QueryAggregateVote) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregateVote) MarshalToSizedBuffer ¶
func (m *QueryAggregateVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregateVote) ProtoMessage ¶
func (*QueryAggregateVote) ProtoMessage()
func (*QueryAggregateVote) Reset ¶
func (m *QueryAggregateVote) Reset()
func (*QueryAggregateVote) Size ¶
func (m *QueryAggregateVote) Size() (n int)
func (*QueryAggregateVote) String ¶
func (m *QueryAggregateVote) String() string
func (*QueryAggregateVote) Unmarshal ¶
func (m *QueryAggregateVote) Unmarshal(dAtA []byte) error
func (*QueryAggregateVote) XXX_DiscardUnknown ¶
func (m *QueryAggregateVote) XXX_DiscardUnknown()
func (*QueryAggregateVote) XXX_Marshal ¶
func (m *QueryAggregateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregateVote) XXX_Merge ¶
func (m *QueryAggregateVote) XXX_Merge(src proto.Message)
func (*QueryAggregateVote) XXX_Size ¶
func (m *QueryAggregateVote) XXX_Size() int
func (*QueryAggregateVote) XXX_Unmarshal ¶
func (m *QueryAggregateVote) XXX_Unmarshal(b []byte) error
type QueryAggregateVoteResponse ¶
type QueryAggregateVoteResponse struct { // aggregate_vote defines oracle aggregate vote submitted by a validator in // the current vote period AggregateVote AggregateExchangeRateVote `protobuf:"bytes,1,opt,name=aggregate_vote,json=aggregateVote,proto3" json:"aggregate_vote"` }
QueryAggregateVoteResponse is response type for the Query/AggregateVote RPC method.
func (*QueryAggregateVoteResponse) Descriptor ¶
func (*QueryAggregateVoteResponse) Descriptor() ([]byte, []int)
func (*QueryAggregateVoteResponse) Marshal ¶
func (m *QueryAggregateVoteResponse) Marshal() (dAtA []byte, err error)
func (*QueryAggregateVoteResponse) MarshalTo ¶
func (m *QueryAggregateVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregateVoteResponse) MarshalToSizedBuffer ¶
func (m *QueryAggregateVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregateVoteResponse) ProtoMessage ¶
func (*QueryAggregateVoteResponse) ProtoMessage()
func (*QueryAggregateVoteResponse) Reset ¶
func (m *QueryAggregateVoteResponse) Reset()
func (*QueryAggregateVoteResponse) Size ¶
func (m *QueryAggregateVoteResponse) Size() (n int)
func (*QueryAggregateVoteResponse) String ¶
func (m *QueryAggregateVoteResponse) String() string
func (*QueryAggregateVoteResponse) Unmarshal ¶
func (m *QueryAggregateVoteResponse) Unmarshal(dAtA []byte) error
func (*QueryAggregateVoteResponse) XXX_DiscardUnknown ¶
func (m *QueryAggregateVoteResponse) XXX_DiscardUnknown()
func (*QueryAggregateVoteResponse) XXX_Marshal ¶
func (m *QueryAggregateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregateVoteResponse) XXX_Merge ¶
func (m *QueryAggregateVoteResponse) XXX_Merge(src proto.Message)
func (*QueryAggregateVoteResponse) XXX_Size ¶
func (m *QueryAggregateVoteResponse) XXX_Size() int
func (*QueryAggregateVoteResponse) XXX_Unmarshal ¶
func (m *QueryAggregateVoteResponse) XXX_Unmarshal(b []byte) error
type QueryAggregateVotes ¶
type QueryAggregateVotes struct { }
QueryAggregateVotes is the request type for the Query/AggregateVotes RPC method.
func (*QueryAggregateVotes) Descriptor ¶
func (*QueryAggregateVotes) Descriptor() ([]byte, []int)
func (*QueryAggregateVotes) Marshal ¶
func (m *QueryAggregateVotes) Marshal() (dAtA []byte, err error)
func (*QueryAggregateVotes) MarshalTo ¶
func (m *QueryAggregateVotes) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregateVotes) MarshalToSizedBuffer ¶
func (m *QueryAggregateVotes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregateVotes) ProtoMessage ¶
func (*QueryAggregateVotes) ProtoMessage()
func (*QueryAggregateVotes) Reset ¶
func (m *QueryAggregateVotes) Reset()
func (*QueryAggregateVotes) Size ¶
func (m *QueryAggregateVotes) Size() (n int)
func (*QueryAggregateVotes) String ¶
func (m *QueryAggregateVotes) String() string
func (*QueryAggregateVotes) Unmarshal ¶
func (m *QueryAggregateVotes) Unmarshal(dAtA []byte) error
func (*QueryAggregateVotes) XXX_DiscardUnknown ¶
func (m *QueryAggregateVotes) XXX_DiscardUnknown()
func (*QueryAggregateVotes) XXX_Marshal ¶
func (m *QueryAggregateVotes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregateVotes) XXX_Merge ¶
func (m *QueryAggregateVotes) XXX_Merge(src proto.Message)
func (*QueryAggregateVotes) XXX_Size ¶
func (m *QueryAggregateVotes) XXX_Size() int
func (*QueryAggregateVotes) XXX_Unmarshal ¶
func (m *QueryAggregateVotes) XXX_Unmarshal(b []byte) error
type QueryAggregateVotesResponse ¶
type QueryAggregateVotesResponse struct { // aggregate_votes defines all oracle aggregate votes submitted in the current // vote period AggregateVotes []AggregateExchangeRateVote `protobuf:"bytes,1,rep,name=aggregate_votes,json=aggregateVotes,proto3" json:"aggregate_votes"` }
QueryAggregateVotesResponse is response type for the Query/AggregateVotes RPC method.
func (*QueryAggregateVotesResponse) Descriptor ¶
func (*QueryAggregateVotesResponse) Descriptor() ([]byte, []int)
func (*QueryAggregateVotesResponse) Marshal ¶
func (m *QueryAggregateVotesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAggregateVotesResponse) MarshalTo ¶
func (m *QueryAggregateVotesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAggregateVotesResponse) MarshalToSizedBuffer ¶
func (m *QueryAggregateVotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAggregateVotesResponse) ProtoMessage ¶
func (*QueryAggregateVotesResponse) ProtoMessage()
func (*QueryAggregateVotesResponse) Reset ¶
func (m *QueryAggregateVotesResponse) Reset()
func (*QueryAggregateVotesResponse) Size ¶
func (m *QueryAggregateVotesResponse) Size() (n int)
func (*QueryAggregateVotesResponse) String ¶
func (m *QueryAggregateVotesResponse) String() string
func (*QueryAggregateVotesResponse) Unmarshal ¶
func (m *QueryAggregateVotesResponse) Unmarshal(dAtA []byte) error
func (*QueryAggregateVotesResponse) XXX_DiscardUnknown ¶
func (m *QueryAggregateVotesResponse) XXX_DiscardUnknown()
func (*QueryAggregateVotesResponse) XXX_Marshal ¶
func (m *QueryAggregateVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAggregateVotesResponse) XXX_Merge ¶
func (m *QueryAggregateVotesResponse) XXX_Merge(src proto.Message)
func (*QueryAggregateVotesResponse) XXX_Size ¶
func (m *QueryAggregateVotesResponse) XXX_Size() int
func (*QueryAggregateVotesResponse) XXX_Unmarshal ¶
func (m *QueryAggregateVotesResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // ExchangeRates returns exchange rates of all denoms, // or, if specified, returns a single denom ExchangeRates(ctx context.Context, in *QueryExchangeRates, opts ...grpc.CallOption) (*QueryExchangeRatesResponse, error) // ActiveExchangeRates returns all active denoms ActiveExchangeRates(ctx context.Context, in *QueryActiveExchangeRates, opts ...grpc.CallOption) (*QueryActiveExchangeRatesResponse, error) // FeederDelegation returns feeder delegation of a validator FeederDelegation(ctx context.Context, in *QueryFeederDelegation, opts ...grpc.CallOption) (*QueryFeederDelegationResponse, error) // MissCounter returns oracle miss counter of a validator MissCounter(ctx context.Context, in *QueryMissCounter, opts ...grpc.CallOption) (*QueryMissCounterResponse, error) // SlashWindow returns slash window information SlashWindow(ctx context.Context, in *QuerySlashWindow, opts ...grpc.CallOption) (*QuerySlashWindowResponse, error) // AggregatePrevote returns an aggregate prevote of a validator AggregatePrevote(ctx context.Context, in *QueryAggregatePrevote, opts ...grpc.CallOption) (*QueryAggregatePrevoteResponse, error) // AggregatePrevotes returns aggregate prevotes of all validators AggregatePrevotes(ctx context.Context, in *QueryAggregatePrevotes, opts ...grpc.CallOption) (*QueryAggregatePrevotesResponse, error) // AggregateVote returns an aggregate vote of a validator AggregateVote(ctx context.Context, in *QueryAggregateVote, opts ...grpc.CallOption) (*QueryAggregateVoteResponse, error) // AggregateVotes returns aggregate votes of all validators AggregateVotes(ctx context.Context, in *QueryAggregateVotes, opts ...grpc.CallOption) (*QueryAggregateVotesResponse, error) // Params queries all parameters. Params(ctx context.Context, in *QueryParams, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Medians returns medians of all denoms, // or, if specified, returns a single median Medians(ctx context.Context, in *QueryMedians, opts ...grpc.CallOption) (*QueryMediansResponse, error) // MedianDeviations returns median deviations of all denoms, // or, if specified, returns a single median deviation MedianDeviations(ctx context.Context, in *QueryMedianDeviations, opts ...grpc.CallOption) (*QueryMedianDeviationsResponse, error) // ValidatorRewardSet returns the set of validators that is // earning rewards for voting on exchange rates based on their // misscounter in a given Slash Window ValidatorRewardSet(ctx context.Context, in *QueryValidatorRewardSet, opts ...grpc.CallOption) (*QueryValidatorRewardSetResponse, 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 QueryExchangeRates ¶
type QueryExchangeRates struct { // denom defines the denomination to query for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryExchangeRates is the request type for the Query/ExchangeRate RPC method.
func (*QueryExchangeRates) Descriptor ¶
func (*QueryExchangeRates) Descriptor() ([]byte, []int)
func (*QueryExchangeRates) Marshal ¶
func (m *QueryExchangeRates) Marshal() (dAtA []byte, err error)
func (*QueryExchangeRates) MarshalTo ¶
func (m *QueryExchangeRates) MarshalTo(dAtA []byte) (int, error)
func (*QueryExchangeRates) MarshalToSizedBuffer ¶
func (m *QueryExchangeRates) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExchangeRates) ProtoMessage ¶
func (*QueryExchangeRates) ProtoMessage()
func (*QueryExchangeRates) Reset ¶
func (m *QueryExchangeRates) Reset()
func (*QueryExchangeRates) Size ¶
func (m *QueryExchangeRates) Size() (n int)
func (*QueryExchangeRates) String ¶
func (m *QueryExchangeRates) String() string
func (*QueryExchangeRates) Unmarshal ¶
func (m *QueryExchangeRates) Unmarshal(dAtA []byte) error
func (*QueryExchangeRates) XXX_DiscardUnknown ¶
func (m *QueryExchangeRates) XXX_DiscardUnknown()
func (*QueryExchangeRates) XXX_Marshal ¶
func (m *QueryExchangeRates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExchangeRates) XXX_Merge ¶
func (m *QueryExchangeRates) XXX_Merge(src proto.Message)
func (*QueryExchangeRates) XXX_Size ¶
func (m *QueryExchangeRates) XXX_Size() int
func (*QueryExchangeRates) XXX_Unmarshal ¶
func (m *QueryExchangeRates) XXX_Unmarshal(b []byte) error
type QueryExchangeRatesResponse ¶
type QueryExchangeRatesResponse struct { // exchange_rates defines a list of the exchange rate for all whitelisted // denoms. ExchangeRates github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */ }
QueryExchangeRatesResponse is response type for the Query/ExchangeRates RPC method.
func (*QueryExchangeRatesResponse) Descriptor ¶
func (*QueryExchangeRatesResponse) Descriptor() ([]byte, []int)
func (*QueryExchangeRatesResponse) Marshal ¶
func (m *QueryExchangeRatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryExchangeRatesResponse) MarshalTo ¶
func (m *QueryExchangeRatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryExchangeRatesResponse) MarshalToSizedBuffer ¶
func (m *QueryExchangeRatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExchangeRatesResponse) ProtoMessage ¶
func (*QueryExchangeRatesResponse) ProtoMessage()
func (*QueryExchangeRatesResponse) Reset ¶
func (m *QueryExchangeRatesResponse) Reset()
func (*QueryExchangeRatesResponse) Size ¶
func (m *QueryExchangeRatesResponse) Size() (n int)
func (*QueryExchangeRatesResponse) String ¶
func (m *QueryExchangeRatesResponse) String() string
func (*QueryExchangeRatesResponse) Unmarshal ¶
func (m *QueryExchangeRatesResponse) Unmarshal(dAtA []byte) error
func (*QueryExchangeRatesResponse) XXX_DiscardUnknown ¶
func (m *QueryExchangeRatesResponse) XXX_DiscardUnknown()
func (*QueryExchangeRatesResponse) XXX_Marshal ¶
func (m *QueryExchangeRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExchangeRatesResponse) XXX_Merge ¶
func (m *QueryExchangeRatesResponse) XXX_Merge(src proto.Message)
func (*QueryExchangeRatesResponse) XXX_Size ¶
func (m *QueryExchangeRatesResponse) XXX_Size() int
func (*QueryExchangeRatesResponse) XXX_Unmarshal ¶
func (m *QueryExchangeRatesResponse) XXX_Unmarshal(b []byte) error
type QueryFeederDelegation ¶
type QueryFeederDelegation struct { // validator defines the validator address to query for. ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` }
QueryFeederDelegation is the request type for the Query/FeederDelegation RPC method.
func (*QueryFeederDelegation) Descriptor ¶
func (*QueryFeederDelegation) Descriptor() ([]byte, []int)
func (*QueryFeederDelegation) Marshal ¶
func (m *QueryFeederDelegation) Marshal() (dAtA []byte, err error)
func (*QueryFeederDelegation) MarshalTo ¶
func (m *QueryFeederDelegation) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeederDelegation) MarshalToSizedBuffer ¶
func (m *QueryFeederDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeederDelegation) ProtoMessage ¶
func (*QueryFeederDelegation) ProtoMessage()
func (*QueryFeederDelegation) Reset ¶
func (m *QueryFeederDelegation) Reset()
func (*QueryFeederDelegation) Size ¶
func (m *QueryFeederDelegation) Size() (n int)
func (*QueryFeederDelegation) String ¶
func (m *QueryFeederDelegation) String() string
func (*QueryFeederDelegation) Unmarshal ¶
func (m *QueryFeederDelegation) Unmarshal(dAtA []byte) error
func (*QueryFeederDelegation) XXX_DiscardUnknown ¶
func (m *QueryFeederDelegation) XXX_DiscardUnknown()
func (*QueryFeederDelegation) XXX_Marshal ¶
func (m *QueryFeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeederDelegation) XXX_Merge ¶
func (m *QueryFeederDelegation) XXX_Merge(src proto.Message)
func (*QueryFeederDelegation) XXX_Size ¶
func (m *QueryFeederDelegation) XXX_Size() int
func (*QueryFeederDelegation) XXX_Unmarshal ¶
func (m *QueryFeederDelegation) XXX_Unmarshal(b []byte) error
type QueryFeederDelegationResponse ¶
type QueryFeederDelegationResponse struct { // feeder_addr defines the feeder delegation of a validator FeederAddr string `protobuf:"bytes,1,opt,name=feeder_addr,json=feederAddr,proto3" json:"feeder_addr,omitempty"` }
QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.
func (*QueryFeederDelegationResponse) Descriptor ¶
func (*QueryFeederDelegationResponse) Descriptor() ([]byte, []int)
func (*QueryFeederDelegationResponse) Marshal ¶
func (m *QueryFeederDelegationResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeederDelegationResponse) MarshalTo ¶
func (m *QueryFeederDelegationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeederDelegationResponse) MarshalToSizedBuffer ¶
func (m *QueryFeederDelegationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeederDelegationResponse) ProtoMessage ¶
func (*QueryFeederDelegationResponse) ProtoMessage()
func (*QueryFeederDelegationResponse) Reset ¶
func (m *QueryFeederDelegationResponse) Reset()
func (*QueryFeederDelegationResponse) Size ¶
func (m *QueryFeederDelegationResponse) Size() (n int)
func (*QueryFeederDelegationResponse) String ¶
func (m *QueryFeederDelegationResponse) String() string
func (*QueryFeederDelegationResponse) Unmarshal ¶
func (m *QueryFeederDelegationResponse) Unmarshal(dAtA []byte) error
func (*QueryFeederDelegationResponse) XXX_DiscardUnknown ¶
func (m *QueryFeederDelegationResponse) XXX_DiscardUnknown()
func (*QueryFeederDelegationResponse) XXX_Marshal ¶
func (m *QueryFeederDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeederDelegationResponse) XXX_Merge ¶
func (m *QueryFeederDelegationResponse) XXX_Merge(src proto.Message)
func (*QueryFeederDelegationResponse) XXX_Size ¶
func (m *QueryFeederDelegationResponse) XXX_Size() int
func (*QueryFeederDelegationResponse) XXX_Unmarshal ¶
func (m *QueryFeederDelegationResponse) XXX_Unmarshal(b []byte) error
type QueryMedianDeviations ¶
type QueryMedianDeviations struct { // denom defines the denomination to query for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryMedianDeviations is the request type for the Query/MedianDeviations RPC Response.
func (*QueryMedianDeviations) Descriptor ¶
func (*QueryMedianDeviations) Descriptor() ([]byte, []int)
func (*QueryMedianDeviations) Marshal ¶
func (m *QueryMedianDeviations) Marshal() (dAtA []byte, err error)
func (*QueryMedianDeviations) MarshalTo ¶
func (m *QueryMedianDeviations) MarshalTo(dAtA []byte) (int, error)
func (*QueryMedianDeviations) MarshalToSizedBuffer ¶
func (m *QueryMedianDeviations) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMedianDeviations) ProtoMessage ¶
func (*QueryMedianDeviations) ProtoMessage()
func (*QueryMedianDeviations) Reset ¶
func (m *QueryMedianDeviations) Reset()
func (*QueryMedianDeviations) Size ¶
func (m *QueryMedianDeviations) Size() (n int)
func (*QueryMedianDeviations) String ¶
func (m *QueryMedianDeviations) String() string
func (*QueryMedianDeviations) Unmarshal ¶
func (m *QueryMedianDeviations) Unmarshal(dAtA []byte) error
func (*QueryMedianDeviations) XXX_DiscardUnknown ¶
func (m *QueryMedianDeviations) XXX_DiscardUnknown()
func (*QueryMedianDeviations) XXX_Marshal ¶
func (m *QueryMedianDeviations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMedianDeviations) XXX_Merge ¶
func (m *QueryMedianDeviations) XXX_Merge(src proto.Message)
func (*QueryMedianDeviations) XXX_Size ¶
func (m *QueryMedianDeviations) XXX_Size() int
func (*QueryMedianDeviations) XXX_Unmarshal ¶
func (m *QueryMedianDeviations) XXX_Unmarshal(b []byte) error
type QueryMedianDeviationsResponse ¶
type QueryMedianDeviationsResponse struct { // medians defines a list of the median deviations for all stamped denoms. MedianDeviations []PriceStamp `protobuf:"bytes,1,rep,name=medianDeviations,proto3" json:"medianDeviations"` }
QueryMedianDeviationsResponse is response type for the Query/MedianDeviations RPC method.
func (*QueryMedianDeviationsResponse) Descriptor ¶
func (*QueryMedianDeviationsResponse) Descriptor() ([]byte, []int)
func (*QueryMedianDeviationsResponse) Marshal ¶
func (m *QueryMedianDeviationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryMedianDeviationsResponse) MarshalTo ¶
func (m *QueryMedianDeviationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMedianDeviationsResponse) MarshalToSizedBuffer ¶
func (m *QueryMedianDeviationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMedianDeviationsResponse) ProtoMessage ¶
func (*QueryMedianDeviationsResponse) ProtoMessage()
func (*QueryMedianDeviationsResponse) Reset ¶
func (m *QueryMedianDeviationsResponse) Reset()
func (*QueryMedianDeviationsResponse) Size ¶
func (m *QueryMedianDeviationsResponse) Size() (n int)
func (*QueryMedianDeviationsResponse) String ¶
func (m *QueryMedianDeviationsResponse) String() string
func (*QueryMedianDeviationsResponse) Unmarshal ¶
func (m *QueryMedianDeviationsResponse) Unmarshal(dAtA []byte) error
func (*QueryMedianDeviationsResponse) XXX_DiscardUnknown ¶
func (m *QueryMedianDeviationsResponse) XXX_DiscardUnknown()
func (*QueryMedianDeviationsResponse) XXX_Marshal ¶
func (m *QueryMedianDeviationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMedianDeviationsResponse) XXX_Merge ¶
func (m *QueryMedianDeviationsResponse) XXX_Merge(src proto.Message)
func (*QueryMedianDeviationsResponse) XXX_Size ¶
func (m *QueryMedianDeviationsResponse) XXX_Size() int
func (*QueryMedianDeviationsResponse) XXX_Unmarshal ¶
func (m *QueryMedianDeviationsResponse) XXX_Unmarshal(b []byte) error
type QueryMedians ¶
type QueryMedians struct { // denom defines the denomination to query for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // numStamps defines the number of median stamps to query for. numStamps // must be greater than 0. NumStamps uint32 `protobuf:"varint,2,opt,name=numStamps,proto3" json:"numStamps,omitempty"` }
QueryMedians is the request type for the Query/Medians RPC Response.
func (*QueryMedians) Descriptor ¶
func (*QueryMedians) Descriptor() ([]byte, []int)
func (*QueryMedians) Marshal ¶
func (m *QueryMedians) Marshal() (dAtA []byte, err error)
func (*QueryMedians) MarshalToSizedBuffer ¶
func (m *QueryMedians) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMedians) ProtoMessage ¶
func (*QueryMedians) ProtoMessage()
func (*QueryMedians) Reset ¶
func (m *QueryMedians) Reset()
func (*QueryMedians) Size ¶
func (m *QueryMedians) Size() (n int)
func (*QueryMedians) String ¶
func (m *QueryMedians) String() string
func (*QueryMedians) Unmarshal ¶
func (m *QueryMedians) Unmarshal(dAtA []byte) error
func (*QueryMedians) XXX_DiscardUnknown ¶
func (m *QueryMedians) XXX_DiscardUnknown()
func (*QueryMedians) XXX_Marshal ¶
func (m *QueryMedians) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMedians) XXX_Merge ¶
func (m *QueryMedians) XXX_Merge(src proto.Message)
func (*QueryMedians) XXX_Size ¶
func (m *QueryMedians) XXX_Size() int
func (*QueryMedians) XXX_Unmarshal ¶
func (m *QueryMedians) XXX_Unmarshal(b []byte) error
type QueryMediansResponse ¶
type QueryMediansResponse struct { // medians defines a list of the medians for all stamped denoms. Medians []PriceStamp `protobuf:"bytes,1,rep,name=medians,proto3" json:"medians"` }
QueryMediansResponse is response type for the Query/Medians RPC method.
func (*QueryMediansResponse) Descriptor ¶
func (*QueryMediansResponse) Descriptor() ([]byte, []int)
func (*QueryMediansResponse) Marshal ¶
func (m *QueryMediansResponse) Marshal() (dAtA []byte, err error)
func (*QueryMediansResponse) MarshalTo ¶
func (m *QueryMediansResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMediansResponse) MarshalToSizedBuffer ¶
func (m *QueryMediansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMediansResponse) ProtoMessage ¶
func (*QueryMediansResponse) ProtoMessage()
func (*QueryMediansResponse) Reset ¶
func (m *QueryMediansResponse) Reset()
func (*QueryMediansResponse) Size ¶
func (m *QueryMediansResponse) Size() (n int)
func (*QueryMediansResponse) String ¶
func (m *QueryMediansResponse) String() string
func (*QueryMediansResponse) Unmarshal ¶
func (m *QueryMediansResponse) Unmarshal(dAtA []byte) error
func (*QueryMediansResponse) XXX_DiscardUnknown ¶
func (m *QueryMediansResponse) XXX_DiscardUnknown()
func (*QueryMediansResponse) XXX_Marshal ¶
func (m *QueryMediansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMediansResponse) XXX_Merge ¶
func (m *QueryMediansResponse) XXX_Merge(src proto.Message)
func (*QueryMediansResponse) XXX_Size ¶
func (m *QueryMediansResponse) XXX_Size() int
func (*QueryMediansResponse) XXX_Unmarshal ¶
func (m *QueryMediansResponse) XXX_Unmarshal(b []byte) error
type QueryMissCounter ¶
type QueryMissCounter struct { // validator defines the validator address to query for. ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"` }
QueryMissCounter is the request type for the Query/MissCounter RPC method.
func (*QueryMissCounter) Descriptor ¶
func (*QueryMissCounter) Descriptor() ([]byte, []int)
func (*QueryMissCounter) Marshal ¶
func (m *QueryMissCounter) Marshal() (dAtA []byte, err error)
func (*QueryMissCounter) MarshalToSizedBuffer ¶
func (m *QueryMissCounter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMissCounter) ProtoMessage ¶
func (*QueryMissCounter) ProtoMessage()
func (*QueryMissCounter) Reset ¶
func (m *QueryMissCounter) Reset()
func (*QueryMissCounter) Size ¶
func (m *QueryMissCounter) Size() (n int)
func (*QueryMissCounter) String ¶
func (m *QueryMissCounter) String() string
func (*QueryMissCounter) Unmarshal ¶
func (m *QueryMissCounter) Unmarshal(dAtA []byte) error
func (*QueryMissCounter) XXX_DiscardUnknown ¶
func (m *QueryMissCounter) XXX_DiscardUnknown()
func (*QueryMissCounter) XXX_Marshal ¶
func (m *QueryMissCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMissCounter) XXX_Merge ¶
func (m *QueryMissCounter) XXX_Merge(src proto.Message)
func (*QueryMissCounter) XXX_Size ¶
func (m *QueryMissCounter) XXX_Size() int
func (*QueryMissCounter) XXX_Unmarshal ¶
func (m *QueryMissCounter) XXX_Unmarshal(b []byte) error
type QueryMissCounterResponse ¶
type QueryMissCounterResponse struct { // miss_counter defines the oracle miss counter of a validator MissCounter uint64 `protobuf:"varint,1,opt,name=miss_counter,json=missCounter,proto3" json:"miss_counter,omitempty"` }
QueryMissCounterResponse is response type for the Query/MissCounter RPC method.
func (*QueryMissCounterResponse) Descriptor ¶
func (*QueryMissCounterResponse) Descriptor() ([]byte, []int)
func (*QueryMissCounterResponse) Marshal ¶
func (m *QueryMissCounterResponse) Marshal() (dAtA []byte, err error)
func (*QueryMissCounterResponse) MarshalTo ¶
func (m *QueryMissCounterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMissCounterResponse) MarshalToSizedBuffer ¶
func (m *QueryMissCounterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMissCounterResponse) ProtoMessage ¶
func (*QueryMissCounterResponse) ProtoMessage()
func (*QueryMissCounterResponse) Reset ¶
func (m *QueryMissCounterResponse) Reset()
func (*QueryMissCounterResponse) Size ¶
func (m *QueryMissCounterResponse) Size() (n int)
func (*QueryMissCounterResponse) String ¶
func (m *QueryMissCounterResponse) String() string
func (*QueryMissCounterResponse) Unmarshal ¶
func (m *QueryMissCounterResponse) Unmarshal(dAtA []byte) error
func (*QueryMissCounterResponse) XXX_DiscardUnknown ¶
func (m *QueryMissCounterResponse) XXX_DiscardUnknown()
func (*QueryMissCounterResponse) XXX_Marshal ¶
func (m *QueryMissCounterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMissCounterResponse) XXX_Merge ¶
func (m *QueryMissCounterResponse) XXX_Merge(src proto.Message)
func (*QueryMissCounterResponse) XXX_Size ¶
func (m *QueryMissCounterResponse) XXX_Size() int
func (*QueryMissCounterResponse) XXX_Unmarshal ¶
func (m *QueryMissCounterResponse) XXX_Unmarshal(b []byte) error
type QueryParams ¶
type QueryParams struct { }
QueryParams is the request type for the Query/Params RPC method.
func (*QueryParams) Descriptor ¶
func (*QueryParams) Descriptor() ([]byte, []int)
func (*QueryParams) Marshal ¶
func (m *QueryParams) Marshal() (dAtA []byte, err error)
func (*QueryParams) MarshalToSizedBuffer ¶
func (m *QueryParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParams) ProtoMessage ¶
func (*QueryParams) ProtoMessage()
func (*QueryParams) Reset ¶
func (m *QueryParams) Reset()
func (*QueryParams) Size ¶
func (m *QueryParams) Size() (n int)
func (*QueryParams) String ¶
func (m *QueryParams) String() string
func (*QueryParams) Unmarshal ¶
func (m *QueryParams) Unmarshal(dAtA []byte) error
func (*QueryParams) XXX_DiscardUnknown ¶
func (m *QueryParams) XXX_DiscardUnknown()
func (*QueryParams) XXX_Marshal ¶
func (m *QueryParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParams) XXX_Merge ¶
func (m *QueryParams) XXX_Merge(src proto.Message)
func (*QueryParams) XXX_Size ¶
func (m *QueryParams) XXX_Size() int
func (*QueryParams) XXX_Unmarshal ¶
func (m *QueryParams) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // ExchangeRates returns exchange rates of all denoms, // or, if specified, returns a single denom ExchangeRates(context.Context, *QueryExchangeRates) (*QueryExchangeRatesResponse, error) // ActiveExchangeRates returns all active denoms ActiveExchangeRates(context.Context, *QueryActiveExchangeRates) (*QueryActiveExchangeRatesResponse, error) // FeederDelegation returns feeder delegation of a validator FeederDelegation(context.Context, *QueryFeederDelegation) (*QueryFeederDelegationResponse, error) // MissCounter returns oracle miss counter of a validator MissCounter(context.Context, *QueryMissCounter) (*QueryMissCounterResponse, error) // SlashWindow returns slash window information SlashWindow(context.Context, *QuerySlashWindow) (*QuerySlashWindowResponse, error) // AggregatePrevote returns an aggregate prevote of a validator AggregatePrevote(context.Context, *QueryAggregatePrevote) (*QueryAggregatePrevoteResponse, error) // AggregatePrevotes returns aggregate prevotes of all validators AggregatePrevotes(context.Context, *QueryAggregatePrevotes) (*QueryAggregatePrevotesResponse, error) // AggregateVote returns an aggregate vote of a validator AggregateVote(context.Context, *QueryAggregateVote) (*QueryAggregateVoteResponse, error) // AggregateVotes returns aggregate votes of all validators AggregateVotes(context.Context, *QueryAggregateVotes) (*QueryAggregateVotesResponse, error) // Params queries all parameters. Params(context.Context, *QueryParams) (*QueryParamsResponse, error) // Medians returns medians of all denoms, // or, if specified, returns a single median Medians(context.Context, *QueryMedians) (*QueryMediansResponse, error) // MedianDeviations returns median deviations of all denoms, // or, if specified, returns a single median deviation MedianDeviations(context.Context, *QueryMedianDeviations) (*QueryMedianDeviationsResponse, error) // ValidatorRewardSet returns the set of validators that is // earning rewards for voting on exchange rates based on their // misscounter in a given Slash Window ValidatorRewardSet(context.Context, *QueryValidatorRewardSet) (*QueryValidatorRewardSetResponse, error) }
QueryServer is the server API for Query service.
type QuerySlashWindow ¶
type QuerySlashWindow struct { }
QuerySlashWindow is the request type for the Query/SlashWindow RPC method.
func (*QuerySlashWindow) Descriptor ¶
func (*QuerySlashWindow) Descriptor() ([]byte, []int)
func (*QuerySlashWindow) Marshal ¶
func (m *QuerySlashWindow) Marshal() (dAtA []byte, err error)
func (*QuerySlashWindow) MarshalToSizedBuffer ¶
func (m *QuerySlashWindow) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySlashWindow) ProtoMessage ¶
func (*QuerySlashWindow) ProtoMessage()
func (*QuerySlashWindow) Reset ¶
func (m *QuerySlashWindow) Reset()
func (*QuerySlashWindow) Size ¶
func (m *QuerySlashWindow) Size() (n int)
func (*QuerySlashWindow) String ¶
func (m *QuerySlashWindow) String() string
func (*QuerySlashWindow) Unmarshal ¶
func (m *QuerySlashWindow) Unmarshal(dAtA []byte) error
func (*QuerySlashWindow) XXX_DiscardUnknown ¶
func (m *QuerySlashWindow) XXX_DiscardUnknown()
func (*QuerySlashWindow) XXX_Marshal ¶
func (m *QuerySlashWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySlashWindow) XXX_Merge ¶
func (m *QuerySlashWindow) XXX_Merge(src proto.Message)
func (*QuerySlashWindow) XXX_Size ¶
func (m *QuerySlashWindow) XXX_Size() int
func (*QuerySlashWindow) XXX_Unmarshal ¶
func (m *QuerySlashWindow) XXX_Unmarshal(b []byte) error
type QuerySlashWindowResponse ¶
type QuerySlashWindowResponse struct { // window_progress defines the number of voting periods // since the last slashing event would have taken place. WindowProgress uint64 `protobuf:"varint,1,opt,name=window_progress,json=windowProgress,proto3" json:"window_progress,omitempty"` }
QuerySlashWindowResponse is response type for the Query/SlashWindow RPC method.
func (*QuerySlashWindowResponse) Descriptor ¶
func (*QuerySlashWindowResponse) Descriptor() ([]byte, []int)
func (*QuerySlashWindowResponse) Marshal ¶
func (m *QuerySlashWindowResponse) Marshal() (dAtA []byte, err error)
func (*QuerySlashWindowResponse) MarshalTo ¶
func (m *QuerySlashWindowResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySlashWindowResponse) MarshalToSizedBuffer ¶
func (m *QuerySlashWindowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySlashWindowResponse) ProtoMessage ¶
func (*QuerySlashWindowResponse) ProtoMessage()
func (*QuerySlashWindowResponse) Reset ¶
func (m *QuerySlashWindowResponse) Reset()
func (*QuerySlashWindowResponse) Size ¶
func (m *QuerySlashWindowResponse) Size() (n int)
func (*QuerySlashWindowResponse) String ¶
func (m *QuerySlashWindowResponse) String() string
func (*QuerySlashWindowResponse) Unmarshal ¶
func (m *QuerySlashWindowResponse) Unmarshal(dAtA []byte) error
func (*QuerySlashWindowResponse) XXX_DiscardUnknown ¶
func (m *QuerySlashWindowResponse) XXX_DiscardUnknown()
func (*QuerySlashWindowResponse) XXX_Marshal ¶
func (m *QuerySlashWindowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySlashWindowResponse) XXX_Merge ¶
func (m *QuerySlashWindowResponse) XXX_Merge(src proto.Message)
func (*QuerySlashWindowResponse) XXX_Size ¶
func (m *QuerySlashWindowResponse) XXX_Size() int
func (*QuerySlashWindowResponse) XXX_Unmarshal ¶
func (m *QuerySlashWindowResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorRewardSet ¶ added in v0.1.3
type QueryValidatorRewardSet struct { }
QueryValidatorRewardSet is the request type for the Query/ValidatorRewardSet RPC method.
func (*QueryValidatorRewardSet) Descriptor ¶ added in v0.1.3
func (*QueryValidatorRewardSet) Descriptor() ([]byte, []int)
func (*QueryValidatorRewardSet) Marshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) Marshal() (dAtA []byte, err error)
func (*QueryValidatorRewardSet) MarshalTo ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorRewardSet) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorRewardSet) ProtoMessage ¶ added in v0.1.3
func (*QueryValidatorRewardSet) ProtoMessage()
func (*QueryValidatorRewardSet) Reset ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) Reset()
func (*QueryValidatorRewardSet) Size ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) Size() (n int)
func (*QueryValidatorRewardSet) String ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) String() string
func (*QueryValidatorRewardSet) Unmarshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) Unmarshal(dAtA []byte) error
func (*QueryValidatorRewardSet) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) XXX_DiscardUnknown()
func (*QueryValidatorRewardSet) XXX_Marshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorRewardSet) XXX_Merge ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) XXX_Merge(src proto.Message)
func (*QueryValidatorRewardSet) XXX_Size ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) XXX_Size() int
func (*QueryValidatorRewardSet) XXX_Unmarshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSet) XXX_Unmarshal(b []byte) error
type QueryValidatorRewardSetResponse ¶ added in v0.1.3
type QueryValidatorRewardSetResponse struct {
Validators ValidatorRewardSet `protobuf:"bytes,1,opt,name=validators,proto3" json:"validators"`
}
QueryValidatorRewardSetResponse is the response type for the Query/ValidatorRewardSet RPC method.
func (*QueryValidatorRewardSetResponse) Descriptor ¶ added in v0.1.3
func (*QueryValidatorRewardSetResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorRewardSetResponse) Marshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorRewardSetResponse) MarshalTo ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorRewardSetResponse) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorRewardSetResponse) ProtoMessage ¶ added in v0.1.3
func (*QueryValidatorRewardSetResponse) ProtoMessage()
func (*QueryValidatorRewardSetResponse) Reset ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) Reset()
func (*QueryValidatorRewardSetResponse) Size ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) Size() (n int)
func (*QueryValidatorRewardSetResponse) String ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) String() string
func (*QueryValidatorRewardSetResponse) Unmarshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorRewardSetResponse) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) XXX_DiscardUnknown()
func (*QueryValidatorRewardSetResponse) XXX_Marshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorRewardSetResponse) XXX_Merge ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorRewardSetResponse) XXX_Size ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) XXX_Size() int
func (*QueryValidatorRewardSetResponse) XXX_Unmarshal ¶ added in v0.1.3
func (m *QueryValidatorRewardSetResponse) XXX_Unmarshal(b []byte) error
type RewardBand ¶ added in v0.1.2
type RewardBand struct { SymbolDenom string `protobuf:"bytes,1,opt,name=symbol_denom,json=symbolDenom,proto3" json:"symbol_denom,omitempty" yaml:"symbol_denom"` RewardBand cosmossdk_io_math.LegacyDec `` /* 139-byte string literal not displayed */ }
RewardBand - the object to hold the reward band configuration for a given denom.
func (*RewardBand) Descriptor ¶ added in v0.1.2
func (*RewardBand) Descriptor() ([]byte, []int)
func (RewardBand) Equal ¶ added in v0.1.2
func (rb RewardBand) Equal(rb2 *RewardBand) bool
func (*RewardBand) Marshal ¶ added in v0.1.2
func (m *RewardBand) Marshal() (dAtA []byte, err error)
func (*RewardBand) MarshalTo ¶ added in v0.1.2
func (m *RewardBand) MarshalTo(dAtA []byte) (int, error)
func (*RewardBand) MarshalToSizedBuffer ¶ added in v0.1.2
func (m *RewardBand) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardBand) ProtoMessage ¶ added in v0.1.2
func (*RewardBand) ProtoMessage()
func (*RewardBand) Reset ¶ added in v0.1.2
func (m *RewardBand) Reset()
func (*RewardBand) Size ¶ added in v0.1.2
func (m *RewardBand) Size() (n int)
func (RewardBand) String ¶ added in v0.1.2
func (rb RewardBand) String() string
String implements fmt.Stringer interface
func (*RewardBand) Unmarshal ¶ added in v0.1.2
func (m *RewardBand) Unmarshal(dAtA []byte) error
func (*RewardBand) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *RewardBand) XXX_DiscardUnknown()
func (*RewardBand) XXX_Marshal ¶ added in v0.1.2
func (m *RewardBand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardBand) XXX_Merge ¶ added in v0.1.2
func (m *RewardBand) XXX_Merge(src proto.Message)
func (*RewardBand) XXX_Size ¶ added in v0.1.2
func (m *RewardBand) XXX_Size() int
func (*RewardBand) XXX_Unmarshal ¶ added in v0.1.2
func (m *RewardBand) XXX_Unmarshal(b []byte) error
type RewardBandList ¶ added in v0.1.2
type RewardBandList []RewardBand
RewardBandList is array of RewardBand
func DefaultRewardBands ¶ added in v0.1.2
func DefaultRewardBands() RewardBandList
DefaultRewardBands returns a new default RewardBandList object.
This function is necessary because we cannot use a constant, and the reward band list is manipulated in our unit tests.
func (*RewardBandList) Add ¶ added in v0.2.1
func (rbl *RewardBandList) Add( denom string, band math.LegacyDec, )
Add adds a reward band of a given denom and reward band decimal.
func (*RewardBandList) AddDefault ¶ added in v0.2.1
func (rbl *RewardBandList) AddDefault( denom string, )
AddDefault adds a default reward band for the given denom.
func (RewardBandList) GetBandFromDenom ¶ added in v0.1.2
func (rbl RewardBandList) GetBandFromDenom(denom string) (math.LegacyDec, error)
GetRewardBand returns the reward band of a given Denom. It will return an error if it can not find it.
func (RewardBandList) String ¶ added in v0.1.2
func (rbl RewardBandList) String() (out string)
type StakingKeeper ¶
type StakingKeeper interface { Validator(ctx context.Context, address sdk.ValAddress) (stakingtypes.ValidatorI, error) GetBondedValidatorsByPower(ctx context.Context) ([]stakingtypes.Validator, error) TotalBondedTokens(context.Context) (sdkmath.Int, error) Slash(context.Context, sdk.ConsAddress, int64, int64, sdkmath.LegacyDec) (sdkmath.Int, error) Jail(context.Context, sdk.ConsAddress) error ValidatorsPowerStoreIterator(context context.Context) (storetypes.Iterator, error) MaxValidators(context.Context) (uint32, error) PowerReduction(ctx context.Context) (res sdkmath.Int) }
StakingKeeper defines the expected interface contract defined by the x/staking module.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AggregateExchangeRatePrevote ¶
func (*UnimplementedMsgServer) AggregateExchangeRatePrevote(ctx context.Context, req *MsgAggregateExchangeRatePrevote) (*MsgAggregateExchangeRatePrevoteResponse, error)
func (*UnimplementedMsgServer) AggregateExchangeRateVote ¶
func (*UnimplementedMsgServer) AggregateExchangeRateVote(ctx context.Context, req *MsgAggregateExchangeRateVote) (*MsgAggregateExchangeRateVoteResponse, error)
func (*UnimplementedMsgServer) DelegateFeedConsent ¶
func (*UnimplementedMsgServer) DelegateFeedConsent(ctx context.Context, req *MsgDelegateFeedConsent) (*MsgDelegateFeedConsentResponse, error)
func (*UnimplementedMsgServer) GovAddDenoms ¶ added in v0.2.1
func (*UnimplementedMsgServer) GovAddDenoms(ctx context.Context, req *MsgGovAddDenoms) (*MsgGovAddDenomsResponse, error)
func (*UnimplementedMsgServer) GovCancelUpdateParamPlan ¶ added in v0.2.2
func (*UnimplementedMsgServer) GovCancelUpdateParamPlan(ctx context.Context, req *MsgGovCancelUpdateParamPlan) (*MsgGovCancelUpdateParamPlanResponse, error)
func (*UnimplementedMsgServer) GovRemoveCurrencyDeviationThresholds ¶ added in v0.2.2
func (*UnimplementedMsgServer) GovRemoveCurrencyDeviationThresholds(ctx context.Context, req *MsgGovRemoveCurrencyDeviationThresholds) (*MsgGovRemoveCurrencyDeviationThresholdsResponse, error)
func (*UnimplementedMsgServer) GovRemoveCurrencyPairProviders ¶ added in v0.2.2
func (*UnimplementedMsgServer) GovRemoveCurrencyPairProviders(ctx context.Context, req *MsgGovRemoveCurrencyPairProviders) (*MsgGovRemoveCurrencyPairProvidersResponse, error)
func (*UnimplementedMsgServer) GovUpdateParams ¶ added in v0.1.3
func (*UnimplementedMsgServer) GovUpdateParams(ctx context.Context, req *MsgGovUpdateParams) (*MsgGovUpdateParamsResponse, error)
func (*UnimplementedMsgServer) LegacyGovUpdateParams ¶ added in v0.4.1
func (*UnimplementedMsgServer) LegacyGovUpdateParams(ctx context.Context, req *MsgLegacyGovUpdateParams) (*MsgLegacyGovUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ActiveExchangeRates ¶
func (*UnimplementedQueryServer) ActiveExchangeRates(ctx context.Context, req *QueryActiveExchangeRates) (*QueryActiveExchangeRatesResponse, error)
func (*UnimplementedQueryServer) AggregatePrevote ¶
func (*UnimplementedQueryServer) AggregatePrevote(ctx context.Context, req *QueryAggregatePrevote) (*QueryAggregatePrevoteResponse, error)
func (*UnimplementedQueryServer) AggregatePrevotes ¶
func (*UnimplementedQueryServer) AggregatePrevotes(ctx context.Context, req *QueryAggregatePrevotes) (*QueryAggregatePrevotesResponse, error)
func (*UnimplementedQueryServer) AggregateVote ¶
func (*UnimplementedQueryServer) AggregateVote(ctx context.Context, req *QueryAggregateVote) (*QueryAggregateVoteResponse, error)
func (*UnimplementedQueryServer) AggregateVotes ¶
func (*UnimplementedQueryServer) AggregateVotes(ctx context.Context, req *QueryAggregateVotes) (*QueryAggregateVotesResponse, error)
func (*UnimplementedQueryServer) ExchangeRates ¶
func (*UnimplementedQueryServer) ExchangeRates(ctx context.Context, req *QueryExchangeRates) (*QueryExchangeRatesResponse, error)
func (*UnimplementedQueryServer) FeederDelegation ¶
func (*UnimplementedQueryServer) FeederDelegation(ctx context.Context, req *QueryFeederDelegation) (*QueryFeederDelegationResponse, error)
func (*UnimplementedQueryServer) MedianDeviations ¶
func (*UnimplementedQueryServer) MedianDeviations(ctx context.Context, req *QueryMedianDeviations) (*QueryMedianDeviationsResponse, error)
func (*UnimplementedQueryServer) Medians ¶
func (*UnimplementedQueryServer) Medians(ctx context.Context, req *QueryMedians) (*QueryMediansResponse, error)
func (*UnimplementedQueryServer) MissCounter ¶
func (*UnimplementedQueryServer) MissCounter(ctx context.Context, req *QueryMissCounter) (*QueryMissCounterResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParams) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SlashWindow ¶
func (*UnimplementedQueryServer) SlashWindow(ctx context.Context, req *QuerySlashWindow) (*QuerySlashWindowResponse, error)
func (*UnimplementedQueryServer) ValidatorRewardSet ¶ added in v0.1.3
func (*UnimplementedQueryServer) ValidatorRewardSet(ctx context.Context, req *QueryValidatorRewardSet) (*QueryValidatorRewardSetResponse, error)
type ValidatorRewardSet ¶ added in v0.1.3
type ValidatorRewardSet struct {
ValidatorSet []string `protobuf:"bytes,1,rep,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty" yaml:"validator_set"`
}
ValidatorRewardSet is the set of validators that is earning rewards for voting on exchange rates based on their misscounter in a given Slash Window. This set gets updated every Slash Window.
func (*ValidatorRewardSet) Descriptor ¶ added in v0.1.3
func (*ValidatorRewardSet) Descriptor() ([]byte, []int)
func (*ValidatorRewardSet) Marshal ¶ added in v0.1.3
func (m *ValidatorRewardSet) Marshal() (dAtA []byte, err error)
func (*ValidatorRewardSet) MarshalTo ¶ added in v0.1.3
func (m *ValidatorRewardSet) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorRewardSet) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *ValidatorRewardSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorRewardSet) ProtoMessage ¶ added in v0.1.3
func (*ValidatorRewardSet) ProtoMessage()
func (*ValidatorRewardSet) Reset ¶ added in v0.1.3
func (m *ValidatorRewardSet) Reset()
func (*ValidatorRewardSet) Size ¶ added in v0.1.3
func (m *ValidatorRewardSet) Size() (n int)
func (*ValidatorRewardSet) String ¶ added in v0.1.3
func (m *ValidatorRewardSet) String() string
func (*ValidatorRewardSet) Unmarshal ¶ added in v0.1.3
func (m *ValidatorRewardSet) Unmarshal(dAtA []byte) error
func (*ValidatorRewardSet) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *ValidatorRewardSet) XXX_DiscardUnknown()
func (*ValidatorRewardSet) XXX_Marshal ¶ added in v0.1.3
func (m *ValidatorRewardSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorRewardSet) XXX_Merge ¶ added in v0.1.3
func (m *ValidatorRewardSet) XXX_Merge(src proto.Message)
func (*ValidatorRewardSet) XXX_Size ¶ added in v0.1.3
func (m *ValidatorRewardSet) XXX_Size() int
func (*ValidatorRewardSet) XXX_Unmarshal ¶ added in v0.1.3
func (m *ValidatorRewardSet) XXX_Unmarshal(b []byte) error
type VoteForTally ¶
type VoteForTally struct { Denom string ExchangeRate math.LegacyDec Voter sdk.ValAddress Power int64 }
VoteForTally is a convenience wrapper to reduce redundant lookup cost.
func NewVoteForTally ¶
func NewVoteForTally(rate math.LegacyDec, denom string, voter sdk.ValAddress, power int64) VoteForTally
NewVoteForTally returns a new VoteForTally instance.
Source Files ¶
- abci.pb.go
- asset.go
- ballot.go
- codec.go
- currency_deviation_thresholds.go
- currency_pair_providers.go
- denom.go
- errors.go
- events.go
- events.pb.go
- expected_keeper.go
- genesis.go
- genesis.pb.go
- hash.go
- keys.go
- msgs.go
- oracle.pb.go
- params.go
- plan.go
- price_stamp.go
- proposal.go
- query.pb.go
- query.pb.gw.go
- reward_band.go
- tx.pb.go
- vote.go