Last October, Onyx suffered a $2.1 million attack exploiting an integer rounding vulnerability and a flash loan attack.