package
0.1.1-blackfury-mn0
Repository: https://github.com/elysium-station/blackfury.git
Documentation: pkg.go.dev
# Functions
AggregateVoteHashFromHexString convert hex string to AggregateVoteHash.
DefaultGenesis returns the default genesis state.
DefaultParams returns a default set of parameters.
ExtractDenomFromTargetKey - split denom from the target key.
ExtractDenomFromVoteTargetKey - split denom from the vote target key.
GenerateRandomTestCase nolint.
GetAggregateExchangeRatePrevoteKey - stored by *Validator* address.
GetAggregateExchangeRateVoteKey - stored by *Validator* address.
GetAggregateVoteHash computes hash value of ExchangeRateVote.
GetExchangeRateKey - stored by *denom*.
GetFeederDelegationKey - stored by *Validator* address.
GetMissCounterKey - stored by *Validator* address.
GetTargetKey - stored by *denom* bytes.
GetVoteTargetKey - stored by *denom* bytes.
NewAggregateExchangeRatePrevote creates an AggregateExchangeRatePrevote instance.
NewAggregateExchangeRateVote creates an AggregateExchangeRateVote instance.
NewClaim creates a Claim instance.
NewDummyStakingKeeper returns new DummyStakingKeeper instance.
NewExchangeRateTuple creates an ExchangeRateTuple instance.
NewGenesis creates a new genesis state.
No description provided by the author
NewMsgAggregateExchangeRatePrevote creates a MsgAggregateExchangeRatePrevote instance.
NewMsgAggregateExchangeRateVote creates a MsgAggregateExchangeRateVote instance.
No description provided by the author
NewMsgDelegateFeedConsent creates a MsgDelegateFeedConsent instance.
NewParams creates a new Params instance.
No description provided by the author
NewVoteForTally creates a new VoteForTally instance.
ParamKeyTable the param key table for launch module.
ParseExchangeRateTuples parses ExchangeRateTuple from a string.
No description provided by the author
No description provided by the author
RegisterMsgHandler registers the http handlers for service Msg to "mux".
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux".
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux".
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
# Constants
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
reward distribution window for a year.
slash window for a week.
60 seconds.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
x/oracle module event types.
MemStoreKey defines the in-memory store key.
ModuleName defines the module name.
OracleDecPrecision nolint.
No description provided by the author
QuerierRoute defines the module's query routing key.
RouterKey is the message route for slashing.
StoreKey defines the primary module store key.
TARGET_SOURCE_DEX target quotation source is from on-chain DEX.
TARGET_SOURCE_INTERCHAIN_DEX target quotation source is from inter-chain DEX.
TARGET_SOURCE_INTERCHAIN_ORACLE target quotation source is from inter-chain oracle.
TARGET_SOURCE_UNSPECIFIED defines an invalid/undefined target source.
TARGET_SOURCE_VALIDATORS target quotation source is from validators.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
prefix for each key to a aggregate prevote.
prefix for each key to a aggregate vote.
No description provided by the author
5%.
2% (-1, 1).
0.01%.
50%.
x/oracle module 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
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module 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
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module sentinel errors.
x/oracle module 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
x/oracle module sentinel errors.
x/oracle module sentinel 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.
prefix for each key to a miss counter.
No description provided by the author
prefix for each key to a target.
No description provided by the author
No description provided by the author
prefix for each key to a vote target.
# Structs
AggregateExchangeRatePrevote represents the aggregate prevoting on the ExchangeRateVote.
AggregateExchangeRateVote represents the voting on the exchange rates of various assets denominated in uUSD.
Claim is an interface that directs its rewards to an attached bank account.
DummyStakingKeeper dummy staking keeper to test ballot.
ExchangeRateTuple stores interpreted exchange rates data.
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 defines a message to submit aggregate exchange rate prevote.
MsgAggregateExchangeRatePrevoteResponse defines the MsgAggregateExchangeRatePrevote response type.
MsgAggregateExchangeRateVote defines a message to submit aggregate exchange rate vote.
MsgAggregateExchangeRateVoteResponse defines the MsgAggregateExchangeRateVote response type.
MsgDelegateFeedConsent defines a message to delegate oracle voting rights to another address.
MsgDelegateFeedConsentResponse defines the MsgDelegateFeedConsent response type.
Params defines the parameters for the oracle module.
QueryActivesRequest is the request type for the Query/Actives RPC method.
QueryActivesResponse is response type for the Query/Actives 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.
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.
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 request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
QueryTargetsRequest is the request type for the Query/Targets RPC method.
QueryTargetsResponse is response type for the Query/Targets RPC method.
QueryVoteTargetsRequest is the request type for the Query/VoteTargets RPC method.
QueryVoteTargetsResponse is response type for the Query/VoteTargets RPC method.
RegisterTargetProposal is a gov Content type to register eligible target asset which will be price quoted.
No description provided by the author
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 account keeper used for simulations (noalias).
BankKeeper defines the expected interface needed to retrieve account balances.
No description provided by the author
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.
No description provided by the author
# Type aliases
AggregateVoteHash is hash value to hide vote exchange rates which is formatted as hex string in SHA256("{salt}:{exchange rate}{denom},...,{exchange rate}{denom}:{voter}").
ExchangeRateBallot is a convenience wrapper around a ExchangeRateVote slice.
ExchangeRateTuples defines array of ExchangeRateTuple.
TargetSource enumerates the quotation source of a target asset.