Assessment reports>MegaETH Predeposit>Threat Model>setSaleUUID

Function: setSaleUUID(byte[16] newSaleUUID)

This function is used to set the new sale UUID. It is only callable by the owner.

Inputs

  • newSaleUUID

    • Control: Arbitrary bytes16.

    • Constraints: Must not be zero.

    • Impact: New sale UUID.

Branches and code coverage

Intended branches

  • Emit the SaleUUIDUpdated event.

  • Update saleUUID.

Negative behavior

  • Revert if the caller is not the owner.

  • Revert if the new sale UUID is zero.

Zellic © 2025Back to top ↑