First, note that from the readMe, this has been stated: https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/README.md#L276
Now, take a look at https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/market/WildcatMarket.sol#L125-L137
This function helps withdraw available protocol fees to the fee recipient.
The current implementation uses an immutable feeRecipient address to collect fees:
If feeRecipient gets blacklisted by the asset used in the market, fee collection will fail for all associated markets.
Multiple cases:
Either make feeRecipient updatable per market or use a pull pattern instead of push when collecting fees, a pseudo fix could be:
