This function is in the StandardRewards.sol contract.
function depositAndJoin(uint256 id, uint256 tokenAmount)
This function is used to deposit tokens into a liquidity pool and simultaneously join the rewards program.
The function accepts the ID of the rewards program and the number of tokens to deposit as arguments.
This function does not return anything.