package
7.0.1+incompatible
Repository: https://github.com/dydxprotocol/v4-chain.git
Documentation: pkg.go.dev
# Functions
DefaultGenesis returns the default stats genesis state.
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
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
BlockStatsKey is the key to get the BlockStats for the module.
CachedStakeAmountKey is the key to get the cached stake amount.
EpochStatsKeyPrefix is the prefix to retrieve the EpochStats for a given epoch.
GlobalStatsKey is the key to get the GlobalStats for the module.
ModuleName defines the module name.
ParamsKey defines the key for the params.
Staked amount cache duration set to 15 minutes.
StatsMetadataKey is the key to get the StatsMetadata for the module.
StoreKey defines the primary module store key.
TransientStoreKey defines the primary module transient store key.
UserStatsKeyPrefix is the prefix to retrieve the UserStats for a given user.
# Variables
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
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
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
No description provided by the author
# Structs
BlockStats is used to store stats transiently within the scope of a block.
Fill records data about a fill on this block.
CachedStakeAmount stores the last calculated total staked amount for address.
EpochStats stores stats for a particular epoch.
A user and its associated stats.
GenesisState defines the stats module's genesis state.
GlobalStats stores global stats.
MsgUpdateParams is the Msg/UpdateParams request type.
MsgUpdateParamsResponse is the Msg/UpdateParams response type.
Params defines the parameters for x/stats module.
QueryGlobalStatsRequest is a request type for the GlobalStats RPC method.
QueryGlobalStatsResponse is a response type for the GlobalStats RPC method.
QueryParamsRequest is a request type for the Params RPC method.
QueryParamsResponse is a response type for the Params RPC method.
QueryStatsMetadataRequest is a request type for the StatsMetadata RPC method.
QueryStatsMetadataResponse is a response type for the StatsMetadata RPC method.
QueryUserStatsRequest is a request type for the UserStats RPC method.
QueryUserStatsResponse is a request type for the UserStats RPC method.
StatsMetadata stores metadata for the x/stats module.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
UserStats stores stats for a User.
# Interfaces
EpochsKeeper defines the expected epochs keeper to get epoch info.
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