Web3 projects lost nearly $314m in Q2, CertiK research shows