joejordan / PancakeSwapSmartRouter

PancakeSwapSmartRouter in a Foundry project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PancakeSwapSmartRouter Foundry License: MIT

PancakeSwapSmartRouter in a Foundry project.

Getting Started

This is a downloadable replica of the PancakeSwapSmartRouter contracts, found on-chain here on BSC.

I wanted to see what it looked like locally, and the Pancake people haven't released any repositories yet, so I painstakingly copied the code from bscscan and put it into a Foundry project for easy perusal.

Only changes thus far have been applying forge fmt to the codebase for readability.

If this is your first time using Foundry, check out the installation instructions.

More Info

Article introducing Smart Router

PancakeSwap's extensive documentation on the Smart Router contract

License

This project is licensed under MIT.

About

PancakeSwapSmartRouter in a Foundry project.


Languages

Language:Solidity 100.0%