Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnteHandler ¶
func NewAnteHandler(options ante.HandlerOptions) (sdk.AnteHandler, error)
Types ¶
type AdjustGasPriceDecorator ¶
type AdjustGasPriceDecorator struct { }
AdjustGasPriceDecorator is a custom decorator to reduce fee prices .
func NewAdjustGasPriceDecorator ¶
func NewAdjustGasPriceDecorator() AdjustGasPriceDecorator
NewAdjustGasPriceDecorator create a new instance of AdjustGasPriceDecorator
func (AdjustGasPriceDecorator) AnteHandle ¶
func (r AdjustGasPriceDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle adjusts the gas price based on the tx type.
Click to show internal directories.
Click to hide internal directories.