Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeeDecorator ¶
type FeeDecorator struct {
// contains filtered or unexported fields
}
FeeDecorator deducts fees from the first signer of the tx If the first signer does not have the funds to pay for the fees, return with InsufficientFunds error Call next AnteHandler if fees successfully deducted CONTRACT: Tx must implement FeeTx interface to use DeductFeeDecorator
func NewFeeDecorator ¶
func NewFeeDecorator(ak ante.AccountKeeper, bk types.BankKeeper, fk types.FeegrantKeeper, tk types.TreasuryKeeper, taxKeeper tax2gasKeeper.Keeper) FeeDecorator
func (FeeDecorator) AnteHandle ¶
func (FeeDecorator) ContainsOnlyBypassMinFeeMsgs ¶
func (FeeDecorator) GetFinalGasPrices ¶
func (fd FeeDecorator) GetFinalGasPrices(ctx sdk.Context) sdk.DecCoins
Click to show internal directories.
Click to hide internal directories.