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.
Click to show internal directories.
Click to hide internal directories.