It may borrow money and incur indebtedness and guarantee the performance of its legal or contractual obligations whether heretofore or hereafter incurred; and also refund or retire any public indebtedness or lien that may exist or be created against the district or any property therein which shall have arisen out of the transaction of the affairs of the district.