Assessment reports>Alkimiya>Threat Model>setBountyGracePeriod

Function: setBountyGracePeriod(uint256 newGracePeriod)

This function is used to set the grace period before bounties are paid out.

Inputs

  • newGracePeriod

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Value of the grace period in seconds.

Branches and code coverage

Intended branches

  • Updates sBountyGracePeriod with newGracePeriod.

Negative behavior

  • Reverts if the caller is not the owner.

Zellic © 2024Back to top ↑