Be sure this is correct. We use this for PPS value calculations. If this is not correct we may over or underpay the miners.

Maybe PPS value calculations should be moved into this class too. It seems that those will be off anyway since you devide estimated shares by 4.5 which won't be done in the PPS payout