This contract is responsible for tracking how much each payee is owed over a given (arbitrary length) evaluation period by way of a mapping _shares from payee address to FIL amount (integer).
It does so by:
being bundled with a PayoutFactory upon construction. The evaluator contract is the admin of the factory
keeping track of how much each payee is owed in a given evaluation period. For now this value can only be incremented by way of rewardPayee .
triggering a new payout on the factory contract, feeding in _shares as values for the payout. _shares is reset after the call.
Users can now get a running on-chain record of how much they can expect to receive at the next payout. It also gives visibility into what actions we triggered for a given payee (especially useful if we add penalties / bans to the contract).
This contract is responsible for tracking how much each payee is owed over a given (arbitrary length) evaluation period by way of a mapping _shares from payee address to FIL amount (integer). It does so by:
Users can now get a running on-chain record of how much they can expect to receive at the next payout. It also gives visibility into what actions we triggered for a given payee (especially useful if we add penalties / bans to the contract).