Module oracle

Source

Structs§

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}:({pair},{exchange_rate})|…|({pair},{exchange_rate}):{voter}”)
AggregateExchangeRateVote
MsgAggregateExchangeRateVote - struct for voting on the exchange rates different assets.
DatedPrice
EventAggregatePrevote
Emitted by MsgAggregateExchangePrevote when an aggregate prevote is added to state
EventAggregateVote
Emitted by MsgAggregateExchangeVote when an aggregate vote is added to state
EventDelegateFeederConsent
Emitted when a valoper delegates oracle voting rights to a feeder address.
EventPriceUpdate
Emitted when a price is posted
EventValidatorPerformance
ExchangeRateTuple
ExchangeRateTuple - struct to store interpreted exchange rates data to store
FeederDelegation
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.
GenesisState
GenesisState defines the oracle module’s genesis state.
MissCounter
MissCounter defines an miss counter and validator address pair used in oracle module’s genesis state
MsgAggregateExchangeRatePrevote
MsgAggregateExchangeRatePrevote represents a message to submit aggregate exchange rate prevote.
MsgAggregateExchangeRatePrevoteResponse
MsgAggregateExchangeRatePrevoteResponse defines the Msg/AggregateExchangeRatePrevote response type.
MsgAggregateExchangeRateVote
MsgAggregateExchangeRateVote represents a message to submit aggregate exchange rate vote.
MsgAggregateExchangeRateVoteResponse
MsgAggregateExchangeRateVoteResponse defines the Msg/AggregateExchangeRateVote response type.
MsgDelegateFeedConsent
MsgDelegateFeedConsent represents a message to delegate oracle voting rights to another address.
MsgDelegateFeedConsentResponse
MsgDelegateFeedConsentResponse defines the Msg/DelegateFeedConsent response type.
MsgEditOracleParams
MsgEditOracleParams: gRPC tx message for updating the x/oracle module params [SUDO] Only callable by sudoers.
MsgEditOracleParamsResponse
MsgEditOracleParamsResponse defines the Msg/EditOracleParams response type.
Params
Params defines the module parameters for the x/oracle module.
PriceSnapshot
a snapshot of the prices at a given point in time
QueryActivesRequest
QueryActivesRequest is the request type for the Query/Actives RPC method.
QueryActivesResponse
QueryActivesResponse is response type for the Query/Actives RPC method.
QueryAggregatePrevoteRequest
QueryAggregatePrevoteRequest is the request type for the Query/AggregatePrevote RPC method.
QueryAggregatePrevoteResponse
QueryAggregatePrevoteResponse is response type for the Query/AggregatePrevote RPC method.
QueryAggregatePrevotesRequest
QueryAggregatePrevotesRequest is the request type for the Query/AggregatePrevotes RPC method.
QueryAggregatePrevotesResponse
QueryAggregatePrevotesResponse is response type for the Query/AggregatePrevotes RPC method.
QueryAggregateVoteRequest
QueryAggregateVoteRequest is the request type for the Query/AggregateVote RPC method.
QueryAggregateVoteResponse
QueryAggregateVoteResponse is response type for the Query/AggregateVote RPC method.
QueryAggregateVotesRequest
QueryAggregateVotesRequest is the request type for the Query/AggregateVotes RPC method.
QueryAggregateVotesResponse
QueryAggregateVotesResponse is response type for the Query/AggregateVotes RPC method.
QueryExchangeRateRequest
QueryExchangeRateRequest is the request type for the Query/ExchangeRate RPC method.
QueryExchangeRateResponse
QueryExchangeRateResponse is response type for the Query/ExchangeRate RPC method.
QueryExchangeRatesRequest
QueryExchangeRatesRequest is the request type for the Query/ExchangeRates RPC method.
QueryExchangeRatesResponse
QueryExchangeRatesResponse is response type for the Query/ExchangeRates RPC method.
QueryFeederDelegationRequest
QueryFeederDelegationRequest is the request type for the Query/FeederDelegation RPC method.
QueryFeederDelegationResponse
QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.
QueryMissCounterRequest
QueryMissCounterRequest is the request type for the Query/MissCounter RPC method.
QueryMissCounterResponse
QueryMissCounterResponse is response type for the Query/MissCounter RPC method.
QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
QueryVoteTargetsRequest
QueryVoteTargetsRequest is the request type for the Query/VoteTargets RPC method.
QueryVoteTargetsResponse
QueryVoteTargetsResponse is response type for the Query/VoteTargets RPC method.
Rewards
Rewards defines a credit object towards validators which provide prices faithfully for different pairs.