Written by 3:02 pm AI, Business, Latest, News

Lifinity USDC pool drained by arbitrage bot.

CNN Crypto - Crypto News Network

An error in an Immediately-or-Cancel order resulted in the removal of approximately $700,000 from Lifinity’s LFNTY-USDC pool. On December 8, an arbitrage bot emptied the LFNTY-USDC pool on decentralized exchange (DEX) Lifinity. The $699,090 loss purportedly caused by an unexpected reaction to a failed transaction, as indicated in Lifinity’s Discord channel.

Durden, a core member of Lifinity reported that a bot tried to profit from price differences between several trading pairs by executing an arbitrage transaction attempting to go from USDC to xLFNTY to LFNTY and back to USDC. On Serum v3, the bot initiated an Immediate-or-Cancel (IOC) market order requiring immediate execution at the prevailing market price if filled. Orders that take time to complete will canceled.

However, as most programs do, it returned a 0 amount rather than an error. The program updated the last transaction price to zero, making the following beginning price likewise zero, Durden said. “Our pools processed the 0 amount in and returned 0 amount out.” 

“Since it’s a CP curve, the actual price won’t be 0, but the pool did offer a meager price, resulting in the drain right after.”

As an automated market maker (AMM), Lifinity v1 generates liquidity in trading pairs via the use of algorithms. Durden claims that it depends on a specific type of AMM model called a constant product market maker (CPMM) to keep two token quantities in a liquidity pool in equilibrium.

Other decentralized exchanges, including Bancor and Unisawp, also use this technique. Although Lifinity v1 may mimic the function of a typical constant product (CP) curve, it is not compatible with regular CPMMs.

Calling a “last price” function to the next beginning price was one way to recreate it. But because the bug provided a price of 0, the bot was able to take advantage of the difference and destroy the money. 

A community member noted that the occurrence was not the result of an attack on X, the old home of Twitter. Lifinity‘s staff is trying to recover funds and is reworking the protocol code to bring liquidity back into the pool. Trades that result in a zero amount are no longer permitted.

Visited 253 times, 1 visit(s) today
Close
  • bitcoinBitcoin (BTC) $ 63,395.00 0.83%
  • ethereumEthereum (ETH) $ 2,552.87 4.76%
  • tetherTether (USDT) $ 0.999924 0.08%
  • bnbBNB (BNB) $ 572.05 1.25%
  • solanaSolana (SOL) $ 150.46 6.9%
  • usd-coinUSDC (USDC) $ 0.999881 0.06%
  • xrpXRP (XRP) $ 0.584945 0.16%
  • staked-etherLido Staked Ether (STETH) $ 2,552.63 4.87%
  • dogecoinDogecoin (DOGE) $ 0.106319 1.63%
  • the-open-networkToncoin (TON) $ 5.69 1.41%
  • tronTRON (TRX) $ 0.152400 1.3%
  • cardanoCardano (ADA) $ 0.357819 2.13%
  • avalanche-2Avalanche (AVAX) $ 28.09 6.34%
  • wrapped-stethWrapped stETH (WSTETH) $ 3,008.70 4.72%
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 63,373.00 1.04%
  • shiba-inuShiba Inu (SHIB) $ 0.000014 0.76%
  • wethWETH (WETH) $ 2,552.37 4.66%
  • chainlinkChainlink (LINK) $ 11.66 3.51%
  • bitcoin-cashBitcoin Cash (BCH) $ 341.35 0.25%
  • polkadotPolkadot (DOT) $ 4.33 2.58%
  • leo-tokenLEO Token (LEO) $ 5.76 1.9%
  • daiDai (DAI) $ 0.999961 0.04%
  • uniswapUniswap (UNI) $ 6.80 0.11%
  • litecoinLitecoin (LTC) $ 66.12 1.01%
  • nearNEAR Protocol (NEAR) $ 4.46 0.09%
  • wrapped-eethWrapped eETH (WEETH) $ 2,674.95 4.91%
  • kaspaKaspa (KAS) $ 0.169026 2.35%
  • suiSui (SUI) $ 1.54 13.21%
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 1.62 5.03%
  • internet-computerInternet Computer (ICP) $ 8.47 2.85%
  • aptosAptos (APT) $ 7.31 11.48%
  • pepePepe (PEPE) $ 0.000008 4.01%
  • moneroMonero (XMR) $ 178.03 2.24%
  • bittensorBittensor (TAO) $ 424.52 11.92%
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.405267 1.82%
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.999565 0.24%
  • stellarStellar (XLM) $ 0.096665 1.91%
  • ethereum-classicEthereum Classic (ETC) $ 18.98 2.04%
  • blockstackStacks (STX) $ 1.77 3.44%
  • ethena-usdeEthena USDe (USDE) $ 0.998863 0.01%
  • immutable-xImmutable (IMX) $ 1.60 8.95%
  • okbOKB (OKB) $ 39.44 1.52%
  • aaveAave (AAVE) $ 153.42 5.9%
  • crypto-com-chainCronos (CRO) $ 0.084571 3.17%
  • filecoinFilecoin (FIL) $ 3.78 2.84%
  • render-tokenRender (RENDER) $ 5.32 3.59%
  • arbitrumArbitrum (ARB) $ 0.574221 4.58%
  • injective-protocolInjective (INJ) $ 20.90 1.45%
  • mantleMantle (MNT) $ 0.611331 2.76%
  • optimismOptimism (OP) $ 1.67 5.92%
  • hedera-hashgraphHedera (HBAR) $ 0.052440 0.69%
  • vechainVeChain (VET) $ 0.023933 6.95%
  • dogwifcoindogwifhat (WIF) $ 1.80 3.53%
  • fantomFantom (FTM) $ 0.639174 0.13%
  • cosmosCosmos Hub (ATOM) $ 4.55 1.53%
  • whitebitWhiteBIT Coin (WBT) $ 11.35 0.88%
  • binance-peg-wethBinance-Peg WETH (WETH) $ 2,551.18 4.68%
  • the-graphThe Graph (GRT) $ 0.160615 4.48%
  • thorchainTHORChain (RUNE) $ 4.45 0.2%
  • theta-tokenTheta Network (THETA) $ 1.41 1.79%
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,853.76 4.81%
  • makerMaker (MKR) $ 1,555.15 0.58%
  • arweaveArweave (AR) $ 20.59 1.8%
  • flokiFLOKI (FLOKI) $ 0.000135 1.27%
  • solv-btcSolv Protocol SolvBTC (SOLVBTC) $ 63,243.00 0.82%
  • bitget-tokenBitget Token (BGB) $ 0.931320 1.5%
  • mantle-staked-etherMantle Staked Ether (METH) $ 2,663.54 4.96%
  • bonkBonk (BONK) $ 0.000018 3.04%
  • celestiaCelestia (TIA) $ 5.95 4.45%
  • sei-networkSei (SEI) $ 0.354699 6.32%
  • matic-networkPolygon (MATIC) $ 0.406098 2.26%
  • heliumHelium (HNT) $ 7.01 3.72%
  • pyth-networkPyth Network (PYTH) $ 0.322924 4.19%
  • jupiter-exchange-solanaJupiter (JUP) $ 0.861312 7.21%
  • quant-networkQuant (QNT) $ 76.18 4.52%
  • algorandAlgorand (ALGO) $ 0.134154 2.46%
  • gatechain-tokenGate (GT) $ 8.48 1.14%
  • jasmycoinJasmyCoin (JASMY) $ 0.021134 1.61%
  • lido-daoLido DAO (LDO) $ 1.12 7.59%
  • ondo-financeOndo (ONDO) $ 0.690835 5.94%
  • bitcoin-svBitcoin SV (BSV) $ 49.38 1.62%
  • coredaoorgCore (CORE) $ 1.07 8.28%
  • mantra-daoMANTRA (OM) $ 1.12 0.34%
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 2,600.40 4.75%
  • ronin-bridged-weth-roninRonin Bridged WETH (Ronin) (WETH) $ 2,552.19 4.86%
  • popcatPopcat (POPCAT) $ 0.925544 1.18%
  • flowFlow (FLOW) $ 0.584114 3.96%
  • kucoin-sharesKuCoin (KCS) $ 7.57 1.55%
  • bittorrentBitTorrent (BTT) $ 0.00000091 1.7%
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 2,545.93 4.63%
  • beam-2Beam (BEAM) $ 0.016401 3.37%
  • based-brettBrett (BRETT) $ 0.083036 0.99%
  • klay-tokenKlaytn (KLAY) $ 0.137931 2.86%
  • notcoinNotcoin (NOT) $ 0.007802 0.3%
  • galaGALA (GALA) $ 0.020173 5.34%
  • eosEOS (EOS) $ 0.515015 3.48%
  • tokenize-xchangeTokenize Xchange (TKX) $ 9.70 4.22%
  • elrond-erd-2MultiversX (EGLD) $ 27.90 2.47%
  • nervos-networkNervos Network (CKB) $ 0.016942 5.04%
  • msolMarinade Staked SOL (MSOL) $ 183.54 7.34%