You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: enhance fallback handler documentation in Safe.sol and IFallbackManager.sol (#879)
Updated the documentation for the fallback handler in both `Safe.sol`
and `IFallbackManager.sol` to improve clarity and highlight security
risks associated with setting the fallback handler. Added a warning
about the potential for bypassing access control mechanisms when using
untrusted addresses.
Copy file name to clipboardExpand all lines: contracts/Safe.sol
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ import {Enum} from "./libraries/Enum.sol";
28
28
* 1. Transaction Guard: managed in `GuardManager` for transactions executed with `execTransaction`.
29
29
* 2. Module Guard: managed in `ModuleManager` for transactions executed with `execTransactionFromModule`
30
30
* - Modules: Modules are contracts that can be used to extend the write functionality of a Safe. Managed in `ModuleManager`.
31
-
* - Fallback: Fallback handler is a contract that can provide additional read-only functionality for Safe. Managed in `FallbackManager`.
31
+
* - Fallback: Fallback handler is a contract that can provide additional functionality for Safe. Managed in `FallbackManager`. Please read the security risks in the `IFallbackManager` interface.
32
32
* Note: This version of the implementation contract doesn't emit events for the sake of gas efficiency and therefore requires a tracing node for indexing/
33
33
* For the events-based implementation see `SafeL2.sol`.
0 commit comments