types

package
v0.0.0-...-a8d0dae Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName is the name of the debug module
	ModuleName = "debug"

	// StoreKey is the string store representation
	StoreKey = ModuleName

	// RouterKey is the msg router key for the debug module
	RouterKey = ModuleName

	// QuerierRoute is the querier route for the debug module
	QuerierRoute = ModuleName

	DumpStore         = "dump"
	SetLogLevel       = "set-loglevel"
	SanityCheckShares = "sanity-check-shares"
	InvariantCheck    = "invariant-check"
)
View Source
const (
	DefaultCodespace = ModuleName
)

Variables

View Source
var ModuleCdc *codec.Codec

nolint

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

Register concrete types on codec

Types

type CrisisKeeper

type CrisisKeeper interface {
	AssertInvariants(ctx sdk.Context)
	Invariants() []sdk.Invariant
}

type DumpInfoParams

type DumpInfoParams struct {
	Module string
}

type OrderKeeper

type OrderKeeper interface {
	DumpStore(ctx sdk.Context)
}

type StakingKeeper

type StakingKeeper interface {
	GetAllValidators(ctx sdk.Context) (validators staking.Validators)
	GetValidatorAllShares(ctx sdk.Context, valAddr sdk.ValAddress) staking.SharesResponses
}

Jump to

Keyboard shortcuts

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