Assessment reports>Anzen Finance>Threat Model>rescueERC20

Function: rescueERC20(IERC20 token, address to, uint256 amount)

This function is for rescuing the given token.

Inputs

  • token

    • Control: Completely controlled by the caller.

    • Constraints: None.

    • Impact: Token to rescue.

  • to

    • Control: Completely controlled by the caller.

    • Constraints: None.

    • Impact: Address to transfer to.

  • amount

    • Control: Completely controlled by the caller.

    • Constraints: None.

    • Impact: Amount to transfer.

Zellic © 2024Back to top ↑