Refactor * No more decorators, but rather types.AntiHandler * No more handlers, but rather types.MsgHandler * Ability to pass "stores" in NewXYZHandler() * Coins live in types, and Accounts have coins * Coinstore -> bank
6 lines
124 B
Go
6 lines
124 B
Go
package types
|
|
|
|
type Handler func(ctx Context, tx Tx) Result
|
|
|
|
type AnteHandler func(ctx Context, tx Tx) (Result, abort bool)
|