public GenerateOffchainOutputsFunction(BaseSettings settings, CachedDataDictionary <string, IAsset> assetRepostory, CachedDataDictionary <string, IAssetSetting> assetSettingRepository, IBitcoinOutputsService bitcoinOutputsService, ILog logger, ITransactionBuildHelper transactionBuildHelper, RpcConnectionParams connectionParams, TransactionBuildContextFactory transactionBuildContextFactory, IBitcoinBroadcastService bitcoinBroadcastService, IBroadcastedOutputRepository broadcastedOutputRepository, ISignatureApiProvider signatureApiProvider, IEmailNotifier emailNotifier, ISlackNotifier slackNotifier, ISpentOutputService spentOutputService, IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory) { _settings = settings; _assetRepostory = assetRepostory; _assetSettingRepository = assetSettingRepository; _bitcoinOutputsService = bitcoinOutputsService; _logger = logger; _transactionBuildHelper = transactionBuildHelper; _connectionParams = connectionParams; _transactionBuildContextFactory = transactionBuildContextFactory; _bitcoinBroadcastService = bitcoinBroadcastService; _broadcastedOutputRepository = broadcastedOutputRepository; _emailNotifier = emailNotifier; _slackNotifier = slackNotifier; _spentOutputService = spentOutputService; _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory; _signatureApi = signatureApiProvider; }
public OffchainTransactionBuilderService( ITransactionBuildHelper transactionBuildHelper, RpcConnectionParams connectionParams, IMultisigService multisigService, IBitcoinOutputsService bitcoinOutputsService, IOffchainChannelRepository offchainChannelRepository, ISignatureVerifier signatureVerifier, Func <SignatureApiProviderType, ISignatureApiProvider> signatureApiProviderFactory, ICommitmentRepository commitmentRepository, IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, IBroadcastedOutputRepository broadcastedOutputRepository, ILykkeTransactionBuilderService lykkeTransactionBuilderService, IRpcBitcoinClient rpcBitcoinClient) { _transactionBuildHelper = transactionBuildHelper; _connectionParams = connectionParams; _multisigService = multisigService; _bitcoinOutputsService = bitcoinOutputsService; _offchainChannelRepository = offchainChannelRepository; _signatureVerifier = signatureVerifier; _signatureApiProvider = signatureApiProviderFactory(SignatureApiProviderType.Exchange); _commitmentRepository = commitmentRepository; _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory; _broadcastedOutputRepository = broadcastedOutputRepository; _lykkeTransactionBuilderService = lykkeTransactionBuilderService; _rpcBitcoinClient = rpcBitcoinClient; }
public MultisigService(IWalletAddressRepository walletAddressRepository, Func <SignatureApiProviderType, ISignatureApiProvider> signatureApiProviderFactory, RpcConnectionParams connectionParams) { _walletAddressRepository = walletAddressRepository; _signatureApiProvider = signatureApiProviderFactory(SignatureApiProviderType.Exchange); _connectionParams = connectionParams; }
public WalletService(IWalletAddressRepository walletAddressRepository, ISignatureApiProvider signatureApiProvider, ISegwitPrivateWalletRepository segwitPrivateWalletRepository, RpcConnectionParams connectionParams) { _walletAddressRepository = walletAddressRepository; _segwitPrivateWalletRepository = segwitPrivateWalletRepository; _signatureApiProvider = signatureApiProvider; _connectionParams = connectionParams; }
public BroadcastingTransactionFunction(IBitcoinBroadcastService broadcastService, ITransactionBlobStorage transactionBlobStorage, ISignatureApiProvider signatureApiProvider, BaseSettings settings, ILog logger, ISettingsRepository settingsRepository, ICqrsEngine cqrsEngine) { _broadcastService = broadcastService; _transactionBlobStorage = transactionBlobStorage; _settings = settings; _logger = logger; _settingsRepository = settingsRepository; _cqrsEngine = cqrsEngine; _exchangeSignatureApi = signatureApiProvider; }
public TransactionController(ILykkeTransactionBuilderService builder, IAssetRepository assetRepository, ISignatureApiProvider signatureApiProvider, ITransactionSignRequestRepository transactionSignRequestRepository, ITransactionBlobStorage transactionBlobStorage, IBitcoinBroadcastService broadcastService, IBroadcastedTransactionRepository broadcastedTransactionRepository, IOffchainService offchainService) { _builder = builder; _assetRepository = assetRepository; _signatureApiProvider = signatureApiProvider; _transactionSignRequestRepository = transactionSignRequestRepository; _transactionBlobStorage = transactionBlobStorage; _broadcastService = broadcastService; _broadcastedTransactionRepository = broadcastedTransactionRepository; _offchainService = offchainService; }
public SendFromChangeToHotWalletFunction(IBitcoinOutputsService bitcoinOutputsService, IFeeProvider feeProvider, IBitcoinBroadcastService bitcoinBroadcastService, ISignatureApiProvider signatureApiProvider, ISpentOutputService spentOutputService, ILog log, BaseSettings baseSettings) { _bitcoinOutputsService = bitcoinOutputsService; _feeProvider = feeProvider; _bitcoinBroadcastService = bitcoinBroadcastService; _spentOutputService = spentOutputService; _signatureApiProvider = signatureApiProvider; _log = log; _baseSettings = baseSettings; }
public AddNewChangeAddressFunction(IQBitNinjaApiCaller qBitNinjaApiCaller, CachedDataDictionary <string, IAssetSetting> assetSettingCache, ISettingsRepository settingsRepository, ISignatureApiProvider signatureApiProvider, BaseSettings baseSettings, IAssetSettingRepository assetSettingRepository, ILog logger, CachedDataDictionary <string, IAsset> assetRepository, RpcConnectionParams connectionParams, IWalletService walletService) { _qBitNinjaApiCaller = qBitNinjaApiCaller; _assetSettingCache = assetSettingCache; _settingsRepository = settingsRepository; _baseSettings = baseSettings; _assetSettingRepository = assetSettingRepository; _logger = logger; _assetRepository = assetRepository; _connectionParams = connectionParams; _walletService = walletService; _signatureApiProvider = signatureApiProvider; }
public BccTransactionService(IBccOutputService bccOutputService, [KeyFilter(Constants.BccKey)] ISpentOutputRepository spentOutputRepository, [KeyFilter(Constants.BccKey)] RpcConnectionParams connectionParams, ITransactionBuildHelper transactionBuildHelper, ISignatureApiProvider signatureApiProvider, ILog log, [KeyFilter(Constants.BccKey)] IRpcBitcoinClient rpcBitcoinClient, IWalletService walletService, IOffchainChannelRepository offchainChannelRepository, ICommitmentRepository commitmentRepository ) { _bccOutputService = bccOutputService; _spentOutputRepository = spentOutputRepository; _connectionParams = connectionParams; _transactionBuildHelper = transactionBuildHelper; _log = log; _rpcBitcoinClient = rpcBitcoinClient; _walletService = walletService; _offchainChannelRepository = offchainChannelRepository; _commitmentRepository = commitmentRepository; _signatureApi = signatureApiProvider; }
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; }
public GenerateOutputsFunction(IAssetRepository assetRepository, IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, IBitcoinOutputsService bitcoinOutputsService, IFeeProvider feeProvider, IRpcBitcoinClient bitcoinClient, IBroadcastedOutputRepository broadcastedOutputRepository, ISpentOutputService spentOutputService, BaseSettings baseSettings, RpcConnectionParams connectionParams, ILog logger, IEmailNotifier emailNotifier, ISlackNotifier slackNotifier, ISignatureApiProvider signatureApiProvider) { _assetRepository = assetRepository; _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory; _bitcoinOutputsService = bitcoinOutputsService; _feeProvider = feeProvider; _bitcoinClient = bitcoinClient; _broadcastedOutputRepository = broadcastedOutputRepository; _spentOutputService = spentOutputService; _baseSettings = baseSettings; _connectionParams = connectionParams; _logger = logger; _emailNotifier = emailNotifier; _slackNotifier = slackNotifier; _signatureApiProvider = signatureApiProvider; }
public WalletController(IWalletService walletService, ISignatureApiProvider signatureApiProvider) { _walletService = walletService; _signatureProvider = signatureApiProvider; }