Пример #1
0
        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;
        }
Пример #2
0
 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;
 }