Questions tagged [bscscan]
The bscscan tag has no usage guidance.
55
questions
0
votes
0
answers
3
views
Easiest way to find top holders of token from past blocks
I forked the binance smart chain mainnet at block X. I want to interact with other contracts. The issue is I need to find an address (whale) that has a large amount of particular BEP-20 token (SAT ...
0
votes
0
answers
46
views
Error! Unable to generate Contract ByteCode and ABI, unable to verify on bscscan
I've been trying to verify a Token contract on bscscan but it always returns the same error:
Found the following ContractName(s) in source code : ApproveAndCallFallBack, ERC20Interface, SafeMath, ...
0
votes
0
answers
21
views
BSC testnet showing weird input parameter names
My token smart contract has a "bridgeSend" function, which i wrote custom by myself.
The function is basically just a wrapper around the transfer function. It allows users to send tokens to ...
0
votes
1
answer
48
views
I accidentally sent BUSD oken to a random token contract. Can I get it back?
On Binance Smart Chain - Instead of transferring my BUSD token to my wallet, I accidentally sent it to 'CougarSwap: CGS Token' contract itself (the contract, with source code, is https://bscscan.com/...
0
votes
1
answer
30
views
How to debug a contract binary without source code?
I'm trying to debug a transaction on BSC network, the contract is not written by myself and it's not open source, is it possible to debug the transaction at assembly level?
I tried the "Remix ...
0
votes
0
answers
21
views
As a Token Creator, can I add a logo and token price display in Metamask so that it is shown to all holders?
We have created a token in the bsc, we have already been in the market for three months, but we want to know how we can add an icon or logo in metamask and that the price of the tokens can be ...
0
votes
0
answers
33
views
How the bscscan Dex Trades works?
I'm trying to get transaction logs of a token on all Dex Exchange (.e.g Pancakeswap) like below.
I captured it from https://bscscan.com/token/0x78a499a998bdd5a84cf8b5abe49100d82de12f1c#tokenTrade
** ...
0
votes
1
answer
53
views
how to withdraw WBNB sent to a bsc deployed smart contract
i accidentally sent WBNB to a bsc smart contract address thinking it's the same thing, now if i go to etherscan and search for my contract address i can see the money stuck there but the contract ...
0
votes
0
answers
49
views
Issue sending tokens to the contract address BEP-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender
When I try to send the tokens from my wallet to the token contract address,
I am getting the following error.
Warning! Error encountered during contract execution [execution reverted]
BEP-20 Token ...
0
votes
2
answers
113
views
How to read withdrawal and deposit logs correctly?
I'm trying to build an indexer for the EVM chains using the logs to read the ERC20 "transfers"
and I have the following question:
Some transactions (tx's) have logs with multiple deposits/...
0
votes
0
answers
84
views
Read contract suddenly not working on testnet explorer
I have a contract I deployed last week. I was able to verify the contract on BSCScan Testnet explorer and successfully use the balanceOf() view function to return an address' balance. However today, I ...
0
votes
0
answers
19
views
Error: No "from" address specified?
I have a smart contract that is deployed and verified on the BSC Testnet. I am attempting to use web3.js inside a truffle project folder to write to the contract, and populate a currently empty array.
...
0
votes
1
answer
32
views
Contract allows mass creation of tokens without a mint function (cross-post)
Cross-posting from here:
https://stackoverflow.com/questions/71282483/contract-allows-mass-creation-of-tokens-without-a-mint-function
A few times now I have seen scam tokens created where the ...
0
votes
1
answer
726
views
SCAM: cannot swap back a token
Recently I bought a token from PancakeSwap. Looks, like it's scammed - it's new, there are only buy operations, and no sell operations.
And I also cannot swap it back.
I'm providing its contract ...
0
votes
0
answers
10
views
Can someone HELP a NOOB with Hex crypto
Please someone help me! I am very new and so freaking confused about Erc20 crypto tokens. I have an app I use called Hex Network and I have "mined" a good bit of Hex and have made 3 ...
0
votes
0
answers
15
views
Question about a struct called in an interface
a huge thanks to the members here for their support. I have a question regarding a struct that is declared in an interface.
Lets say you have two contracts: "Contract_A", which is already ...
0
votes
1
answer
87
views
I deployed my token on testnet on bsc chain and deployed success but total supply not showing on bscscan testnet and my cap value showing on remix?
hi i deployed my token on testnet on bsc chain and deployed success but total supply not showing on bscscan testnet and my cap value showing on remix after deployed contract by checking with ...
0
votes
0
answers
40
views
Invalid parameters: must provide an Ethereum address in transfer of ownership in bscscan
Please help, I cannot transfer my ownership nor renounce my ownership. I am trying it in bsc testnet. It is always saying like this "Invalid parameters: must provide an Ethereum address" ...
0
votes
0
answers
14
views
How to increase speed rate each request? bsc
im using ax61 from hetzner, but i think my node has a slow average each request, what can i change?
static node can affect the speed?
the node can be install wrong?
Can someone recommend a tutorial?
0
votes
0
answers
20
views
metamask transferred my tokens using the DEX contract?
Today some tokens were transferred from my metamkas to another wallet, I would like to know if the type of transfer made needed my private key or could it have been through some malicious contract ...
0
votes
0
answers
59
views
why does my contract say honeypot?
https://bscscan.com/address/0x4451f5016724867fd00438eb30d5b2f23d3d69bd
This is my code source. TokenSniffer does not pick it up and staysafu says its a honeypot, the token is tradeable
1
vote
1
answer
362
views
Swap for tokens with Bot Protection Enabled (BpEnabled)
!!Apology in advance for such verbosity!!
Background
I came across this BEP20 token (0xcc7a91413769891de2e9ebbfc96d2eb1874b5760) which had sufficient Liquidity added at TGE but bot protection was ...
0
votes
1
answer
538
views
Approve BUSD token in pancakeswap
im new in blockchain and i´m playing with the web3 javascript library. I´m trying to approve the BUSD token to do a swap. My js code is something like this:
async function approveToken(web3, c, ...
0
votes
1
answer
103
views
How does BCS scan keep track of BEP20 token holders
Is there a function within the contract that needs to return the amount of holders or is it on BSC scan side. I know for Ether scan they keep track of it through transactions but I have done multiple ...
0
votes
1
answer
166
views
Understanding decompiled source code of a smart contract
I decompiled a contract on BSC with bsc decompiler. And I can't understand storage declaration:
#
# Panoramix v4 Oct 2019
# Decompiled source of bsc:0x698E165F2897e4daC68671c4cDFf337bbC543767
#
# ...
0
votes
1
answer
94
views
SC not deploying and getting fail/pending everytime
I have been trying to deploy SC, but every time transaction goes into pending state.
Tried with many SC but even simplest SC is not getting deploy since sunday.
I am using remix IDE over injected web3 ...
1
vote
0
answers
26
views
Unexplained listing alert
Sorry for the newbie question
But there are actually telegram channel which deliver listing alert seconds to minutes before the actual listing on CoinMarketCap and CoinGecko
They claim they dont work ...
0
votes
1
answer
1k
views
how to get full info of a transaction hash? Web3.py or Web3.js
I am Aditya and I want to know How to get the details of transactions through Web3.
See This TX Hash Of BscScan: https://bscscan.com/tx/...
0
votes
0
answers
18
views
Are these 2 claimRewards function (1 in etherscan and another in bscscan) equivalent?
I am trying to ClaimRewards automatically
https://etherscan.io/tx/0x8517229755a07a4394e1f4125f739849b54e023101d609f54b37a1b4d1322710
Here, in input data, it wrote
Function: claimReward() ***
MethodID: ...
0
votes
1
answer
172
views
Web3py: how to track if the token listed on pancakeswap and can be trade(swap)?
I used python web3py to trade pancakeswap via BSC(Binance smart chain). It is working.
But i want to track when one token is listed on pancakeswap and can be trade.
I has tried to use contract.events....
0
votes
0
answers
97
views
How do i put in the total supply into a contract and how do i deploy the contract into the bscscan - Hard hat and Openzeppelin
This is a very easy problem. First problem: But as I'm new to solidity, I wanted to know how I put in the total supply of the tokens, is it just to write the code into the greeter.sol as total supply (...
0
votes
0
answers
50
views
How to send TX with Input Data in C#
I'm looking for a way to send the same transaction as here:
https://bscscan.com/tx/0x52bfe52e6a63929d4e2cec79df424b0f73735f98e3082830269bcd8a2ff60044
I was trying nethereum, succeded sending TX, but ...
0
votes
0
answers
36
views
Verification problems on BSC Scan
Have a nice day, I have such a problem when verifying a smart contract on BSC Scan, I'm trying to pass code verification, I get an error that no matches were found, but if you look at the byte code, ...
0
votes
0
answers
237
views
How do i install: $ npm install @openzeppelin/contracts - is it on remix? Easy solution
This may sound stupid but would the team or anyone give advice on how to install it in the first place: Is it on the remix.etherum? If not which and what should I do to be able to install it?
Is it ...
0
votes
1
answer
79
views
go ethereum Approve success but unable to locate this TxnHash on bscscan
I want to Approve some WBNB on bsc-chain(PancakeSwap) for swapping other token, currently the balance is "0.0008", the allowance is "0.0001", I want to swap all the WBNB so I need ...
1
vote
1
answer
712
views
After all attempts to verify the smart contract, i keep getting PaserError - not found: File import callback not supported
This is the issue: ParserError: Source "@openzeppelin/contracts/access/Ownable.sol" not found: File import callback not supported. Showing a picture below. It's on bscscan between to verify. ...
2
votes
1
answer
2k
views
ParserError: Source "@openzeppelin/contracts/token/ERC20/ERC20.sol" not found:
I keep getting this error, would be really cool to get help. I've heard that I need to install a program, forgot which but I'm not so sure that's a great idea to start with and is not the fix to this ...
0
votes
0
answers
81
views
Can I still list my token on exchanges if I have renounced ownership?
This is my first post here. I have deployed a ERC20 token and have a few holders already. I am keen to renounce ownership of the contract to build trust.
However, will I still be able to list my token ...
0
votes
0
answers
30
views
I couldn't verify my BSC smart contract address
I made use of this token code editted it to make mine . I deployed but I couldn't verify my contract . I need help ASAP . What could be the issue
https://bscscan.com/token/...
1
vote
1
answer
272
views
how can I categorize the transactions based on the method they call to transfer and non-transfer transactions using web3?
Blockchain explorers show "transfer" instead of the method id for some of the transactions on their list, so there should be a way to filter transactions based on the method they call.
How ...
0
votes
1
answer
1k
views
Decoding transaction logs of Pancakeswap's router by web3.py
I saw this question, but there are contracts like the pcs's router which have no event defined in the contract, see this transaction for example.
How can I decode the logs in such transactions?
0
votes
0
answers
12
views
How do I find specific functions from a storage location in a proxy contract?
https://ethereum.stackexchange.com/a/113749/85815
Sorry I have posted this question under another thread as what I’m looking for was pretty related to that thread.
Regards,
Ash
0
votes
1
answer
121
views
How to estimate gas cost (not gas price) per transaction?
Sorry for the newbie question.
So i had 2 different transactions with the same gas price and same function called
But it used different amount of gas unit (not gas price)
https://bscscan.com/tx/...
1
vote
0
answers
167
views
Is etherscan/bscscan limited to the last 100K transactions?
I was exploring a contract transaction and I was not able to see the contract creation as last transaction, but I found that there are all limited to the last 100K transactions.
I know that I can ...
0
votes
1
answer
195
views
Problem with "Verify & Publish Contract Source Code" on BscScan
I wanted to "Verify & Publish Contract Source Code" on BscScan, but I get this message:
ParserError: Multiple SPDX license identifiers found in source file. Use "AND" or "...
0
votes
0
answers
67
views
Error! Unable to generate Contract ByteCode and ABI I want to solve this problem
We can't proceed anymore because this error has occurred.
I've been up all night for three days due to this problem, but there's no solution.
Please help me.
I checked the compilation version.
enter ...
1
vote
0
answers
2k
views
Getting the Liquidity Pool Address of a token using web3.py connected in Binance Smart Chain
The snippet below checks for the latest added Liquidity Pool of a token. In poocoin.app, the LP Pool Address can be checked based on the pair (TOKEN/BNB LP Holdings). I wanted to know if web3.py can ...
1
vote
1
answer
319
views
Multiple transfer on single transaction?
Sorry for a newbie question, i currently trying web3.py for swapping in pancake
Here i found someone able to do sequenced transfer on a single tx
https://bscscan.com/tx/...
0
votes
0
answers
29
views
pancakeswap transferhelper instant response
When I try to swap a token on pancakeswap and if there's a problem with the token then the pancakeswap (or poocoin, or any other platform) almost instantly shows an error TRANSFER_FROM_FAILED. This ...
1
vote
1
answer
113
views
bscscan contract argument data decoding
Let's take a look at this tx:
https://bscscan.com/tx/0x9b7cde866e9fe9b9a1c636d0f9686ea5b1920c875d7fcd973baf847bc359c8a9
as you can see it's buying token through pancake swap:
...