IRescueable
Title: IRescueable
Interface for contracts that allow privileged rescue of accidentally-sent assets.
The native asset is identified using the EIP-7528 sentinel address
(ERC7528Constants.NATIVE_ASSET).
Functions
rescue
Rescues assets accidentally sent to this contract.
function rescue(address token_, address payable to_) external;
Parameters
| Name | Type | Description |
|---|---|---|
| token_ | address | The token to rescue, or the EIP-7528 native sentinel for the native asset. |
| to_ | address payable | The recipient of the rescued assets. |