setFallbackHandler
Set Fallback Handler to handler
for the Safe.
⚠️
Only fallback calls without value and with data will be forwarded. This can only be done via a Safe transaction. Cannot be set to the Safe itself.
Usage
_10interface ISafe {_10 function setFallbackHandler(address handler) external;_10}_10_10contract Example {_10 function example() ... {_10 (ISafe safe).setFallbackHandler(0x...);_10 }_10}
Parameters
handler
- Type:
address
Contract to handle fallback calls.
_10(ISafe safe).setFallbackHandler(_10 0x..._10);
Events
ChangedFallbackHandler
_10event ChangedFallbackHandler(address handler);
Emitted when the Fallback Handler is changed.