I have three smart contracts (A, B, C) and one account (X). As the requirement is I just need only one authority (administrator) who is going to manage all these smart contracts data. So I deployed these smart contracts using the same account. Whenever I need to manage data from table I need to deploy the particular smart contract first. For eg.
A, B and C smart contracts are deployed using account X. Data in multi-index tables are saved respectively. In Latest, C is deployed so now X can only access multi-index table and Actions of C. Now, if I want to manage data of A smart contract, at this level for accessing the table and Actions of A I need to deploy A again. So, the table is in X's abi and can access now. Similarly for B.
Otherwise it gives error as,
Error 3060003: Contract Table Query Exception
Most likely, the given table doesn't exist in the blockchain.
Error Details:
Table documents is not specified in the ABI
My question is every time I need to manage data of any table, do I need to deploy its smart contract first? I don't want three different accounts for A, B and C. Please guide and suggest.