The receiver shall proceed promptly to wind up the affairs of the bank, and in all matters involving discretion or judgment shall obtain the approval of the chancellor in an order entered in the receivership cause which was opened by the state comptroller by the filing of the petition asking for the appointment of a receiver. By and with the consent of the chancellor the receiver may be made a party respondent to petitions filed in the receivership caused by persons seeking to have adjudicated rights in the assets and affairs of the bank, and which the receiver has refused to recognize. The receiver may sell all or any portion of the assets of the bank, real, personal, or mixed, for cash or upon other terms; may effect compromises, and bring about exchanges of property; all under the approval of the chancellor with a view to equity and approximate justice to all parties, and a prompt and efficient liquidation.