Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParamKeyTable ¶
ParamKeyTable returns param table for staking module
Types ¶
type StakingKeeper ¶
func NewStakingKeeper ¶
func NewStakingKeeper(cdcMarshl *codec.CodecProxy, key sdk.StoreKey, supplyKeeper types.SupplyKeeper, paramstore params.Subspace) *StakingKeeper
NewKeeper creates a new staking Keeper instance
func (StakingKeeper) UnbondingTime ¶
func (k StakingKeeper) UnbondingTime(ctx sdk.Context) (res time.Duration)
type StakingModule ¶
func TNewStakingModule ¶
func TNewStakingModule(keeper staking.Keeper, accKeeper types.AccountKeeper, supplyKeeper types.SupplyKeeper) StakingModule
func (StakingModule) InitGenesis ¶
func (s StakingModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
type TestParams ¶
func (*TestParams) ParamSetPairs ¶
func (p *TestParams) ParamSetPairs() params.ParamSetPairs
ParamSetPairs is the implements params.ParamSet
Click to show internal directories.
Click to hide internal directories.