Tricrypto-NG Overview
For an in-depth understanding of the Cryptoswap invariant design, please refer to the official Cryptoswap whitepaper.
The Tricrypto-NG AMM infrastructure represents a technically enhanced iteration of the previous cryptoswap implementations. It comprises the following key components:
CurveTricryptoOptimized.vyThe AMM is a 3-coin, auto-rebalancing Cryptoswap implementation (version 2.0.0) with several optimizations. Unlike the older version, the pool contract is an ERC20-compliant LP token. Two implementations exist: one with native transfers enabled and one disabled.
CurveTricryptoFactory.vyThe Factory allows the permissionless deployment of liquidity pools and gauges. It can accommodate multiple blueprints of the AMM contract. Blueprints are specified by the user while deploying the pool.
CurveCryptoMathOptimized3.vyA contract which contains different math utility functions used in the AMM.
CurveCryptoViews3Optimized.vyContains view methods relevant for integrators and users. The address of the deployed Views contract is stored in the Factory and is upgradeable by the Factory's admin.
Liquidity Gauge BlueprintA liquidity gauge blueprint implementation which deploys a liquidity gauge of a pool on Ethereum. Gauges on sidechains must be deployed via the RootChainGaugeFactory.
Price OraclesExponential moving-average oracles for the prices of coins within the AMM.