Raspy Currant Lynx
High
Protocol attempts to set yield mode to claimable by calling blast.configure()
, but this only sets the native yield (ETH) and not USDB that is being used as LOAN_TOKEN in predict.fun.
The default yield mode for USDB, which the protocol is using as LOAN_TOKEN, is AUTOMATIC. All accrued USDB yield will be stuck in the loan contract.
When calling Blast's precompile contract with IBlast(blast).configure(YieldMode.CLAIMABLE, GasMode.CLAIMABLE, governor);
, this only sets yield mode of native ETH and gas mode.
We need to also be interacting with Blast's USDB precompile contract, for which there is currently no way to do so in BlastNativeYield.sol.
None
None
NA
Rating this as high severity as this is a loss of funds due to loss of USDB yield in the loan contract with 100% certainty.
NA
Interact with Blast's USDB precompile contract and set YIELD_MODE to CLAIMABLE.