bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 25쪽
8o7gDE9ThGrKuc2DHZSNb-SxF93VSTkCdv2JjtdvKciPb5jom4Uv-ngpPMrrGQI1XuM6H2SuN81NMxGLzoHAye5YgvUzR9YSM6ElZs6e3A-fpnMT21PKyJmV2F1IZ)
Confirm the connection.
3\. Under function 1, “approve”, you’ll see “spender:address”. Paste in the Main Staking Contract’s contract address you copied to clipboard earlier.

5\. You’re also going to need to approve the amount of LP Tokens the contract can spend. In the value field, you’ll need to enter the amount in Wei. You can use the [BscScan Unit Converter](https://www.bscscan.com/unitconverter) to easily change your amount into Wei. Here we'll use 5 CAKE-BUSD LP Tokens.

{% hint style="warning" %}
You can also use `-1` as the value to give unlimited spend approval. This does not mean you will spend everything by default, but only that a transaction of any size using this contract will be allowed by your wallet.
{% endhint %}
6\. Click **Write** and accept the action in your MetaMask wallet. You’re now able to commit LP Tokens to the Farm up to the amount you’ve approved.
### Deposit LP Tokens with the Main Staking Contract smart contract
With the Main Staking Contract now approved to spend your LP Tokens, it's time to make a deposit.
1\. Back on the [PancakeSwap: Main Staking Contract BscScan page](https://bscscan.com/address/0x73feaa1ee314f8c655e354234017be2193c9e24e#writeContract), go to **Contract**, and then **Write Contract**.

2\. Click **Connect to Web3** to connect MetaMask.
3\. Scroll to function 2, "deposit", and type your PID into the "\_pid" field.

If you didn't copy down your PID earlier, you can learn how to get it in the **Finding Farm process identifier** section higher up this page.
4\. Underneath \_pid you'll see "\_amount". Enter the amount for the LP contract to spend that you approved earlier.

5\. Check the information and click **Write**. Confirm your action in MetaMask.

6\. You can confirm your deposit worked by clicking **View your transaction**.

## Withdrawing from a Pool
Withdrawing your LP Tokens from a Pool is very similar to making a deposit. The difference is which function you'll interact with.
1\. Back on the [PancakeSwap: Main Staking Contract BscScan page](https://bscscan.com/address/0x73feaa1ee314f8c655e354234017be2193c9e24e#writeContract), go to **Contract**, and then **Write Contract**.

2\. Click **Connect to Web3** to connect MetaMask.
3\. Scroll all the way down to function 15, "withdraw", and type your PID into the "\_pid" field.

If you didn't copy down your PID earlier, you can learn how to get it in the **Finding Farm process identifier** section higher up this page.
4\. Underneath \_pid you'll see "\_amount". Enter the amount of LP you'd like to withdraw from the Pool.

5\. Check the information and click **Write**. Confirm your action in MetaMask.

6\. You can confirm your withdrawal worked by clicking **View your transaction**.

## **Making an emergency withdrawal**
Using the emergency withdraw function allows you to draw all your funds out of a pool when no other way is working.
{% hint style="danger" %}
**Using the emergency withdraw function will forfeit your CAKE rewards!**
The PancakeSwap team strongly suggests avoiding this function unless advised to do so officially by the PancakeSwap team, or if you are very comfortable interacting with smart contracts and understand the underlying code.
{% endhint %}
1. On the [PancakeSwap: Main Staking Contract BscScan page](https://bscscan.com/address/0x73feaa1ee314f8c655e354234017be2193c9e24e#writeContract), go to **Contract**, and then **Write Contract**.

2\. Click **Connect to Web3** to connect MetaMask.

3. Scroll down to function 4, "emergencyWithdraw", and type your PID into the "\_pid" field.

If you didn't copy down your PID earlier, you can learn how to get it in the **Finding Farm process identifier** section higher up this page.
5\. Check the information and click **Write**. Confirm your action in MetaMask.

6\. You can confirm your withdrawal worked by clicking **View your transaction**.

# \[Archived] Affiliate Program
PancakeSwap’s Affiliate Program is designed to reward those who continue to help expand the community and share our product. The program will be available at the start to a select group of PancakeSwap advocates, and the Kitchen plans to roll it out to more users. As an affiliate, you'll be part of a network of like-minded individuals committed to building a stronger DeFi community.
### Becoming an Affiliate
Becoming an affiliate is easy. All you need to do is visit our [affiliate page](https://pancakeswap.finance/affiliates-program), where you will find all the information you need to get started. Alternatively, you can fill out a [google form](https://docs.google.com/forms/d/e/1FAIpQLSfP43IciQ5cH0JhTf1fDgUpwapBx-yD3ybv24pBdiVW7Th5jQ/viewform).
Once you’ve submitted your application, the Kitchen will review your application and determine if you are a good fit for the program. This process may take some time, so please bear with us! If approved, we will reach out to you via your email or telegram.
If the Kitchen approves your application, you will be granted access to the affiliate dashboard by connecting your wallet submitted in the program application.
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FVFgnKc2fYdlzyxk1uN3C%2Faffiliate-landing-page-07.png?alt=media&token=9960d378-8d11-45f9-a1b9-d091f9a0c82d" alt=""><figcaption></figcaption></figure>
This dashboard will provide you with a range of tools and resources that you can use to share the protocol’s products or services and track your commission.
Once you can access the dashboard, you can create affiliate links to share with your community. You will earn a commission when a **new user clicks** on your affiliate link and makes a specific transaction. Ensure you always use your affiliate link when sharing your love for PancakeSwap!
# Dashboard & Link
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FVFgnKc2fYdlzyxk1uN3C%2Faffiliate-landing-page-07.png?alt=media&token=9960d378-8d11-45f9-a1b9-d091f9a0c82d" alt=""><figcaption></figcaption></figure>
The affiliate dashboard is the headquarters of the affiliate program. Here, you will be able to create and share links while also tracking and redeeming rewards.
Here are the following steps to access the dashboard and generate an affiliate link:
1. **Access Affiliate Dashboard**
1. Head to [Affiliate Program](https://pancakeswap.finance/affiliates-program) Page
2. Sign in with the wallet used in the application submission
3. Click on the ‘Dashboard tab’
4. You might be prompted to login. Login with your crypto wallet of choice.
2. **Generate Link**
1. On the Dashboard page, head to the generate link section.
2. Set the unique code and profit-sharing rate for the specific link. More information on this can be found [here](/archive/archived-affiliate-program/commission-structure-and-payment)<br>
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FjtdfB2RdajLUcMBaLyCb%2Faffiliate-landing-page-10.png?alt=media&token=09e1fc03-ca49-469b-9acf-ff2270fc421d" alt=""><figcaption></figcaption></figure>
3. Hit “Generate Link” and approve the signature. There should be a popup notifying you that a link has been generated.
4. Move to the links section at the bottom and copy the link created.<br>
<figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2Fdu7V63Ip4Lo7elYsTJQv%2Faffiliate-landing-page-09.png?alt=media&token=5fbb4069-3944-4b98-89d6-f7e226d2fc6d" alt=""><figcaption></figcaption></figure>
Once completed, you can share the affiliate link with your community and earn a commission fee when your friends trade on PancakeSwap. For more information on how we qualify a new user, please visit the [Terms & Conditions](/archive/archived-affiliate-program/terms-and-conditions) page.
# Commission Structure and Payment
### Commission
Our commission structure is as follows:
<table><thead><tr><th width="198">Product</th><th width="142">PancakeSwap V2</th><th width="140">PancakeSwap V3</th><th width="146">PancakeSwap Stableswap</th><th>PancakeSwap Perpetuals</th></tr></thead><tbody><tr><td>Commission Rate (Based on trading fees)</td><td>3%*</td><td>3%*</td><td>3%*</td><td>20%**</td></tr><tr><td>Profit Sharing with users (Customizable)</td><td>Up to 100%</td><td>Up to 100%</td><td>Up to 100%</td><td>Users get 20% of commissions fixed<strong>***</strong></td></tr></tbody></table>
**\*** To be eligible for commissions, the swap trades must have a token pair that:
* Is in the **“PancakeSwap Extended”** [**official token list**](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-extended.json); and
* includes at least **1 major token** (i.e., BNB, BTC, BUSD, ETH, USDT and/or USDC)
* Limited to swap trades on **BNB Smart Chain and Ethereum chain only**
**Perpetuals are prohibited from certain jurisdictions.** Please ensure you are eligible to trade derivatives on this platform.
Trading fees on perpetual trades (or any Referral’s position which may incur liquidation fees) do not include any liquidation fees for liquidating your Referrals’ position. Limited to perpetual trades on **BNB Smart Chain and Ethereum chain only.**
### Payment
Payment will be paid out to affiliates whose users have accumulated qualified transactions based on the above structure. After each on-chain transaction, we'll calculate your commissions in USD and convert them to CAKE tokens at the time of distribution. We do this by determining the USD value of trades and then converting your commission into CAKE tokens based on the current CAKE token price when paying out. More details can be found on the [Program Rules & Guidelines page](/archive/archived-affiliate-program/program-rules-and-guidelines).
You can keep an eye on your earnings from the [Dashboards page](https://pancakeswap.finance/affiliates-program/dashboard) (coming soon!) You’ll also be able to redeem your commissions once a month on the same page. A guide will be posted here on the redemption process.
<br>
# Program Rules & Guidelines
As an affiliate, you must adhere to the following rules and guidelines:
1. The Program offers you the opportunity to get paid different commission rates, by means of inviting new users (“Referrals”) to register and trade on PancakeSwap.
2. A Referral must be a new user and must not have interacted or signed with the PancakeSwap platform or used any of PancakeSwap’s services (including but not limited to V2, V3 swapping services, perpetual trading, Non-Fungible Tokens and related services, initial farm offerings and similar offerings) (“PancakeSwap Services”).
3. We will provide you with a unique referral link which will allow our system to track your Referrals and their trading activities. We will only pay commissions for Referrals who have signed up through your unique referral link. We will not pay commissions if someone says they signed up through you but such a sign up was not done through the referral link.
4. All commissions are calculated upon the completion of every on-chain transaction and denominated in U.S. dollars as follows.
5. All commissions will be paid out in CAKE tokens.
6. You may request to redeem your commissions once a month, subject to changes made in our sole discretion, with notice to you.
7. Any statements you make about PancakeSwap must reflect your honest opinions, beliefs, or experiences and must not be false, misleading, or unsupported.
8. There is no limit on the number of Referrals that you may invite.
9. PancakeSwap reserves the right to refuse service to anyone for any reason at any time.
10. You shall not engage in the following activities:\
\
(a) creating and/or publishing content that is: (i) unlawful, harmful, threatening, abusive, harassing, tortious, defamatory, vulgar, obscene, libellous, invasive of another’s privacy, hateful (racially, ethnically, or otherwise), and/or prejudicial in any form; (ii) likely to breach any contract or law or breach any duty of confidentiality, infringe any copyright or data protection rights, or constitute contempt of court; (iii) misleading, misrepresentative, fraudulent or false; (iv) constitute overly aggressive, questionable sales or marketing methods;\
(b) making any representations or providing advice, in the course of your performance regarding investments, investment outcomes, the likelihood of returns, or suitability for investment. For example, you should not make any price predictions over the CAKE tokens;\
(c) using the Program for any illegal or unauthorised purpose or in a way which violate any laws in your jurisdiction (including but not limited to copyright laws); and/or\
(d) self-referring yourself (or accounts/entities controlled by you) using your own referral link.\
(e) directing or causing existing users or previous users of PancakeSwap Services to create new addresses to sign up with your referral link
# Terms & Conditions
\*Updated as of Sep 1, 2023
As a new user/referral, you must adhere to the following rules and guidelines:
1. A Referral must be a new user and must not have interacted or signed with the PancakeSwap platform or used any of PancakeSwap’s services (including but not limited to V2, V3 swapping services, perpetual trading, Non-Fungible Tokens and related services, initial farm offerings and similar offerings) (“PancakeSwap Services''). 1.1 Once a new user/referral has signed up through an affiliate link the referral relationship has been established and you cannot change the referrer.
2. Subject to commissions shared by affiliates, referrals may be eligible for the following discounts: (a) You are eligible for a discount on trading fees you paid on PancakeSwap V2 and PancakeSwap V3, limited to Swap trades on the BNB Smart Chain, Ethereum chain, Polygon zkEVM, zkSync Era, Arbitrum One, Linea, and Base chain only if the affiliate has enabled profit sharing. The discount will only be offered for a limited period of time, please refer to point 16 for more details.The exact discount rate you receive depends on the rate displayed to you through the affiliate link. If there were no discount rate displayed to you through the affiliate link, it means you will not receive any discounts for swap trades on PancakeSwap. (b) You are eligible for a discount on trading fees you paid for StableSwap trades only if the affiliate has enabled profit sharing. The discount will only be offered for a limited period of time, please refer to point 16 for more details. The exact discount rate you receive depends on the rate displayed to you through the affiliate link. If there were no discount rate displayed to you through the affiliate link, it means you will not receive any discounts for trades on PancakeSwap. The discount will only be for a limited period of time, please refer to point 16 for more details. 2.1 To be eligible for discounts, the Swap and StableSwap trades must have a token pair that: (a) Is in the PancakeSwap Token list for the following chains ([BNB Smart Chain](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-extended.json), [Arbitrum One](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-arbitrum-default.json), [Base](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-base-default.json), [Ethereum](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-eth-default.json), [Linea](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-linea-default.json), [Polygon zkEVM](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-polygon-zkevm-default.json), [zkSync Era](https://tokenlists.org/token-list?url=https://tokens.pancakeswap.finance/pancakeswap-polygon-zkevm-default.json)) and (b) includes at least 1 major 프로젝트로 돌아가기