The salaries of district attorneys of the several judicial districts of the state as set forth in section 20-1-301 (1)(a) shall be paid in twelve equal monthly installments of which the state shall contribute eighty percent annually and the counties making up each district the balance, each county's payment to be in the same proportion as provided in section 20-1-302.