app

package
v0.0.0-...-7eca845 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: GPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetMaccPerms

func GetMaccPerms() map[string][]string

func MakeCodecs

func MakeCodecs() (*std.Codec, *codec.Codec)

Types

type CoCoApp

type CoCoApp struct {
	*bam.BaseApp
	// contains filtered or unexported fields
}

func NewCoCoApp

func NewCoCoApp(
	logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool,
	invCheckPeriod uint, skipUpgradeHeights map[int64]bool, home string,
	baseAppOptions ...func(*bam.BaseApp),
) *CoCoApp

func (*CoCoApp) BeginBlocker

func (app *CoCoApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock

func (*CoCoApp) BlacklistedAccAddrs

func (app *CoCoApp) BlacklistedAccAddrs() map[string]bool

func (*CoCoApp) Codec

func (app *CoCoApp) Codec() *codec.Codec

func (*CoCoApp) EndBlocker

func (app *CoCoApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock

func (*CoCoApp) ExportAppStateAndValidators

func (app *CoCoApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string,
) (appState json.RawMessage, validators []tmtypes.GenesisValidator, cp *abci.ConsensusParams, err error)

func (*CoCoApp) InitChainer

func (app *CoCoApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain

func (*CoCoApp) LoadHeight

func (app *CoCoApp) LoadHeight(height int64) error

func (*CoCoApp) ModuleAccountAddrs

func (app *CoCoApp) ModuleAccountAddrs() map[string]bool

func (*CoCoApp) Name

func (app *CoCoApp) Name() string

func (*CoCoApp) SimulationManager

func (app *CoCoApp) SimulationManager() *module.SimulationManager

type GenesisState

type GenesisState map[string]json.RawMessage

func NewDefaultGenesisState

func NewDefaultGenesisState() GenesisState

Jump to

Keyboard shortcuts

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