Solvedeos Tables is empty in abi file generated by eosiocpp -g

When using eosiocpp -g to generate an abi file, the "tables" field is empty.
version: mainnet-1.1.1
eg. eosiocpp -g eosio.token.abi eosio.token.cpp

16 Answers

✔️Accepted Answer

So you've made a wrong usage of the "get balance" method.
Usage: cleos get currency balance contract account [symbol]
the "contract" should be the account name which you deployed your contract on, here is "vcchaintest3", not "vcctoken".
try cleos -u http://dev.cryptolions.io:38888 get currency balance vcchaintest3 vcchaintest3 BBQ

Related Issues:

46
eos Could not find a package configuration file provided by "LLVM"
With brew Got this error trying to build in OSX ...
32
eos Error 3090003: provided keys, permissions, and delays do not satisfy declared authorizations
ONLY USE FOR TESTING eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV eosio p...
28
eos database dirty flag set (likely due to unclean shutdown): replay required
please use --hard-replay Don't want to delete the data and resynchronize How to change it. ...
11
eos Undefined symbols for architecture x86_64
In my case reinstalling gettext helped. I follow getting start but there are something wrong with me...
5
eos single-node testnet - Not producing block because it isn't my turn, its eosio
In case anybody needs a workaround add producer-name = eosio to the config.ini ...
4
eos Error on Multisig
msig requires this to work: I followed the EOSIO multisig tutorial (https://steemit.com/eos/@genereo...
3
eos Tables is empty in abi file generated by eosiocpp -g
So you've made a wrong usage of the get balance method When using eosiocpp -g to generate an abi fil...