public ContractRefundProcessorTests() { this.loggerFactory = new ExtendedLoggerFactory(); this.loggerFactory.AddConsoleWithFilters(); this.network = new SmartContractsRegTest(); this.refundProcessor = new ContractRefundProcessor(this.loggerFactory); }
public ReflectionExecutorFactory(ILoggerFactory loggerFactory, ICallDataSerializer serializer, IContractRefundProcessor refundProcessor, IContractTransferProcessor transferProcessor, IStateFactory stateFactory, IStateProcessor stateProcessor, IContractPrimitiveSerializer contractPrimitiveSerializer) { this.loggerFactory = loggerFactory; this.refundProcessor = refundProcessor; this.transferProcessor = transferProcessor; this.serializer = serializer; this.stateFactory = stateFactory; this.stateProcessor = stateProcessor; this.contractPrimitiveSerializer = contractPrimitiveSerializer; }
public ContractExecutor( ICallDataSerializer serializer, IStateRepository stateRoot, IContractRefundProcessor refundProcessor, IContractTransferProcessor transferProcessor, IStateFactory stateFactory, IStateProcessor stateProcessor, IContractPrimitiveSerializer contractPrimitiveSerializer) { this.stateRoot = stateRoot; this.refundProcessor = refundProcessor; this.transferProcessor = transferProcessor; this.serializer = serializer; this.stateFactory = stateFactory; this.stateProcessor = stateProcessor; this.contractPrimitiveSerializer = contractPrimitiveSerializer; }
public ContractExecutor(ILoggerFactory loggerFactory, ICallDataSerializer serializer, IStateRepository stateRoot, IContractRefundProcessor refundProcessor, IContractTransferProcessor transferProcessor, Network network, IStateFactory stateFactory, IStateProcessor stateProcessor, IContractPrimitiveSerializer contractPrimitiveSerializer) { this.logger = loggerFactory.CreateLogger(this.GetType()); this.stateRoot = stateRoot; this.refundProcessor = refundProcessor; this.transferProcessor = transferProcessor; this.serializer = serializer; this.network = network; this.stateFactory = stateFactory; this.stateProcessor = stateProcessor; this.contractPrimitiveSerializer = contractPrimitiveSerializer; }
public ContractRefundProcessorTests() { this.loggerFactory = ExtendedLoggerFactory.Create(); this.network = new SmartContractsRegTest(); this.refundProcessor = new ContractRefundProcessor(this.loggerFactory); }