Пример #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;
 }
Пример #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;
 }
Пример #3
0
 public EthereumService(IOptionsFactory <BatBotOptions> batBotOptionsFactory, IMapper mapper, MessagingService messagingService)
 {
     _batBotOptions    = batBotOptionsFactory.Create(Options.DefaultName);
     _mapper           = mapper;
     _messagingService = messagingService;
 }
Пример #4
0
 public MessagingService(ILogger <MessagingService> logger, IHubContext <MessageHub> hub, IOptionsFactory <BatBotOptions> batBotOptionsFactory)
 {
     _logger        = logger;
     _hub           = hub;
     _batBotOptions = batBotOptionsFactory.Create(Options.DefaultName);
 }
Пример #5
0
 public BlocknativeMonitoringService(IOptionsFactory <BatBotOptions> batBotOptionsFactory, IOptionsFactory <SettingsOptions> settingsOptionsFactory, BlocknativeMessageService blocknativeMessageService)
 {
     _batBotOptions             = batBotOptionsFactory.Create(Options.DefaultName);
     _settingsOptions           = settingsOptionsFactory.Create(Options.DefaultName);
     _blocknativeMessageService = blocknativeMessageService;
 }
Пример #6
0
 public GraphService(IOptionsFactory <BatBotOptions> batBotOptionsFactory, MessagingService messagingService)
 {
     _batBotOptions    = batBotOptionsFactory.Create(Options.DefaultName);
     _messagingService = messagingService;
 }