Skip to main content

IRescueable

Git Source

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

NameTypeDescription
token_addressThe token to rescue, or the EIP-7528 native sentinel for the native asset.
to_address payableThe recipient of the rescued assets.