Assessment reports>SSI Protocol>Threat Model>setFeeManager

Function: setFeeManager(uint256 assetID, address feeManager)

This function sets the fee manager of the asset.

Inputs

  • assetID

    • Control: Fully controlled by the caller.

    • Constraints: Must be an asset ID.

    • Impact: Specifies the asset to change the fee manager.

  • feeManager

    • Control: Fully controlled by the caller.

    • Constraints: Must be a nonzero address.

    • Impact: New fee manager of the given asset.

Branches and code coverage

Intended branches

  • Revoke the fee manager role of the old fee manager.

  • Grant the fee manager role to the new fee manager.

Negative behavior

  • The caller is the owner.

  • Given asset ID is valid.

  • Asset token does not have a pending fee-burning process.

Zellic © 2025Back to top ↑