Function: processRedemptions(byte[32][] redemptionIds, uint256[] priceIds)
This function is used to process redemptions of iUSPC tokens.
Inputs
redemptionIdsControl: Full control.
Constraints:
redemptionIds.lengthmust be equal topriceIds.length, and eachredemptionIdsmust exist inredemptionIdToRedeemer.Impact: Array of redemption IDs.
priceIdsControl: Full control.
Constraints: It must correspond to a valid oracle price, and
block.timestamp - timestamp <= MAX_PRICE_AGE;the quantity must matchredemptionIds.Impact: Array of corresponding price IDs.
Branches and code coverage
Intended branches
Negative behavior