Assessment reports>Metavest>Threat Model>proposeMetavestAmendment

Function: proposeMetavestAmendment(address _grant, byte[4] _msgSig, bytes _callData)

This function is used to propose a metavest amendment.

Inputs

  • _grant

    • Control: Arbitrary.

    • Constraints: Should be a valid allocation address.

    • Impact: Address of the grant.

  • _msgSig

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Signature of the function to propose.

  • _callData

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Data to call the function.

Branches and code coverage

Intended branches

  • Update the functionToProposal mapping with the _grant, _msgSig, and _callData.

Negative behavior

  • Revert if the caller is not the authority.

Zellic © 2024Back to top ↑