mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-09 15:27:55 -05:00
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
10 lines
409 B
Plaintext
10 lines
409 B
Plaintext
[submodule "lib/forge-std"]
|
|
path = lib/forge-std
|
|
url = https://github.com/foundry-rs/forge-std
|
|
[submodule "lib/openzeppelin-contracts"]
|
|
path = lib/openzeppelin-contracts
|
|
url = https://github.com/OpenZeppelin/openzeppelin-contracts
|
|
[submodule "lib/openzeppelin-contracts-upgradeable"]
|
|
path = lib/openzeppelin-contracts-upgradeable
|
|
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
|