A deep dive into algorithmic stablecoins working mechanism