A Contemporary York Divulge has permitted a consent divulge that effectively ends a 20-month lawsuit from the U.S. Commodities and Futures Trading Commission (CFTC) against FTX and its sister firm Alameda Learn.

In a filing on Aug. 7, District Divulge Peter Castel permitted the divulge that would discover FTX and Alameda pay $8.7 billion in restitution and an further $4 billion in disgorgement.

Particularly, the CFTC, described by CEO John Ray III as FTX’s greatest creditor, did not witness civil monetary penalties. As a result, the entire $12.7 billion sum will seemingly be paid out to creditors of the FTX financial trouble property, which largely includes retail investors.

The divulge moreover permanently bans FTX and Alameda from trading digital property and performing as a market maker or custodian.

Earlier this year, FTX settled a dispute with the Interior Revenue Provider (IRS), with the bankrupt replace agreeing to pay a $200 million precedence claim to the tax agency. FTX moreover agreed to pay the IRS an further $685 million as a junior precedence claim to the extent that funds are on hand after its distribution belief.

Under the terms of FTX’s reorganization belief, 98% of creditors are assert to receive 118% of their claims inside of 60 days of the belief coming into affect. The final creditors are to be paid out 100% of their claims and billions in compensation for “the time payment of their investments.”

FTX creditors are all via of deciding their most fashioned fee formula, with some opting for a crypto payout over fiat. They own until August 16 to put up their preferences, and U.S. Economic wreck Court Divulge John Dorsey will assert a final ruling on the field on Oct. 7.