Build
Architecture
protocol
contracts
Revert.sol
Struct.revertoptions

Git Source (opens in a new tab)

Struct containing revert options

struct RevertOptions {
    address revertAddress;
    bool callOnRevert;
    address abortAddress;
    bytes revertMessage;
    uint256 onRevertGasLimit;
}

Properties

NameTypeDescription
revertAddressaddressAddress to receive revert.
callOnRevertboolFlag if onRevert hook should be called.
abortAddressaddressAddress to receive funds if aborted.
revertMessagebytesArbitrary data sent back in onRevert.
onRevertGasLimituint256Gas limit for revert tx, unused on GatewayZEVM methods