Crypto losses to hacks exceed $313M in August