Which of the following functions of money is mostly affected during inflation?