receive
Receive function accepts native token transactions.
Usage
_10interface ISafe {_10 receive() external payable;_10}_10_10contract Example {_10 function example() ... {_10 (ISafe safe).receive();_10 }_10}
Events
SafeReceived
_10event SafeReceived(address sender, uint256 value)
Emitted when the Safe contract receives a payment.