Skip to content

IAssetRecoveryFacet

The AssetRecoveryFacet contract interface

This is a security feature to ensure that no assets are locked in the contract

This contract allows for the recovery of assets from the contract

Recovers an ERC20 token from the contract

This ensures that the token is not the deposit token or a reward token

Only the admin can call this function

function recoverERC20(address tokenAddress) external;

Parameters

NameTypeDescription
tokenAddressaddressThe address of the token to recover

Recovers all ETH from the contract

This is safe because the contract is not supposed to hold any ETH, just WETH

Only the admin can call this function

function recoverETH() external;