You can try events, check this out: https://solidity.readthedocs.io/en/v0.5.10/structure-of-a-contract.html?highlight=events#events


Sammu Sundar. It happens because your Logic contract is not an owner/creator of the Storage contract (from what I understood). In this case, it would be better to introduce an additional access control mechanism. You may call it manager or admin. The key point is to allow certain operations to be called not only by the owner. You could use something like ...


I think this will work: result.events.numberSaved.returnValues['number']

Only top voted, non community-wiki answers of a minimum length are eligible