Assessment reports>MegaETH Predeposit>Threat Model>setSelfClaim

Function: setSelfClaim(bool _selfClaim)

This function is used to set the self-claim property for claiming. It is only callable by the owner.

Inputs

  • _selfClaim

    • Control: Arbitrary bool.

    • Constraints: None.

    • Impact: Self-claim property for claiming.

Branches and code coverage

Intended branches

  • Update selfClaim.

  • Emit the SelfClaimUpdated event.

Negative behavior

  • Revert if the caller is not the owner.

Zellic © 2025Back to top ↑