There is a lot of interaction with Sablier in the FjordStaking
contract, but since Sablier contracts do not use a proxy, the address will have to be changed if a vulnerability is discovered. However, there is no function defined in FjordStaking
to change the sablier
address.
As you can see by examining the deployment addresses from Sablier's documentation, SablierV2Lockup contracts do not use any proxy; https://docs.sablier.com/contracts/v2/deployments
And in the FjordStaking
contract, the sablier
address is given in the constructor, but we cannot change it;
If a vulnerability is found in SablierV2Lockup
and its address is changed, FjordStaking
will also have to make a new deployment. Especially if a vulnerability is found related to streams, it may cause problems for FjordStaking
and since we cannot change the sablier address, this may not be prevented.
Foundry
Add a permissioned setter function with the onlyOwner
modifier that allows changing the address of sablier
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.