Section XL. And be it further enacted by the authority aforesaid, That the state treasurer before he enters upon the duties of his office, shall take the oaths or affirmations of office agreeably to the directions of the constitutions of the United States and this commonwealth, and shall become bound to the commonwealth in an obligation with two or more sufficient sureties to be approved of by the governor, in the sum of eighty thousand dollars, lawful money of Pennsylvania, conditioned for the true and faithful performance of the trusts and duties enjoined and required by law, to be performed by such treasurer, and the execution thereof being duly proved, the same shall be entered of record in the office of the secretary of the commonwealth, and copies of such obligation duly authenticated under the seal of the said office, shall be admitted as legal evidence in any court in this commonwealth.