Bonds issued under this chapter shall be eligible to secure deposits of all public funds and shall be legal for the investment of bank, insurance company, and retirement funds.