Someone sent bnb to my smart contract instead of pancakeswap swapping. (He is a newbie)

Is there anyway to retrieve that bnb?

(Note I don't have a function defined in smart contract which can transfer bnb to an account.)

Jul 8, 2021, 1:25 PM
no
send link
Jul 8, 2021, 1:31 PM
The contract would need a fallback function to receive BNB in the first place
so there must be something the contract will do with the BNB
Jul 8, 2021, 1:32 PM
99% I think safemoon clone
Jul 8, 2021, 1:33 PM
I don't even get why safemoon is cloned
its code is shit, it looks like its made from someone with 1 days worth of experience
Jul 8, 2021, 1:38 PM
they copied RFI
Jul 8, 2021, 1:38 PM
the creator probs only had 1 days worth of experience
Jul 8, 2021, 1:39 PM
did you check max tx amount?
and did you turned off swapandliquify?
send link
this must be False
but I saw you renounced ownership
Jul 8, 2021, 1:58 PM
So, this is what makes it impossible?
Jul 8, 2021, 2:01 PM
yes
no
are youreading my messages?
Jul 8, 2021, 2:01 PM
ya
gas limit to high
Jul 8, 2021, 2:04 PM
of course
you are not owner
Jul 8, 2021, 2:08 PM
mine is set to false
still can't liquidate
Jul 8, 2021, 2:10 PM
and max amount?
Jul 8, 2021, 2:11 PM
what should it be set to?
Jul 8, 2021, 2:12 PM
total supply
Jul 8, 2021, 2:13 PM
gotchu
Jul 8, 2021, 2:14 PM
ok very thanks sir 👍
Jul 8, 2021, 2:15 PM
yeah seriously. thanks man!
Jul 8, 2021, 2:23 PM
😝😝
are you asking me?
Jul 8, 2021, 2:31 PM
after you get the basics done, you'll just learn by reading other contracts
Jul 8, 2021, 2:39 PM

© 2024 Draquery.com All rights reserved.