The function of money that is mostly affected by inflation is