🔱 Launching Trident — Phase 1
We’re used to the idea of exchanges releasing new automated market makers (AMMs) with each new version (e.g. Uni v3 or Curve v2). They’re usually hard-coded pools (AMMs) into an interface where users can swap/add liquidity. Instead of yet another AMM, Trident is going to be a new standard that any other AMM can build on top of, and can synergize with. While Trident has the ability to create functionality for users to make swaps and add/remove liquidity, it is much more than just a hard-coded swap environment (AMM).
Trident is a Framework
In the recent past, it has been customary for exchanges to release a new automated market maker with each new version. Uniswap v3 and Curve v2, for instance, hard-coded pool types (AMMs) into an interface that users can employ to swap or add liquidity. This custom has likely created the misconception that Trident is also an AMM, or a collection of AMMs. While Trident has the ability to host AMMs that allow users to make swaps and add/remove liquidity, it is not itself a specific AMM. As we’ve released the beta of Trident on Polygon, it will be important to clarify what Trident actually is.
An AMM Production Framework
Trident is a production framework for building and deploying AMMs, but it is not just an AMM itself. While AMMs can be created using the Trident code, there isn’t a specific AMM at the center of Trident. Instead, there is a framework for creating any AMM anyone would ever need. The concept behind this framework is that hard-coded swap environments like those found in Uniswap, Curve, and Balancer all necessitate the same underlying methods, and can therefore, be consolidated into a single interface. By consolidating them into an interface, the development process can occur more rapidly at a community level. For all intents and purposes, this interface, which we are calling the IPool interface, is also a discovery in the nature of liquidity at the point of execution. There are only so many things you need to do with a pool design, so pool designs will invariably follow the same patterns.
Programming to an Interface
The aforementioned methods (swap, flashSwap, mint, burn, etc.) are collected in the IPool interface, which is extended in every Trident pool contract. In that sense, IPool is at the crux of the Trident production framework. The value of this framework is that it helps to streamline development. Pool types have reached a point of complete saturation in the Ethereum development environment, and they would benefit from consolidation into an interface that allows developers to make advancements more rapidly, collectively. Much like the ERC-20 token standard was needed for token types to become efficient, the IPool standard is needed to make pool types more efficient. Any new innovative, inventive, blistering edge pool type can be built using IPool — a pool for trading decentralized options, a pool for infinitely many stablecoins, a pool for zero coupon bonds, and the list goes on forever.
The framework design pattern used by Trident is known as interface-based programming, and it has additional advantages in the context of Sushi’s future growth:
- Any future AMM that might be competitive in DeFi can be integrated into Trident.
- Dynamic liquidity types can be created and added using the existing framework, without requiring a new framework to be created and deployed from scratch.
- Counterproductive game theoretics can be prevented in advance by projects preparing their liquidity to go to market. That is, you can prepare pool types to fit your own strategies.
- External developers can engineer high volume pools, and earn from the fees.
The Trident Pipeline
Next to the Constant Product Pool that’s currently for preview on Polygon right now. The team has three additional pool types in the pipeline still (Concentrated, Stable, and Index pools). These pools are like a starter set for the DAO to prove what is possible using IPool, and they will be released in the order that the audits (and available resources) make them available. Because Trident is a framework, if the team decides to add a new pool type themselves, they can do this much more easily, without having to re-deploy a new codebase with each new pool. When new pools are whitelisted and deployed on Trident, they continue to exist within the Trident framework, which means they collect fees for xSushi holders. As well, any outside developer can use Trident to create custom AMMs by extending the IPool interface in their pool contracts, and launch them in the Trident framework. Any pool type that passes an audit and an internal review is eligible to be whitelisted and deployed on Trident.
Phase 1 — Live on Polygon
Trident’s Classic pool is live for preview on Polygon: https://app.sushi.com/trident/swap. We’re releasing this beta on Polygon to battle and security test the different elements before porting it over to other chains.
Important note: this launch is a preview release — use at your own risk.
The swap interface of Trident on Polygon.
If you have any questions please hop into the Sushi Discord so one of our Samurais can assist you: click to join Discord.
Sushi is building a comprehensive DeFi ecosystem with AMM, leverage & margin trading platform, token launchpad and NFT artist platform. Follow our socials to keep up with our product launches and find out more on how you can make the most of your cryptocurrency assets with Sushi’s secure and powerful DeFi tools!