I want to implement a pay-per-share mining pool and would like to know the equation for calculating PPS for a given block based upon difficulty, block reward, and share target.
I am thinking of setting pool shares to be 0x03fffffffffff............
Given pool shares of that difficulty and assuming a 0 average profit pool, what should my pay per share price be?