public BalancesService( MVNTokenService tokenService, IDistributedCache distributedCache, TimeSpan cacheExpirationPeriod, IEthereumNodeServiceClient ethereumNodeServiceClient) { _tokenService = tokenService; _distributedCache = distributedCache; _cacheExpirationPeriod = cacheExpirationPeriod; _ethereumNodeServiceClient = ethereumNodeServiceClient; }
public TotalSupplyInconsistencyChecker( MVNTokenService tokenServiceForPublicNetwork, PrivateBlockchain.Services.MVNTokenService tokenServiceForInternalNetwork, string internalBlockchainGatewayAddress, ILogFactory logFactory) : base(IdlePeriod, logFactory) { _tokenServiceForPublicNetwork = tokenServiceForPublicNetwork; _tokenServiceForInternalNetwork = tokenServiceForInternalNetwork; _internalBlockchainGatewayAddress = internalBlockchainGatewayAddress; _log = logFactory.CreateLog(this); }
public TotalSupplySynchronizer( MVNTokenService tokenServiceForPublicNetwork, PrivateBlockchain.Services.MVNTokenService tokenServiceForInternalNetwork, IOperationsService operationsService, ISettingsService settingsService, IBlockchainEncodingService blockchainEncodingService, TimeSpan?idlePeriod, ILogFactory logFactory) : base(idlePeriod ?? DefaultIdlePeriod, logFactory) { _tokenServiceForPublicNetwork = tokenServiceForPublicNetwork; _tokenServiceForInternalNetwork = tokenServiceForInternalNetwork; _operationsService = operationsService; _settingsService = settingsService; _blockchainEncodingService = blockchainEncodingService; _log = logFactory.CreateLog(this); }