コード例 #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 BccQBitNinjaApiCaller([KeyFilter(Constants.BccKey)] Func <QBitNinjaClient> clientFactory, [KeyFilter(Constants.BccKey)] RpcConnectionParams connectionParams,
                              BaseSettings settings)
 {
     _clientFactory    = clientFactory;
     _connectionParams = connectionParams;
     _settings         = settings;
 }
コード例 #3
0
 public TransactionBuildHelper(IPregeneratedOutputsQueueFactory pregeneratedOutputsQueueFactory, BaseSettings baseSettings,
                               RpcConnectionParams connectionParams, IFeeProvider feeProvider, IExtraAmountRepository extraAmountRepository)
 {
     _pregeneratedOutputsQueueFactory = pregeneratedOutputsQueueFactory;
     _baseSettings          = baseSettings;
     _connectionParams      = connectionParams;
     _feeProvider           = feeProvider;
     _extraAmountRepository = extraAmountRepository;
 }
コード例 #4
0
 public BitcoinBroadcastService(IBroadcastedOutputRepository broadcastedOutputRepository,
                                IRpcBitcoinClient rpcBitcoinClient, ILykkeApiProvider apiProvider, BaseSettings settings,
                                ITransactionMonitoringWriter monitoringWriter, ILog logger,
                                IPaidFeesTaskWriter paidFeesTaskWriter)
 {
     _broadcastedOutputRepository = broadcastedOutputRepository;
     _rpcBitcoinClient            = rpcBitcoinClient;
     _apiProvider        = apiProvider;
     _settings           = settings;
     _monitoringWriter   = monitoringWriter;
     _logger             = logger;
     _paidFeesTaskWriter = paidFeesTaskWriter;
 }
コード例 #5
0
 public FeeProvider(IFeeRateRepository repository, BaseSettings baseSettings)
 {
     _repository   = repository;
     _baseSettings = baseSettings;
 }