app

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: GPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetMaccPerms

func GetMaccPerms() map[string][]string

func MakeCodec

func MakeCodec() *codec.Codec

MakeCodec generates the necessary codecs for Amino

func RegisterCoinDenoms

func RegisterCoinDenoms()

func SetBech32AddressPrefixes

func SetBech32AddressPrefixes(config *sdk.Config)

Types

type AnathaApp

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

func NewAnathaApp

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

NewAnathaApp is a constructor function for AnathaApp

func (*AnathaApp) BeginBlocker

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

func (*AnathaApp) Codec

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

func (*AnathaApp) EndBlocker

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

func (*AnathaApp) ExportAppStateAndValidators

func (app *AnathaApp) 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 (*AnathaApp) InitChainer

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

func (*AnathaApp) LoadHeight

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

func (*AnathaApp) ModuleAccountAddrs

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

ModuleAccountAddrs returns all the app's module account addresses.

func (*AnathaApp) NewAnteHandler

func (app *AnathaApp) NewAnteHandler() sdk.AnteHandler

type GenesisState

type GenesisState map[string]json.RawMessage

GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.

func NewDefaultGenesisState

func NewDefaultGenesisState() GenesisState

Jump to

Keyboard shortcuts

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