The comptroller shall adjust and settle all public accounts and demands, except grants and orders of the general assembly. He shall prescribe the mode of keeping and rendering all public accounts. He shall, ex officio, be one of the auditors of the accounts of the treasurer. The general assembly may assign to him other duties in relation to his office, and to that of the treasurer, and shall prescribe the manner in which his duties shall be performed.