Assessment reports>Programmable Derivatives>Threat Model>setSharesPerToken

Function: setSharesPerToken(uint256 _sharesPerToken)

This function is used to set the shares per token.

Inputs

  • _sharesPerToken

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Value of the new shares per token.

Branches and code coverage

Intended branches

  • Update the shares per token.

Negative behavior

  • Revert if the caller does not have the governance role.

Zellic © 2025Back to top ↑