
Convex · Reads onchain state
Reads the CRV the cvxCRV staking pool has accrued for the socket and not yet claimed. The rewards contract's earned returns the amount at 18 decimals up to this block; CVX and 3CRV are paid alongside on claim but not counted here. Reach for it to gate a claim behind a minimum with a predicate, so compounding only runs when the harvest is worth its gas.