public CashoutCommandHandler(
     ILykkeTransactionBuilderService builder,
     ITransactionQueueWriter transactionQueueWriter,
     ICashoutRequestRepository cashoutRequestRepository,
     CachedDataDictionary <string, IAssetSetting> assetSettingCache,
     ILog logger)
 {
     _builder = builder;
     _transactionQueueWriter   = transactionQueueWriter;
     _cashoutRequestRepository = cashoutRequestRepository;
     _assetSettingCache        = assetSettingCache;
     _logger = logger;
 }
Esempio n. 2
0
        public EnqueueTransactionController(ILykkeTransactionBuilderService builder,
                                            CachedDataDictionary <string, IAssetSetting> assetSettingCache,

                                            IOffchainService offchainService,
                                            ICashoutRequestRepository cashoutRequestRepository,
                                            ITransactionQueueWriter transactionQueueWriter, CachedDataDictionary <string, IAsset> assetRepository)
        {
            _builder                  = builder;
            _assetSettingCache        = assetSettingCache;
            _offchainService          = offchainService;
            _cashoutRequestRepository = cashoutRequestRepository;
            _transactionQueueWriter   = transactionQueueWriter;
            _assetRepository          = assetRepository;
        }
 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;
 }