RevertContext
Git Source (opens in a new tab)
Struct containing revert context passed to onRevert.
struct RevertContext {
address asset;
uint64 amount;
bytes revertMessage;
}
Properties
Name | Type | Description |
---|---|---|
asset | address | Address of asset, empty if it's gas token. |
amount | uint64 | Amount specified with the transaction. |
revertMessage | bytes | Arbitrary data sent back in onRevert. |