module

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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. TODO(DEC-1776): Adjust below values based on final state of `Network Parameters` doc.

Jump to

Keyboard shortcuts

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