Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCodespace = types.DefaultParamspace ModuleName = types.ModuleName RouteKey = types.ModuleName //block int64 = 100 ModuleHeight int64 = 1 )
Variables ¶
View Source
var ( ModuleCdc = types.DistributionCdc NewQuerier = keeper.NewQuerier NewHandler = h.NewHandler )
Functions ¶
func BeginBlock ¶
func BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock, distr k.DistrKeeper)
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, ak account.AccountKeeper, sk supply.Keeper, k keeper.DistrKeeper, data types.GenesisState)
Types ¶
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶ added in v1.5.23
func ExportGenesis(ctx sdk.Context, ak account.AccountKeeper, sk supply.Keeper, k keeper.DistrKeeper) GenesisState
Click to show internal directories.
Click to hide internal directories.