pancake-swap-periphery icon indicating copy to clipboard operation
pancake-swap-periphery copied to clipboard

Results 31 pancake-swap-periphery issues
Sort by recently updated
recently updated
newest added

Facing same issue _Originally posted by @Ranofty in https://github.com/pancakeswap/pancake-frontend/issues/4167#issuecomment-1216865681_

My swap of 3.275 FIL for 1.21 BNB succeeded at withdrawing input FIL coin but failed to output any BNB from the router back to my wallet. The money never...

![image](https://user-images.githubusercontent.com/10151361/184073139-ebad8dae-63a5-4ab7-8cc1-7b1912f862a6.png)

The dependency at line 3 of file [PancakeRouter](../tree/master/contracts/PancakeRouter.sol) is `@uniswap/v2-core/contracts/interfaces/IPancakeFactory.sol`, but there are no `IPancakeFactory.sol` file. How can I fix this problem so that I can compile contract without error.

hey, when use ```address``` to convert ```uint``` , it prompts that "Cannot convert uint256 into address". uint means uint256, address means bytes20, so this conversion in the pancakeSwap source codes...

https://github.com/pancakeswap/pancake-swap-periphery/blob/d769a6d136b74fde82502ec2f9334acc1afc0732/contracts/libraries/PancakeLibrary.sol#L31

'IPancakeFactory.sol' is imported from UniswapV2 core directory which will throws an error. So recalled it from pancakeswap-core directory which is actually archieved.

pragma​ ​solidity​ ​>=​0.5.0​; ​

There should be some official documentation when new contract are deployed with factory and router addresses!

`test/shared/fixtures.ts:16:29 - error TS2307: Cannot find module '../../build/PancakeRouter02.json'. 16 import PancakeRouter02 from '../../build/PancakeRouter02.json' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at createTSError (/home/utsavsingla/pancake_trial/pancake-swap-periphery/node_modules/ts-node/src/index.ts:421:12) at reportTSError (/home/utsavsingla/pancake_trial/pancake-swap-periphery/node_modules/ts-node/src/index.ts:425:19) at getOutput (/home/utsavsingla/pancake_trial/pancake-swap-periphery/node_modules/ts-node/src/index.ts:530:36) at Object.compile (/home/utsavsingla/pancake_trial/pancake-swap-periphery/node_modules/ts-node/src/index.ts:735:32) at Module.m._compile (/home/utsavsingla/pancake_trial/pancake-swap-periphery/node_modules/ts-node/src/index.ts:814:43) at...