staking/contracts
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
..
StakeManager.sol refactor(StakeManager): initialMP -> bonusMP, currentMP -> totalMP 2024-06-25 13:13:02 -03:00
StakeVault.sol fix: StakeManager migration fixes and certora rules 2024-02-20 09:08:00 +01:00
VaultFactory.sol feat: introduce `VaultFactory` (#38) 2023-11-07 09:49:22 +01:00