How Tether (USDT) and other smart-coins work