The following shall be the oath of each judge of election:
"I (John Doe) do swear (or affirm) that I will as judge duly attend the ensuing election (or primary) during the continuance thereof, and in cooperation with the inspectors, faithfully carry on the same; that I will not give my consent to the admission of any person to vote, except such as I firmly believe to be registered and entitled to vote at such election (or primary), according to the provisions of the Constitution and laws of this Commonwealth, and that I will use my best endeavors to prevent any fraud, deceit or abuse in carrying on the same, and that I will make a true and perfect return of the said election (or primary), and will at all times impartially and faithfully perform my duty respecting the same, to the best of my judgment and ability; and that I am not directly or indirectly interested in any bet or wager on the result of this election (or primary)."
25 P.S.§ 2677