cosmos-sdk/types/handler.go

8 lines
259 B
Go

package types
// core function variable which application runs for transactions
type Handler func(ctx Context, msg Msg) Result
// If newCtx.IsZero(), ctx is used instead.
type AnteHandler func(ctx Context, tx Tx) (newCtx Context, result Result, abort bool)