Assessment reports>Metavest>Threat Model>terminateMetavestVesting

Function: terminateMetavestVesting(address _grant)

This function is used to terminate the metavest vesting.

Inputs

  • _grant

    • Control: Arbitrary.

    • Constraints: Should be a valid allocation address.

    • Impact: Address of the grant.

Branches and code coverage

Intended branches

  • Terminate the metavest vesting.

Negative behavior

  • Revert if the caller is not the authority.

  • Revert if the condition check fails.

Function call analysis

  • BaseAllocation(_grant).terminate()

    • What is controllable? _grant.

    • If the return value is controllable, how is it used and how can it go wrong? N/A.

    • What happens if it reverts, reenters or does other unusual control flow? N/A.

Zellic © 2024Back to top ↑