0G Foundation reports losing $520K to DeFi hack