Build
Architecture
protocol
contracts
Revert.sol
Interface.revertable

Git Source (opens in a new tab)

Interface for contracts that support revertable calls.

onRevert

Called when a revertable call is made.

function onRevert(RevertContext calldata revertContext) external;

Parameters

NameTypeDescription
revertContextRevertContextRevert context to pass to onRevert.