Documentation ¶
Index ¶
- func MakeCodec() *wire.Codec
- type PassmosApp
- func (app *PassmosApp) BeginBlocker(_ sdk.Context, _ abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *PassmosApp) EndBlocker(_ sdk.Context, _ abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *PassmosApp) ExportAppStateAndValidators() (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PassmosApp ¶
PassmosApp implements an extended ABCI application. It contains a BaseApp, a codec for serialization, KVStore keys for multistore state management, and various mappers and keepers to manage getting, setting, and serializing the integral app types.
func NewPassmosApp ¶
NewPassmosApp returns a reference to a new PassmosApp given a logger and database. Internally, a codec is created along with all the necessary keys. In addition, all necessary mappers and keepers are created, routes registered, and finally the stores being mounted along with any necessary chain initialization.
func (*PassmosApp) BeginBlocker ¶
func (app *PassmosApp) BeginBlocker(_ sdk.Context, _ abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker reflects logic to run before any TXs application are processed by the application.
func (*PassmosApp) EndBlocker ¶
func (app *PassmosApp) EndBlocker(_ sdk.Context, _ abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker reflects logic to run after all TXs are processed by the application.
func (*PassmosApp) ExportAppStateAndValidators ¶
func (app *PassmosApp) ExportAppStateAndValidators() (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
ExportAppStateAndValidators implements custom application logic that exposes various parts of the application's state and set of validators. An error is returned if any step getting the state or set of validators fails.