customcrisis

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultGenesis

func DefaultGenesis(defaultBondDenom string) crisis.GenesisState

Types

type AppModuleBasic

type AppModuleBasic struct {
	CrisisModule     crisis.AppModuleBasic
	DefaultBondDenom string
}

app module basics object

func NewAppModuleBasic

func NewAppModuleBasic(defaultBondDenom string) AppModuleBasic

func (AppModuleBasic) DefaultGenesis

func (am AppModuleBasic) DefaultGenesis() json.RawMessage

func (AppModuleBasic) GetQueryCmd

func (am AppModuleBasic) GetQueryCmd(arg *codec.Codec) *cobra.Command

func (AppModuleBasic) GetTxCmd

func (am AppModuleBasic) GetTxCmd(arg *codec.Codec) *cobra.Command

func (AppModuleBasic) Name

func (am AppModuleBasic) Name() string

func (AppModuleBasic) RegisterCodec

func (am AppModuleBasic) RegisterCodec(arg *codec.Codec)

func (AppModuleBasic) RegisterRESTRoutes

func (am AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, r *mux.Router)

func (AppModuleBasic) ValidateGenesis

func (am AppModuleBasic) ValidateGenesis(arg json.RawMessage) error

Jump to

Keyboard shortcuts

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