https://github.com/code-423n4/2023-11-canto/blob/335930cd53cf9a137504a57f1215be52c6d67cb3/1155tech-contracts/src/Market.sol#L226-L241
We can call the internal function  _getRewardsSinceLastClaim() which has the following implementation:
The internal function reads shareData[_id].shareHolderRewardsPerTokenScaled, which is a state variable which is also being read in the main function. We also read tokensByAddress[_id][msg.sender] in the main function as well as in the internal function:
