The tax and funds collected under the provisions of sections 23-3554 to 23-3572 shall be deemed pledged and appropriated to the payment of the interest and principal of the registered bonds provided for in sections 23-3554 to 23-3572, until fully satisfied, and the treasurer shall be liable on his official bond for the faithful disbursement of all money so collected or received by him. After the principal and interest of such bonds shall have been fully paid and all obligations for which such fund and taxes were raised have been discharged, the county clerk, upon the order of the county board, shall notify the county treasurer to transfer all such funds remaining in his hands to the credit of the district to which they belong.