public override async Task <JObject> ExecuteAsync(IClient client) { var ethCompileSolidty = new EthCompileSolidity(client); var contractCode = "contract Test {}"; return(await ethCompileSolidty.SendRequestAsync(contractCode)); }
public async Task <object> ExecuteTestAsync(IClient client) { var ethCompileSolidty = new EthCompileSolidity(client); var contractCode = "contract test { function multiply(uint a) returns(uint d) { return a * 7; } }"; return(await ethCompileSolidty.SendRequestAsync(contractCode)); }
public async Task<dynamic> ExecuteTestAsync(RpcClient client) { var ethCompileSolidty = new EthCompileSolidity(client); var contractCode = "contract test { function multiply(uint a) returns(uint d) { return a * 7; } }"; return await ethCompileSolidty.SendRequestAsync( contractCode); }