Assessment reports>Omni AVS>Threat Model>Function: _setStrategyParams(StrategyParam[] calldata params)

Function: _setStrategyParams(StrategyParam[] calldata params)

Allows setting the strategy parameters of the AVS.

Inputs

  • params

    • Validation: Checked that each strategy is not zero and that there are no duplicates.

    • Impact: Sets the strategy parameters of the AVS.

Branches and code coverage (including function calls)

Intended branches

  • Implies that all the operators have stakes in the new strategies. Currently not enforced.

  • Should delete existing strategy parameters.

Negative behavior

  • Should not add strategies that the operators do not have stakes in. Currently not enforced.

Zellic © 2025Back to top ↑