Documentation ¶
Overview ¶
Package staking defines a "wrapper" module around the Cosmos SDK's native x/staking module. In other words, it provides the exact same functionality as the native module in that it simply embeds the native module. However, it overrides `EndBlock` method. Specifically, these method perform no-ops and return no validator set updates, as validator sets are tracked by the Sequencers module
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
AppModule embeds the Cosmos SDK's x/distribution AppModule where we only override specific methods.
func NewAppModule ¶
func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, ak types.AccountKeeper, bk types.BankKeeper) AppModule
NewAppModule creates a new AppModule object
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate
type AppModuleBasic ¶
type AppModuleBasic struct {
staking.AppModuleBasic
}
Click to show internal directories.
Click to hide internal directories.