Structs§
- Aggregate
Exchange Rate Prevote - 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}”)
- Aggregate
Exchange Rate Vote - MsgAggregateExchangeRateVote - struct for voting on the exchange rates different assets.
- Dated
Price - Event
Aggregate Prevote - Emitted by MsgAggregateExchangePrevote when an aggregate prevote is added to state
- Event
Aggregate Vote - Emitted by MsgAggregateExchangeVote when an aggregate vote is added to state
- Event
Delegate Feeder Consent - Emitted when a valoper delegates oracle voting rights to a feeder address.
- Event
Price Update - Emitted when a price is posted
- Event
Validator Performance - Exchange
Rate Tuple - ExchangeRateTuple - struct to store interpreted exchange rates data to store
- Feeder
Delegation - 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.
- Genesis
State - GenesisState defines the oracle module’s genesis state.
- Miss
Counter - MissCounter defines an miss counter and validator address pair used in oracle module’s genesis state
- MsgAggregate
Exchange Rate Prevote - MsgAggregateExchangeRatePrevote represents a message to submit aggregate exchange rate prevote.
- MsgAggregate
Exchange Rate Prevote Response - MsgAggregateExchangeRatePrevoteResponse defines the Msg/AggregateExchangeRatePrevote response type.
- MsgAggregate
Exchange Rate Vote - MsgAggregateExchangeRateVote represents a message to submit aggregate exchange rate vote.
- MsgAggregate
Exchange Rate Vote Response - MsgAggregateExchangeRateVoteResponse defines the Msg/AggregateExchangeRateVote response type.
- MsgDelegate
Feed Consent - MsgDelegateFeedConsent represents a message to delegate oracle voting rights to another address.
- MsgDelegate
Feed Consent Response - MsgDelegateFeedConsentResponse defines the Msg/DelegateFeedConsent response type.
- MsgEdit
Oracle Params - MsgEditOracleParams: gRPC tx message for updating the x/oracle module params [SUDO] Only callable by sudoers.
- MsgEdit
Oracle Params Response - MsgEditOracleParamsResponse defines the Msg/EditOracleParams response type.
- Params
- Params defines the module parameters for the x/oracle module.
- Price
Snapshot - a snapshot of the prices at a given point in time
- Query
Actives Request - QueryActivesRequest is the request type for the Query/Actives RPC method.
- Query
Actives Response - QueryActivesResponse is response type for the Query/Actives RPC method.
- Query
Aggregate Prevote Request - QueryAggregatePrevoteRequest is the request type for the Query/AggregatePrevote RPC method.
- Query
Aggregate Prevote Response - QueryAggregatePrevoteResponse is response type for the Query/AggregatePrevote RPC method.
- Query
Aggregate Prevotes Request - QueryAggregatePrevotesRequest is the request type for the Query/AggregatePrevotes RPC method.
- Query
Aggregate Prevotes Response - QueryAggregatePrevotesResponse is response type for the Query/AggregatePrevotes RPC method.
- Query
Aggregate Vote Request - QueryAggregateVoteRequest is the request type for the Query/AggregateVote RPC method.
- Query
Aggregate Vote Response - QueryAggregateVoteResponse is response type for the Query/AggregateVote RPC method.
- Query
Aggregate Votes Request - QueryAggregateVotesRequest is the request type for the Query/AggregateVotes RPC method.
- Query
Aggregate Votes Response - QueryAggregateVotesResponse is response type for the Query/AggregateVotes RPC method.
- Query
Exchange Rate Request - QueryExchangeRateRequest is the request type for the Query/ExchangeRate RPC method.
- Query
Exchange Rate Response - QueryExchangeRateResponse is response type for the Query/ExchangeRate RPC method.
- Query
Exchange Rates Request - QueryExchangeRatesRequest is the request type for the Query/ExchangeRates RPC method.
- Query
Exchange Rates Response - QueryExchangeRatesResponse is response type for the Query/ExchangeRates RPC method.
- Query
Feeder Delegation Request - QueryFeederDelegationRequest is the request type for the Query/FeederDelegation RPC method.
- Query
Feeder Delegation Response - QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.
- Query
Miss Counter Request - QueryMissCounterRequest is the request type for the Query/MissCounter RPC method.
- Query
Miss Counter Response - QueryMissCounterResponse is response type for the Query/MissCounter RPC method.
- Query
Params Request - QueryParamsRequest is the request type for the Query/Params RPC method.
- Query
Params Response - QueryParamsResponse is the response type for the Query/Params RPC method.
- Query
Vote Targets Request - QueryVoteTargetsRequest is the request type for the Query/VoteTargets RPC method.
- Query
Vote Targets Response - 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.