public FeeChargePreExecutionPlugin(ISmartContractAddressService smartContractAddressService, IPrimaryTokenFeeService txFeeService, ITransactionSizeFeeSymbolsProvider transactionSizeFeeSymbolsProvider, IContractReaderFactory <TokenContractImplContainer.TokenContractImplStub> contractReaderFactory) : base("acs1") { _smartContractAddressService = smartContractAddressService; _txFeeService = txFeeService; _transactionSizeFeeSymbolsProvider = transactionSizeFeeSymbolsProvider; _contractReaderFactory = contractReaderFactory; Logger = NullLogger <FeeChargePreExecutionPlugin> .Instance; }
public FeeChargePreExecutionPlugin(IHostSmartContractBridgeContextService contextService, IPrimaryTokenSymbolProvider primaryTokenSymbolProvider, ITransactionFeeExemptionService transactionFeeExemptionService, IPrimaryTokenFeeService txFeeService, ITransactionSizeFeeSymbolsProvider transactionSizeFeeSymbolsProvider) : base("acs1") { _contextService = contextService; _primaryTokenSymbolProvider = primaryTokenSymbolProvider; _txFeeService = txFeeService; _transactionSizeFeeSymbolsProvider = transactionSizeFeeSymbolsProvider; _transactionFeeExemptionService = transactionFeeExemptionService; Logger = NullLogger <FeeChargePreExecutionPlugin> .Instance; }