Assessment reports>Anzen Finance>Threat Model>redeemBackSPCT

Function: redeemBackSPCT(uint256 _amount)

This function is for redeeming.

Inputs

  • _amount

    • Control: Completely controlled by the caller.

    • Constraints: The caller must have enough USDz to burn.

    • Impact: Amount to redeem.

Branches and code coverage

Intended branches

  • Burn the given amount of the USDz.

  • Transfer the proper amount of the SPCT.

Negative behavior

  • Revert when the given amount is zero.

  • Revert when the caller is blacklisted.

Zellic © 2024Back to top ↑