pull down to refresh

Can you point me to the code that defines the reward function?