It's easy enough to grab the data at any storage location of a contract, but we need to know the state variable declarations/storage layout of the contract to know what we're doing and how to interpret the data.
How can I programmatically find out the state variable declarations/storage layout for a contract?
I'd like to make a storage explorer type tool and being able to determine the storage layout of a contract is a game changer.