staking/test
r4bbit 4a04b46e14 refactor(StakeManager): initialMP -> bonusMP, currentMP -> totalMP
After discussing this offline, we've decided that the naming of these
properties was misleading. This commit performs the following changes:

- `account.initialMP` becomes `account.bonusMP`
- `account.currentMP` becomes `account.totalMP`

Rationale:

`initialMP` indicates that this is an immutable field which is not the
case as in scenarios where accounts increase the `lock()` time, they'll
also increase their bonus multiplier (`initialMP`).

`currentMP` was misleading in combination with `initialMP`. Really what
it reflects is the total multiplier points of an account **including**
its bonus multiplier points.
2024-06-25 13:13:02 -03:00
..
mocks chore: fix warnings on BrokenERC20 mock 2024-03-15 13:21:59 +01:00
script fix(StakeVault): make unstaking actually work 2024-01-19 09:57:34 +01:00
StakeManager.t.sol refactor(StakeManager): initialMP -> bonusMP, currentMP -> totalMP 2024-06-25 13:13:02 -03:00
StakeVault.t.sol fix(StakeVault): make unstaking actually work 2024-01-19 09:57:34 +01:00
VaultFactory.t.sol cleanup(VaultFactoryTest): remove unused import 2024-01-23 15:11:10 +01:00