Example #1
0
 public BalanceObserverRole(
     IEthereum ethereum,
     IObservableBalanceRepository observableBalanceRepository)
 {
     _ethereum = ethereum;
     _observableBalanceRepository = observableBalanceRepository;
 }
Example #2
0
 public TransactionStateService(
     IEthereum ethereum,
     EthereumClassicApiSettings settings)
 {
     _ethereum = ethereum;
     _settings = settings;
 }
 public BalanceObserverDispatcherRole(
     IEthereum ethereum,
     IObservableBalanceRepository observableBalanceRepository,
     EthereumClassicApiSettings settings)
 {
     _ethereum = ethereum;
     _observableBalanceRepository = observableBalanceRepository;
     _settings = settings;
 }
Example #4
0
 public GasPriceOracleService(
     EthereumClassicApiSettings serviceSettings,
     IEthereum ethereum,
     IGasPriceRepository gasPriceRepository)
 {
     _defaultMaxGasPrice = BigInteger.Parse(serviceSettings.DefaultMaxGasPrice);
     _defaultMinGasPrice = BigInteger.Parse(serviceSettings.DefaultMinGasPrice);
     _ethereum           = ethereum;
     _gasPriceRepository = gasPriceRepository;
 }
 public TransactionService(
     IEthereum ethereum,
     IGasPriceOracleService gasPriceOracleService,
     ITransactionRepository transactionRepository,
     IChaosKitty chaosKitty)
 {
     _ethereum = ethereum;
     _gasPriceOracleService = gasPriceOracleService;
     _transactionRepository = transactionRepository;
     _chaosKitty = chaosKitty;
 }
 public AddressValidationService(
     IEthereum ethereum)
 {
     _ethereum = ethereum;
 }