The Player Structure
How the players are stored in our game dApp smart-contract
/// @notice Player storage structure
struct Player {
/// @notice mirror address used to sign txns
address internalAddress;
/// @notice amount of GLMB loaded inside the game contract
uint glmbAvailable;
/// @notice amount of shakes available
uint16 shakesAvailable;
/// @notice counter for games played by this player
uint gamesPlayed;
} /// @notice Real Player Wallet -> Player Data
mapping(address => Player) public players;gameV2Contract.players(walletAddress)Last updated