Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostHandler ¶
func NewPostHandler(options HandlerOptions) (sdk.AnteHandler, error)
NewPostHandler returns a default post handler
Types ¶
type HandlerOptions ¶
type HandlerOptions struct { AccountKeeper ante.AccountKeeper BankKeeper cheqdante.BankKeeper FeegrantKeeper ante.FeegrantKeeper DidKeeper cheqdante.DidKeeper ResourceKeeper cheqdante.ResourceKeeper }
HandlerOptions are the options required for constructing a default post handler
type TaxDecorator ¶ added in v1.1.0
type TaxDecorator struct {
// contains filtered or unexported fields
}
TaxDecorator will handle tax for all taxable messages
func NewTaxDecorator ¶
func NewTaxDecorator(ak ante.AccountKeeper, bk cheqdante.BankKeeper, fk ante.FeegrantKeeper, dk cheqdante.DidKeeper, rk cheqdante.ResourceKeeper) TaxDecorator
NewTaxDecorator returns a new taxDecorator
func (TaxDecorator) AnteHandle ¶ added in v1.1.0
func (td TaxDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle handles tax for all taxable messages
Click to show internal directories.
Click to hide internal directories.