Polymarket has resumed trading after a suspected $2.7 million cyberattack linked to third-party provider DebugBear. Here is what happened and how users were affected.