app

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCodec added in v0.6.0

func MakeCodec() *codec.Codec

MakeCodec returns registered codecs

func ModuleBasics added in v0.6.0

func ModuleBasics() module.BasicManager

ModuleBasics returns all app modules basics

Types

type AkashApp added in v0.6.0

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

AkashApp extends ABCI appplication

func NewApp added in v0.6.0

func NewApp(
	logger log.Logger, db dbm.DB, tio io.Writer, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, options ...func(*bam.BaseApp),
) *AkashApp

NewApp creates and returns a new Akash App.

func (*AkashApp) BeginBlocker added in v0.6.0

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

BeginBlocker is a function in which application updates every begin block

func (*AkashApp) Codec added in v0.6.0

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

Codec returns SimApp's codec.

func (*AkashApp) EndBlocker added in v0.6.0

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

EndBlocker is a function in which application updates every end block

func (*AkashApp) ExportAppStateAndValidators added in v0.6.0

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

ExportAppStateAndValidators exports the state of the application for a genesis file.

func (*AkashApp) InitChainer added in v0.6.0

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

InitChainer application update at chain initialization

func (*AkashApp) LoadHeight added in v0.6.0

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

LoadHeight method of AkashApp loads baseapp application version with given height

func (*AkashApp) ModuleAccountAddrs added in v0.6.0

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

ModuleAccountAddrs returns all the app's module account addresses.

func (*AkashApp) SimulationManager added in v0.6.0

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

SimulationManager implements the SimulationApp interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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