I have the contract
class test : public contract {
public:
using contract::contract;
test(account_name self) : contract(self) {}
...
private:
struct test_rec
{
test_hash hash;
account_name creator;
uint64_t primary_key() const { return hash; }
account_name get_creator() const { return creator; }
};
typedef eosio::multi_index<N(tests), test_rec > tests;
};
So, when I am generating abi file, tables section is empty.
...
"tables": [],
...
What I am doing wrong?