Let's say I have three state variables in my contract
contract A {
uint private x = 255;
uint[] y;
uint z;
}
As I understand it, x will have index 0, y index 1 and z index 2? Is it that simple?
How many indexes there are?
Are there special indexes?
Does index point to a single storage cell holding one variable(irrespective of its size) or does it point to a cell with a limit(like 32 bytes)?
I'm just trying to access private state variables at contract addresses and have no idea how. I believe it's done through this app method. Thank you!