A Walrasian Theory of Money and Barter