eos icon indicating copy to clipboard operation
eos copied to clipboard

when use contracts/eosin.token to issue token, can not query each account's balance.

Open readygo586 opened this issue 7 years ago • 3 comments

After parsing the eosin.token.abi, I found there are no accounts and stats tables, which are different from https://github.com/EOSIO/eos/tree/master/contracts/eosio.token/eosio.token.abi. Is there any missing when I generate the abi file?
image

readygo586 avatar Dec 06 '18 14:12 readygo586

Which tool did you use to generate the abi file? You may need to use the most recent release of eosio.cdt.

jgiszczak avatar Dec 06 '18 22:12 jgiszczak

I update to the latest eos1.5.0 and cdt 1.4.1, and follow the instructions in https://developers.eos.io/eosio-home/docs/your-first-contract to create a contracts/nyhello/myhello.cpp.

image

The myhello.abi is EMPTY, looks like bleow. image

image

if I change the class name from hello to myhello, then it can generate a valid .abi file, may some improvement are necessary.

readygo586 avatar Dec 07 '18 09:12 readygo586

try CONTRACT myhello : public eosio::contract {

If you still need help and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bug reporting and feature tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!

taokayan avatar Dec 07 '18 10:12 taokayan