Build
Architecture
protocol
contracts
Revert.sol
Struct.revertcontext

Git Source (opens in a new tab)

Struct containing revert context passed to onRevert.

struct RevertContext {
    address asset;
    uint64 amount;
    bytes revertMessage;
}

Properties

NameTypeDescription
assetaddressAddress of asset, empty if it's gas token.
amountuint64Amount specified with the transaction.
revertMessagebytesArbitrary data sent back in onRevert.