totalSupply
is 11,500 TPAD in this example.totalFee
for this transfer of 10 TPAD, the feeShare
is 10 / 11,500 = 0.00086957. feeShare
* 1000 = 0.86956522) = 1000.86956522feeShare
* 50 = 0.0434785) = 50.0434785feeShare
* 1000 = 0.86957) = 1000.86957