Documentation ¶
Index ¶
- func CalculateRefundFees(gasUsed uint64, fees sdk.DecCoins, gasPrice *big.Int) sdk.Coins
- func NewGasRefundDecorator(ak auth.AccountKeeper, sk types.SupplyKeeper, ik innertx.InnerTxKeeper) sdk.GasRefundHandler
- func NewGasRefundHandler(ak auth.AccountKeeper, sk types.SupplyKeeper, ik innertx.InnerTxKeeper) sdk.GasRefundHandler
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRefundFees ¶ added in v1.6.0
CalculateRefundFees provides the way to calculate the refunded gas with gasUsed, fees and gasPrice, as refunded gas = fees - gasPrice * gasUsed
func NewGasRefundDecorator ¶
func NewGasRefundDecorator(ak auth.AccountKeeper, sk types.SupplyKeeper, ik innertx.InnerTxKeeper) sdk.GasRefundHandler
func NewGasRefundHandler ¶
func NewGasRefundHandler(ak auth.AccountKeeper, sk types.SupplyKeeper, ik innertx.InnerTxKeeper) sdk.GasRefundHandler
Types ¶
Click to show internal directories.
Click to hide internal directories.