Beispiel #1
0
 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;
 }
Beispiel #2
0
 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;
 }