public MempoolMonitoringService( IOptionsFactory <BatBotOptions> batBotOptionsFactory, MessagingService messagingService, BackoffService backoffService, TransactionProcessorService transactionProcessorService, EthereumService ethereumService) { _batBotOptions = batBotOptionsFactory.Create(Options.DefaultName); _messagingService = messagingService; _backoffService = backoffService; _transactionProcessorService = transactionProcessorService; _ethereumService = ethereumService; }
public TransactionProcessorService( IOptionsFactory <BatBotOptions> batBotOptionsFactory, IOptionsFactory <SettingsOptions> settingsOptionsFactory, IMapper mapper, MessagingService messagingService, BackoffService backoffService, TransactionWaitService transactionWaitService, PairInfoService pairInfoService, GraphService graphService, EthereumService ethereumService, SmartContractService smartContractService) { _batBotOptions = batBotOptionsFactory.Create(Options.DefaultName); _settingsOptions = settingsOptionsFactory.Create(Options.DefaultName); _mapper = mapper; _messagingService = messagingService; _backoffService = backoffService; _transactionWaitService = transactionWaitService; _pairInfoService = pairInfoService; _graphService = graphService; _ethereumService = ethereumService; _smartContractService = smartContractService; }