types

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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