PancakeSwap 백서

PancakeSwap

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 35쪽

ll trading fees from users who sign up on PancakeSwap will be converted to CAKE and burnt. **And the rest of it?** The rest are currently reserved for the treasury for ongoing expansion and development of this feature, as well as for an insurance fund for unexpected market events. As the feature matures, we expect to increase the burn portion gradually based on community feedback and governance. ### I can’t see my funds! What happened? Remember that you must first deposit your funds into the Futures account! ### Are there deposit limits? | Assets | Limit | Margin Value | | ------ | --------- | ------------ | | USDT | No Limit | 99.99% | | BUSD | No Limit | 100% | | CAKE | 5000 CAKE | 90% | ### Are we gonna switch to showing only PCS’s volume on the frontend on the PCS’s version? The frontend is the combined volume since the liquidity is combined and it shows the deep liquidity which also brings the tight spread # Stableswap <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FDoPDduQPcA9R2XXZbjDv%2Fen-stableswap.png?alt=media&amp;token=a8507fde-eafc-4479-a97e-76de8f55f0e0" alt=""><figcaption></figcaption></figure> StableSwap on PancakeSwap is a feature to trade stable pairs with a lower slippage based on an invariant curve slippage function. It is designed to swap specific assets that are priced closely – such as USD stablecoins (e.g. HAY, BUSD and USDT) or liquid staking tokens (e.g. stkBNB and BNBx). PancakeSwap currently offers two StableSwap models: [**Infinity StableSwap**](/trade/stableswap/infinity-stableswap) and [**Classic StableSwap**](/trade/stableswap/classic-stableswap). Infinity StableSwap is built on PancakeSwap’s latest Infinity architecture, offering improved flexibility, efficiency, and future extensibility. Classic StableSwap refers to the original StableSwap implementation, which continues to support existing pools and liquidity. # Infinity StableSwap ### Overview Infinity StableSwap is a pool type within[ PancakeSwap Infinity](https://docs.pancakeswap.finance/trade/pancakeswap-infinity) optimized for swapping assets that should trade near the same price — such as stablecoins (e.g., USDC/USDT) or tightly-pegged assets (e.g., wrapped token pairs, liquid staking tokens, and liquid restaking tokens). It is powered by a StableSwap hook running on the Infinity architecture, inspired by Curve's StableSwap NG design. It is currently available on BNB Chain, with plans to expand to additional chains in the future. *** ### How It Works Infinity StableSwap uses a stable invariant curve — a hybrid between constant-sum and constant-product: * Near the peg → the curve behaves close to constant-sum, resulting in very low slippage for trades around 1:1. * Away from the peg → the curve gradually transitions toward constant-product, which helps restore balance and protects the pool during large imbalances or depeg events. This makes it especially effective for stable pairs where tight pricing and low slippage matter most. *** ### Key Features Optimized for near-peg swaps: Low slippage for trades between assets that are expected to trade at roughly the same price. Simple liquidity provisioning: Liquidity providers (LPs) deposit both tokens proportionally without needing to select or manage price ranges — unlike CLAMM pools. ERC-20 LP tokens: Your LP position is represented as a standard ERC-20 token, making it easy to use with yield programs, points campaigns, and other DeFi protocols. Dynamic fees: Fees can adjust based on pool balance conditions, rewarding trades that help restore the pool toward equilibrium and discouraging those that worsen imbalance. Infinity routing support: Trades route automatically through StableSwap pools when they offer the best price — no extra steps required for traders. Adjustable Amplification (A) parameter: Pool operators can ramp the A parameter up or down over time to adapt to changing market conditions, with safeguards to prevent abrupt changes. *** ### Pool Parameters StableSwap pool behavior is governed by a small set of parameters, typically set at pool creation time. #### Amplification Coefficient (A) The A parameter controls how tightly the pool hugs the 1:1 price peg. | A value | Effect | | -------- | ------------------------------------------------------------------------------ | | Higher A | Tighter curve around peg; lower slippage near 1:1; more sensitive to imbalance | | Lower A | Looser curve; behaves more like a standard constant-product pool | Rule of thumb: Use a higher A for assets with a strong, reliable peg (e.g., USDC/USDT). Use a lower A for assets with looser or more volatile pegs (e.g., some LST pairs). The A parameter can be gradually ramped up or down by the pool operator over a defined period of time. Changes are applied gradually with safeguards to prevent manipulation or sudden pricing shifts. #### Off-Peg Fee Multiplier An additional parameter that adjusts effective fees when the pool moves away from equilibrium. It helps discourage trades that would further imbalance the pool and makes the pool more robust during market stress or depeg events. #### Dynamic Fees A fee charged on each swap, paid to liquidity providers. Infinity StableSwap supports dynamic fees — meaning the effective fee on a given trade can vary depending on the current state of the pool (e.g., whether the trade improves or worsens balance). *** ### Infinity StableSwap vs. Classic StableSwap If you've used PancakeSwap's existing StableSwap before, here's what changes — and what stays the same. | <p><br></p> | Classic StableSwap | Infinity StableSwap | | --------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------ | | Pricing curve | Stable invariant (hybrid constant-sum / constant-product) | Same stable invariant curve, same low slippage near peg | | ERC-20 LP tokens | ✅ Yes | ✅ Yes | | Pool creation | Ops-heavy; requires manual setup by the team | Permissionless — anyone can create a pool | | Swap fees | Fixed per pair (e.g. 0.01% for USDC/USDT) | Dynamic fees — adjusts based on how the trade affects pool balance | | Amplification (A) parameter | Static — set once, cannot be changed | Adjustable — can be ramped up or down gradually over time | | Off-peg fee multiplier | ❌ Not supported | ✅ Supported — helps protect the pool during depeg events | | Gas efficiency | Standard | Improved — benefits from Infinity's Singleton and Flash Accounting | #### What stays the same * The core pricing curve and the near-peg low slippage behavior is unchanged. #### What's new and better * Permissionless Pool Creation: Pools can be created permissionlessly without requiring manual team setup. * Dynamic fees protect LPs: Instead of a single fixed fee, the fee can adjust per trade based on whether the trade helps or hurts pool balance — making the pool more resilient during volatile conditions. * Adaptable A parameter: The amplification coefficient can be tuned over time as market conditions change, rather than being locked in at deployment forever. *** ### Frequently Asked Questions What assets are suitable for Infinity StableSwap? Assets that are expected to trade near the same price: stablecoins (USDC, USDT, BUSD, etc.), wrapped equivalents of the same asset (e.g., WBTC/cbBTC), and select liquid staking tokens / liquid restaking tokens (LST/LRT) pairs where peg volatility is low. <br> How is Infinity StableSwap different from the old PancakeSwap StableSwap? Infinity StableSwap is implemented as a hook on PancakeSwap Infinity, which means it inherits all of Infinity's infrastructure benefits, including lower gas costs via Singleton and Flash Accounting, and a more flexible fee system. It also supports new capabilities like dynamic fees and adjustable amplification that the legacy StableSwap did not offer. <br> Do I need to manage my position over time? No. Unlike CLAMM, you don't need to set or adjust price ranges. Your liquidity is always active across the full curve, so there's no risk of your position going "out of range." <br> Can I provide liquidity with just one token? Yes, single-token deposits are supported. <br> How do dynamic fees work? In Infinity StableSwap, the swap fee can vary per trade based on how the trade affects the pool's balance. Trades that help bring the pool back toward equilibrium may pay lower effective fees, while trades that worsen imbalance may pay higher fees. This is designed to protect LPs and maintain healthier pool conditions. *** ## Creating an Infinity StableSwap Pool Infinity StableSwap pools are permissionless — anyone can create one without needing approval from the PancakeSwap team. <br> ### Step-by-step 1\. Go to the Farm/Liquidity page and click Create Pool. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2F5BjSxj8JslB6P6OyM3i7%2Funknown.png?alt=media&amp;token=f522f09c-8290-4363-a9c2-7df5193216d6" alt=""><figcaption></figcaption></figure> <br> 2\. Select StableSwap Pool from the pool type options. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FyTlTSUfOgs1hvW0GTiGm%2Funknown.png?alt=media&amp;token=39fc311b-0043-41d2-976e-c25b19109cdf" alt=""><figcaption></figcaption></figure> <br> 3\. Select the token pair for your pool (e.g. USDC / USDT). <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FoSiFfKg8hMsDX6zJixnM%2Funknown.png?alt=media&amp;token=95aae3cc-6f5f-4f1a-b704-e4ee7415b47c" alt=""><figcaption></figcaption></figure> <br> 4\. Pool Parameters | Parameter | What it does | | --------------------- | --------------------------------------------------------------------------------------------------------------- | | Swap Fee | Fee charged on each swap, paid to LPs. Default is 0.01% for tight stable pairs. | | A (Amplification) | Controls how tightly the curve hugs the peg. Higher = lower slippage near 1:1, but more sensitive to imbalance. | | Offpeg Fee Multiplier | Scales up fees when the pool moves away from balance, discouraging trades that worsen imbalance. | | Moving Average Time | Time window used to calculate the moving average price for dynamic fee adjustments. | ⚠️ Set parameters carefully. Incorrect parameters — especially a very high A on a loosely-pegged asset — can increase risk for LPs. If unsure, use the preset for your asset type and avoid changing Advanced settings. <br> Choose a Pool Parameter Preset — this automatically sets the recommended parameters for your asset type. You can still manually adjust them via the Advanced toggle. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FWzNt2HpCpm10Gzb99wZ4%2Funknown.png?alt=media&amp;token=e73ee130-9828-4361-a747-f62f8645d490" alt=""><figcaption></figcaption></figure> | Preset | A | Offpeg Fee Multiplier | Moving Average Time (seconds) | | --------------------------------- | ---- | --------------------- | ----------------------------- | | Fiat Redeemable Stablecoins | 1000 | 10 | 600 | | Crypto Collateralized Stablecoins | 100 | 12.5 | 600 | | Liquid Restaking Tokens | 500 | 10 | 600 | <br> Not sure which to pick? * Use Fiat Redeemable Stablecoins for pairs like USDC/USDT * Use Crypto Collateralized Stablecoins for algo or crypto-backed stablecoins * Use Liquid Restaking Tokens for LRT pairs like stkBNB/WBNB. <br> 5\. Enter the deposit amount to seed initial liquidity. Both token amounts must be equal (e.g. 1 USDC and 1 USDT). <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FZ2PkVWOVamQW6nBIapUQ%2Funknown.png?alt=media&amp;token=a3acb06a-1401-4b23-8da8-1a6b057ddfc3" alt=""><figcaption></figcaption></figure> <br> 6\. Click Preview Pool, review your settings, check the confirmation box, then click Create Pool. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2Fv3jdZuWszej1fCMU437o%2Funknown.png?alt=media&amp;token=4dde6e20-6f07-4824-98f1-22c845d0634d" alt=""><figcaption></figcaption></figure> # Classic StableSwap The Classic StableSwap is an implementation of Curve Finance’s AMM on PancakeSwap. It adds linear invariant constant sum curve (x+y=k) on top of the constant product formula (x\*y=k) to keep prices more equal as long as the liquidity pool is not extremely unbalanced. As a result, since StableSwaps are restricted to similarly priced assets, impermanent loss is not as much of a concern (except in extreme depeg cases) and the slippage is lower than normal AMM which just uses the constant product formula. When you conduct a Swap (trade) on the StableSwap you will pay lower trading fees, than the usual 0.25% on normal PancakeSwap AMM. The fee attribution is broken down as follows: * 50% to the LP as rewards * 40% to CAKE buyback and burn * 10% to the PancakeSwap Treasury ## Stableswap Fees Fees for pairs are broken down in the table below: <table><thead><tr><th width="150">Stablepair</th><th width="132">Trading Fees</th><th width="118.33333333333331">LP Rewards</th><th width="124">CAKE Buyback</th><th>PancakeSwap Treasury</th></tr></thead><tbody><tr><td>USDT-BUSD</td><td>0.01%</td><td>0.005%</td><td>0.004%</td><td>0.001%</td></tr><tr><td>USDC-BUSD</td><td>0.01%</td><td>0.005%</td><td>0.004%</td><td>0.001%</td></tr><tr><td>USDC-USDT</td><td>0.01%</td><td>0.005%</td><td>0.004%</td><td>0.001%</td></tr><tr><td>HAY-BUSD</td><td>0.04%</td><td>0.02%</td><td>0.016%</td><td>0.004%</td></tr><tr><td>HAY-USDT</td><td>0.04%</td><td>0.02%</td><td>0.016%</td><td>0.004%</td></tr><tr><td>axlUSDC-USDT</td><td>0.04%</td><td>0.02%</td><td>0.016%</td><td>0.004%</td></tr><tr><td>BNBx-WBNB</td><td>0.04%</td><td>0.02%</td><td>0.016%</td><td>0.004%</td></tr><tr><td>stkBNB-WBNB</td><td>0.04%</td><td>0.02%</td><td>0.016%</td><td>0.004%</td></tr></tbody></table> The Kitchen will gradually roll out StableSwap pairs and revise the fees to test and improve the product further. ## Why should I use the StableSwap instead of the normal AMM Swap? * Swap your stablecoins or other pairs with similar asset prices more efficiently with the same trade steps * With the StableSwap function, the trading slippage is lower than normal AMM * The StableSwap trading fees are lower compared to the normal AMM # How to StableSwap <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2Fa4IrBIZ1G6oqEpURdDeQ%2Fhow-to-stableswap.png?alt=media&amp;token=9af616f9-2ba6-4856-ae87-ff90d02609b6" alt=""><figcaption></figcaption></figure> ## **Trading on the StableSwap** Trading on the StableSwap is very similar to using the existing PancakeSwap AMM. Before we start, it also requires a BNB Smart Chain-compatible wallet and BNB for gas fees. Please check our [wallet guide](https://docs.pancakeswap.finance/get-started/wallet-guide) for more details. 1 - Go to the Swap page [here](https://pancakeswap.finance/swap) 2 - Choose the token pairs you would like to trade. 3 - Your all set! The following Swap process is the same as usual! If it’s your first time trading please check the guide [here.](/trade/pancakeswap-exchange/trade-guide) **Adding & Removing Liquidity** Adding and removing liquidity for the StableSwap is also very important and similar to the normal PancakeSwap AMM. Please refer to the guide [here](https://docs.pancakeswap.finance/earn/pancakeswap-pools/liquidity-guide) for a more detailed explanation. PancakeSwap StableSwap liquidity pools will show "Stable LP" in the pool name. # Buy Crypto PancakeSwap introduces the ability to purchase your favourite tokens using a credit card, debit card or bank transfer. Integrating on-ramp services into our platform aims to provide users with a seamless and convenient way to purchase cryptocurrencies using fiat currencies. Using our on-ramp quote interface, users can choose between different providers and get the best rates in Web3. ### Benefits for Users The on-ramp integration and quote system offers several key benefits for our users: 1. Easy Purchase of Cryptocurrencies: Users can now conveniently purchase cryptocurrencies directly from our platform using their preferred fiat currency, eliminating the need for multiple transactions across different platforms. 2. Wide Range of Supported Currencies and Regions: Our esteemed partners, including Mercuryo, support various fiat currencies, ensuring users from various regions can actively participate in the ever-expanding crypto market. 3. Multiple Payment Methods: We support various payment methods, such as credit/debit cards and bank transfers, providing users with great flexibility and convenience to complete transactions in a way that suits their preferences. 4. Secure and Compliant: Our trusted partners adhere to stringent security standards and comply with all applicable regulations, prioritizing protecting user data and ensuring that transactions are carried out in a secure environment. 5. Transparent Fee Structure: We maintain a transparent fee structure with no hidden charges. Users will have complete visibility of the exact amount they will be charged before finalizing their purchases, ensuring a fair and informed transaction process. ### Structure and Fees On-ramp services are available on **BNB, Ethereum, Arbitrum, Base, Linea, and zkSync Era** chains. Major cryptocurrencies and stablecoins are available and outlined in the table below: <table><thead><tr><th width="145">Provider</th><th>Fees^</th><th>Fiat Currencies Supported</th><th>Tokens Supported**</th></tr></thead><tbody><tr><td>Mercuryo</td><td>3.95% for Debit/Credit, 3.95% for Bank Transfers/SEPA (EU)</td><td>USD, EUR, GBP, HKD, CAD, AUD, BRL, JPY, KRW, VND</td><td><p>BTC: BTC<br><br>ERC-20: ETH, USDT, DAI</p><p>BEP-20: BNB<br><br>ARB: ETH, USDC</p></td></tr><tr><td>Moonpay</td><td><p>2.75% for Debit/Credit</p><p>1.25% for SEPA (EU), FPS (UK)</p><p>2.95% for PIX (Brazil)</p></td><td>USD, EUR, GBP, HKD, CAD, AUD, BRL, JPY, KRW, TWD, IDR, VND</td><td><p>ERC-20: ETH, USDT, USDC, DAI<br></p><p>BEP-20: BNB (Non-US)<br><br>ARB: ETH, USDC.e</p></td></tr><tr><td>Transak***</td><td>3.5%-5.5% for Debit/Credit/Apple Pay/Google Pay, 0.99% for SEPA (EU), FPS (UK), Cash App (USD)</td><td>USD, EUR, GBP, HKD, CAD, AUD, BRL, JPY, KRW, VND</td><td><p>ERC-20: ETH, USDT, USDC, DAI, WBTC<br></p><p>BEP-20: BNB (Non-US), USDC<br><br>ARB: ETH, ARB, USDC.e, USDC<br><br>Base: USDC, ETH<br><br>Linea: USDC, ETH<br><br>Polygon ZkEVM, ZkSync Era: ETH</p></td></tr><tr><td>Topper</td><td>2.49% for Debit/Credit/Apple Pay/Google Pay, Pix (Brazil)</td><td>USD, EUR, GBP, HKD, CAD, AUD, BRL, JPY</td><td>BTC: BTC<br><br>ERC-20: ETH, USDT, USDC, DAI, WBTC<br><br>BEP-20: BNB, CAKE, USDT<br><br>ARB: ETH, USDC</td></tr></tbody></table> ^Fees are subject to minimum spend and maximum- most likely above 30 USD and below 10,000 USD, respectively, depending on the token. PancakeSwap will charge an additional 1% for services provided. \*Minimum of $3.99 for card payments or local currency equivalent \*\*Please note that the availability of particular cryptocurrencies may vary based on the user's region \*\*\*USD currency on-ramp not available for Base, Arbitrum, Linea. Please use another currency (EU, GBP) for on-ramping. Credit/Debit Fees by region can be found [here](https://transak.notion.site/On-Ramp-Payment-Methods-Fees-Other-Details-b0761634feed4b
프로젝트로 돌아가기