Assessment reports>Polyhedra DVN>Threat Model>setFee

Function: setFee(uint32 _dstEid, uint256 _price)

Configures the fee for a given destination chain. Only callable by the fee manager.

Inputs

  • _dstEid

    • Control: Full.

    • Constraints: None.

    • Impact: The destination endpoint ID to configure the fee for.

  • _price

    • Control: Full.

    • Constraints: None.

    • Impact: The fee to configure for the destination chain.

Branches and code coverage

Intended branches

  • Successfully sets the fee for the destination chain.

Negative behavior

  • Caller must be the fee manager.

Zellic © 2025Back to top ↑