Open code423n4 opened 2 years ago
Czar102
Adding contractOwner to canCall in CallFacet would make CallFacet::protectedCall() modifier make 1 storage read less every time a non-owner calls a function with this modifier.
contractOwner
canCall
CallFacet
CallFacet::protectedCall()
Handle
Czar102
Vulnerability details
Optimization
Adding
contractOwner
tocanCall
inCallFacet
would makeCallFacet::protectedCall()
modifier make 1 storage read less every time a non-owner calls a function with this modifier.