Assessment reports>Metavest>Threat Model>claimRepurchasedTokens

Function: claimRepurchasedTokens()

This function is used to claim the repurchased tokens by grantee.

Branches and code coverage

Intended branches

  • Transfer the payment balance to the grantee.

  • Update tokensRepurchasedWithdrawn.

Negative behavior

  • Revert if the caller is not the grantee.

  • Revert if this function is reentered.

  • Revert if the payment balance is zero.

Zellic © 2024Back to top ↑