• Stars
    star
    202
  • Rank 193,691 (Top 4 %)
  • Language
    TypeScript
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PancakeSwap Smart Contracts

Pancake Contracts 🥞

This repo contains all the contracts used in PancakeSwap. It is divided in independent projects where each of them contains its smart contracts, test environment and unique config files.

Existing projects

Project name Description Solidity version(s)
BSC Library Legacy implementation of BEP20/IBEP20/SafeBEP20. Not to be used for new contracts. 0.6.12
Cake Vault CAKE vault ("AutoPool") contract that allows auto-compounding for CAKE tokens. 0.6.12
Exchange Protocol Based on Uniswap V2, it combines peripheral and core trading and liquidity protocols. It also adds new features like zaps. 0.5.16 / 0.6.6 / 0.8.4
Farms and Pools Based on SushiSwap's MasterChef, it also includes stand-alone pools and pool deployer. 0.6.12
Farm Auctions System for community-based auctions for future CAKE farms. 0.8.4
IFO Initial Farm Offerings. 0.6.12
Lottery V2 Lottery system for CAKE built using Chainlink's VRF. 0.8.4
NFT Markets NFT marketplace for ERC721 tokens. 0.8.4
Pancake Squad Pancake Squad NFT collection. 0.8.4
Predictions Prediction protocol contract built using Chainlink's oracle. 0.6.12 (v1) / 0.8.4 (v2)
Profile, NFT, and Gamification Pancake Bunnies NFT, NFT factories, and Profile system. 0.6.12
SmartChef Factory SmartChef (a.k.a. Syrup Pools) Factory 0.6.12 (v1) / 0.8.4 (v2)

Create a new project

1 - Create a new folder inside projects
2 - Run yarn init

Commands inside the root package.json starting with lerna will run the corresponding command in each subproject.

More Repositories

1

pancake-frontend

🥞 Pancake main features (farms, pools, IFO, lottery, profiles)
TypeScript
2,669
star
2

pancake-farm

Solidity
428
star
3

pancake-info-api

Serverless API implementation for PancakeSwap on-chain data query.
TypeScript
330
star
4

pancake-swap-interface-v1

🥞 Pancake trading interface V1
TypeScript
303
star
5

pancake-toolkit

⚒️ Pancake frontend packages
TypeScript
303
star
6

pancake-subgraph

📊 Pancake subgraph (blocks, profile, prediction, NFT's, ...)
TypeScript
292
star
7

pancake-swap-core

Core smart contracts
TypeScript
264
star
8

pancake-swap-sdk

TypeScript
189
star
9

pancake-swap-periphery

Solidity
174
star
10

pancake-document

HTML
94
star
11

pancake-swap-lib

Solidity
85
star
12

lottery-contract

JavaScript
83
star
13

pancake-info-v1

JavaScript
77
star
14

pancake-uikit

💠 Set of UI components for pancake projects
TypeScript
77
star
15

token-list

TypeScript
69
star
16

pancake-contracts-move

Move
69
star
17

pancake-lottery-scheduler

🎰 Pancake Lottery scheduler
TypeScript
40
star
18

pancake-profile-api

🖼️ Serverless API implementation for PancakeSwap Profile contract
TypeScript
32
star
19

initial-farm-offering

🥞 IFO contract
JavaScript
25
star
20

PancakeSwap-Design

18
star
21

pancake-v2-subgraph

[ARCHIVED] PancakeSwap v2 subgraph
TypeScript
17
star
22

pancake-nft-api

Serverless API implementation for PancakeSwap NFT Marketplace contract
TypeScript
16
star
23

pancake-v4-periphery-deprecated

Solidity
13
star
24

pancake-v3-contracts

TypeScript
12
star
25

smart-router-example

Usage example of @pancakeswap/smart-router
TypeScript
9
star
26

pancake-nft-publish

Java
9
star
27

token-pocket-splash

TypeScript
6
star
28

Revelation-Hackathon-Bounties

PancakeSwap bounties for Revelation Hackathon by BNB Chain
6
star
29

pancake-taro-toolkit

pancake-toolkit for taro
TypeScript
3
star
30

eslint-config-pancake

Eslint config for PancakeSwap
JavaScript
3
star
31

airdrop-v3-users

TypeScript
2
star
32

permit2

🔑🔑🔑 next generation token approvals mechanism
Solidity
2
star
33

on-ramp-client-side-api

TypeScript
1
star
34

syrup-pool-data-api

TypeScript
1
star