Rugpull Migrator Code

Rugpull Migrator Code: Pancake swap can take all your money within 6 hours. That is why we have eliminated this code to not be like them and to give our users the greatest security.

Although they might not do it, the code is still present in their contract and this code is exactly how all the rug pulls were done. We have removed the following migrator code from our contract which was forked out from Pancake swap. You can see the following code is still present in pancake swapโ€™s contract and github.

You can see the following migrator code is still present in the following link Link:โ€‹

// Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good.
function migrate(uint256 _pid) public {
require(address(migrator) != address(0), "migrate: no migrator");
PoolInfo storage pool = poolInfo[_pid];
IBEP20 lpToken = pool.lpToken;
uint256 bal = lpToken.balanceOf(address(this));
lpToken.safeApprove(address(migrator), bal);
IBEP20 newLpToken = migrator.migrate(lpToken);
require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");
pool.lpToken = newLpToken;