• Dapps:16.23K
  • Blockchains:78
  • Active users:66.47M
  • 30d volume:$303.26B
  • 30d transactions:$879.24M
The losses of Lifinity from the LFNTY pool amount to $700,000

The losses of Lifinity from the LFNTY pool amount to $700,000

user avatar

by Max Nevskyi

3 years ago


An error in the "Immediate or Cancel" order resulted in a loss of nearly $700,000 from Lifinity's LFNTY-USDC pool.

On December 8th, an arbitrage bot drained the LFNTY-USDC pool on Lifinity's decentralized exchange (DEX). According to information published in the Lifinity Discord channel, an unexpected reaction to an unsuccessful trade led to a loss of $699,090.

The main participant in Lifinity, known as Derden, explained that the bot attempted an arbitrage trade through the USDC > xLFNTY > LFNTY > USDC route, trying to profit from price differences between different trading pairs.

The bot placed a "Immediate or Cancel" (IOC) market order on Serum v3 - this is a type of order that, when executed, should be immediately filled at the current market price. Orders that cannot be immediately executed are automatically canceled.

But instead of returning an error as most programs do, it returned zero as the output. Our pools processed zero as the input and also returned 0 as the output.noted Derden.

The erroneous transaction resulted in updating the price of the last trade to zero, making the starting price also zero. However, the actual price remains different from zero, but the low starting price caused an immediate fund leakage.

Lifinity v1 is an automated market maker (AMM) that uses algorithms to provide liquidity in trading pairs. According to Derden, to maintain a balance of tokens in the liquidity pool, it uses the Constant Product Market Maker (CPMM) model, a specific type of AMM.

Other decentralized exchanges, such as Uniswap and Bancor, also employ this model. Lifinity v1 does not support the standard Constant Product (CP) curve used in traditional AMMs, but it can effectively emulate its function. One of the methods used for this emulation was modifying the "last price" to set the next initial price. However, due to the error leading to a zero price, the bot was able to exploit this inconsistency and cause a fund leak.

The Lifinity team is working on restoring liquidity to the pool, conducting protocol code checks, and making efforts to recover the lost funds. Currently, transactions with zero sums are no longer accepted.

0

Rewards

chest
chest
chest
chest

More rewards

Discover enhanced rewards on our social media.

chest

Other news

CFTC Lawsuit Against Kentucky Highlights Jurisdictional Battle Over Prediction Markets

chest

The CFTC has filed a lawsuit against Kentucky, raising questions about the regulation of prediction markets in the U.S. The case will determine if federal derivatives law or state gambling laws govern these markets.

user avatarJacob Williams

XRP Withdrawal Activity on Binance Reaches New Highs

chest

XRP withdrawal activity on Binance has surged, marking the highest share since 2024, indicating a shift in exchange behavior.

user avatarZainab Kamara

Cardano DeFi Project SecondFi Faces Major Security Flaw

chest

The Cardano DeFi project SecondFi is facing scrutiny due to a critical wallet key generation flaw, exposing users to potential losses in the tens of millions of dollars.

user avatarSon Min-ho

Avalanche AVAX Sees Significant Rally Amid FIFA World Cup 2026 Collaboration

chest

Avalanche AVAX has rallied by 37% in the last 24 hours due to a collaboration with FIFA for ticketing, becoming the second-best performing cryptocurrency in the top 100 projects.

user avatarAyman Ben Youssef

Updated Editorial Standards Highlight Accuracy and Impartiality.

chest

A new editorial policy has been implemented by the editorial team, emphasizing accuracy, relevance, and impartiality in reporting.

user avatarTando Nkube

Ethereum Research Proposal Puts Staking Economics in Focus

chest

A proposal titled Validator Redirected Revenue aims to address funding for public goods in the Ethereum ecosystem.

user avatarKofi Adjeman

Important disclaimer: The information presented on the Dapp.Expert portal is intended solely for informational purposes and does not constitute an investment recommendation or a guide to action in the field of cryptocurrencies. The Dapp.Expert team is not responsible for any potential losses or missed profits associated with the use of materials published on the site. Before making investment decisions in cryptocurrencies, we recommend consulting a qualified financial advisor.