Documentation ¶
Index ¶
- Constants
- Variables
- func BeginBlock()
- func EndBlock(ctx sdk.Context, k keeper.PreStakingKeeper)
- func ExportGenesis(ctx sdk.Context, k keeper.PreStakingKeeper) types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.PreStakingKeeper, data GenesisState)
- func UpdateDeadlineRecord(ctx sdk.Context, ps keeper.PreStakingKeeper)
- type GenesisState
- type Keeper
Constants ¶
View Source
const ( RouteKey = types.RouteKey StoreKey = types.StoreKey ModuleName = types.ModuleName DefaultCodespace = types.DefaultCodespace )
View Source
const (
CheckRecordWindow = 20000
)
Variables ¶
View Source
var ( NewQuerier = k.NewQuerier NewHandler = h.NewHandler NewKeeper = k.NewPreStakingKeeper )
Functions ¶
func BeginBlock ¶
func BeginBlock()
func ExportGenesis ¶ added in v1.5.53
func ExportGenesis(ctx sdk.Context, k keeper.PreStakingKeeper) types.GenesisState
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k keeper.PreStakingKeeper, data GenesisState)
func UpdateDeadlineRecord ¶ added in v1.6.24
func UpdateDeadlineRecord(ctx sdk.Context, ps keeper.PreStakingKeeper)
Types ¶
type GenesisState ¶ added in v1.5.53
type GenesisState = types.GenesisState
type Keeper ¶ added in v1.6.3
type Keeper = k.PreStakingKeeper
Click to show internal directories.
Click to hide internal directories.