Back to

Package types

Latest Go to latest
Published: Jun 11, 2020 | License: Apache-2.0 | Module:


Package Files


var ModuleCdc *codec.Codec

ModuleCdc defines generic sealed codec to be used throughout this module

type AccountKeeper

type AccountKeeper interface {
	NewAccount(sdk.Context, auth.Account) auth.Account
	SetAccount(sdk.Context, auth.Account)
	IterateAccounts(ctx sdk.Context, process func(auth.Account) (stop bool))

AccountKeeper defines expected account keeper

type GenesisAccountsIterator

type GenesisAccountsIterator interface {
		cdc *codec.Codec,
		appGenesis map[string]json.RawMessage,
		iterateFn func(auth.Account) (stop bool),

GenesisAccountsIterator defines the expected interface for iterating genesis accounts object

type StakingKeeper

type StakingKeeper interface {
	ApplyAndReturnValidatorSetUpdates(sdk.Context) (updates []abci.ValidatorUpdate)

StakingKeeper defeins expected staking keeper

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier