public QueryResult(ContractHandler contractHandler, TFunctionOuputDTO result, INethereumTestLogger testLogger, Stateprinter stateprinter) { ContractHandler = contractHandler; Result = result; TestLogger = testLogger; Stateprinter = stateprinter; }
public TransactionResult(ContractHandler contractHandler, TransactionReceipt transactionReceipt, INethereumTestLogger testLogger, Stateprinter stateprinter) { ContractHandler = contractHandler; TransactionReceipt = transactionReceipt; TestLogger = testLogger; Stateprinter = stateprinter; }
protected NethereumIntegrationTest(string url, string privateKey, INethereumTestLogger testLogger) { this.Stateprinter = new Stateprinter(); this.Stateprinter.Configuration.Test.SetAreEqualsMethod((s, expected, message) => Xunit.Assert.Equal(s, expected)); this.Web3 = new Web3.Web3(new Account(privateKey), url); this.TestLogger = testLogger; }