📃
CheesecakeSwap
  • CheesecakeSwap
  • How to Add Liquidity
  • Voting
  • Launchpool
  • What is Multiplier?
  • All Listings
  • Tokenomics
    • CheesecakeSwap Token (CCAKE)
    • Emission Reduction
    • Tokenomics on Polygon
    • Governance
    • How to Add CCAKE to Metamask
  • Roadmap
    • Roadmap
  • Security
    • Contracts
    • Migrate Function
    • Manual Withdraw
    • Emergency Withdraw
  • New Exchange Router
    • PancakeSwap New Exchange Router Migration
    • PancakeSwap New Exchange Router (Old Announcement)
  • Lottery
    • Lottery
  • Contests
  • Airdrop
  • SOCIAL
  • CheesecakeSwap
  • Twitter
  • Telegram
  • Github
Powered by GitBook
On this page

Was this helpful?

  1. Security

Migrate Function

PreviousContractsNextManual Withdraw

Last updated 4 years ago

Was this helpful?

Security

According to the security flaw, Pancakeswap and some of its forks carries a potential risk with "migrate" function. The migrator code can be used to migrate lp tokens to another lp contract. This means, by running this function, a malevolent person can throw lp tokens to any address they want. As you can see as follows, the code exist in their contract and this code may used in rug pulls unfortunately. But of course, we don't claim they will do it.

We have removed this "migrate" function from our contract to make sure Cheesecake has never carried and will never carry such a risk.

Pancakeswap Migrator Code