PancakeSwap announces v4 with custom pools and gas optimization

cyptouser8 months agoCryptocurrencies News192
25cc9d4a>

Decentralized exchange PancakeSwap released its version four codebase and white paper on March 15, according to an announcement from its team. The new version will allow for custom liquidity pools and flash accounting, intended to lower gas costs for users and prevent impermanent loss for liquidity providers (LPs). The team will also create a development fund to help pay for further development of the PancakeSwap protocol, the announcement stated.

PancakeSwap v4 logo. Source: PancakeSwap

PancakeSwap is the third-largest decentralized crypto exchange, measured by the total value of cryptocurrency locked within its contracts. It currently holds over $2.3 billion of assets spread across nine different networks, according to blockchain analytics platform DefiLlama.

According to the announcement, the new version will launch on the Ethereum and BNB networks in the third quarter of 2024.

The team stated that v4 integrates “hooks,” which are “customizable add-ons” that can be created by independent developers to add additional features for certain liquidity pools. For example, it allows pools to offer “dynamic fees […] custom oracles [and] active liquidity management modules.”

Related: Uniswap releases new version of code with ‘hooks’ or custom pools

It also supports liquidity book pools, according to the announcement. Unlike traditional pools that follow the X*Y = K formula, liquidity book pools use the formula X + Y = K. PancakeSwap claimed that this new type of pool allows liquidity providers to experience no impermanent loss and traders to suffer no price impact when trading within a bin.

The developers also made changes to minimize gas costs, including a move to a “singleton” model where all pools are consolidated into a single contract. They claim this will reduce the cost of “multi-hop” trades that require more than one swap to complete. In addition, the v4 protocol implements “flash accounting,” which “optimizes the accounting process by computing net balances for a batch of transactions and settling them collectively,” purportedly further reducing gas costs.

The new code is being released under an open-source license, the team stated. Developers who want to fork the code can apply to become “affiliates” and gain official recognition from the team. In addition, PancakeSwap is launching a $500,000 developer program to fund independent developers to create hooks for v4.

As the crypto user base grows, decentralized exchanges are racing to implement new features to grab market share. On Feb. 27, Uniswap announced that it is releasing a web extension wallet with its exchange built in. In November 2023, the exchange announced a “gauges” voting feature allowing PancakeSwap’s (CAKE) tokenholders to vote on which polls would receive additional rewards.

The content on this website comes from the Internet. Due to the inconvenience of proofreading the authenticity and accuracy of the copyright or content of some content, it may be temporarily impossible to confirm the authenticity and accuracy of the copyright or content. For copyright issues or other issues caused by this, please Call or email this site. It will be deleted or changed immediately after verification.

related articles

Spot Bitcoin ETFs reach $37B in AUM, roughly one-third of gold ETF assets

Spot Bitcoin ETFs reach $37B in AUM, roughly one-third of gold ETF assets

US-based spot Bitcoin ETFs have accumulated close to $37 billion in assets under management (AUM) wi...

Tether, Bitfinex victorious as court finalizes lawsuit dismissal

The court has finalized the dismissal of a class action lawsuit filed against Bitfinex and Tether af...

SBF lawyers continue to argue jail conditions ‘not workable’ hindering court preparation

SBF lawyers continue to argue jail conditions ‘not workable’ hindering court preparation

Lawyers for Samuel Bankman-Fried told a judge on Monday, Sept. 5, that the accused FTX founder is st...

Polkadot sees 33% transaction growth as DOT hits seven-month low

Polkadot’s ecosystem remains robust despite recent market downturns that briefly pushed DOT’s value...

Bitcoin hashrate drawdown dips to December 2022 levels

Bitcoin hashrate drawdown dips to December 2022 levels

55966e89˃The Bitcoin hashrate drawdown, a metric that measures dips in the relative computing power...

Ankr expands Bitcoin liquid staking tokens to AI blockchain Talus

55966e89˃Decentralized blockchain infrastructure provider Ankr will introduce Bitcoin (BTC) liquid s...