Module v1

Source

Structs§

AggregateExchangeRatePrevote
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}”)
AggregateExchangeRateVote
AggregateExchangeRateVote - struct for voting on the exchange rates of USD denominated in various assets.
Denom
Denom - the object to hold configurations of each denom
EventDelegateFeedConsent
EventDelegateFeedConsent is emitted on Msg/DelegateFeedConsent
EventSetFxRate
EventSetFxRate is emitted on exchange rate update
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 an aggregate exchange rate prevote.
MsgAggregateExchangeRatePrevoteResponse
MsgAggregateExchangeRatePrevoteResponse defines the Msg/AggregateExchangeRatePrevote response type.
MsgAggregateExchangeRateVote
MsgAggregateExchangeRateVote represents a message to submit anaggregate 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.
Params
Params defines the parameters for the oracle module.
QueryActiveExchangeRates
QueryActiveExchangeRates is the request type for the Query/ActiveExchangeRates RPC method.
QueryActiveExchangeRatesResponse
QueryActiveExchangeRatesResponse is response type for the Query/ActiveExchangeRates RPC method.
QueryAggregatePrevote
QueryAggregatePrevote is the request type for the Query/AggregatePrevote RPC method.
QueryAggregatePrevoteResponse
QueryAggregatePrevoteResponse is response type for the Query/AggregatePrevote RPC method.
QueryAggregatePrevotes
QueryAggregatePrevotes is the request type for the Query/AggregatePrevotes RPC method.
QueryAggregatePrevotesResponse
QueryAggregatePrevotesResponse is response type for the Query/AggregatePrevotes RPC method.
QueryAggregateVote
QueryAggregateVote is the request type for the Query/AggregateVote RPC method.
QueryAggregateVoteResponse
QueryAggregateVoteResponse is response type for the Query/AggregateVote RPC method.
QueryAggregateVotes
QueryAggregateVotes is the request type for the Query/AggregateVotes RPC method.
QueryAggregateVotesResponse
QueryAggregateVotesResponse is response type for the Query/AggregateVotes RPC method.
QueryExchangeRates
QueryExchangeRates is the request type for the Query/ExchangeRate RPC method.
QueryExchangeRatesResponse
QueryExchangeRatesResponse is response type for the Query/ExchangeRates RPC method.
QueryFeederDelegation
QueryFeederDelegation is the request type for the Query/FeederDelegation RPC method.
QueryFeederDelegationResponse
QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.
QueryMissCounter
QueryMissCounter is the request type for the Query/MissCounter RPC method.
QueryMissCounterResponse
QueryMissCounterResponse is response type for the Query/MissCounter RPC method.
QueryParams
QueryParams is the request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
QuerySlashWindow
QuerySlashWindow is the request type for the Query/SlashWindow RPC method.
QuerySlashWindowResponse
QuerySlashWindowResponse is response type for the Query/SlashWindow RPC method.