public SymbolListToPayTxFeeUpdatedLogEventProcessor(ISmartContractAddressService smartContractAddressService, ITransactionSizeFeeSymbolsProvider transactionSizeFeeSymbolsProvider) { _smartContractAddressService = smartContractAddressService; _transactionSizeFeeSymbolsProvider = transactionSizeFeeSymbolsProvider; Logger = NullLogger <SymbolListToPayTxFeeUpdatedLogEventProcessor> .Instance; }
public CrossChainIndexingDataProposedLogEventProcessor(ISmartContractAddressService smartContractAddressService, ICrossChainIndexingDataValidationService crossChainIndexingDataValidationService, IProposalService proposalService) { _smartContractAddressService = smartContractAddressService; _crossChainIndexingDataValidationService = crossChainIndexingDataValidationService; _proposalService = proposalService; }
public ConstrainedAEDPoSTransactionValidationProvider(ISmartContractAddressService smartContractAddressService, ISystemTransactionMethodNameListProvider coreTransactionMethodNameListProvider) { _coreTransactionMethodNameListProvider = coreTransactionMethodNameListProvider; _consensusContractAddress = smartContractAddressService.GetAddressByContractName(ConsensusSmartContractAddressNameProvider.Name); }
public BlockTransactionLimitChangedLogEventProcessor(ISmartContractAddressService smartContractAddressService, IBlockTransactionLimitProvider blockTransactionLimitProvider) { _smartContractAddressService = smartContractAddressService; _blockTransactionLimitProvider = blockTransactionLimitProvider; Logger = NullLogger <BlockTransactionLimitChangedLogEventProcessor> .Instance; }
public ResourceTokenChargedLogEventProcessor(ISmartContractAddressService smartContractAddressService, ITotalResourceTokensMapsProvider totalTotalResourceTokensMapsProvider) { _smartContractAddressService = smartContractAddressService; _totalTotalResourceTokensMapsProvider = totalTotalResourceTokensMapsProvider; Logger = NullLogger <ResourceTokenChargedLogEventProcessor> .Instance; }
public ConsensusReaderFactory(ITransactionReadOnlyExecutionService transactionReadOnlyExecutionService, ISmartContractAddressService smartContractAddressService, IConsensusReaderContextService contextService) { _transactionReadOnlyExecutionService = transactionReadOnlyExecutionService; _smartContractAddressService = smartContractAddressService; _contextService = contextService; }
public ConsensusReaderContextService(IBlockTimeProvider blockTimeProvider, IAccountService accountService, ISmartContractAddressService smartContractAddressService) { _blockTimeProvider = blockTimeProvider; _accountService = accountService; _smartContractAddressService = smartContractAddressService; }
public ConstrainedAEDPoSTransactionValidationProvider(ISmartContractAddressService smartContractAddressService) { _consensusContractAddress = smartContractAddressService.GetAddressByContractName(ConsensusSmartContractAddressNameProvider.Name); Logger = NullLogger <ConstrainedAEDPoSTransactionValidationProvider> .Instance; }
public CodeCheckRequiredLogEventProcessor(ISmartContractAddressService smartContractAddressService, ICodeCheckService codeCheckService, IProposalService proposalService) { _smartContractAddressService = smartContractAddressService; _codeCheckService = codeCheckService; _proposalService = proposalService; }
public TokenContractMethodStubFactory(ITransactionReadOnlyExecutionService transactionReadOnlyExecutionService, ISmartContractAddressService smartContractAddressService, IChainContext chainContext) { _transactionReadOnlyExecutionService = transactionReadOnlyExecutionService; _smartContractAddressService = smartContractAddressService; _chainContext = chainContext; }
public TransactionFeeChargedLogEventProcessor(ISmartContractAddressService smartContractAddressService, ITotalTransactionFeesMapProvider totalTransactionFeesMapProvider) { _smartContractAddressService = smartContractAddressService; _totalTransactionFeesMapProvider = totalTransactionFeesMapProvider; Logger = NullLogger <TransactionFeeChargedLogEventProcessor> .Instance; }
public CodeCheckRequiredLogEventHandler(ISmartContractAddressService smartContractAddressService, ICodeCheckService codeCheckService) { _smartContractAddressService = smartContractAddressService; _codeCheckService = codeCheckService; }
public SymbolListToPayTxFeeUpdatedEventHandler(ISmartContractAddressService smartContractAddressService, ISymbolListToPayTxFeeService symbolListToPayTxFeeService) { _smartContractAddressService = smartContractAddressService; _symbolListToPayTxFeeService = symbolListToPayTxFeeService; Logger = NullLogger <SymbolListToPayTxFeeUpdatedEventHandler> .Instance; }
public CrossChainValidationProviderTest() { _crossChainBlockValidationProvider = GetRequiredService <IBlockValidationProvider>(); _crossChainTestHelper = GetRequiredService <CrossChainTestHelper>(); _kernelTestHelper = GetRequiredService <KernelTestHelper>(); _smartContractAddressService = GetRequiredService <ISmartContractAddressService>(); }
public SmartContractService( ISmartContractRunnerContainer smartContractRunnerContainer, ISmartContractAddressService smartContractAddressService) { _smartContractRunnerContainer = smartContractRunnerContainer; _smartContractAddressService = smartContractAddressService; }
public SecretSharingInformationLogEventProcessor( ISmartContractAddressService smartContractAddressService, ISecretSharingService secretSharingService) { _smartContractAddressService = smartContractAddressService; _secretSharingService = secretSharingService; }
public OSTestHelper(IOsBlockchainNodeContextService osBlockchainNodeContextService, IAccountService accountService, IMinerService minerService, IBlockchainService blockchainService, ITxHub txHub, ISmartContractAddressService smartContractAddressService, IBlockAttachService blockAttachService, IStaticChainInformationProvider staticChainInformationProvider, ITransactionResultService transactionResultService, IOptionsSnapshot <ChainOptions> chainOptions) { _chainOptions = chainOptions.Value; _osBlockchainNodeContextService = osBlockchainNodeContextService; _accountService = accountService; _minerService = minerService; _blockchainService = blockchainService; _smartContractAddressService = smartContractAddressService; _blockAttachService = blockAttachService; _txHub = txHub; _staticChainInformationProvider = staticChainInformationProvider; _transactionResultService = transactionResultService; BestBranchBlockList = new List <Block>(); ForkBranchBlockList = new List <Block>(); UnlinkedBranchBlockList = new List <Block>(); }
public BlockMiningService(IServiceProvider serviceProvider) { RegisterAssemblyResolveEvent(); _contractTesterFactory = serviceProvider.GetRequiredService <IContractTesterFactory>(); _smartContractAddressService = serviceProvider.GetRequiredService <ISmartContractAddressService>(); _testDataProvider = serviceProvider.GetRequiredService <ITestDataProvider>(); }
public AEDPoSReaderFactory(ITransactionReadOnlyExecutionService transactionReadOnlyExecutionService, ISmartContractAddressService smartContractAddressService, IBlockTimeProvider blockTimeProvider) { _transactionReadOnlyExecutionService = transactionReadOnlyExecutionService; _smartContractAddressService = smartContractAddressService; _blockTimeProvider = blockTimeProvider; }
public CrossChainIndexingTransactionGeneratorTest() { _crossChainIndexingTransactionGenerator = GetRequiredService <ISystemTransactionGenerator>(); _smartContractAddressService = GetRequiredService <ISmartContractAddressService>(); _crossChainTestHelper = GetRequiredService <CrossChainTestHelper>(); _blockStateSetManger = GetRequiredService <IBlockStateSetManger>(); }
public BlockTransactionLimitChangedLogEventHandler(IBlockTransactionLimitProvider blockTransactionLimitProvider, ISmartContractAddressService smartContractAddressService) { _blockTransactionLimitProvider = blockTransactionLimitProvider; _smartContractAddressService = smartContractAddressService; Logger = NullLogger <BlockTransactionLimitChangedLogEventHandler> .Instance; }
public ResourceConsumptionPreExecutionPlugin(ISmartContractAddressService smartContractAddressService, IContractReaderFactory <TokenContractImplContainer.TokenContractImplStub> contractReaderFactory) : base("acs8") { _smartContractAddressService = smartContractAddressService; _contractReaderFactory = contractReaderFactory; }
public MethodStubFactory(ITransactionReadOnlyExecutionService transactionReadOnlyExecutionService, ISmartContractAddressService smartContractAddressService, IChainContext chainContext, Address sender) { _transactionReadOnlyExecutionService = transactionReadOnlyExecutionService; _smartContractAddressService = smartContractAddressService; _chainContext = chainContext; FromAddress = sender ?? Address.FromBytes(new byte[] { }.ComputeHash()); }
public CodeUpdatedLogEventHandler(ISmartContractAddressService smartContractAddressService, ISmartContractRegistrationService smartContractRegistrationService) { _smartContractAddressService = smartContractAddressService; _smartContractRegistrationService = smartContractRegistrationService; Logger = NullLogger <CodeUpdatedLogEventHandler> .Instance; }
public TransactionFeeCalculatorCoefficientUpdatedLogEventProcessor( ISmartContractAddressService smartContractAddressService, ICalculateFunctionProvider calculateFunctionProvider) { _smartContractAddressService = smartContractAddressService; _calculateFunctionProvider = calculateFunctionProvider; Logger = NullLogger <TransactionFeeCalculatorCoefficientUpdatedLogEventProcessor> .Instance; }
public CrossChainIndexingTransactionGeneratorTest() { _crossChainIndexingTransactionGenerator = GetRequiredService <ISystemTransactionGenerator>(); _crossChainIndexingDataService = GetRequiredService <ICrossChainIndexingDataService>(); _smartContractAddressService = GetRequiredService <ISmartContractAddressService>(); _kernelTestHelper = GetRequiredService <KernelTestHelper>(); _crossChainTestHelper = GetRequiredService <CrossChainTestHelper>(); }
public ConfigurationService(IEnumerable <IConfigurationProcessor> configurationProcessors, IContractReaderFactory <ConfigurationContainer.ConfigurationStub> contractReaderFactory, ISmartContractAddressService smartContractAddressService) { _contractReaderFactory = contractReaderFactory; _smartContractAddressService = smartContractAddressService; _configurationProcessors = configurationProcessors.ToList(); }
public ProposalService(IProposalProvider proposalProvider, ISmartContractAddressService smartContractAddressService, IContractReaderFactory <ParliamentContractContainer.ParliamentContractStub> contractReaderFactory) { _proposalProvider = proposalProvider; _smartContractAddressService = smartContractAddressService; _contractReaderFactory = contractReaderFactory; }
public CrossChainIndexingDataValidationService(IBlockCacheEntityConsumer blockCacheEntityConsumer, IContractReaderFactory <CrossChainContractImplContainer.CrossChainContractImplStub> contractReaderFactory, ISmartContractAddressService smartContractAddressService) { _blockCacheEntityConsumer = blockCacheEntityConsumer; _contractReaderFactory = contractReaderFactory; _smartContractAddressService = smartContractAddressService; }
public ChainStatusAppService(ISmartContractAddressService smartContractAddressService, IBlockchainService blockchainService, IObjectMapper <ChainApplicationWebAppAElfModule> objectMapper) { _smartContractAddressService = smartContractAddressService; _blockchainService = blockchainService; _objectMapper = objectMapper; }