S, the total STX reward that cycle
R, and the total of all Stackers
Tusing the formula:
STX Rewards = (R * S) / T
targetCycle as uint
claim-stacking-rewardfunction in the contract, which accepts a reward cycle and checks both the entitled STX reward from miners and the amount of CityCoins to return, then transfers them to the user.