Open juliangruber opened 9 months ago
When a participant is added to the balances array (check if current
balances[address] == 0
), emit an eventParticipantAdded(address)
.
Edge case to consider:
good point. I don't see a way around that, the consuming services needs to handle this case. For each payouts window, every participant will be re-emitted. That can also be seen as a feature, because now you can tell who participated in which round.
When a participant is added to the balances array (check if current
balances[address] == 0
), emit an eventParticipantAdded(address)
. This helps create auxiliary services that track participants in a useful way.This will help us to create a list of participant addresses for accounting purposes and for live dashboards