Smart Account Reference
Fallback Handler
fallback

fallback

This function emits the SafeReceived event when it receives a payment.

Usage


_10
interface ISafe {
_10
fallback() external;
_10
}
_10
_10
contract Example {
_10
function example() ... {
_10
(ISafe safe).fallback();
_10
}
_10
}

Events

SafeReceived


_10
event SafeReceived(address sender, uint256 value)

Emitted when the Safe contract receives a payment.

Was this page helpful?