Documentation
¶
Index ¶
- func CheckIfAccountIsSuitableForDestroying(account sdk.AccountI) (destroyable bool, reason string)
- func EthTxEffectiveFee(tx *ethtypes.Transaction, baseFee sdkmath.Int) *big.Int
- func EthTxEffectiveGasPrice(tx *ethtypes.Transaction, baseFee sdkmath.Int) *big.Int
- func EthTxFee(tx *ethtypes.Transaction) *big.Int
- func EthTxGasPrice(tx *ethtypes.Transaction) *big.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfAccountIsSuitableForDestroying ¶
CheckIfAccountIsSuitableForDestroying checking the account is suitable for destroy (EVM) or not.
It returns false and the reason if the account:
- Is a module account.
- Is a vesting account which still not expired.
func EthTxEffectiveFee ¶
EthTxEffectiveFee is `EthTxEffectiveGasPrice * tx.Gas`
func EthTxEffectiveGasPrice ¶
EthTxEffectiveGasPrice returns the effective gas price for the transaction.
func EthTxFee ¶
func EthTxFee(tx *ethtypes.Transaction) *big.Int
EthTxFee is `EthTxGasPrice * tx.Gas`
func EthTxGasPrice ¶
func EthTxGasPrice(tx *ethtypes.Transaction) *big.Int
EthTxGasPrice returns the gas price willing to pay for the transaction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.