> var c = eth.contract([{ | |
"constant": true, | |
"inputs": [], | |
"name": "getCount", | |
"outputs": [ | |
{ | |
"name": "count", | |
"type": "uint256" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}]).at("0x9FF3F97d7ccD0Cb034eF6c7721088a6B820bDAD8") | |
undefined | |
> c | |
{ | |
abi: [{ | |
constant: true, | |
inputs: [], | |
name: "getCount", | |
outputs: [{...}], | |
payable: false, | |
stateMutability: "view", | |
type: "function" | |
}], | |
address: "0x9FF3F97d7ccD0Cb034eF6c7721088a6B820bDAD8", | |
transactionHash: null, | |
allEvents: function(), | |
getCount: function() | |
} | |
> c.getCount() | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment