staking

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParamKeyTable

func ParamKeyTable() params.KeyTable

ParamKeyTable returns param table for staking module

Types

type StakingKeeper

type StakingKeeper struct {
	keeper.Keeper
}

func NewStakingKeeper

func NewStakingKeeper(cdcMarshl *codec.CodecProxy, key sdk.StoreKey, supplyKeeper types.SupplyKeeper,
	paramstore params.Subspace) *StakingKeeper

NewKeeper creates a new staking Keeper instance

type StakingModule

type StakingModule struct {
	staking.AppModule
	// contains filtered or unexported fields
}

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

type TestParams struct {
	*types.Params
}

func (*TestParams) ParamSetPairs

func (p *TestParams) ParamSetPairs() params.ParamSetPairs

ParamSetPairs is the implements params.ParamSet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL