Assessment reports>Anzen and protocol-v2>Threat Model>Function: broadcastTotalSupply(uint256[] calldata chainIds)

Function: broadcastTotalSupply(uint256[] calldata chainIds)

The function broadcasts the updated total-supply information across the specified chain IDs.

Inputs

  • chainIds

    • Control: Arbitrary.

    • Constraints: Must be nonempty and supported chain IDs.

    • Impact: The parameter specifies the chains to broadcast the total supply update.

Branches and code coverage

Intended branches

  • Update and broadcast the total supply across specified chains.

Negative behavior

  • Revert if chainIds is empty.

  • Revert if elements of chainIds are not in destinationContracts.

Zellic © 2025Back to top ↑