XCP money supply util function