I have a few variables in my contract that coded like so:
string test;
bool public isFrozen = false;
From testing I see that I cannot call the test State variable when calling test().call() but I can call the isFrozen public variable with isFrozen().call() and receive the isFrozen variable.
My question is, if I set the test State variable during deployment, is there ANY way for anyone to view what variables were set during deployment? From my testing I cannot get this information, but I just wanted some guidance.
Also, if there is a way to call a State variable, without using a function please let me know.
uints, but it is still quite possible for someone to trace it through to reconstruct the string if they were sufficiently motivated to do so. Definitely don't store a private key in a contract ;-) – benjaminion Jan 25 '18 at 22:06