The proceeds of the sale of the bonds shall be deposited in the city treasury to the credit of a designated fund and shall be applied exclusively to the purposes and objects for which the electors have voted to incur indebtedness or liability until the purposes and objects are accomplished, after which the surplus, if any, may be transferred to the general fund of the city.