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;
 }
示例#3
0
 public InTransactionsQueueFunctions(IBitcoinApiClient bitcoinApiClient,
                                     IBitCoinTransactionsRepository bitCoinTransactionsRepository, IBitcoinTransactionService bitcoinTransactionService)
 {
     _bitcoinApiClient = bitcoinApiClient;
     _bitCoinTransactionsRepository = bitCoinTransactionsRepository;
     _bitcoinTransactionService     = bitcoinTransactionService;
 }
 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;
 }
 public DataController(ISettingsRepository _settingsRepository,
                       IBitcoinTransactionService _bitcoinTransactionService, RpcConnectionParams _connectionParams) : base()
 {
     bitcoinTransactionService = _bitcoinTransactionService;
     settingsRepository        = _settingsRepository;
     connectionParams          = _connectionParams;
 }
 public CommitmentBroadcastCheck(ISettingsRepository _settingsRepository,
                                 IBitcoinTransactionService _bitcoinTransactionService, IQBitNinjaApiCaller _qBitNinjaApiCaller,
                                 IRpcBitcoinClient _rpcBitcoinClient)
 {
     settingsRepository        = _settingsRepository;
     bitcoinTransactionService = _bitcoinTransactionService;
     qBitNinjaApiCaller        = _qBitNinjaApiCaller;
     rpcBitcoinClient          = _rpcBitcoinClient;
 }
        public OffchainTransactionFinalizeFunction(
            IBitCoinTransactionsRepository bitCoinTransactionsRepository,
            ILog log,
            ICashOperationsRepository cashOperationsRepository,
            IExchangeOperationsService exchangeOperationsService,
            SrvSlackNotifications srvSlackNotifications,
            ICashOutAttemptRepository cashOutAttemptRepository,
            ISrvEmailsFacade srvEmailsFacade,
            IClientTradesRepository clientTradesRepository,
            IClientAccountsRepository clientAccountsRepository,
            IPersonalDataService personalDataService,
            IOffchainTransferRepository offchainTransferRepository,
            IChronoBankService chronoBankService,
            ISrvSolarCoinHelper srvSolarCoinHelper,
            ITransferEventsRepository transferEventsRepository,
            IQuantaService quantaService,
            IOffchainRequestService offchainRequestService,
            IWalletCredentialsRepository walletCredentialsRepository,
            IBitcoinApiClient bitcoinApiClient,
            IOffchainRequestRepository offchainRequestRepository,
            CachedDataDictionary <string, IAssetSetting> assetSettings,
            IMarginDataServiceResolver marginDataServiceResolver,
            IMarginTradingPaymentLogRepository marginTradingPaymentLog,
            IPaymentTransactionsRepository paymentTransactionsRepository,
            IAppNotifications appNotifications,
            ICachedAssetsService assetsService, IBitcoinTransactionService bitcoinTransactionService)
        {
            _bitCoinTransactionsRepository = bitCoinTransactionsRepository;
            _log = log;
            _cashOperationsRepository   = cashOperationsRepository;
            _exchangeOperationsService  = exchangeOperationsService;
            _srvSlackNotifications      = srvSlackNotifications;
            _cashOutAttemptRepository   = cashOutAttemptRepository;
            _srvEmailsFacade            = srvEmailsFacade;
            _clientTradesRepository     = clientTradesRepository;
            _clientAccountsRepository   = clientAccountsRepository;
            _personalDataService        = personalDataService;
            _offchainTransferRepository = offchainTransferRepository;
            _chronoBankService          = chronoBankService;
            _srvSolarCoinHelper         = srvSolarCoinHelper;
            _transferEventsRepository   = transferEventsRepository;
            _quantaService               = quantaService;
            _offchainRequestService      = offchainRequestService;
            _walletCredentialsRepository = walletCredentialsRepository;
            _bitcoinApiClient            = bitcoinApiClient;
            _offchainRequestRepository   = offchainRequestRepository;
            _assetSettings               = assetSettings;

            _marginDataServiceResolver     = marginDataServiceResolver;
            _marginTradingPaymentLog       = marginTradingPaymentLog;
            _paymentTransactionsRepository = paymentTransactionsRepository;
            _appNotifications          = appNotifications;
            _assetsService             = assetsService;
            _bitcoinTransactionService = bitcoinTransactionService;
        }
示例#8
0
 public TransferQueue(AppSettings.RabbitMqSettings config, ILog log,
                      IBitcoinCommandSender bitcoinCommandSender,
                      ITransferEventsRepository transferEventsRepository,
                      IWalletCredentialsRepository walletCredentialsRepository,
                      IBitCoinTransactionsRepository bitCoinTransactionsRepository, IOffchainRequestService offchainRequestService, IClientSettingsRepository clientSettingsRepository, IBitcoinTransactionService bitcoinTransactionService, IClientAccountsRepository clientAccountsRepository)
 {
     _rabbitConfig                  = config;
     _log                           = log;
     _bitcoinCommandSender          = bitcoinCommandSender;
     _transferEventsRepository      = transferEventsRepository;
     _walletCredentialsRepository   = walletCredentialsRepository;
     _bitCoinTransactionsRepository = bitCoinTransactionsRepository;
     _offchainRequestService        = offchainRequestService;
     _clientSettingsRepository      = clientSettingsRepository;
     _bitcoinTransactionService     = bitcoinTransactionService;
     _clientAccountsRepository      = clientAccountsRepository;
 }
 public MultipleCashoutFunction(ICashoutRequestRepository cashoutRequestRepository,
                                ISettingsRepository settingsRepository, IMultiCashoutRepository multiCashoutRepository,
                                ISlackNotifier slackNotifier, IBitcoinTransactionService bitcoinTransactionService,
                                ISignatureApiProvider signatureApiProvider,
                                ILykkeTransactionBuilderService lykkeTransactionBuilderService,
                                IBitcoinBroadcastService bitcoinBroadcastService,
                                ISpentOutputService spentOutputService,
                                ICqrsEngine cqrsEngine)
 {
     _cashoutRequestRepository  = cashoutRequestRepository;
     _settingsRepository        = settingsRepository;
     _multiCashoutRepository    = multiCashoutRepository;
     _slackNotifier             = slackNotifier;
     _bitcoinTransactionService = bitcoinTransactionService;
     _signatureApi = signatureApiProvider;
     _lykkeTransactionBuilderService = lykkeTransactionBuilderService;
     _bitcoinBroadcastService        = bitcoinBroadcastService;
     _spentOutputService             = spentOutputService;
     _cqrsEngine = cqrsEngine;
 }
示例#10
0
 public SignatureVerifier(IBitcoinTransactionService bitcoinTransactionService, RpcConnectionParams rpcParams)
 {
     _bitcoinTransactionService = bitcoinTransactionService;
     _rpcParams = rpcParams;
 }