Risk, challenges, and regulation in decentralized finance