logos-co / staking

SNT Staking contracts
Creative Commons Zero v1.0 Universal
0 stars 4 forks source link

feat(StakeManager): implement multiplier points estimation #97

Closed 0x-r4bbit closed 2 days ago

0x-r4bbit commented 1 month ago

Description

This commit introduces the internal accounting logic for accrueing multiplier points, that will later be used to determine how many experience points an account is eligible to.

The majority of the work here was done by @3esmit.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

0x-r4bbit commented 3 days ago

@3esmit I've removed the optimization changes and put them back in a separate PR via #105 Reason being is that those changes are breaking a rule on certora and we first have to figure out how that one can be fixed.

I don't want those optimizations to block this one here from landing.