Decentralized finance (DeFi) protocol Gamma Strategies suffered an exploit resulting in the loss of around $3.4 million.