Co-founder Wang says FTX code allowed Alameda’s ‘unlimited withdrawals’

Two former FTX and Alameda employees, Gary Wang and Adam Yedidia, as well as Paradigm co-founder Matt Huang, testified in court Thursday

article-image

Artwork by Crystal Le

share

FTX co-founder and former Chief Technology Officer Gary Wang told a court Thursday that he built “special privileges to Alameda Research” into the exchange code he wrote.

The jury heard testimony from three witnesses in Manhattan today as part of the trial of Sam Bankman-Fried: Wang, former FTX developer Adam Yedidia, and Paradigm co-founder Matt Huang.

Co-founder in focus 

Wang, whose account closed out the day, said Bankman-Fried directed him to provide advantages for Alameda not available to FTX customers, such as the ability to place orders slightly faster than other market makers.

This disclosure came as part of a broader admission of financial crimes by Wang. In the statement, Wang admitted that he committed securities fraud, wire fraud and commodities fraud. He alleged that other FTX insiders, including Bankman-Fried, Caroline Ellison and Nishad Singh, also committed such crimes. 

Wang pleaded guilty last December and agreed to cooperate with prosecutors, as Blockworks previously reported. 

Read more: SBF said FTX was not ‘bulletproof’ months before demise, testimony reveals

Wang explained that these privileges meant that Alameda could make unlimited withdrawals from its accounts, even if the balance went negative or below zero. A normal trader would need sufficient funds or enough collateral to withdraw, Wang said.

None of these advantages were known to the public, Wang said. 

Alameda’s special privileges, according to Wang, culminated in a $8 billion hole — liabilities owed to FTX customers by the time the exchange entered bankruptcy last year. 

Prosecutors pressed Wang on Alameda’s $65 billion line of credit, because Alameda served as a market maker and liquidity provider on the exchange. Wang said that typically, market makers have a line of credit in the millions, not the billions. 

“With a B,” Wang emphasized. 

The prosecution sought to demonstrate that Bankman-Fried and Wang were unequal within the FTX/Alameda power structure — specifically, that Bankman-Fried was at the helm as he allegedly stole funds from FTX customers. 

To support this argument, prosecutors showed a signed document that said Bankman-Fried owned 90% of Alameda, while Wang owned 10%. Similarly, they demonstrated that Bankman-Fried was the majority owner of FTX. 

In the event of a disagreement, “in the end, it was Sam’s decision to make,” Wang testified.

Other perspectives 

By contrast, the testimony from Paradigm’s Huang represented a zoomed-out view — specifically, how FTX’s collapse impacted venture capital firms like his. 

Huang testified that he held concerns about the “entanglement” between FTX and Alameda when he was considering making an investment into FTX. But Paradigm moved forward with its investment, as the perceived strengths and opportunities were too compelling to pass, according to Huang.

In total, Paradigm invested around $278 million into FTX and FTX US, the exchange’s American affiliate. Asked about the current valuation by the prosecution, Huang told the court: “We have marked it down to zero.”

Today’s court proceedings also featured some momentary drama. 

Yedidia, also a college friend of Bankman-Fried, bluntly told the court that “FTX defrauded all its customers.” 

Yet this statement was later ultimately stricken from the court record, a move both parties agreed upon. 


Get the news in your inbox. Explore Blockworks newsletters:

Tags

Decoding crypto and the markets. Daily, with Byron Gilliam.

Upcoming Events

Old Billingsgate

Mon - Wed, October 13 - 15, 2025

Blockworks’ Digital Asset Summit (DAS) will feature conversations between the builders, allocators, and legislators who will shape the trajectory of the digital asset ecosystem in the US and abroad.

Industry City | Brooklyn, NY

TUES - THURS, JUNE 24 - 26, 2025

Permissionless IV serves as the definitive gathering for crypto’s technical founders, developers, and builders to come together and create the future.If you’re ready to shape the future of crypto, Permissionless IV is where it happens.

Brooklyn, NY

SUN - MON, JUN. 22 - 23, 2025

Blockworks and Cracked Labs are teaming up for the third installment of the Permissionless Hackathon, happening June 22–23, 2025 in Brooklyn, NY. This is a 36-hour IRL builder sprint where developers, designers, and creatives ship real projects solving real problems across […]

recent research

Research Report Templates (2).png

Research

Uniswap confronts structural headwinds as Ethereum's dominance in DEX volume erodes while Solana emerges as the leading ecosystem. Despite massive historical volume, UNI token holders receive no revenue distribution after four years of operation, while multi-chain expansion efforts consistently underperform due to subsidized local competitors. Recent initiatives including Unichain L2 and V4 protocol upgrades have failed to generate meaningful organic adoption despite substantial incentive programs, highlighting the challenge of competing in increasingly fragmented markets without sustainable value accrual mechanisms.

article-image

Why nobody can ever truly “win” Bitcoin mining

article-image

Privy said it would still operate as an “independent product” despite the acquisition

article-image

Franklin Templeton’s Roger Bayston tells Blockworks that stablecoins and market funds ‘complement’ each other

article-image

Analysts are lowering their earnings estimates for Big Tech, while BTC continues to outperform top names

article-image

The updates could set the Solana ETFs on a path to approval within the next few months

article-image

Could the mobile-first platform give Courtyard a run for its money?