Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostHandler ¶
func NewPostHandler(options HandlerOptions) (sdk.PostHandler, error)
NewPostHandler returns an PostHandler that checks and set target commission rate for msg create validator and msg edit validator
Types ¶
type HandlerOptions ¶
type HandlerOptions struct { AccountKeeper ante.AccountKeeper BankKeeper tax2gastypes.BankKeeper FeegrantKeeper tax2gastypes.FeegrantKeeper DyncommKeeper dyncommkeeper.Keeper TreasuryKeeper tax2gastypes.TreasuryKeeper DistrKeeper tax2gastypes.DistrKeeper Tax2Gaskeeper tax2gaskeeper.Keeper }
HandlerOptions are the options required for constructing a default SDK AnteHandler.
Click to show internal directories.
Click to hide internal directories.