When I create a smart contract, e.g: game. what does the ledger store? (EOS tokens, or heathy points, level of user). If the ledger stores heathy points, level, so how I can push it into block (Please kindly give me some code reference).
The data is stored in tables which resides in ram so it can be there in ram only.Due to the architecture of eosio you can not push the state data to block. It only stored in ram.To create a table and store data into that table refer this https://developers.eos.io/eosio-cpp/docs/using-multi-index-tables