For the reason that launch of our new protocol, KyberSwap Elastic, we’ve acquired some generally requested questions we’d like to deal with, typically relating to comparability between KyberSwap Elastic and Uniswap V3 protocol.
Within the curiosity of openness and transparency, that are two of our core values at Kyber, we want to handle these queries.
1) Uniswap was first to sort out capital effectivity with Uniswap V3.
Uniswap V3’s whitepaper was printed in March 2021, highlighting concentrated liquidity, versatile charges, and many others as methods to enhance capital effectivity.
KyberSwap Basic’s (previously often called KyberDMM) whitepaper was printed in Feb 2021, specializing in our Dynamic Market Maker protocol and Amplification issue as strategies to spice up capital effectivity.
Our strategies are completely different on the floor, however our finish targets are equal. To enhance capital effectivity and mitigate the impression of impermanent loss for our LPs.
Capital effectivity shouldn’t be a brand new idea. Different DEXs have their very own strategies and protocols to extend capital effectivity for his or her customers, corresponding to Curve Finance which additionally makes use of concentrated liquidity. Kyber has been a pioneer in DeFi similar to these tasks and we deeply respect their improvements and contributions to the house.
2) Is KyberSwap Elastic a fork of Uniswap V3?
For a quite simple cause.
Uniswap V3 supply code is beneath Enterprise Supply License 1.1, which means it’s not totally open supply. This settlement incorporates copyright legislation and permits Uniswap governance to limit unauthorised commercialisation of an entity’s supply code for 2 years. Seeing as Uniswap V3 was introduced in 2021, the earliest a dApp can fork Uniswap’s code would solely be someday in 2023.
So, what’s KyberSwap Elastic?
KyberSwap Elastic was developed with our personal authentic code.
It’s much like Uniswap V3 in a way that each are tick-based AMMs with customizable value ranges, and use NFTs to characterize liquidity positions.
KyberSwap Elastic varies from Uniswap V3 in a number of methods. Let’s overview them:
KyberSwap Elastic and Uniswap V3 protocol are completely different of their underlying applied sciences. Uniswap V3 controls completely different positions in a pool whereas Elastic can management completely different AMM curves in a pool (every AMM curve can have a number of positions).
KyberSwap Elastic’s protocol maintains a couple of AMM curve on the identical time, in the identical sensible contract. In Elastic, we have now two curves: The Funding Curve and the Re-investment Curve. Nonetheless, the protocol permits management over a number of curves.
It’s this key distinction in our know-how that allows Elastic’s Payment Compoundability, which permits liquidity suppliers to earn extra.
One other key distinction is in our Anti JIT / Snipe safety, which is one thing Uniswap V3 presently doesn’t provide. KyberSwap Elastic protects our Liquidity Suppliers’ earnings by implementing a really brief locking / vesting interval (1–2 blocks)
To sum up, listed below are the two core variations between KyberSwap Elastic and Uniswap V3’s protocol:
What Does This Imply?
The Reinvestment Curve provides comfort for Liquidity Suppliers as you don’t have so as to add liquidity manually again into the pool. Individually compounding charges permits LPs to earn extra (Charges are gathered on prime of compounded charges)
Compounding is the method of producing earnings on an asset’s reinvested earnings.
For instance, Kelvin provides $1,000 right into a KyberSwap Elastic pool. After a while, he earns $100 in charges. His charges are robotically reinvested within the pool, so now he’s incomes charges primarily based on a place of $1,100 (not the unique place of $1,000).
Nonetheless, do notice that the outdated Uniswap V2 does compound charges however into your authentic place. Just like KyberSwap Basic.
2) JIT / Snipe Safety
What Does This Imply?
In a JIT assault, a sniper will detect a big swap incoming from the mempool. So he can “sandwich” this swap with 2 transactions so as to add and take away liquidity at a really slim vary throughout the identical block. In doing so, the sniper takes nearly all of the charges generated within the swap whereas completely controlling the Impermanent Loss.
KyberSwap Elastic’s JIT / Snipe Safety locks our LPs buying and selling charge earnings and rapidly vests them primarily based on the LP’s length of liquidity contribution. So customers including liquidity to KyberSwap Elastic may have their earnings higher protected and luxuriate in a greater peace of thoughts.
Together with these core variations, KyberSwap Elastic additionally has a number of extra options designed to offer comfort and adaptability to our LPs.
A number of Payment Tiers
Uniswap V3 provides a number of charge tiers (0.05%, 0.30%, 1.00% and 0.01% on chosen chains) so LPs have the choice to tailor their margins to their token pair’s anticipated volatility.
KyberSwap Elastic offers a number of charge tiers for a similar cause, and we made extra tiers (0.008%, 0.01%, 0.04%, 0.3% and 1% on all 11 chains) out there to present our LPs additional choices to select from. Extra tiers equates to larger flexibility of selection for our LPs primarily based on particular person danger appetites, token pair, and many others. We intend so as to add extra charge tiers in future.
KyberSwap Elastic is presently deployed on 11 chains (KyberSwap Basic is deployed on 12 chains). This offers LPs and merchants elevated flexibility, accessibility and alternative to utilise KyberSwap on whichever ecosystem they select.
We hope this offers clarification and additional perception into our new KyberSwap Elastic protocol. Our determination behind constructing KyberSwap Elastic was to not be aggressive, however to allow collaboration within the DeFi house.
As talked about to start with of this text, Uniswap V3’s supply code is licensed, limiting the supply code in a business or manufacturing setting for as much as 2 years. The Uniswap governance can vote to alter or make exceptions to this license, however successfully this restricts some other dApp from constructing on their code.
And we respect the Uniswap crew’s selection in doing so, in addition to their continued innovation and contribution to the DeFi house!
In Kyber, our values lie in being clear and open-hearted — and this pertains to our product inherently being open supply so dApps can construct on prime of it to construct a greater DeFi, collectively.
We consider among the best features in blockchain is its open supply and modern nature, permitting dApps to construct on each other to construct a greater DeFi that advantages customers.
Following our imaginative and prescient to make DeFi simple, accessible and rewarding for all, we consider in sharing our know-how when it might profit DeFi customers. As such, we selected to develop our KyberSwap Elastic code as open supply and we welcome builders and different tasks to fork it.
To all builders in DeFi with our blessing — KyberSwap Elastic Docs: Good Contracts
Onwards and Upwards!
About Kyber Community
Kyber Community is constructing a world the place any token is usable wherever. KyberSwap.com, our flagship Decentralized Change (DEX) aggregator and liquidity platform, offers the most effective charges for merchants in DeFi and maximizes returns for liquidity suppliers.
KyberSwap powers 100+ built-in tasks and has facilitated over US$8 billion price of transactions for hundreds of customers since its inception. Presently deployed throughout 12 chains together with Ethereum, BNB Chain, Polygon, Avalanche, Fantom, Cronos, Arbitrum, Velas, Aurora, Oasis, BitTorrent and Optimism.
KyberSwap | Discord | Web site | Twitter | Discussion board | Weblog | Reddit | Github | KyberSwap Docs