OKX confirmed a deprecated smart contract on the DEX had been compromised, promising to reimburse affected users.