Learning ethereum, I am hoping this is an easy one. I wrote a simple test contract
contract Mini{
uint balance;
// constructor
// runs once upon creation
function Mini(){
balance = 1000;
}
function deposit(uint _value) returns(uint _newValue){
balance += _value;
return balance;
}
function benchmark() returns(uint _newValue){
return 4545;
}}
When I invoke "benchmark"
var result = myContractInstance.benchmark(function(err,res){
console.log(res);
});
The response is an address (e.g. 0xd1d618bcb179db8b020358710138d1a008f4f39e). I can see the transaction in etherscan. Question, how do I see the response value?