public CashInOutQueue(AppSettings.RabbitMqSettings config, ILog log, IBitcoinCommandSender bitcoinCommandSender, ICashOperationsRepository cashOperationsRepository, IWalletCredentialsRepository walletCredentialsRepository, IBitCoinTransactionsRepository bitcoinTransactionsRepository, IForwardWithdrawalRepository forwardWithdrawalRepository, ICachedAssetsService assetsService, IOffchainRequestService offchainRequestService, IClientSettingsRepository clientSettingsRepository, IEthereumTransactionRequestRepository ethereumTransactionRequestRepository, ISrvEthereumHelper srvEthereumHelper, IBcnClientCredentialsRepository bcnClientCredentialsRepository, IEthClientEventLogs ethClientEventLogs, IHistoryWriter historyWriter, IBitcoinTransactionService bitcoinTransactionService) { _rabbitConfig = config; _log = log; _bitcoinCommandSender = bitcoinCommandSender; _cashOperationsRepository = cashOperationsRepository; _walletCredentialsRepository = walletCredentialsRepository; _bitcoinTransactionsRepository = bitcoinTransactionsRepository; _forwardWithdrawalRepository = forwardWithdrawalRepository; _assetsService = assetsService; _offchainRequestService = offchainRequestService; _clientSettingsRepository = clientSettingsRepository; _ethereumTransactionRequestRepository = ethereumTransactionRequestRepository; _srvEthereumHelper = srvEthereumHelper; _bcnClientCredentialsRepository = bcnClientCredentialsRepository; _ethClientEventLogs = ethClientEventLogs; _bitcoinTransactionService = bitcoinTransactionService; _historyWriter = historyWriter; }
public CashoutsSaga( IForwardWithdrawalRepository repository, IBitCoinTransactionsRepository bitCoinTransactionsRepository, IAssetsServiceWithCache assetsServiceWithCache, ILogFactory logFactory) { _repository = repository; _bitCoinTransactionsRepository = bitCoinTransactionsRepository; _assetsServiceWithCache = assetsServiceWithCache; _log = logFactory.CreateLog(this); }
public CommandsHandler(ILogFactory logFactory, IForwardWithdrawalRepository repository, IExchangeOperationsServiceClient exchangeOperationsService, string hotWalletId, IAssetsServiceWithCache assetsServiceWithCache) { _log = logFactory.CreateLog(this); _repository = repository; _exchangeOperationsService = exchangeOperationsService; _hotWalletId = hotWalletId; _assetsServiceWithCache = assetsServiceWithCache; }
public PaymentDuePeriodicalHandler( ILogFactory logFactory, IAssetsServiceWithCache assetsServiceWithCache, ICqrsEngine cqrsEngine, TimeSpan criticalSpan, TimeSpan jobTriggerSpan, IForwardWithdrawalRepository repository) : base(TimeSpan.FromMilliseconds(jobTriggerSpan.TotalMilliseconds), logFactory) { _log = logFactory.CreateLog(this); _assetsServiceWithCache = assetsServiceWithCache; _cqrsEngine = cqrsEngine; _criticalSpan = criticalSpan; _repository = repository; }