RevertContext
Git Source (opens in a new tab)
Struct containing revert context passed to onRevert.
struct RevertContext {
address sender;
address asset;
uint64 amount;
bytes revertMessage;
}
Properties
Name | Type | Description |
---|---|---|
sender | address | Address of account that initiated smart contract call. |
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. |