Most capital went into infrastructure and decentralized finance (DeFi) projects, data by RootData shows.