Assessment reports>Alkimiya>Threat Model>setBountyFractionIncreasePerSecond

Function: setBountyFractionIncreasePerSecond(uint256 newIncreaseAmount)

This function is used to set the rate at which the bounty fraction increases per second, until it reaches sMaxBountyFraction.

Inputs

  • newIncreaseAmount

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Value of the increase amount.

Branches and code coverage

Intended branches

  • Updates sBountyFractionIncreasePerSecond with newIncreaseAmount.

Negative behavior

  • Reverts if the caller is not the owner.

Zellic © 2024Back to top ↑