Assessment reports>SSI Protocol>Threat Model>collectFeeTokenset

Function: collectFeeTokenset()

This function collects a certain fraction of the basket into the fee-token set.

Branches and code coverage

Intended branches

  • Calculate the amount of underlying asset to transfer to the fee-token set.

  • Transfer the underlying asset from the basket to the fee-token set.

  • Recalculate the new token set and apply.

  • Update the timestamp when fee is collected.

Negative behavior

  • The caller is a fee manager.

  • Rebalancing and issuing features are not locked.

Zellic © 2025Back to top ↑