2018-02-16 17:15:38 -08:00
|
|
|
package types
|
|
|
|
|
|
|
|
import abci "github.com/tendermint/abci/types"
|
|
|
|
|
|
|
|
// initialize application state at genesis
|
2018-02-17 15:10:55 -08:00
|
|
|
type InitChainer func(ctx Context, req abci.RequestInitChain) abci.ResponseInitChain
|
|
|
|
|
|
|
|
//
|
|
|
|
type BeginBlocker func(ctx Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
|
|
|
|
|
|
|
|
//
|
|
|
|
type EndBlocker func(ctx Context, req abci.RequestEndBlock) abci.ResponseEndBlock
|