PancakeSwap 백서

PancakeSwap

원문

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

s position managers may not actively manage your positions, vaults may shift to wide, unmanaged ranges. Please withdraw your positions to prevent any potential rebalancing losses. **What should you do?** * Withdraw assets from Position Manager vaults before **June 21, 2025** to maintain full control. * After withdrawal, you can manage your V3 liquidity manually on PancakeSwap # \[Archived] AI Prediction Allora X PancakeSwap Prediction <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2Fi9Cud1U1jO3mQ9RFF1e8%2FARB.png?alt=media&amp;token=6e181330-03bf-406c-b0d1-2abeb65b977c" alt=""><figcaption></figcaption></figure> ### What is PancakeSwap AI prediction? PancakeSwap will use the Allora Network’s AI price predictions to create a new AI-powered prediction market. In PancakeSwap’s current prediction market, users predict whether the price of ETH will rise or fall within a 20-minute window. If a user's prediction is correct, they win; if it's incorrect, they lose. In this new addition to the prediction market using Allora’s AI price predictions, users will predict the future price of ETH with or against AI. This next phase introduces a novel AI-powered dynamic to the platform’s popular prediction market. By integrating Allora’s ML-powered collective intelligence network, PancakeSwap can offer an engaging user experience at the forefront of DeFi's AI development. ### Rules for AI-powered Prediction: AI-prediction works similar to regular prediction on BNB change, with little twists and differences: 1. Rounds are 20 minutes - 10 minutes for users to place bets, 10 minutes for the round to settle against market price. 2. Users can bid during the first 10 minutes with the options "Follow" or "Against", referring to betting with or against AI. At this time, AI has not locked a position or price. 3. Once round bets are closed, the AI will generate a price prediction that is higher or lower than the current locked price. AI will be positioned "higher" or "lower" than the current price. 4. After 10 minutes, the round is resolved and the AI either wins or loses. Users are paid out accordingly. ### **How to use AI-powered Prediction :** 1\. Go to [PancakeSwap Prediction](https://pancakeswap.finance/prediction?token=ETH\&chain=arb) on Arbitrum 2\. Select the prediction round you want to participate in and make your prediction based on either the AI's forecast or going against it. * On the interface, you can align with the AI's forecast by selecting "Follow" or go "Against" the AI by not following it. Please note that you will only see whether the AI predicts the price to rise or fall after placing your bet. Both "Follow" and "Against" bets will be placed by users, meaning the AI will not predict against any user. Instead, users choose to either trust the AI or go against it based on their judgment. * Example: Let's say the current ETH price is $3,500. If the AI forecast predicts the ETH price will rise/fall in the next 10 minutes, and you want to follow the AI's prediction, select "Follow" to align with the AI's prediction. On the other hand, if you think the AI may be wrong, click "Against" to go against the AI's prediction. Please note that you can only see whether AI is betting up or down after you place the bet! Disclaimer and Risk Warning: The AI prediction is powered by Allora, and after initial testing, the accuracy is 65%. This means the AI can predict correctly or incorrectly, users should exercise caution and make informed decisions when choosing to follow or go against the AI's predictions.. This content is for general information and educational purposes only, without representation or warranty. It should not be construed as financial, legal, or other professional advice, nor intended to recommend purchasing any specific product or service. You should seek advice from appropriate professional advisors. <figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXex7mNP3NhmuFzjNB-TFlQUaEs1o7y1G0RcgFD8xzg5LJpE2GYYrtJkckmakQH-RISlxyccBMJ_Nu4yOr4l9dActfzZXtxZEp_Ox5Cfk45OWNJJVUS_81aVbqQXYYSKvyThG42LKlNghE0igMQCmidmVsoV?key=LPLyajok5JakzjdWZLiP9A" alt=""><figcaption></figcaption></figure> 3\. Place your prediction by entering the amount you wish to predict (minimum is 0.00001 ETH), confirming your transaction, and signing it in your wallet. 4\. Wait for the Round to Close: Watch the result after 10 minutes. * For example, if the current ETH price was $3,500 and you followed the AI prediction that it would rise in the next 10 minutes, and the price increases to $3,505, your prediction was correct, and you win a share of the round's prize pool. Conversely, if the price falls to $3,498, you would lose for making the wrong prediction. <figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfDrnGpRw1KEptobDUwzHx-jEnRR3a14vufC_Ifjg2KRBtf2Kcc-83F9cqWXei-m_QR63eEJp7TMeitPKaqHrBu47yqDmfSUP0X5k06PWgw4mMXyFDks8ia-Mv5jFDkLwUcP0WxRCHB25AiQXuHnyQA2e7N?key=LPLyajok5JakzjdWZLiP9A" alt=""><figcaption></figcaption></figure> 5\. Collect Your Winnings: If your prediction is correct once the round ends, collect your winnings! You can also view the history of previous rounds in the "history section". Please note that the payout multiplier for each round will vary based on the bets placed by users on each side. Supported Tokens: ETH Fees: 3% of each round's total pot to the treasury, with a portion of the fees used for buyback and burn. The remaining fees will be used in the treasury for future marketing and development. ### How do I check the AI's performance? You can refer to the Round History on the history tab to check the previous round price and AI decision. All rounds are settled on-chain; refer to the [prediction contract](https://arbiscan.io/address/0x1cdc19B13729f16C5284a0ACE825F83fC9d799f4) for more information. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FfcwV5R4jICSkKXkweYXm%2FScreenshot%202024-06-26%20at%208.02.17%E2%80%AFPM.png?alt=media&amp;token=95774f13-91fb-48b6-bf6c-6ba8eb066f1b" alt=""><figcaption><p>Refer to history tab on the right</p></figcaption></figure> <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FaO6YUxTzQdlJNBeiloeT%2FScreenshot%202024-06-26%20at%208.01.26%E2%80%AFPM.png?alt=media&amp;token=0716034b-2638-413e-89af-63fdf2bd79c8" alt=""><figcaption></figcaption></figure> # Old Tokenomics ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FL9VgFbkFDolbHZHFrQR7%2Ftokenomics-header.png?alt=media\&token=e0bb03b6-c8f1-4950-9e40-542903d692f5) * **Ticker:** CAKE * **Contract Address:** <https://bscscan.com/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82> * **Chain:** BNB Smart Chain (BEP20) ## The basics CAKE is the delicious token that powers the PancakeSwap ecosystem. Earn CAKE from Farms and Syrup Pools, win it in the lottery, or [buy it on the exchange](/trade/pancakeswap-exchange), then explore its use cases: * Stake it in [Syrup Pools](/earn/cake-staking/syrup-pool) to earn free tokens * Use it in [Yield Farms](https://docs.pancakeswap.finance/earn/yield-farming) to earn more CAKE * Buy Lottery tickets in the [PancakeSwap Lottery](/play/lottery) * Participate in [IFO Token Sales](/earn/cakepad) * Create your Pancake Profile and mint NFTs * [Vote on proposals](/protocol/voting) relating to the PancakeSwap ecosystem But that's not all -- there's much more on the horizon for CAKE! ## In detail Check below to discover the nuts and bolts of how CAKE works. {% content-ref url="/pages/-MYdaygtfZalkAl6uyEt" %} [CAKE Tokenomics](/protocol/cake-tokenomics) {% endcontent-ref %} ### \*\*\*\* # CAKE Tokenomics v1 ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2F2PJtGikaNfjCi9GZiZTw%2Fen-1129.png?alt=media\&token=be399a98-a700-4df0-90dc-81b56bc2658b) ## **Emission rate** <a href="#emission-rate" id="emission-rate"></a> ### **Per block** | **Metric** | **Emission/block (CAKE)** | **Emission/day (CAKE)** | | ------------------------------------------------------- | ------------------------: | ----------------------: | | Emission | 40 | 1,152,000 | | Burned Weekly [(PID 138)](#why-is-the-cake-burn-manual) | -25.75 | -787,600 | | **Effective Emission** | **<14.25\*** | **364,400\*** | \*Effective Emission is in fact slightly below this amount: an additional 45,000 CAKE per day is diverted from the amount allocated to the lottery, and burned (PID 137 - Details below). In addition to the above, a dynamic amount of CAKE is also [minted to the Dev address](https://bscscan.com/address/0xceba60280fb0ecd9a5a26a1552b90944770a4a0e#tokentxns) at a rate of 9.09%. This means that if 100 CAKE are harvested, then 9.09 CAKE is minted in addition and sent to the Dev Address. {% hint style="info" %} All CAKE minted to the Dev address is burned in the weekly burn and never enters circulation. As such, we haven't included it in the above emission rate. {% endhint %} ## Distribution <a href="#distribution" id="distribution"></a> | Distributed to | Reward/block (% of emission) | Reward/block (total CAKE) | Reward/day | | ----------------------------- | ---------------------------: | ------------------------: | -------------------: | | Farms and Lottery | 10.62% | 4.25 | 122,400 (approx) | | of which diverted and burned | | | -46,000 | | Syrup Pools | 25% | 10 | 288,000 (approx) | | **Total Daily CAKE Emission** | | | **364,400 (approx)** | ## **Other Deflationary Mechanics** <a href="#other-deflationary-mechanics" id="other-deflationary-mechanics"></a> {% hint style="info" %} The burning process is currently manual. [View burn transactions here](https://bscscan.com/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82?a=0x000000000000000000000000000000000000dead). {% endhint %} As well as the above, CAKE is also burned in the following ways: * **0.05%** of every trade made on PancakeSwap V2 * **100%** of CAKE sent to the Dev address * **100%** of CAKE performance fees from IFOs * **100%** of CAKE spent on Profile Creation and NFT minting * **100%** of CAKE bid during Farm Auctions * **20%** of CAKE spent on lottery tickets * **45,000** CAKE per day (historically assigned to the lottery) (*The CAKE for this is generated by a farm - PID 137)* * **3%** of every Prediction markets round is used to buy CAKE for burning * **2%** of every yield harvest in the Auto CAKE Pool * **2%** of every NFT sale on the NFT Market is used to buy CAKE for burning ## Why is the CAKE burn manual? To hit the ground running, PancakeSwap launched as an MVP (minimum viable product) with the MasterChef contract emitting 40 CAKE per block. For that reason, the early team didn't add additional functions such as the ability to customize the CAKE minting logic. As migrating to a new MasterChef would require a lot of time and effort, the team opted to reduce CAKE emissions instead through a manual burn process by creating two pools: * Legacy Lottery Pool (PID - 137) - burned CAKE from the lottery * Burn Pool (PID - 138) - burned CAKE per block These pools work similarly to the farms, where the Chefs can adjust the percentage of the 40 CAKE per block allocated to it after each CAKE emission reduction vote. {% hint style="warning" %} On the day of the burn, the supply shown on the homepage might suddenly jump by several million CAKE. Don't worry - **THIS CAKE NEVER ACTUALLY ENTERS CIRCULATION:** {% endhint %} This apparent jump is just because of how all the CAKE that's allocated for the burn is stored during the week. The CAKE sent to both pools PID-137 and PID-138 are harvested before completing the weekly token burns, and this makes the Total Supply shown on the site jumping by \~6M. This is because pending CAKE isn’t registered in the Total Supply until it's harvested on the burn day. Once the token burn transaction is completed, the \~6M is shown in the Burned to Date. ## How to Confirm CAKE Supply for yourself To confirm that the circulating CAKE supply shown on the PancakeSwap homepage is correct, 1. Head to the CAKE token contract on BscScan and [see how much CAKE is held by the Burn Address.](https://bscscan.com/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82#balances) That's the total amount of CAKE that's been burned (removed from circulation FOREVER, and impossible to ever retrieve). 2. Then, subtract this burned amount from the "Total Supply" that BscScan shows. 3. This gives you the actual CAKE supply. #### **Read more about CAKE's deflationary mechanics on the next page.** <a href="#read-more-about-cakes-deflationary-mechanics-on-the-next-page" id="read-more-about-cakes-deflationary-mechanics-on-the-next-page"></a> # Controlling CAKE supply v1 ## Why CAKE has no hard cap There's currently no hard cap on the supply of CAKE token, making it an inflationary token. Community members often point to this as a cause for concern, and while the chefs certainly understand the wish for a hard cap, there's a big reason we don't expect to set one in the near future: > CAKE's primary function is to incentivize providing liquidity to the exchange. *Without block rewards, there would be much less incentive to provide liquidity (LP fees etc. would remain).* **So what are the other ways CAKE's supply is limited, to counter inflation?** ## How CAKE supply is reduced without a hard cap The chefs aim to **make deflation higher than emission** by building deflationary mechanisms into PancakeSwap's products. The goal is for more CAKE to leave circulation than the amount of CAKE that's produced. ### Reducing block emissions By reducing the amount of CAKE made per block, we slow inflation. This has already been done once: Since the [first reduction in block emissions](https://voting.pancakeswap.finance/#/pancake/proposal/QmWSQZsqakCMQ1bmcoEsKzStdtdFHL6cohSjnMV9ira1EC), we've already effectively reduced the number of CAKE entering circulation from 40 CAKE per block to 14.5. But we don't want to do this too frequently, too early, for the same reason we don't want a hard cap: we still need to incentivize people to provide liquidity. ### Deflationary mechanisms Regular token burns ([view burn address](https://bscscan.com/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82?a=0x000000000000000000000000000000000000dead)) are built into many of PancakeSwap's products (like a 10% burn of CAKE spent on lottery tickets), with more on the way. Check the \*\*\*\* [**CAKE Tokenomics page**](https://docs.pancakeswap.finance/protocol/cake-tokenomics) \*\*\*\* for details on present and upcoming deflationary mechanisms. # How to Use Farms with BscScan ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FAqdXb1HwnrSVBg6Dpg8M%2Fhow-to-yield-farms-bscscan-header.png?alt=media\&token=5329ae36-2d4e-4dc7-aedf-85337c11cc19) Since it requires several steps, using Farms with PancakeSwap can seem intimidating at first. This guide will walk you through using the Farms contract directly through BscScan. {% hint style="warning" %} Please understand that using BscScan to interact with contracts is not recommended for beginners. If you're not feeling confident, we suggest using the [How to Use Farms guide](https://docs.pancakeswap.finance/earn/yield-farming/how-to-use-farms/how-to-use-farms) instead. {% endhint %} ## Finding Farm process identifier To interact correctly with the farming smart contract, you’ll need the matching process identifier (PID) for your LP pair. For now, the easiest way to locate this is to check GitHub. 1\. Open the [PancakeSwap website’s Farms code on GitHub](https://github.com/pancakeswap/pancake-frontend/blob/master/src/config/constants/farms.ts). 2\. **Control**/**command** + **F** and search for your pair by ticker (not project name). For example, 'CAKE-BUSD'. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-MbmNofkorR92isGZtMh%2F-MbouIhyaIRlEhCs9AjM%2Fimage.png?alt=media\&token=50c95e71-3b4e-4f72-b618-0a33bf493f89) 3\. Write down or copy the PID number—in this case 389—somewhere you can access it easily. You'll need this later. ## Depositing LP Tokens through BscScan There are a few things involved in depositing LP Tokens using BscScan. We've broken it down into steps to make it easier to follow along. ### Getting the Main Staking Contract address The address for the main staking contract is: **0x73feaa1eE314F8c655E354234017bE2193C9E24E** But assuming you'd like to confirm that, visit the [PancakeSwap: Main Staking Contract BscScan page](https://bscscan.com/address/0x73feaa1ee314f8c655e354234017be2193c9e24e#writeContract). You'll see the address in the top-left. Click the **pages icon** to copy this to clipboard. You'll need it soon. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-MbmNofkorR92isGZtMh%2F-Mbp1nXv8BY_GqBCaIhY%2Fimage.png?alt=media\&token=d2d5c5f1-d0f8-4a16-9d5c-670ff7054441) ### Open the contract for your LP Token You'll need to approve the smart contract for the LP Token you wish to commit to a farm before you can spend it. ### From the source code 1\. First, open [farms.ts on GitHub](https://github.com/pancakeswap/pancake-frontend/blob/master/src/config/constants/farms.ts). 2\. **Control**/**command** + **F** and search for your pair by ticker (not project name). For example, 'CAKE-BNB' ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgveN_06WzVRLK1FeR%2F-McgwmGUCIjvdfLKU9VR%2Fimage.png?alt=media\&token=a8e11b39-4458-4e87-9f17-4e01ac4d192b) 3\. When you have the code for the LP pair you're looking for up, find the address after "56:". This will be your contract address. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgveN_06WzVRLK1FeR%2F-McgxJyVDFAxh9cZhEqt%2Fimage.png?alt=media\&token=0638fe99-b1d5-4be3-8fd7-c1b68ca59032) ### From the UI 1\. First, visit the [PancakeSwap Farms page](https://pancakeswap.finance/farms) and search for your chosen pair using the "SEARCH" field in the top right. We're using CAKE-BUSD for this example. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-MbmNofkorR92isGZtMh%2F-MboxfvCzzhDYucewEJM%2Fimage.png?alt=media\&token=a2340e87-0ac4-4db7-8868-3c021fcabe13) 2\. Click **Details** to expand the row to show more information. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-MbmNofkorR92isGZtMh%2F-MboyRav88nxt7uoSMcm%2Fimage.png?alt=media\&token=4368c32c-79bf-477b-8853-bdfab36b88cb) 3\. Click **View Contract** to open the smart contract on BscScan. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-MbmNofkorR92isGZtMh%2F-Mboz8UGShU9TSD7lct4%2Fimage.png?alt=media\&token=d5b90a00-3fb2-4a4f-b77f-c5709b904ee5) ### Giving permission to the LP Token contract Now that you have your LP Token's contract open on BscScan, you're going to approve the spending of your LP Tokens into the Farm. 1\. On the LP Token's contract page, go to **Contract**, and then **Write Contract**. ![](https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHREX7DHcljbY5IkjgJ%2F-MbmNofkorR92isGZtMh%2F-Mbp2ObHkQgjgI-W5oHd%2Fimage.png?alt=media\&token=bd3301ee-86d4-4899-8256-467a591104a8) 2\. Click **Connect to Web3** to connect MetaMask. ![](https://lh4.googleusercontent.com/IRXfcKBWmlH
프로젝트로 돌아가기