public LykkeTransactionBuilderService( ITransactionBuildHelper transactionBuildHelper, IBitcoinOutputsService bitcoinOutputsService, ITransactionSignRequestRepository signRequestRepository, IBroadcastedOutputRepository broadcastedOutputRepository, IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, ILog log, IFeeReserveMonitoringWriter feeReserveMonitoringWriter, ISpentOutputService spentOutputService, IOffchainService offchainService, TransactionBuildContextFactory transactionBuildContextFactory, CachedDataDictionary <string, IAsset> assetRepository, RpcConnectionParams connectionParams, BaseSettings baseSettings, CachedDataDictionary <string, IAssetSetting> assetSettingCache, IFeeProvider feeProvider, IAssetSettingRepository assetSettingRepository) { _transactionBuildHelper = transactionBuildHelper; _bitcoinOutputsService = bitcoinOutputsService; _signRequestRepository = signRequestRepository; _broadcastedOutputRepository = broadcastedOutputRepository; _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory; _log = log; _feeReserveMonitoringWriter = feeReserveMonitoringWriter; _spentOutputService = spentOutputService; _offchainService = offchainService; _transactionBuildContextFactory = transactionBuildContextFactory; _assetRepository = assetRepository; _connectionParams = connectionParams; _baseSettings = baseSettings; _assetSettingCache = assetSettingCache; _feeProvider = feeProvider; _assetSettingRepository = assetSettingRepository; }
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 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 EnqueueFeesJob(IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, IBitcoinOutputsService bitcoinOutputsService, IAssetRepository assetRepository, IConfiguration configuration) { _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory; _bitcoinOutputsService = bitcoinOutputsService; _assetRepository = assetRepository; _feeAddress = configuration.GetValue <string>("BitcoinConfig:FeeAddress"); }
public ReturnOutputsFunction( RpcConnectionParams connectionParams, IBroadcastedOutputRepository broadcastedOutputRepository, IBitcoinOutputsService bitcoinOutputsService, IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, BaseSettings settings) { _connectionParams = connectionParams; _broadcastedOutputRepository = broadcastedOutputRepository; _bitcoinOutputsService = bitcoinOutputsService; _settings = settings; _pregeneratedQueue = pregeneratedOutputsQueueFactory.CreateFeeQueue(); }
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 LykkeTransactionBuilderService( ITransactionBuildHelper transactionBuildHelper, IBitcoinOutputsService bitcoinOutputsService, ITransactionSignRequestRepository signRequestRepository, IBroadcastedOutputRepository broadcastedOutputRepository, ISpentOutputRepository spentOutputRepository, IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, ILog log, IFeeReserveMonitoringWriter feeReserveMonitoringWriter, RpcConnectionParams connectionParams, BaseSettings baseSettings) { _transactionBuildHelper = transactionBuildHelper; _bitcoinOutputsService = bitcoinOutputsService; _signRequestRepository = signRequestRepository; _broadcastedOutputRepository = broadcastedOutputRepository; _spentOutputRepository = spentOutputRepository; _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory; _log = log; _feeReserveMonitoringWriter = feeReserveMonitoringWriter; _connectionParams = connectionParams; _baseSettings = baseSettings; }
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; }