public QuantityProviderFactory(
     IEtherClient etherClient,
     IEnumerable <IQuantityProvider> providers)
 {
     this.etherClient = etherClient;
     this.providers   = providers;
 }
Ejemplo n.º 2
0
 public StakeService(
     IOptions <AppSettings> appSettings,
     IEtherClient etherClient,
     IGraphClient graphClient,
     IEthplorerClient ethplorerClient,
     IFundService fundService,
     ICurrencyConverter currencyConverter,
     IStakingPowerRepository stakingPowerRepository,
     ITransactionRepository transactionRepository,
     IOperationRepository operationRepository,
     IHttpContextAccessor httpContextAccessor,
     IScopedCancellationToken scopedCancellationToken)
     : base(appSettings, currencyConverter, transactionRepository, operationRepository, httpContextAccessor, scopedCancellationToken)
 {
     this.etherClient            = etherClient;
     this.graphClient            = graphClient;
     this.ethplorerClient        = ethplorerClient;
     this.fundService            = fundService;
     this.stakingPowerRepository = stakingPowerRepository;
 }