In the discretion of the office any revenue bonds issued under the provisions of sections 136A.15 to 136A.178 may be secured by a trust agreement by and between the office and a corporate trustee or trustees, which may be any trust company or bank having the powers of a trust company within the state. Such trust agreement or the resolution providing for the issuance of such revenue bonds may pledge or assign the revenues to be received or proceeds of any contract or contracts pledged or any portion thereof. Such trust agreement or resolution providing for the issuance of such revenue bonds may contain such provisions for protecting and enforcing the rights and remedies of the bondholders as may be reasonable and proper and not in violation of laws, including particularly such provisions as have hereinabove been specifically authorized to be included in any resolution or resolutions of the office authorizing revenue bonds thereof. Any bank or trust company incorporated under the laws of the state which may act as depository of the proceeds of bonds or of revenues or other moneys may furnish such indemnifying bonds or pledges such securities as may be required by the office. Any such trust agreement may set forth the rights and remedies of the bondholders and of the trustee or trustees and may restrict the individual right of action by bondholders. In addition to the foregoing, any such trust agreement or resolution may contain such other provisions as the office may deem reasonable and proper for the security of the bondholders.