Ricardo Guilherme Schmidt
ff223c5efa
chore: update project description and author information, update README.md
2024-09-24 12:00:35 -03:00
Ricardo Guilherme Schmidt
474e7cacf5
chore(foundry.toml): update fuzzing settings
2024-09-23 06:10:17 -03:00
Ricardo Guilherme Schmidt
2a90b3e6ad
chore(.gas-report, .gas-snapshot): update reports
2024-09-19 17:26:17 +02:00
Ricardo Guilherme Schmidt
0c58dfe241
test(StakeManager): add test to catch bug in minting more bonus MPs when stake with lock
2024-09-12 11:44:48 +02:00
Ricardo Guilherme Schmidt
8683376160
feat(StakeManager): optimizations on processAccount
2024-09-11 20:09:08 +02:00
Ricardo Guilherme Schmidt
b19182ad20
chore(StakeManager): remove unnecessary `finalizeEpoch` modifier from `migrateTo`
...
Fixes #109
2024-09-11 16:43:59 +02:00
Ricardo Guilherme Schmidt
58ca65120f
chore(StakeManager: remove irrelevant code from `_mintBonusMP` function
...
Fixes #108
2024-09-11 16:17:17 +02:00
Ricardo Guilherme Schmidt
b2a0d0cf25
fix(StakeManager): use while loop instead of hacky for loop in process account
...
chore: lint again with foundry updated
2024-09-11 15:18:24 +02:00
r4bbit
5dec595a20
feat(StakeManager): implement multiplier points estimation
...
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.
2024-09-10 08:51:35 +02:00
Ricardo Guilherme Schmidt
6c358dab9e
fix(StakeManager): use OpenZeppelin Math to avoid precision loss in int divisions
2024-02-26 10:07:54 -03:00
Ricardo Guilherme Schmidt
92ff9bff21
refactor(StakeManager): account initialize in currentEpoch
2024-02-26 10:07:54 -03:00
Ricardo Guilherme Schmidt
6082399e83
chore: add gas-report for all contracts
2024-02-26 10:07:54 -03:00