The state pledges to and agrees with the holders of bonds issued under this chapter and with the federal agency which loans or contributes funds in respect to a project, that the state will not limit or alter the rights and powers vested in the authority by this chapter to fulfill the terms of a contract made by the authority with the holders or federal agency, or in any way impair the rights and remedies of the holders until the bonds, together with the interest on them with interest on unpaid installments of interest, and all costs and expenses in connection with an action or proceeding by or on behalf of the holders, are fully met and discharged. The authority is authorized to include this pledge and agreement of the state, insofar as it refers to holders of bonds of the authority, in a contract with the holders, and insofar as it relates to a federal agency, in a contract with the federal agency.