The following table presents, by type, our funding sources, which consist of total average deposits and borrowed funds, as a percentage of total funds and the total cost of each funding source for the years ended December 31, 2019 and 2018.