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;
 }
Пример #2
0
 public TradeQueue(
     AppSettings.RabbitMqSettings config,
     ILog log,
     IBitcoinCommandSender bitcoinCommandSender,
     IWalletCredentialsRepository walletCredentialsRepository,
     IBitCoinTransactionsRepository bitcoinTransactionsRepository,
     IMarketOrdersRepository marketOrdersRepository,
     IClientTradesRepository clientTradesRepository,
     IOffchainRequestService offchainRequestService,
     IOffchainOrdersRepository offchainOrdersRepository,
     IEthereumTransactionRequestRepository ethereumTransactionRequestRepository,
     ISrvEthereumHelper srvEthereumHelper,
     ICachedAssetsService assetsService,
     IBcnClientCredentialsRepository bcnClientCredentialsRepository,
     AppSettings.EthereumSettings settings,
     IEthClientEventLogs ethClientEventLogs, IBitcoinTransactionService bitcoinTransactionService, IClientAccountsRepository clientAccountsRepository)
 {
     _rabbitConfig                         = config;
     _bitcoinCommandSender                 = bitcoinCommandSender;
     _walletCredentialsRepository          = walletCredentialsRepository;
     _bitcoinTransactionsRepository        = bitcoinTransactionsRepository;
     _marketOrdersRepository               = marketOrdersRepository;
     _clientTradesRepository               = clientTradesRepository;
     _offchainRequestService               = offchainRequestService;
     _offchainOrdersRepository             = offchainOrdersRepository;
     _ethereumTransactionRequestRepository = ethereumTransactionRequestRepository;
     _srvEthereumHelper                    = srvEthereumHelper;
     _assetsService                        = assetsService;
     _bcnClientCredentialsRepository       = bcnClientCredentialsRepository;
     _settings                  = settings;
     _ethClientEventLogs        = ethClientEventLogs;
     _bitcoinTransactionService = bitcoinTransactionService;
     _clientAccountsRepository  = clientAccountsRepository;
     _log = log;
 }
 public LimitTradeQueue(
     AppSettings.RabbitMqSettings config,
     ILog log,
     IWalletCredentialsRepository walletCredentialsRepository,
     IOffchainRequestService offchainRequestService,
     IEthereumTransactionRequestRepository ethereumTransactionRequestRepository,
     ISrvEthereumHelper srvEthereumHelper,
     ICachedAssetsService assetsService,
     IBcnClientCredentialsRepository bcnClientCredentialsRepository,
     AppSettings.EthereumSettings settings,
     IEthClientEventLogs ethClientEventLogs,
     ILimitOrdersRepository limitOrdersRepository, IClientTradesRepository clientTradesRepository, ILimitTradeEventsRepository limitTradeEventsRepository, IClientSettingsRepository clientSettingsRepository, IAppNotifications appNotifications, IClientAccountsRepository clientAccountsRepository, IOffchainOrdersRepository offchainOrdersRepository, IClientCacheRepository clientCacheRepository, IBitcoinTransactionService bitcoinTransactionService)
 {
     _rabbitConfig = config;
     _walletCredentialsRepository          = walletCredentialsRepository;
     _offchainRequestService               = offchainRequestService;
     _ethereumTransactionRequestRepository = ethereumTransactionRequestRepository;
     _srvEthereumHelper = srvEthereumHelper;
     _assetsService     = assetsService;
     _bcnClientCredentialsRepository = bcnClientCredentialsRepository;
     _settings           = settings;
     _ethClientEventLogs = ethClientEventLogs;
     _log = log;
     _limitOrdersRepository      = limitOrdersRepository;
     _clientTradesRepository     = clientTradesRepository;
     _limitTradeEventsRepository = limitTradeEventsRepository;
     _clientSettingsRepository   = clientSettingsRepository;
     _appNotifications           = appNotifications;
     _clientAccountsRepository   = clientAccountsRepository;
     _offchainOrdersRepository   = offchainOrdersRepository;
     _clientCacheRepository      = clientCacheRepository;
     _bitcoinTransactionService  = bitcoinTransactionService;
 }