Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt
8561a68ffd feat(RewardsStreamerMP): make RewardsStreamerMP upgradeable
This commit introduces upgradeability of the `RewardsStreamerMP`
contract by leveraging the UUPS pattern.

This means, for deployment, we have to first deploy an instance of
`RewardsStreamerMP` contract as a "template" logic contract and then
create a ERC1967Proxy that points to it.

The proxy ensures the implementation address is stored in a
deterministic storage slot.

This will later be leveraged by the `StakeVault` contract to implement
the functionality to leave the system in case there was a malicious
upgrade.

Closes #22
2024-12-01 08:06:51 +01:00
Andrea Franz
4b787d478f chore: update libs 2024-10-11 16:56:03 +02:00
Andrea Franz
96bf45b9c9 forge install: openzeppelin-contracts
v5.0.2
2024-09-10 00:03:33 +02:00
Andrea Franz
ec99480f48 forge install: forge-std
v1.9.2
2024-09-09 22:23:02 +02:00