1

I am trying to deploy bnbstaking.sol for my own project by cloning pancakeswap-farm repository. The farm repository has other contracts of MasterChef, Souschef, CakeToken and SyrupBar. For farming all these contracts need to be deployed. I have deployed successfully the remaining smart contracts. If anyone has cloned pancakeswap can they guide me a bit. I do not understand what these two parameters (IBEP20 _lp and address _wbnb ) are and what to assign them . This is the github link. enter image description here

2
  • Voting to close this, as this is a question to the person who originally write the code, third parties cannot comment random pieces of code. – Mikko Ohtamaa Apr 13 at 8:40
  • lp probably is Liquidity Provider, a token issued to the liquidity providers, and wbnb I guess is a sort of wrapped ether. – Ismael Apr 14 at 4:31
1

_lp is the Pancake liquidity provider token to stake in the farm pool and wbnb is a wrapped BNB token on Binance Smart Chain.

1
  • Okay thanks will try this out. – mzaidi Apr 14 at 6:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.