# Functions
AggregateVoteHashFromHexString convert hex string to AggregateVoteHash.
BallotMapToSlice returns an array of sorted exchange rate ballots.
ClaimMapToSlice returns an array of sorted exchange rate ballots.
DefaultGenesisState returns the default genesesis state for the x/oracle module.
DefaultParams creates default oracle module parameters.
GenerateRandomTestCase nolint.
GetAggregateExchangeRatePrevoteKey - stored by *Validator* address.
GetAggregateExchangeRateVoteKey - stored by *Validator* address.
GetAggregateVoteHash computes hash value of ExchangeRateVote to avoid redundant DecCoins stringify operation.
GetExchangeRateKey - stored by *denom*.
GetFeederDelegationKey - stored by *Validator* address.
GetGenesisStateFromAppState returns x/oracle GenesisState given raw application genesis state.
GetMissCounterKey - stored by *Validator* address.
No description provided by the author
No description provided by the author
NewClaim generates a Claim instance.
NewDummyStakingKeeper returns new DummyStakingKeeper instance.
NewExchangeRateTuple creates a ExchangeRateTuple instance.
NewGenesisState creates a new GenesisState object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgDelegateFeedConsent creates a MsgDelegateFeedConsent instance.
No description provided by the author
NewVoteForTally returns a new VoteForTally instance.
ParamKeyTable returns the parameter key table.
ParseExchangeRateTuples ExchangeRateTuple parser.
RegisterInterfaces registers the x/oracle interfaces types with the interface registry.
RegisterLegacyAminoCodec registers the necessary x/oracle interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ValidateGenesis validates the oracle genesis state.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
window for a year.
window for a week.
30 seconds.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
No description provided by the author
ModuleName is the name of the oracle module.
OracleDecPrecision nolint.
QuerierRoute is the query router key for the oracle module.
RouterKey is the msg router key for the oracle module.
StoreKey is the string store representation.
Messages types constants.
Messages types constants.
Messages types constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Default parameter values.
5%.
2% (-1, 1).
0.01%.
50%.
Oracle sentinel errors.
Oracle sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
Oracle sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Oracle sentinel errors.
Oracle sentinel errors.
Parameter keys.
Parameter keys.
prefix for each key to a aggregate prevote.
prefix for each key to a aggregate vote.
prefix for each key to a rate.
prefix for each key to a feeder delegation.
prefix for each key to a miss counter.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
ModuleCdc references the global x/oracle module codec.
# Structs
AggregateExchangeRatePrevote - struct for aggregate prevoting on the ExchangeRateVote.
AggregateExchangeRateVote - struct for voting on the exchange rates of USD denominated in various assets.
BallotDenom is a convenience wrapper for setting rates deterministically.
Claim is an interface that directs its rewards to an attached bank account.
Denom - the object to hold configurations of each denom.
DummyStakingKeeper dummy staking keeper to test ballot.
No description provided by the author
ExchangeRateTuple - struct to store interpreted exchange rates data to store.
No description provided by the author
FeederDelegation is the address for where oracle feeder authority are delegated to.
GenesisState defines the oracle module's genesis state.
MissCounter defines an miss counter and validator address pair used in oracle module's genesis state.
MockValidator nolint.
MsgAggregateExchangeRatePrevote represents a message to submit an aggregate exchange rate prevote.
MsgAggregateExchangeRatePrevoteResponse defines the Msg/AggregateExchangeRatePrevote response type.
MsgAggregateExchangeRateVote represents a message to submit anaggregate exchange rate vote.
MsgAggregateExchangeRateVoteResponse defines the Msg/AggregateExchangeRateVote response type.
MsgDelegateFeedConsent represents a message to delegate oracle voting rights to another address.
MsgDelegateFeedConsentResponse defines the Msg/DelegateFeedConsent response type.
Params defines the parameters for the oracle module.
QueryActiveExchangeRatesRequest is the request type for the Query/ActiveExchangeRates RPC method.
QueryActiveExchangeRatesResponse is response type for the Query/ActiveExchangeRates RPC method.
QueryAggregatePrevoteRequest is the request type for the Query/AggregatePrevote RPC method.
QueryAggregatePrevoteResponse is response type for the Query/AggregatePrevote RPC method.
QueryAggregatePrevotesRequest is the request type for the Query/AggregatePrevotes RPC method.
QueryAggregatePrevotesResponse is response type for the Query/AggregatePrevotes RPC method.
QueryAggregateVoteRequest is the request type for the Query/AggregateVote RPC method.
QueryAggregateVoteResponse is response type for the Query/AggregateVote RPC method.
QueryAggregateVotesRequest is the request type for the Query/AggregateVotes RPC method.
QueryAggregateVotesResponse is response type for the Query/AggregateVotes RPC method.
QueryExchangeRatesRequest is the request type for the Query/ExchangeRate RPC method.
QueryExchangeRatesResponse is response type for the Query/ExchangeRates RPC method.
QueryFeederDelegationRequest is the request type for the Query/FeederDelegation RPC method.
QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.
QueryMissCounterRequest is the request type for the Query/MissCounter RPC method.
QueryMissCounterResponse is response type for the Query/MissCounter RPC method.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
VoteForTally is a convenience wrapper to reduce redundant lookup cost.
# Interfaces
AccountKeeper defines the expected interface contract defined by the x/auth module.
BankKeeper defines the expected interface contract defined by the x/bank module.
DistributionKeeper defines the expected interface contract defined by the x/distribution module.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
StakingKeeper defines the expected interface contract defined by the x/staking module.
# Type aliases
AggregateVoteHash is hash value to hide vote exchange rates which is formatted as a HEX string: SHA256("{salt}:{symbol}:{exchangeRate},...,{symbol}:{exchangeRate}:{voter}").
DenomList is array of Denom.
ExchangeRateBallot is a convenience wrapper around a ExchangeRateVote slice.
ExchangeRateTuples - array of ExchangeRateTuple.
No description provided by the author