package
5.10.0-jeremy-eip-1559+incompatible
Repository: https://github.com/sei-protocol/sei-chain.git
Documentation: pkg.go.dev
# Functions
DefaultGenesisState - default GenesisState used by columbus-2.
DefaultParams creates default oracle module parameters.
No description provided by the author
GenerateRandomTestCase nolint nolint:staticcheck.
GetAggregateExchangeRateVoteKey - stored by *Validator* address.
GetExchangeRateKey - stored by *denom*.
GetFeederDelegationKey - stored by *Validator* address.
GetGenesisStateFromAppState returns x/oracle GenesisState given raw application genesis state.
No description provided by the author
No description provided by the author
GetSpamPreventionCounterKey - stored by *Validator* address.
GetVotePenaltyCounterKey - stored by *Validator* address.
No description provided by the author
NewAggregateExchangeRateVote creates a AggregateExchangeRateVote instance.
NewClaim generates a Claim instance.
No description provided by the author
NewDummyStakingKeeper returns new DummyStakingKeeper instance.
NewExchangeRateTuple creates a ExchangeRateTuple instance.
NewGenesisState creates a new GenesisState object.
No description provided by the author
NewMsgAggregateExchangeRateVote returns MsgAggregateExchangeRateVote instance.
No description provided by the author
NewMsgDelegateFeedConsent creates a MsgDelegateFeedConsent instance.
No description provided by the author
No description provided by the author
NewQueryAggregateVoteParams returns params for feeder delegation query.
No description provided by the author
NewQueryExchangeRateParams returns params for exchange_rate query.
NewQueryFeederDelegationParams returns params for feeder delegation query.
NewQueryExchangeRateParams returns params for exchange_rate query.
NewQueryVotePenaltyCounterParams returns params for feeder delegation query.
NewQueryVotesParams returns params for exchange_rate votes query.
NewVoteForTally returns a new VoteForTally instance.
ParamKeyTable returns the parameter key table.
ParseExchangeRateTuples ExchangeRateTuple parser.
No description provided by the author
No description provided by the author
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
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.
2 days for oracle slashing.
Voting every other block.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
Oracle module event types.
StoreKey is the string store representation.
ModuleName is the name of the oracle module.
OracleDecPrecision nolint.
QuerierRoute is the query router key for the oracle module.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
Defines the prefix of each query path.
RouterKey is the msg router key for the oracle module.
StoreKey is the string store representation.
oracle message types.
oracle message types.
# Variables
prefix for each key to a aggregate vote.
No description provided by the author
in seconds.
5%.
2% (-1, 1).
0.00%.
66.7%.
Default parameter values.
Oracle Errors.
Oracle Errors.
Oracle Errors.
Oracle Errors.
Oracle 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 Errors.
Oracle Errors.
Oracle 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 Errors.
Oracle Errors.
Oracle Errors.
Oracle Errors.
Oracle Errors.
Oracle Errors.
Oracle Errors.
Oracle 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 Errors.
Oracle Errors.
Oracle Errors.
prefix for each key to a rate.
prefix for each key to a feeder delegation.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
No description provided by the author
key for price snapshots history.
key for spam prevention counter.
prefix for each key to a miss counter.
prefix for each key to a vote target.
# Structs
No description provided by the author
Claim is an interface that directs its rewards to an attached bank account.
No description provided by the author
No description provided by the author
DummyStakingKeeper dummy staking keeper to test ballot.
No description provided by the author
No description provided by the author
No description provided by the author
MockValidator.
MsgAggregateExchangeRateVote represents a message to submit aggregate 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.
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
QueryActivesRequest is the request type for the Query/Actives RPC method.
QueryActivesResponse is response type for the Query/Actives RPC method.
QueryAggregateVoteParams defines the params for the following queries: - 'custom/oracle/aggregateVote'.
QueryExchangeRateParams defines the params for the following queries: - 'custom/oracle/exchange_rate'.
QueryExchangeRateRequest is the request type for the Query/ExchangeRate RPC method.
QueryExchangeRateResponse is response type for the Query/ExchangeRate RPC method.
QueryExchangeRatesRequest is the request type for the Query/ExchangeRates RPC method.
QueryExchangeRatesResponse is response type for the Query/ExchangeRates RPC method.
QueryFeederDelegationParams defeins the params for the following queries: - 'custom/oracle/feederDelegation'.
QueryFeederDelegationRequest is the request type for the Query/FeederDelegation RPC method.
QueryFeederDelegationResponse is response type for the Query/FeederDelegation RPC method.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
request type for price snapshot history RPC method.
No description provided by the author
QuerySlashWindow is the request type for the Query/SlashWindow RPC method.
QuerySlashWindowResponse is response type for the Query/SlashWindow RPC method.
QueryTwapParams defines the params for the following queries: - 'custom/oracle/twap'.
request type for twap RPC method.
No description provided by the author
QueryMissCounterParams defines the params for the following queries: - 'custom/oracle/missCounter'.
QueryVotePenaltyCounterRequest is the request type for the Query/MissCounter RPC method.
QueryVotePenaltyCounterResponse is response type for the Query/VotePenaltyCounter RPC method.
QueryVotesParams defines the params for the following queries: - 'custom/oracle/votes'.
QueryVoteTargetsRequest is the request type for the Query/VoteTargets RPC method.
QueryVoteTargetsResponse is response type for the Query/VoteTargets 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.
No description provided by the author
# Interfaces
AccountKeeper is expected keeper for auth module.
BankKeeper defines the expected interface needed to retrieve account balances.
DistributionKeeper is expected keeper for 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 is expected keeper for staking module.
# Type aliases
DenomList is array of Denom.
OracleExchangeRates - array of OracleExchangeRate.
ExchangeRateBallot is a convenience wrapper around a ExchangeRateVote slice.
ExchangeRateTuples - array of ExchangeRateTuple.
No description provided by the author
No description provided by the author
OracleExchangeRates - array of OracleExchangeRate.
VotePenaltyCounter - array of VotePenaltyCounter.