Yam Finance repelled a hacker attack for $ 3.1 million