The state is a preferred creditor in all cases of payments due to the state under any contracts.
N.D.C.C. § 54-27-18