Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppModule ¶
type AppModule struct { // embed the Cosmos SDK's x/distribution AppModule distr.AppModule // contains filtered or unexported fields }
AppModule embeds the Cosmos SDK's x/distribution AppModule
func NewAppModule ¶
func NewAppModule( cdc codec.Codec, keeper keeper.Keeper, ak distrtypes.AccountKeeper, bk distrtypes.BankKeeper, sk *estakingkeeper.Keeper, assetprofileKeeper *assetprofilekeeper.Keeper, feeCollectorName string, subspace exported.Subspace, ) AppModule
NewAppModule creates a new AppModule object using the native x/distribution module AppModule constructor.
func (AppModule) AllocateTokens ¶
AllocateTokens handles distribution of the collected fees
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock)
BeginBlocker mirror functionality of cosmos-sdk/distribution BeginBlocker however it allocates no proposer reward
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
RegisterInvariants registers the distribution module invariants.
type AppModuleBasic ¶
type AppModuleBasic struct {
distr.AppModuleBasic
}
AppModule embeds the Cosmos SDK's x/distribution AppModuleBasic.
Click to show internal directories.
Click to hide internal directories.