Versions in this module Expand all Collapse all v1 v1.4.0 Nov 11, 2022 Changes in this version + var ErrNilMarshaller = errors.New("nil Marshaller") + var ErrNilShardCoordinator = errors.New("nil shard coordinator") + var ErrNilStorage = errors.New("nil storage") + var ErrNilTransactionFeeCalculator = errors.New("nil transaction fee calculator") + func NewTransactionsFeeProcessor(arg ArgTransactionsFeeProcessor) (*transactionsFeeProcessor, error) + type ArgTransactionsFeeProcessor struct + Marshaller marshal.Marshalizer + ShardCoordinator sharding.Coordinator + TransactionsStorer storage.Storer + TxFeeCalculator FeesProcessorHandler + type FeesProcessorHandler interface + ComputeGasLimit func(tx data.TransactionWithFeeHandler) uint64 + ComputeGasUsedAndFeeBasedOnRefundValue func(tx data.TransactionWithFeeHandler, refundValue *big.Int) (uint64, *big.Int) + ComputeTxFeeBasedOnGasUsed func(tx data.TransactionWithFeeHandler, gasUsed uint64) *big.Int + IsInterfaceNil func() bool