This 18th-century treasury building doubled as a prison for members of the Inconfidência. The renovated mansion now houses displays on the history of gold – and money in general – in Brazil.