pancakeswap / pancake-swap-interface-v1 Goto Github PK
View Code? Open in Web Editor NEW:pancakes: Pancake trading interface V1
Home Page: https://exchange.pancakeswap.finance
License: GNU General Public License v3.0
:pancakes: Pancake trading interface V1
Home Page: https://exchange.pancakeswap.finance
License: GNU General Public License v3.0
I have been testing and using this Dapp alot. After staking some cakes for many days I started using farms in order to stake flip tokens.
I had staked 4 different types of flip tokens to test the app further. It does have a nice feature on dashboard to see the number of cakes earned. It would be great to have the details of farms in a tabular view. (Like farmer watching farms from height using binoculars with cow boy hat. Just kidding).
Furthermore, Same view can be modified later with little visual fun in it like visual farms with crop growing. User can also tap or hover on farms to see flip tokens name.
Bug Description
When scrolling up to the top of the page, the nav bar can be a bit glitchy and appear, disappear and appear again. It makes it difficult for users to access the menu when they need to.
Expected Behavior
Nav bar should appear smoothly and quickly
Bug Description
swap prices doesn't match market prices, for example if I want to swap ETH to DAI and the current market price of eth its 1220 pancake swap will show a swap price of 1208 or lower. maybe 12 dollars isn't much but I even experienced over 50 dollars difference which its huge. could it be an oracle problem ?
Steps to Reproduce
Expected Behavior
its should show a price close to the market value therefore the transaction should be close to the market value.
Additional Context
At some point today ETH was around 1280 DAI, not in a single moment the price showed nor the price of the transaction was close to the 1280 it never went over the 1239 mark.
Again maybe its an oracle problem or its interaction with the contract.
Maybe adding a chart on the side like other DEXS have on their swap may help to compare or if there something wrong with that token or swap on particular or at least to have the option to not execute the swap if something its obviously wrong
I hope u can fix this because it can impact negatively on pancakeswap. you can contact me for any additional information you may require.
Thanks.
Bug Description
When arriving on the exchange, the submenu is shut and there's no indicator of which page a user is on.
Expected Behavior
Function: leaveStaking(uint256 _amount)
MethodID: 0x1058d281
[0]: 000000000000000000000000000000000000000000000019dc98e33a83632772
outcome
Warning! Error encountered during contract execution [out of gas]
The compiled contract might be susceptible to EmptyByteArrayCopy (medium-severity), DynamicArrayCleanup (medium-severity) Solidity Compiler Bugs.
Add Binance Chain Chrome Extension as an option for linked wallets. This can improve onboarding experience for desktop users and drive adoption:
Custom RPC Servers
on MetaMask ❌Implementation Notes on https://docs.binance.org/smart-chain/wallet/wallet_api.html
window.BinanceChain
for provider API access while the convention (ie. MetaMask) uses window.ethereum
.window.BinanceChain
might be straight-swappable with window.ethereum
as it implements the same interface.I'm fairly new to the codebase but would love to help out!
Request a token whitelist. ref: #64
Please let me know if there are any other requirements I have to do for whitelisting.
{
"name": "Bunny Token",
"symbol": "BUNNY",
"address": "0xC9849E6fdB743d08fAeE3E34dd2D1bc69EA11a51",
"chainId": 56,
"decimals": 18
}
BUNNY PROJECT
PancakeBunny is a new and rapidly growing DeFi yield aggregator that is used for PancakeSwap. The PancakeBunny protocol empowers farmers to leverage their yield-seeking tendencies to optimize yield compounding strategies. We are providing strategies for the various needs of farmers from the highest yield seekers to the risk reward optimizing smart investors
website: https://pancakebunny.finance
telegram: https://t.me/pancakebunnyfinance
email: [email protected]
twitter: https://twitter.com/PancakeBunnyFin
pancakeswap: https://pancakeswap.info/token/0xc9849e6fdb743d08faee3e34dd2d1bc69ea11a51
coingecko: https://www.coingecko.com/en/coins/pancake-bunny
bscscan: https://bscscan.com/token/0xc9849e6fdb743d08faee3e34dd2d1bc69ea11a51
Please, update the logo for JNTR/b token.
https://www.jointer.io/images/jntr_b_pancakeswap.png
Calculate TVL of swap all lp pairs, 24 hours volume of swap
Currently, our TVL is only from Farming pools, We haven't calculated the total value provided via liquidity in the swap exchange.
We need the two functions:
caluculateTVL = () = {}
calculateVolume = (hours) => {}
Reward to first finishers:
250 CAKE for calculateTVL (roughly $175)
400 CAKE for calculateVolume (roughly $280)
Please, add MARS, YFMR token to the tokens list. Our website http://yfmars.app/
{
"name": "marsUSD",
"symbol": "MARS",
"address": "0x7e440598f8f63fccd9b12a606263a02a06cfb16a",
"chainId": 56,
"decimals": 18,
"logoURI": "/images/coins/MARS.png"
},
{
"name": "YFMARS",
"symbol": "YFMR",
"address": "0x9b3ed616c4ff49023a89f4da8b85cce22c0f8cb3",
"chainId": 56,
"decimals": 18,
"logoURI": "/images/coins/YFMR.png"
}
https://github.com/yfmars-dev/pancake-swap-interface/blob/master/public/images/coins/MARS.png
https://github.com/yfmars-dev/pancake-swap-interface/blob/master/public/images/coins/YFMR.png
Its good that exchange page blurred and transparency :)
Iphone be like
Bug Description
On a device with a width of 320px (the recommended minimum width), the settings dialogue doesn't fit on the screen.
We should push the options onto the next line in this scenario - see following image for context
Additional Context
This is accessible from the swap page when clicking on the setting button
Bug Description
"Failed to fetch multicall chunk"
error after selecting the 'to' token.Failed to fetch multicall chunk [{…}] 56 Error: call revert exception (method="aggregate((address,bytes)[])", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.0.5)
Steps to Reproduce
Expected Behavior
Success to fetch multicall chunk (21) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}] 56
Additional Context
Screen capture of behaviour: https://www.loom.com/share/962e7d96bd3b416a87f1db1f73e26932
Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
Display APY in staking page
https://pancakeswap.finance/staking
Total staked CAKE = Total Supply of SYRUP
NUMBER_BLOCK_IN_ONE_YEAR = 365 * 86400 /3
APY = 10 CAKE per block *NUMBER_BLOCK_IN_ONE_YEAR / Total Supply of SYRUP * 100%
Describe alternatives you've considered
Additional context
N/A
Bug Description
Unable to login pancakeswap using wallet connect (in trust wallet)
Steps to Reproduce
Unlock Wallet
Wallet Connect
...
Expected Behavior
Can login with Binance Smart Chain account in Trust Wallet
Actual Behavior
It said No account available
Additional Context
Note:
Please can we setup a separate Crowdin project for the farm / staking / syruppool site - it is impractical to manage them in one project, and needlessly resource intensive for our users - they will be fetching all translations for both domains when they visit EITHER domain.
As the two sites are different applications - this is not useful, the users only need the translations being used by the domain they are visiting.
This would mean renaming the current pancakeswap
Crowdin project to pancakeswap-exchange
and creating a new one, pancakeswap-farm
(or similar).
Bug Description
exchange.pancakeswap
domain in Crowdin, listed belowMissing translations:
Lastly:
In order for the Crowdin API queries to work - you will need REACT_APP_CROWDIN_APIKEY & REACT_APP_CROWDIN_PROJECTID env variables set in your root .env.development.local file - please contact a dev if you need these.
Can you please help me with CROWDIN_APIKEY and REACT_APP_CROWDIN_PROJECTID so that I can run a local copy of pancake. It used to work till last update.
Bug Description
When you're using the mobile menu and you tap a link, the menu remains open.
Expected Behavior
The menu should close after tapping a link
Bug Description
My complete copy of Pancake Swap failed to create a new liquidity pool for any pair. It returns "gas required exceeds allowance (30000000) or always failing transaction".
Steps to Reproduce
I made a full copy of Pancake environment, creating new Factory, Router and WBNB (for WETH parameter).
So I made a clone of the interface project to adapt the contract addresses in the interface and in the sdk source.
When I tried to create a new liquidity pool, it was necessary to approve the coin, but it was not possible to Create and Supply.
At F12 (Developer Tools) has an error. It seems to occur at estimate function.
Expected Behavior
I hope you guys could share some possible solutions to solve this problem.
Additional Context
An additional info, I changed many part of the code /node_modules/@pancakeswap-libs/sdk to change Factory and Router addresses.
Please, add JNTR/b token to the tokens list. Our website https://jointer.io/
{
"name": "JNTR/b",
"symbol": "JNTR/b",
"address": "0x78e1936f065Fd4082387622878C7d11c9f05ECF4",
"chainId": 56,
"decimals": 18,
"logoURI": "/images/coins/JNTRB.png"
},
Bug Description
Website offers to swap some tokens through low-liquidity pairs while there are high-liquidity pairs for the same tokens. Examples:
For BNB to CAKE website offers to use BNB > BUSD > CAKE, while the better route is BNB > CAKE (directly), because there is an $11M pair for that.
USDT to NYA swap: website offers USDT > WBNB > NYA, while the better route is USDT > WBNB > CAKE > NYA (more liquidity there)
Steps to Reproduce
Expected Behavior
A correct route for USDT > NYA example is USDT > WBNB > CAKE > NYA (or any other through CAKE). The same is for other routes: it should rather choose high-liquidity pairs.
Additional Context
Some screenshots showing examples above with wrong routes
Bug Description
When navigating to exchange.pancakeswap.finance with latest version of Chrome or Safari (from OSX Big Sur also latest version) and trying to connect with Walletconnect after reading the QR with my iPhone 12 (iOS latest version) and also latest version of TrustWallet the site crashes. Below it's the screenshot.
Steps to Reproduce
Expected Behavior
The expected behavior should be that the app won't crash and let me stake or trade my tokens.
Bug Description
Clicking on the menu logo on the exchange leads you to the exchange homepage
Steps to Reproduce
Expected Behavior
It should link you to https://pancakeswap.finance
{
"name": "ACryptoS",
"symbol": "ACS",
"address": "0x4197C6EF3879a08cD51e5560da5064B773aa1d29",
"chainId": 56,
"decimals": 18
},
{
"name": "ACryptoS(I)",
"symbol": "ACSI",
"address": "0x5b17b4d5e4009B5C43e3e3d63A5229F794cBA389",
"chainId": 56,
"decimals": 18
}
icon: https://app.acryptos.com/android-chrome-512x512.png
We are getting ~$50K volume/day:
https://pancakeswap.info/pair/0x2366ec9ddd1eb27506fa2ed48da8f2d9e99ed3c7
https://pancakeswap.info/pair/0x699c58d77027ae44608808b3863c394a194d76f6
Website: https:/acryptos.com/
We are currently listed on:
TrustWallet
https://www.coinbase.com/price/acryptos
https://coinmarketcap.com/currencies/acryptos/
https://www.coingecko.com/en/coins/acryptos
https://dappradar.com/binance-smart-chain/defi/acryptos
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Stack
Typescript/React
Add Text/Image loading state
(component loader).
Add CTA cards to the dashboard
Farms revamp
Hi
how can i connect to pancake swap with nodejs ?
is there any document about it ?
how trust wallet connect to pancake swap ?
Language
React
Resources
Task
Rework the current PancakeSwap exchange to utilize the UI Kit, then replace the existing menu with the one in the UI Kit.
notes
Name : Zombie
Address : 0xFCaeED4C19228f15971933B6C7aB24C671991Fd6
Symbol : ZOMBIE
Decimals : 18
ChainID : 56
Logo : https://www.trickortreat.vip/favicon.png
Bug Description
When going to pancakeswap.finance home page, the "total CAKE supply" shows 137,243,856 (at the time of writing this) and "total cake burned" as 0.
Steps to Reproduce
Expected Behavior
The Cake stats should show the correct values without having to unlock a wallet.
I have been testing and using this Dapp alot. After staking some cakes for many days I started using farms in order to stake flip tokens.
I had staked 4 different types of flip tokens to test the app further. It does have a nice feature on dashboard to see the number of cakes earned. It would be great to have the details of farms in a tabular view. (Like farmer watching farms from height using binoculars with cow boy hat. Just kidding).
Furthermore, Same view can be modified later with little visual fun in it like visual farms with crop growing. User can also tap or hover on farms to see flip tokens name.
{
"name": "StableXSwap/b",
"symbol": "STAX/b",
"address": "0x0da6ed8b13214ff28e9ca979dd37439e8a88f6c4",
"chainId": 56,
"decimals": 18,
"logoURI": "/images/coins/STAX.png"
},
STAX
https://pbs.twimg.com/profile_images/1315920956276133888/AFVRwlv4_400x400.jpg
Bug Description
After unlocking/connecting a wallet on https://pancakeswap.finance/pools using WalletConnect and scanning the QR code with SafePal or Trust Wallet apps, the unlocked wallet cannot interact with the contracts/site features. For example, on the pools page if trying to unstake the site shows the transaction as pending but no transaction appears in the wallet app for approval.
Steps to Reproduce
Expected Behavior
A clear and concise description of what you expected to happen.
Additional Context
Brave Version 1.18.77 Chromium: 87.0.4280.101 (Official Build) (64-bit) and Firefox Version 1.18.77. Chromium: 87.0.4280.101 (Official Build) (64-bit) Android 11. Trust Wallet 1.23.5 and SafePal 2.5.1. Multiple users reported the same issues regardless of browser or phone. Safari, Chrome, and various iOS versions excperienced the same issue.
console-export-2021-1-8_2-2-29.txt
How can i enable ExpertMode on site? Cant see button, but see this function in code. Thx!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.