PancakeSwap Decentralized Exchange Unveils Version 4 to Make Trading More Efficient

The DEX plans to add four features designed to make trading faster, cheaper and more customized in the third quarter.

AccessTimeIconMar 13, 2024 at 1:00 p.m. UTC
  • PancakeSwap's version 4 will be released later this year with four key features: hooks, custom pool types, singleton and flash accounting, aiming to make on-chain trading cheaper and more efficient for users.
  • The new version will be available on the Ethereum and BNB Chain networks in the third quarter, offering improved pricing of listed assets, reduced gas consumption and lower deployment costs.

Decentralized exchange (DEX) PancakeSwap will release version 4 (v4) later this year, adding four features to its automated market maker (AMM) to make on-chain trading cheaper and more efficient for users, developers told CoinDesk in a Telegram chat today.

“PancakeSwap v4 code will be released under an open-source license,” head developer Chef Mochi said. “It addresses the shortcomings of current AMMs, including inflexibility in pricing models for all assets, lack of CEX-level execution functions, impermanent loss for liquidity providers, and pricey on-chain gas fees for users.”

A CEX is a centralized exchange such as Coinbase (COIN) or Binance.

The four new features are:

  • Hooks, or externally deployed contracts, that let developers add customizable add-ons. The add-ons allow for changing the type of fees charged for a trade and the type of trading order (such as limit or market orders). Hook creators can either keep fees for themselves or distribute them to stakeholders.
  • Custom pool types offer several types of liquidity pools to users and aim to provide better pricing of listed assets. That would help prevent a token’s price from fluctuating wildly during times of demand or selling, ensuring it is more appropriately priced at times of market stress.
  • Singleton merges all pools into a single contract to reduce the deployment cost by 99%. The gas cost, or the fee paid for each blockchain transfer, is further reduced for swaps because there is no need to transfer tokens between separate contracts.
  • Flash accounting, which also reduces gas consumption, settles a bunch of transactions collectively. Gas fees tend to surge during times of market volatility, becoming expensive in a way that could limit a user’s ability to conduct a trade.

V4 will initially be available on the Ethereum and BNB Chain networks in the third quarter. The DEX holds $2.4 billion worth of tokens locked in liquidity pools and other services and processed $1.7 billion in trading volumes in the past 24 hours, DefiLlama data shows.

Edited by Sheldon Reback.


Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Shaurya Malwa

Shaurya is the Deputy Managing Editor for the Data & Tokens team, focusing on decentralized finance, markets, on-chain data, and governance across all major and minor blockchains.

Read more about