public TransactionsController(ITransactionService transactionService,
                               IBalanceService balanceService,
                               IBlockchainAssetsService blockchainAssetsService)
 {
     _transactionService      = transactionService;
     _balanceService          = balanceService;
     _blockchainAssetsService = blockchainAssetsService;
 }
Ejemplo n.º 2
0
 public TransactionHistoryService(IBalanceService balanceService,
                                  IHorizonService horizonService,
                                  IKeyValueStoreRepository keyValueStoreRepository,
                                  IObservationRepository <TransactionHistoryObservation> observationRepository,
                                  ITxHistoryRepository txHistoryRepository,
                                  ILogFactory log,
                                  IBlockchainAssetsService blockchainAssetsService)
 {
     _balanceService          = balanceService;
     _horizonService          = horizonService;
     _keyValueStoreRepository = keyValueStoreRepository;
     _observationRepository   = observationRepository;
     _txHistoryRepository     = txHistoryRepository;
     _log = log.CreateLog(this);
     _blockchainAssetsService = blockchainAssetsService;
 }
 public BalanceService(IHorizonService horizonService,
                       IKeyValueStoreRepository keyValueStoreRepository,
                       IObservationRepository <BalanceObservation> observationRepository,
                       IWalletBalanceRepository walletBalanceRepository,
                       string depositBaseAddress,
                       string[] explorerUrlFormats,
                       ILogFactory log,
                       IBlockchainAssetsService blockchainAssetsService)
 {
     _horizonService          = horizonService;
     _keyValueStoreRepository = keyValueStoreRepository;
     _observationRepository   = observationRepository;
     _walletBalanceRepository = walletBalanceRepository;
     _depositBaseAddress      = depositBaseAddress;
     _explorerUrlFormats      = explorerUrlFormats;
     _log = log.CreateLog(this);
     _blockchainAssetsService = blockchainAssetsService;
 }
Ejemplo n.º 4
0
 public TransactionService(IBalanceService balanceService,
                           IHorizonService horizonService,
                           IObservationRepository <BroadcastObservation> observationRepository,
                           IWalletBalanceRepository balanceRepository,
                           ITxBroadcastRepository broadcastRepository,
                           ITxBuildRepository buildRepository,
                           TimeSpan transactionExpirationTime,
                           ILogFactory logFactory,
                           IBlockchainAssetsService blockchainAssetsService,
                           IChaosKitty chaosKitty,
                           AppSettings appSettings)
 {
     _balanceService            = balanceService;
     _horizonService            = horizonService;
     _observationRepository     = observationRepository;
     _balanceRepository         = balanceRepository;
     _broadcastRepository       = broadcastRepository;
     _buildRepository           = buildRepository;
     _transactionExpirationTime = transactionExpirationTime;
     _log = logFactory.CreateLog(this);
     _blockchainAssetsService = blockchainAssetsService;
     _chaos       = chaosKitty;
     _appSettings = appSettings;
 }
 public AssetsController(IBlockchainAssetsService blockchainAssetsService)
 {
     _blockchainAssetsService = blockchainAssetsService;
 }