Questions tagged [pancakeswap]

PancakeSwap is a Binance Smart Chain-based DEX launched by anonymous devs with a penchant for breakfast foods and rabbits. It looks a bit like Ethereum's SushiSwap (community governance, the ability to farm liquidity provider tokens), but also incorporates many other features that let you earn rewards.

312 questions
1
vote
0 answers

PancakeSwap Flash Swap Locked Issue

I created a smart contract for doing flash swaps on PancakeSwap and it is working fine. However, when I try to do swapExactTokensForTokens inside the pancakeCall I get the following error: "execution reverted: Pancake: LOCKED". Does PancakeSwap not…
pabsdenn
  • 11
  • 1
1
vote
0 answers

PancakeSwap Approve error 401

I'm trying to use the contract approve function, but I have this 401 error : events.js:352 throw er; // Unhandled 'error' event ^ Error: Unexpected server response: 401 at ClientRequest.…
user78481
  • 11
  • 2
1
vote
1 answer

How To Read LP Tokens Held By Address After Being Staked On Pancakeswap

My understanding is that after a user provides liquidity to a farm on pancakeswap they are given a Liquidity Pool token (which is added to their wallet) but once they stake this LP token it is no longer in their procession thus trying to read their…
simoes
  • 141
  • 6
1
vote
1 answer

Fail with error 'Pancake: TRANSFER_FAILED'

https://bscscan.com/tx/0x66f323c23d249c78da2b8f6f79faa1468bd98533618d7a655081075058e4d086 This deal was failed. Status: Fail with error 'Pancake: TRANSFER_FAILED' To: Warning! Error encountered during contract execution [execution reverted] Please…
Jizhou Wei
  • 11
  • 1
  • 2
0
votes
1 answer

How is the market cap calculated of tokens traded on DEX like Pancakeswap?

Let's start with two an example contract 0xD52B599F88A0dD095DD07dd7d98ea965192C3F2a. If you look at Poocoin or Bogged, both of them show market cap as: $7,415,949,681,815,443,000,000,000,000,000,000,000,000,000,000,000,000,000 Safe to say that this…
Gajus
  • 713
  • 4
  • 21
0
votes
1 answer

Swap BNB for CAKE using web3.js on pancakeswap

I'm trying to implement token swap in nodejs using web3 library on the pancakeswap router. I'm able to perform this swap using the pancakeswap webpage but unable to do this programmatically. I'm using a paid quicknode BSC node. Here is the code for…
0
votes
1 answer

flutter web3dart how to get price from pancakeswap

objective: try to get price from pancakeswap i created the abi and feed it with two contract addresss that i want the price from but i get this error| Unhandled Exception: type '_BigIntImpl' is not a subtype of type 'List' of 'data' I think in the…
0
votes
1 answer

Pancakeswap multihop how is it implemented

On Pancakeswap it uses multihop functionality when swapping a pair with no direct swap path. The v2 router does not support multihop and was wondering how PCS has this implemented? As an example on this…
Chris
  • 101
0
votes
1 answer

Lost coins after approve on Pancakeswap

I hope someone can help me. I have buy 100$ token. The transition is succesful. But I don't receive my token in wallet. I hope someone can help me. Thanks you alot Here is all my…
0
votes
1 answer

SwapexacttokensforEth: why is it not possible to input amountOutMin value higher then current market price?

I'm very new to this, but I've managed to use the write function swapexacttotkensforeth directly in the browser on bscscan with the pcs router. The issue is I can only perform a swap if the sum of the value of amountIn and -OutMin is within current…
Johnny
  • 1