Assessment reports>Metavest>Threat Model>removeMetaVestFromSet

Function: removeMetaVestFromSet(string _name, address _metaVest)

This function is used to remove a metavest from the set.

Inputs

  • _name

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Name of the metavest.

  • _metaVest

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Address of the metavest.

Branches and code coverage

Intended branches

  • Remove the _metaVest from the sets mapping for the _name.

Negative behavior

  • Revert if the caller is not the authority.

  • Revert if the _name does not exist in the setNames mapping.

Zellic © 2024Back to top ↑