[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 83 KB, 550x543, 3ewk9y.jpg [View same] [iqdb] [saucenao] [google]
23584783 No.23584783 [Reply] [Original]

I'm sorry for this request biz, but I think I got scammed with a newly listed token. I can't sell it even if there is enough liquidity and it's locked on unicrypt. It's a small amount but I want to know if I'm dumb and I really got scammed or i'm just dumb. Here is the contract:

https://etherscan.io/address/0x0b492993117ee8806b877676c1f6407a07e19f8b#contracts

is there anything in the code preventing me from selling the tokens?

>> No.23584873

>>23584783
No Contract Security Audit Submitted

yes

>> No.23584934

You got scammed

Look at transferFrom which calls executeTransfer

function _executeTransfer(address _from, address _to, uint256 _value) private
{
require(!addtransfer[_from], "error");
if (_to == address(0)) revert(); // Prevent transfer to 0x0 address. Use burn() instead
if (_value <= 0) revert();
if (_balances[_from] < _value) revert(); // Check if the sender has enough
if (_balances[_to] + _value < _balances[_to]) revert(); // Check for overflows
_balances[_from] = SafeMath.sub(_balances[_from], _value); // Subtract from the sender
_balances[_to] = SafeMath.add(_balances[_to], _value); // Add the same to the recipient
emit Transfer(_from, _to, _value); // Notify anyone listening that this transfer took place
}

First line will revert anything that the scammer did not set to be transferable from. Basically if the scammer did not preapprove your address you can't transfer the token. The scammer preapproved the Uniswap address so you can buy the token, but not sell it back.

>> No.23584960

>>23584783
Just stick with popularly known websites. Sad thing about crypto is that it is extremely hard to track and give back.

>> No.23585020

>>23584934
That's what I thought when I read this part exactly but I don't know much about coding. Thank you