pancakeswap / pancake-document

109 stars 246 forks source link

Pancake Factory Address Needs To Be Updated. #8

Closed preston4896 closed 3 years ago

preston4896 commented 3 years ago

I noticed on the docs from https://docs.pancakeswap.finance/#is-pancakeswap-safe, it says the verified address for the Pancake Factory Contract is 0xBCfCcbde45cE874adCB698cC183deBcF17952812. (or, verified contract 3)

But as I am reading the code from the Pancake Router Contract (redirected by clicking on verified contract 1). The factory() method returns the address 0xca143ce32fe78f1f7019d7d551a6402fc5350c73.

The inconsistency of factory addresses has caused my app to not being able to locate the pair address of a liquidity pool. I was wondering if the Pancake Factory implementation has been migrated to 0xca143ce32fe78f1f7019d7d551a6402fc5350c73, and perhaps the docs are not being updated to reflect these changes?

See screenshots for more info:

factorywrong

factory

Any insight is appreciated. :)

ChefNina commented 3 years ago

Hi @preston4896 Sorry for late response. It has been updated! https://docs.pancakeswap.finance/code/smart-contracts/pancakeswap-exchange/factory-v2