Questions tagged [bscscan]
The bscscan tag has no usage guidance.
69
questions
0
votes
1
answer
27
views
my transaction shows as reverted but i didn't recieved my money yet
So I transfered some Binance-Peg Ethereum Token (ETH) over the bnb network (bsc20) (with my ledger wallet/app), but the status of the transaction shows 'reverted'
There are some articles saying that '...
0
votes
0
answers
9
views
Bscsacn API Logs operators concatenation
I looked at the following doc page: https://docs.bscscan.com/api-endpoints/logs
Unfortunately, I cannot combine operator in order to get the following logic:
topic0 and (topic1 or topic2)
I tried:
...
0
votes
1
answer
14
views
Contract events logs: string data field divided
I got this event signature:
event Event(address indexed from, address indexed to, string text);
Which I call inside this method:
function emitEvent(address to, string calldata text) external {
...
1
vote
1
answer
35
views
0 balance after token swap
Need some help with my recent transaction. After swapping some bnb for a token, the balance appeared for a short period of time in my wallet but then it started showing it as if I have 0 of that token....
0
votes
1
answer
33
views
How to know which smart contract have same wallet address as contract owner?
Is is possible to find out which smart contract transferred ownership to a same wallet address (different from the contract created owner) on Etherscan / Bscscan?
Let say i only have a targeted wallet ...
0
votes
2
answers
31
views
I bought a token the amount appear in bscscan but not in pancakeswap
0
I bought a token; the token amount appears on bscscan.com but not in the pancakeswap.
The token has a 100/100 rate on the token sniffer website.
this link is the token contract: https://bscscan.com/...
0
votes
0
answers
19
views
Discrepancy in BscScan Inward Transaction Listing - Need Insights
Hello Ethereum community,
I'm facing an odd issue with BscScan, and while I understand it's primarily for Binance Smart Chain, I believe many of the principles carry over from Ethereum, and the ...
0
votes
0
answers
7
views
Problem with veryfing contract
Hi I had my smart contract previously deployed and verified. However mythril warned me of floating pragma so I changed version explicitly to
pragma solidity 0.8.1;
I deployed it tot testnet using ...
1
vote
1
answer
15
views
Why would Bscscan not recognize deployed contract as a contract?
Deployed ICHIVault contract on Bsc: 0xE4CfCC79F760eD63f35Ec58a9d1fbE084DdE5C22
The contract is working, I am able to run various transactions using scripts and ABI. But it isn't recognized as being a ...
0
votes
0
answers
25
views
Explain Validate Transaction Proof Method Parameters
This is url of a transaction on bscscan.
I want to simulate this transaction with web3.py. In "Input Data", I don't understand value "...
0
votes
1
answer
64
views
Hi all! I have got a problem with verification of the contract on BSCScan ! Can some one explain me the problem please?
ParserError: Source "@openzeppelin/[email protected]/token/ERC20/ERC20.sol" not found: File import callback not supported
--> myc:4:1:
|
4 | import "@openzeppelin/[email protected]/token/...
0
votes
0
answers
8
views
stuck transaction
I made a Gnosis wallet with some friends and basically what ended up happening was that we accidently sent a txn via the eth network to our wallet instead of sending the funds thru BSC network. We ...
0
votes
0
answers
14
views
How to register 'abi-encoded' in bscScan? (noob)
I made a token with '.sol' through 'Remix'.
After that, I copied my token abi, pasted it to 'https://abi.hashex.org/' , and checked the construction function, and it was empty.
What is the '...
0
votes
0
answers
54
views
Bscscan Verification Error
https://bscscan.com/address/0xd9fe39eb244f5516613d1ee1c76cddbe473085fd#code
Although my TokenFactoryDef contract is verified, the contracts created under it are unverified and I cannot verify it ...
0
votes
0
answers
35
views
BSC Wallet hacked. Sweeper in my wallet [duplicate]
new here!
Recently my seeds were compromised/stolen (maybe a suspicious download). I have some blocked tokens linked to my wallet. Whenever I transfer some Token, the sweeper transfers it to the ...
1
vote
1
answer
33
views
Wrong amount of transferred Babydoge BEP20 tokens when calling transfer()
I could create a transaction on bep20 using web3.js
The result of my transaction is here:
https://bscscan.com/tx/0xbe21da71e975cb1b092fc7838e9885704dc676b80f4decd089854f9759c1d633
The amount of asset ...
0
votes
0
answers
48
views
ERC20 token stolen from smart contract
I created two tokens on bscscan and also created a smart contract for staking and swapping these tokens but someone called the swapping function and stole tokens from here and transferred to another ...
0
votes
0
answers
93
views
bscscan "BEP-20 Token Transfer Events" API unreliable?
Running on python 3.10, web3 v5.31.10
I am using the BEP-20 Token Transfer Events API endpoint from bscscan for a project.
However, during testing, I am noticing the API has been giving incorrect ...
0
votes
0
answers
39
views
How to get verified USDT transactions from Bsc (Binance Smart Chain)
How to get verified USDT transactions from Bsc (Binance Smart Chain) for specific address without 3rd party library? (eg directly using the bscscan api or similar)
1
vote
1
answer
67
views
How can I query the transaction number of a liquidity pool in PancakeSwap?
I want to query the transaction numbers of the liquidity pools of PancakeSwap and so that decide which 10000 of them are the most active ones (there are 1.2M). How can I do this using Ethers.js or ...
0
votes
0
answers
192
views
"Exploit", "Heist" address tags LIST DATASET provided by Etherscan
Previously, the Etherscan provides us with a LIST of "Exploit" and "Heist" addresses and transactions. However, this is not the case now. We can ONLY see the address one-by-one, to ...
2
votes
0
answers
652
views
BSC Public RPC Nodes limit per seconds
Using web3.js with any of public RPC Nodes I often get "Error: Returned error: limit exceeded" on getPastEvents. What is limit in this case? Did I exceed API request limit, or is it ...
0
votes
1
answer
529
views
Get transactions by block for BSC
is there an API where I can query all transactions for a specific block for BSC? Alternatively, is there any other way to do it without running a node? Thanks
1
vote
1
answer
30
views
Bscscan api wrong check verified contract result
This contract here :
https://bscscan.com/address/0xfbD2aa7efA2B46Ce3c58D7ab0D92C176c71499C0
Is verified obviously, when making an api call tk check if it is verified or not, this is the returned ...
1
vote
1
answer
300
views
How to predict if a transaction will succeed or fail while its in mempool?
I am working on frontrunning code for bot.
The script found some target transaction as victim for frontrunning but this transaction mostly fails.
So is there any way we can predict if a transaction is ...
0
votes
1
answer
99
views
Read functions do not appear in a verified contract
I have developed a contract that deploys another contract (without params in the constructor). The idea is to have the first contract (Platform) as a common storage contract and use the second ...
0
votes
0
answers
59
views
What is the name of this kind of contract?
Im new to this. I am just wondering whats the name/type of this smart contract?
Its on Binance smart chain network. 0x00000000002764f05A072dF5D7A67C852c6B1762 that is the contract.
From my ...
0
votes
0
answers
136
views
Why WBNB balance does not appear in bscscan?
I'm playing with WBNB, and when I make a deposit of BNB to WBNB Smart Contract I receive the same amount of WBNB to my wallet (I can see it in Metamask). Everything it's Ok.
The problem is that when I ...
0
votes
0
answers
351
views
Fail with error 'TransferHelper: TRANSFER_FROM_FAILED'
I'm trying to swap a BNB for BUSD using pancake swap and quick nodes but I am getting a error when doing the swap.
https://bscscan.com/tx/...
0
votes
1
answer
212
views
Token holders not showing on mainnet
I got a problem which i can’t understand the reason.
Made a erc20 token, and deployed on testnet
Here everything goes fine and work as expected,
But when i deployed it on mainnet, the block explorer ...
1
vote
1
answer
369
views
How to find a pancake pair creation date using web3 library?
For eg, in the PancakePair of CAKE/WBNB, the creator's address and transaction hash of the contact creation (which contains the timestamp of the pair's creation) can be found on the top right of this ...
0
votes
1
answer
121
views
approve contract in wbnb
I deployed a contract on the bsc network to execute functions on the blockchain then I approved my contract at the wbnb address to make purchases and/or sales from the contract.
What am I allowing ...
1
vote
1
answer
546
views
How fast are liquidation bots?
Wondering how liquidation bots work in general in terms of looking for possible liquidations.
Was trying to monitor some unhealthy addresses on Venus BSC with Comptroller.getAccountLiquidity() ...
0
votes
1
answer
50
views
Solidity 0.8.7, warning on compiler
how do I debug this so the compiler isn't showing any warnings? or is there nothing wrong with it
from solidity:
Warning: Function state mutability can be restricted to view
--> FireworkToken.sol:...
2
votes
1
answer
559
views
How can I download the latest BSC block using python?
I've tried looking for API's to download that latest block but I can't find anything for BSC. So far the best I can do is browsing to BSCscan.com/blocks, and maybe using curl but I'm sure someone ...
0
votes
1
answer
164
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
1
answer
455
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/...
1
vote
2
answers
190
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 ...
1
vote
0
answers
188
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
2
answers
238
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
2
answers
482
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/...
1
vote
0
answers
129
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
1
answer
125
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
2k
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
1
answer
404
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
1
answer
32
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
196
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
941
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
1k
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
201
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 ...