Skip to content

Instantly share code, notes, and snippets.

@TOMOAKI12345
Created August 1, 2015 09:16
Show Gist options
  • Save TOMOAKI12345/1ba1b58e0877a6fdd261 to your computer and use it in GitHub Desktop.
Save TOMOAKI12345/1ba1b58e0877a6fdd261 to your computer and use it in GitHub Desktop.
token instance error
> token.coinBalanceOf.call(eth.accounts[0])
to not valid, is required
at InvalidResponse (<anonymous>:-59174:-42)
at send (<anonymous>:-117082:-42)
at call (<anonymous>:-105818:-42)
at call (<anonymous>:-89654:-42)
at <anonymous>:1:1
> token.coinBalanceOf.call()
to not valid, is required
at InvalidResponse (<anonymous>:-59174:-27)
at send (<anonymous>:-117082:-27)
at call (<anonymous>:-105818:-27)
at call (<anonymous>:-89654:-27)
at <anonymous>:1:1
> token.coinBalanceOf.call()
to not valid, is required
at InvalidResponse (<anonymous>:-59174:-27)
at send (<anonymous>:-117082:-27)
at call (<anonymous>:-105818:-27)
at call (<anonymous>:-89654:-27)
at <anonymous>:1:1
> token.coinBalanceOf.sendTransaction(eth.accounts[0])
could not decode, from not valid, is required
at InvalidResponse (<anonymous>:-59174:-53)
at send (<anonymous>:-117082:-53)
at sendTransaction (<anonymous>:-105818:-53)
at sendTransaction (<anonymous>:-90311:-53)
at <anonymous>:1:1
>
> token.coinBalanceOf.call({to:eth.accounts[0]})
new BigNumber() not a number: [object Object]
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at encodeParams (<anonymous>:-6173:-47)
> token.coinBalanceOf.call({to:eth.accounts[0]})
new BigNumber() not a number: [object Object]
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at <unknown>
at encodeParams (<anonymous>:-6173:-48)
> token.coinBalanceOf.call(eth.accounts[1], {to:eth.accounts[0]})
to not valid, is required
at InvalidResponse (<anonymous>:-59174:-65)
at send (<anonymous>:-117082:-65)
at call (<anonymous>:-105818:-65)
at call (<anonymous>:-89654:-65)
at <anonymous>:1:2
> token.coinBalanceOf.call(eth.accounts[1], {from: eth.accounts[1], to:eth.accounts[0]})
to not valid, is required
at InvalidResponse (<anonymous>:-59174:-88)
at send (<anonymous>:-117082:-88)
at call (<anonymous>:-105818:-88)
at call (<anonymous>:-89654:-88)
at <anonymous>:1:2
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment