Montenegro severed its economy from federal control and from Serbia during the MILOSEVIC era and maintained its own central bank , adopted the Deutchmark , then the euro - rather than the Yugoslav dinar - as official currency , collected customs tariffs , and managed its own budget .