> For the complete documentation index, see [llms.txt](https://beef-fun.gitbook.io/beef.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beef-fun.gitbook.io/beef.fun/introduce/token-protocol-and-core-contracts.md).

# Token Protocol & Core Contracts

### BBEP-20 Protocol <a href="#bbep-20-protocol" id="bbep-20-protocol"></a>

A novel, open-source, and non-upgradable token standard defined by Beef. Unlike standard BEP-20 tokens, BBEP-20 integrates an external call function within its contract to power the decentralized referral rewards system. All tokens launched on Beef feature a unique identifier: their contract addresses end with the suffix beef.

### Core Contracts <a href="#core-contracts" id="core-contracts"></a>

Beef consists of three main contracts:

1. **BeefLauncher:** The platform’s core contract (open-source), featuring four key functions: Bind Referrals, Deploy Tokens, Reward Distribution, Collect LP Fees.
2. **BeefLocker:** Permanently locks LP tokens for projects launched on Beef while allowing LP fee collection.
3. **ClaimRewards:** A dedicated contract for users to self-custodially claim their earned rewards (referral fees, holder dividends, etc.) on-chain.

<figure><img src="https://2264918650-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F22x63jx4WOOb6zucRVpx%2Fuploads%2Fp2PDNLZPONM6QQcGey5n%2FGroup%20302.png?alt=media&amp;token=8cff0c74-1d62-477f-b51e-960070f852f7" alt=""><figcaption></figcaption></figure>
