Any moneys held in any fund created under this subchapter shall be invested by the State Board of Finance to the full extent practicable pending disbursement for the purposes intended. Notwithstanding any other provision of law, the investments shall be in accordance with the terms of the resolution or trust indenture authorizing or securing the series of bonds to which the fund appertains to the extent the terms of such a resolution or trust indenture are applicable.