The Three Phases of Cryptocurrencies