I'm new to creating cryptos and doing all the programming of it.
Recently I came across a very suspicious token called BEAR
that might be a Honeypot scam.
Here's the function I don't understand and has been used only a few times in all the cryptos contracts codes:
contract BEAR is TokenERC20 {
function clearCNDAO() public onlyOwner() {
address payable _owner = msg.sender;
_owner.transfer(address(this).balance);
}
Here's the full source code (link)
I was able to track down multiple different coins using this function and all of them have a lot of signs of being a honeypot scam. Here's an example of that (link)
Could anyone confirm my suspicion or explain what the mentioned function does? Thanks in advance!
transfernewun
.