Interface.revertable
Revertable
Git Source (opens in a new tab)
Interface for contracts that support revertable calls.
Functions
onRevert
Called when a revertable call is made.
function onRevert(RevertContext calldata revertContext) external;
Parameters
Name | Type | Description |
---|---|---|
revertContext | RevertContext | Revert context to pass to onRevert. |
Continue Learning
Continue with the next part or try a related tutorial
How has your developer experience been?
Share your feedback and help improve it for everyone.