The state treasurer may deposit moneys not required to meet current demands upon a term deposit basis not to exceed five years at such interest rates and upon such conditions as to withdrawals of such moneys as may be agreed upon between the state treasurer and any qualified public depositary.