Each liquidity pool created by PancakeSwap has its own smart contract. Follow the steps below to view the LP (liquidity pool) token's smart contract on a specific farm.
1 - Go to the PancakeSwap Farms page and click the row of the Farm you want to see the contract for.
2 - When the details section expands out, click the View Contract link on the left to open the contract in BscScan.
IFO contracts
IFO contracts are unique to each new IFO. Follow the steps below to view an IFO's smart contract.
Current or most recent IFO
Go to the PancakeSwap IFO page and look on the bottom right of the IFO information for a View Contract link.
Previous IFOs
1 - Go to the PancakeSwap IFO page and click the Past IFOs toggle at the top of the page.
2 - Find the banner of the IFO you'd like to see and click the down arrow button to expand it.
3 - Find and click the View Contract link on the bottom right of the expanded information.