Assessment reports>Multisafe USPC Contracts>Threat Model>processSubscriptions

Function: processSubscriptions(byte[32][] depositIds, uint256[] priceIds)

This function is used to process subscriptions with immediate processing.

Inputs

  • depositIds

    • Control: Full control.

    • Constraints: depositIds.length must be equal to priceIds.length, and each depositIds must exist in depositIdToDepositor.

    • Impact: Array of deposit IDs.

  • priceIds

    • Control: Full control.

    • Constraints: The difference between the current timestamp and the timestamp returned by pricer.getPriceInfos must be less than or equal to MAX_PRICE_AGE.

    • Impact: Array of corresponding price IDs.

Branches and code coverage

Intended branches

Negative behavior

Zellic © 2025Back to top ↑