filecoin-saturn / contracts

contracts
6 stars 0 forks source link

feat: basic evaluator contract #2

Closed alexander-camuto closed 1 year ago

alexander-camuto commented 1 year ago

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).