Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTxFeeWithSubspaceMinPrices ¶
func CheckTxFeeWithSubspaceMinPrices(txFeeChecker ante.TxFeeChecker, sk antetypes.SubspacesKeeper) ante.TxFeeChecker
CheckTxFeeWithSubspaceMinPrices returns the tx checker that including the subspace allowed tokens into minimum prices list
func GetTxSubspaceID ¶
GetTxSubspaceID returns the valid subspace id, returns false if it is invalid
Types ¶
type DeductFeeDecorator ¶
type DeductFeeDecorator struct {
// contains filtered or unexported fields
}
DeductFeeDecorator represents the decorator used to deduct fee
func NewDeductFeeDecorator ¶
func NewDeductFeeDecorator( authDeductFeeDecorator antetypes.AuthDeductFeeDecorator, ak antetypes.AccountKeeper, bk antetypes.BankKeeper, sk antetypes.SubspacesKeeper, txFeeChecker ante.TxFeeChecker, ) DeductFeeDecorator
NewDeductFeeDecorator returns a new DeductFeeDecorator instance
func (DeductFeeDecorator) AnteHandle ¶
func (dfd DeductFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle implements AnteDecorator
Click to show internal directories.
Click to hide internal directories.