Guys how one contract can access another contract's state variables via interface? I am planning to make two contracts
One will contain the storage varibales (mappings/arrys) it will act like a storage contract.

Then i will make another contract that will store the business logic .if i want to upgrade my contract then i will just have to deploy a new contract with new logic that would linked with the storage contract.

May 31, 2020, 6:32 PM

© 2024 Draquery.com All rights reserved.