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.

Tier I

Sector: #18291

Sealed Cache Room

Resource Cache

Resource Cache

Tier I

Requires 25% Tier Progress to Claim
Meme Cache

Meme Cache

Tier I

Requires 50% Tier Progress to Claim
Equipment Cache

Equipment Cache

Tier I

Requires 75% Tier Progress to Claim

After collecting, caches will be stored in your inventory and can be opened with Keys.

Other news

Meta Platforms' Shares Surge Following AI Assistant Launch

chest

Meta Platforms' shares rose over 6% after the launch of its AI assistant, Muse, which helps users manage tasks and goals.

user avatarTomas Novak

Galaxy Announces $5 Million Funding for Bitcoin Quantum Security Research

chest

Galaxy announced up to $5 million in funding for Bitcoin quantum-security work, including developer grants, research, and an advisory council.

user avatarMaya Lundqvist

IonQ Launches Superion 256 Quantum Computer with Orders Open for 2027 Delivery

chest

IonQ has launched its Superion 256 quantum computer, opening orders for delivery in 2027.

user avatarKaterina Papadopoulou

Prediction Markets Show Shifts in Oil Price Expectations

chest

Prediction markets are reacting to oil price fluctuations, with traders speculating on whether crude will reach $120 or fall to $55 first.

user avatarAisha Farooq

Record Diesel Prices Hit Ahead of Midterm Elections

chest

Record diesel prices reached a high of 594 a gallon, raising concerns about consumer affordability ahead of the midterm elections.

user avatarLi Weicheng

Brent Crude Surpasses $100 Amid Geopolitical Tensions

chest

Brent crude oil prices rose above $100 for the first time in six weeks due to geopolitical tensions, including attacks on Saudi oil facilities and US military responses.

user avatarLeo van der Veen

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.