示例#1
0
 public ManualHubCashoutFunction(IOffchainSettingsRepository offchainSettingsRepository, ILog log, IOffchainRequestService offchainRequestService, ISlackNotificationsSender slackNotificationsSender, IWalletCredentialsRepository walletCredentialsRepository, IBitcoinApi bitcoinApi)
 {
     _offchainSettingsRepository = offchainSettingsRepository;
     _log = log;
     _offchainRequestService      = offchainRequestService;
     _slackNotificationsSender    = slackNotificationsSender;
     _walletCredentialsRepository = walletCredentialsRepository;
     _bitcoinApi = bitcoinApi;
 }
示例#2
0
 public BroadcastCommitmentFunction(IOffchainRequestService offchainRequestService, ILog logger,
                                    IBitcoinApi bitcoinApi, IWalletCredentialsRepository walletCredentialsRepository,
                                    IOffchainSettingsRepository offchainSettingsRepository, ISlackNotificationsSender slackNotificationsSender)
 {
     _offchainRequestService = offchainRequestService;
     _bitcoinApi             = bitcoinApi;
     _logger = logger;
     _walletCredentialsRepository = walletCredentialsRepository;
     _offchainSettingsRepository  = offchainSettingsRepository;
     _slackNotificationsSender    = slackNotificationsSender;
 }