17-14-904. Distribution of assets.
(a) Upon the winding up of a limited partnership, the assets shall be distributed as follows:
(i) To creditors, including partners who are creditors, to the extent permitted by law, in satisfaction of liabilities of the limited partnership other than liabilities for distributions to partners under W.S. 17-14-701 or 17-14-704;
(ii) Except as provided in the partnership agreement, to partners and former partners in satisfaction of liabilities for distributions under W.S. 17-14-701 or 17-14-704; and
(iii) Except as provided in the partnership agreement, to partners first for the return of their contributions and secondly respecting their partnership interests, in the proportions in which the partners share in distributions.