Stav dette: Microfoundations and macroeconomics