1.0.0 • Published 2 years ago

pancake-v2-contracts v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 nameDescriptionSolidity version(s)
BSC LibraryLegacy implementation of BEP20/IBEP20/SafeBEP20. Not to be used for new contracts.0.6.12
Cake VaultCAKE vault ("AutoPool") contract that allows auto-compounding for CAKE tokens.0.6.12
Exchange ProtocolBased 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 PoolsBased on SushiSwap's MasterChef, it also includes stand-alone pools and pool deployer.0.6.12
Farm AuctionsSystem for community-based auctions for future CAKE farms.0.8.4
IFOInitial Farm Offerings.0.6.12
LotteryV2 Lottery system for CAKE built using Chainlink's VRF.0.8.4
NFT MarketsNFT marketplace for ERC721 tokens.0.8.4
Pancake SquadPancake Squad NFT collection.0.8.4
PredictionsPrediction protocol contract built using Chainlink's oracle.0.6.12 (v1) / 0.8.4 (v2)
Profile, NFT, and GamificationPancake Bunnies NFT, NFT factories, and Profile system.0.6.12
SmartChef FactorySmartChef (a.k.a. Syrup Pools) Factory0.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.