Home > News > Cryptocurrency Market > FTX used Python code to fake its insurance fund figure: Gary Wang

FTX used Python code to fake its insurance fund figure: Gary Wang

Crypto exchange FTX used hidden Python code to misrepresent the value of its insurance fund — a pool of funds meant to prevent user losses during huge liquidation events — according to testimony from FTX co-founder Gary Wang. 

In a damning new testimony on Oct. 6, FTX’s former chief technology officer, Gary Wang, said that FTX’s so-called $100 million insurance fund in 2021 was actually fabricated, and also never actually contained any of the exchanges’ FTX tokens (FTT) as claimed.

Instead, the figure shown to the public was calculated by multiplying the daily trading volume of the FTX Token by a random number close to 7,500.

When the prosecution surfaced the above tweet — among other public statements of its value — and asked Wang whether this amount was accurate he replied with a single word: “No.”

“For one, there is no FTT in the insurance fund. It’s just the USD number. And, two, the number listed here does not match what was in the database.”

An exhibit in the Oct. 6 trial shows the alleged code used to generate the size of the so-called “Backstop Fund” or public insurance fund. 

FTX’s insurance fund was designed to protect user losses in case of huge, sudden market movements and its value was often touted on its website and social media.

According to Wang’s testimony, however, the amount contained within the fund was often insufficient to cover these losses.

For example, in 2021, a trader was able to exploit a bug in FTX’s margin system to take an outsized position in MobileCoin, which resulted in a loss to the tune of hundreds of millions dollars for FTX, according to Wang.

When Bankman-Fried realized that the insurance fund had all but been exhausted, Wang said he was told to make Alameda “take on” the loss. This was supposedly in an attempt to hide the loss, as Alameda’s balance sheets were more private than those of FTX.

Related: Pro-XRP lawyer John Deaton slams Sam Bankman-Fried sympathizers

In addition to revealing the allegedly fraudulent nature of FTX’s insurance fund, Wang claimed that he and Nishad Singh were prompted by Bankman-Fried to implement an “allow_negative” balance feature in the code at FTX, which allowed Alameda Research to trade with near-unlimited liquidity on the crypto exchange.

On Oct. 5 Wang — who has already pleaded guilty to all charges pressed against him — admitted to committing wire fraud, commodities fraud and securities fraud with Bankman-Fried, former Alameda Research CEO Caroline Ellison and former-FTX director of engineering Nishad Singh.

Magazine: How to protect your crypto in a volatile market — Bitcoin OGs and experts weigh in