Documentation ¶
Index ¶
- func CombinedGasPricesRequirement(globalMinGasPrices, minGasPrices sdk.DecCoins) sdk.DecCoins
- type FeeChecker
- func (fc FeeChecker) CheckTxFee(ctx sdk.Context, tx sdk.Tx) (sdk.Coins, int64, error)
- func (fc FeeChecker) DefaultZeroGlobalFee(ctx sdk.Context) ([]sdk.DecCoin, error)
- func (fc FeeChecker) GetGlobalMinGasPrices(ctx sdk.Context) (sdk.DecCoins, error)
- func (fc FeeChecker) IsBypassMinFeeMsg(ctx sdk.Context, msg sdk.Msg) bool
- func (fc FeeChecker) IsBypassMinFeeTx(ctx sdk.Context, tx sdk.Tx) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeeChecker ¶
type FeeChecker struct { AuthzKeeper *authzkeeper.Keeper OracleKeeper *oraclekeeper.Keeper GlobalfeeKeeper *keeper.Keeper StakingKeeper *stakingkeeper.Keeper TSSKeeper *tsskeeper.Keeper BandtssKeeper *bandtsskeeper.Keeper FeedsKeeper *feedskeeper.Keeper TSSMsgServer tsstypes.MsgServer FeedsMsgServer feedstypes.MsgServer // contains filtered or unexported fields }
func NewFeeChecker ¶
func NewFeeChecker( cdc codec.Codec, authzKeeper *authzkeeper.Keeper, oracleKeeper *oraclekeeper.Keeper, globalfeeKeeper *keeper.Keeper, stakingKeeper *stakingkeeper.Keeper, tssKeeper *tsskeeper.Keeper, bandtssKeeper *bandtsskeeper.Keeper, feedsKeeper *feedskeeper.Keeper, ) FeeChecker
func (FeeChecker) CheckTxFee ¶
CheckTxFee is responsible for verifying whether a transaction contains the necessary fee.
func (FeeChecker) DefaultZeroGlobalFee ¶
DefaultZeroGlobalFee returns a zero coin with the staking module bond denom
func (FeeChecker) GetGlobalMinGasPrices ¶
GetGlobalMinGasPrices returns global min gas prices
func (FeeChecker) IsBypassMinFeeMsg ¶
IsBypassMinFeeMsg checks whether msg is min fee bypassable.
func (FeeChecker) IsBypassMinFeeTx ¶
IsBypassMinFeeTx checks whether tx is min fee bypassable.
Click to show internal directories.
Click to hide internal directories.