From monetary theory to token economies