Assessment reports>Anzen and protocol-v2>Threat Model>applyPoolSlopeChanges

Function: applyPoolSlopeChanges(address pool)

This function is used to process all the slope changes that have not been processed and updates this data into poolData.

Inputs

  • pool

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Pool address.

Branches and code coverage

Intended branches

  • Check current week start.

  • Update the pool's vote data and slope changes.

Negative behavior

  • Revert if the pool is not active.

Zellic © 2025Back to top ↑