Assessment reports>Alkimiya>Threat Model>setMintFeeBps

Function: setMintFeeBps(uint256 newMintFeeBps)

This function is used to set the mint fee in basis points for minting long and short tokens.

Inputs

  • newMintFeeBps

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Value of the mint fee in basis points.

Branches and code coverage

Intended branches

  • Updates sMintFeeBps with newMintFeeBps.

Negative behavior

  • Reverts if the caller is not the owner.

Zellic © 2024Back to top ↑