• Welcome


  • Get Started


  • Build


  • Tools


  • Run a Node


  • Use


  • About


  • Support

  • Community

  • Functions
  • onRevert
Build
Architecture
protocol
contracts
Revert.sol
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

NameTypeDescription
revertContextRevertContextRevert context to pass to onRevert.
Improve this documentation via GitHub

© 2025 Meta Protocol, Inc

  • GitHub
  • Explorer
  • Bug Bounty
  • Terms
  • Privacy Policy