Lending protocol Euler Finance was hit by a flash-loan attack, resulting in the loss of $197 million in various crypto assets.