📔
Candy Swap
  • Candy Swap
  • TOKENOMICS
    • CandySwap Token (CANDY)
    • Wooper Token (WOOPER)
  • ROADMAP
    • Roadmap
  • SECURITY
    • Contracts
    • Migrator Code (Rug-pulling Mechanic)
  • FAQ
    • How to start farming CANDY?
Powered by GitBook
On this page

Was this helpful?

  1. SECURITY

Migrator Code (Rug-pulling Mechanic)

PreviousContractsNextHow to start farming CANDY?

Last updated 4 years ago

Was this helpful?

Through 'function migrate', Pancakeswap can potentially take all of your money within 6 hours. Of course given their established legitimacy, the chance of this happening is negligible.

However the code is still present in their contract and it was by exploiting this code that other notorious clones were able to "pull the rug" from under their participants.

Why would you ever stake your hard-earned gold on a site with this code still present? Thats why we have removed the migrator code from our contract which was forked out from Pancakeswap. ​

You can see the following migrator code is still present in the following link:

https://github.com/pancakeswap/pancake-farm/blob/master/contracts/MasterChef.sol