module

package
v0.0.0-...-a9c8dba Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InterfaceRegistry types.InterfaceRegistry

Functions

func NewInterfaceRegistry

func NewInterfaceRegistry(addrPrefix string, valAddrPrefix string) (types.InterfaceRegistry, error)

Types

type SlashingModuleBasic

type SlashingModuleBasic struct {
	slashing.AppModuleBasic
}

SlashingModuleBasic defines a custom wrapper around the default `x/slashing` module's `AppModuleBasic` implementation to provide custom default genesis state.

func (SlashingModuleBasic) DefaultGenesis

func (SlashingModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

DefaultGenesis returns custom `x/slashing` module genesis state.

Jump to

Keyboard shortcuts

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