keep-core
keep-core copied to clipboard
Improve rewards contract flexibility
By separating the logic of intervals, allocations and payouts slightly more thoroughly from the logic of querying the number of keeps in an interval, it's possible to accommodate multiple factories in a single rewards contract without breaking compatibility with existing rewards implementations.