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