CoinRoster / slotmachine

fruitgame
0 stars 0 forks source link

dividend payment #36

Closed RiskingTime closed 6 years ago

RiskingTime commented 6 years ago

how do we track/evaluate dividend payments to ensure they are being made accurately?

Patrick-Bay commented 6 years ago

We could create an additional logging mechanism for just this function where we could record the discrete calculations performed during each nightly payment (per user, per investment, etc.) This could get stored in a file similar to our current log file along with a timestamp so that it can be reviewed it for correctness.

For additional confirmability , we could include SQL statements for the values added to the database so that they can be checked directly using a tool such as phpMyAdmin.

Just some ideas to get us started.

RiskingTime commented 6 years ago

I think we need to see the data from a couple of different angles, such as user balances, rake amounts, dividend payments, withdrawals. I think the enhancements to the admin page will help us evaluate dividend payments, I'm leaving this issue open until then