Ethereum, Smart Contracts, Blockchain.
each slot has 32 bytes, to each variable is assigned a full slot. That is, the variable valorPrivado can be found in slot 0, and the variable valorPublico can be found in slot 1. See below: Nothing is really private on the blockchain. It was very easy to retrieve the values 8 and 46 (2e in hex).