Assessment reports>Polyhedra DVN>Threat Model>setDstChain

Function: setDstChain(uint32 _dstEid, bool enabled)

Configures which destination EIDs are enabled for sending messages. Only callable by the owner.

Inputs

  • _dstEid

    • Control: Full.

    • Constraints: None.

    • Impact: The destination endpoint ID to configure.

  • enabled

    • Control: Full.

    • Constraints: Must not be the current state.

    • Impact: The new state to configure for the destination chain.

Branches and code coverage

Intended branches

  • Successfully sets the destination EID enabled status.

Negative behavior

  • Value equals the current state.

  • Caller is not the owner.

Zellic © 2025Back to top ↑