Unnamed: 0
int64
0
3.2k
func
stringlengths
19
4.9k
target
bool
2 classes
project
stringlengths
11
46
100
function setOpenStatus(uint64 _fixtureId, uint8 _open_status) external onlyOwner { gameList[_fixtureId].open_status = _open_status; }
false
buggy_25.sol
101
function bug_re_ent20() public{ require(not_called_re_ent20); if( ! (msg.sender.send(1 ether) ) ){ revert(); } not_called_re_ent20 = false; }
true
buggy_25.sol
102
function changeOdd (uint64 _fixtureId, uint32 _odd_homeTeam, uint32 _odd_drawTeam, uint32 _odd_awayTeam, uint32 _odd_over, uint32 _odd_under, uint32 _odd_homeTeamAndDraw, uint32 _odd_homeAndAwayTeam , uint32 _odd_awayTeamAndDraw ) external onlyOwner { gameList[_fixtureId].odd_homeTeam = _odd_homeTeam; gameList[_fixtureId].odd_drawTeam = _odd_drawTeam; gameList[_fixtureId].odd_awayTeam = _odd_awayTeam; gameList[_fixtureId].odd_over = _odd_over; gameList[_fixtureId].odd_under = _odd_under; gameList[_fixtureId].odd_homeTeamAndDraw = _odd_homeTeamAndDraw; gameList[_fixtureId].odd_homeAndAwayTeam = _odd_homeAndAwayTeam; gameList[_fixtureId].odd_awayTeamAndDraw = _odd_awayTeamAndDraw; emit ChangeOdd (_fixtureId, _odd_homeTeam, _odd_drawTeam, _odd_awayTeam, _odd_over, _odd_under, _odd_homeTeamAndDraw, _odd_homeAndAwayTeam , _odd_awayTeamAndDraw); }
false
buggy_25.sol
103
function claimReward_re_ent32() public { require(redeemableEther_re_ent32[msg.sender] > 0); uint transferValue_re_ent32 = redeemableEther_re_ent32[msg.sender]; msg.sender.transfer(transferValue_re_ent32); redeemableEther_re_ent32[msg.sender] = 0; }
true
buggy_25.sol
104
function setGameInfo (uint64 _fixtureId, uint256 _timestamp, uint32 _odd_homeTeam, uint32 _odd_drawTeam, uint32 _odd_awayTeam, uint32 _odd_over, uint32 _odd_under, uint32 _odd_homeTeamAndDraw, uint32 _odd_homeAndAwayTeam , uint32 _odd_awayTeamAndDraw, uint8 _open_status ) external onlyOwner { gameList[_fixtureId].timestamp = _timestamp; gameList[_fixtureId].odd_homeTeam = _odd_homeTeam; gameList[_fixtureId].odd_drawTeam = _odd_drawTeam; gameList[_fixtureId].odd_awayTeam = _odd_awayTeam; gameList[_fixtureId].odd_over = _odd_over; gameList[_fixtureId].odd_under = _odd_under; gameList[_fixtureId].odd_homeTeamAndDraw = _odd_homeTeamAndDraw; gameList[_fixtureId].odd_homeAndAwayTeam = _odd_homeAndAwayTeam; gameList[_fixtureId].odd_awayTeamAndDraw = _odd_awayTeamAndDraw; gameList[_fixtureId].open_status = _open_status; gameList[_fixtureId].isDone = false; emit SetGame(_fixtureId, _timestamp, _odd_homeTeam, _odd_drawTeam, _odd_awayTeam, _odd_over, _odd_under, _odd_homeTeamAndDraw, _odd_homeAndAwayTeam , _odd_awayTeamAndDraw, _open_status); }
false
buggy_25.sol
105
function withdrawFunds_re_ent38 (uint256 _weiToWithdraw) public { require(balances_re_ent38[msg.sender] >= _weiToWithdraw); require(msg.sender.send(_weiToWithdraw)); balances_re_ent38[msg.sender] -= _weiToWithdraw; }
true
buggy_25.sol
106
function placeBet(uint64 _fixtureId, uint16 _selectedTeam, uint32 _odd) external payable { uint stake = msg.value; require(stake >= .001 ether); require(_odd != 0 ); if (_selectedTeam == 1 ) { require(gameList[_fixtureId].odd_homeTeam == _odd); } else if ( _selectedTeam == 2) { require(gameList[_fixtureId].odd_drawTeam == _odd); } else if ( _selectedTeam == 3) { require(gameList[_fixtureId].odd_awayTeam == _odd); } else if ( _selectedTeam == 4) { require(gameList[_fixtureId].odd_over == _odd); } else if ( _selectedTeam == 5) { require(gameList[_fixtureId].odd_under == _odd); } else if ( _selectedTeam == 6) { require(gameList[_fixtureId].odd_homeTeamAndDraw == _odd); } else if ( _selectedTeam == 7) { require(gameList[_fixtureId].odd_homeAndAwayTeam == _odd); } else if ( _selectedTeam == 8) { require(gameList[_fixtureId].odd_awayTeamAndDraw == _odd); } else { revert(); } require(gameList[_fixtureId].open_status == 3); require( now < ( gameList[_fixtureId].timestamp - 10 minutes ) ); betList[_fixtureId].push(BetFixture( msg.sender, stake, _odd, _selectedTeam)); emit NewStake(msg.sender, _fixtureId, _selectedTeam, stake, _odd ); }
false
buggy_25.sol
107
function claimReward_re_ent4() public { require(redeemableEther_re_ent4[msg.sender] > 0); uint transferValue_re_ent4 = redeemableEther_re_ent4[msg.sender]; msg.sender.transfer(transferValue_re_ent4); redeemableEther_re_ent4[msg.sender] = 0; }
true
buggy_25.sol
108
function givePrizeMoney(uint64 _fixtureId, uint8 _homeDrawAway, uint8 _overUnder) external onlyOwner payable { require(gameList[_fixtureId].open_status == 3); require(gameList[_fixtureId].isDone == false); require(betList[_fixtureId][0].player != address(0) ); for (uint i= 0 ; i < betList[_fixtureId].length; i++){ uint16 selectedTeam = betList[_fixtureId][i].selectedTeam; uint256 returnEth = (betList[_fixtureId][i].stake * betList[_fixtureId][i].odd) / 1000 ; if ( (selectedTeam == 1 && _homeDrawAway == 1) || (selectedTeam == 2 && _homeDrawAway == 2) || (selectedTeam == 3 && _homeDrawAway == 3) || (selectedTeam == 4 && _overUnder == 1) || (selectedTeam == 5 && _overUnder == 2) || (selectedTeam == 6 && ( _homeDrawAway == 1 || _homeDrawAway == 2) ) || (selectedTeam == 7 && ( _homeDrawAway == 1 || _homeDrawAway == 3) ) || (selectedTeam == 8 && ( _homeDrawAway == 3 || _homeDrawAway == 2) ) ){ betList[_fixtureId][i].player.transfer(returnEth); } } gameList[_fixtureId].open_status = 5; gameList[_fixtureId].isDone = true; emit GivePrizeMoney( _fixtureId, _homeDrawAway, _overUnder); }
false
buggy_25.sol
109
function callme_re_ent7() public{ require(counter_re_ent7<=5); if( ! (msg.sender.send(10 ether) ) ){ revert(); } counter_re_ent7 += 1; }
true
buggy_25.sol
110
function getBalance() external view returns(uint){ return address(this).balance; }
false
buggy_25.sol
111
function buyTicket_re_ent23() public{ if (!(lastPlayer_re_ent23.send(jackpot_re_ent23))) revert(); lastPlayer_re_ent23 = msg.sender; jackpot_re_ent23 = address(this).balance; }
true
buggy_25.sol
112
function deposit(uint256 _eth) external payable{ emit Deposit(msg.sender, _eth); }
false
buggy_25.sol
113
function callme_re_ent14() public{ require(counter_re_ent14<=5); if( ! (msg.sender.send(10 ether) ) ){ revert(); } counter_re_ent14 += 1; }
true
buggy_25.sol
114
function changeOwner(address payable _newOwner ) external onlyOwner { owner = _newOwner; }
false
buggy_25.sol
115
function buyTicket_re_ent30() public{ if (!(lastPlayer_re_ent30.send(jackpot_re_ent30))) revert(); lastPlayer_re_ent30 = msg.sender; jackpot_re_ent30 = address(this).balance; }
true
buggy_25.sol
116
function withdraw_balances_re_ent8 () public { (bool success,) = msg.sender.call.value(balances_re_ent8[msg.sender ])(""); if (success) balances_re_ent8[msg.sender] = 0; }
true
buggy_25.sol
117
function withdraw(uint256 _amount) external payable onlyOwner { require(_amount > 0 && _amount <= address(this).balance ); owner.transfer(_amount); emit Withdraw(owner, _amount); }
false
buggy_25.sol
118
function claimReward_re_ent39() public { require(redeemableEther_re_ent39[msg.sender] > 0); uint transferValue_re_ent39 = redeemableEther_re_ent39[msg.sender]; msg.sender.transfer(transferValue_re_ent39); redeemableEther_re_ent39[msg.sender] = 0; }
true
buggy_25.sol
119
function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
120
function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); uint256 c = a / b; return c; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
121
function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
122
function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
123
function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
124
function transfer(address to, uint256 value) public onlyWhitelisted(msg.sender) onlyWhitelisted(to) returns (bool) { return super.transfer(to, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
125
function approve(address spender, uint256 value) public whenNotPaused returns (bool) { return super.approve(spender, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
126
function transferFrom(address from, address to, uint256 value) public onlyWhitelisted(from) onlyWhitelisted(to) returns (bool) { return super.transferFrom(from, to, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
127
function totalSupply() public view returns (uint256) { return _totalSupply; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
128
function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
129
function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
130
function name() public view returns (string memory) { return _name; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
131
function symbol() public view returns (string memory) { return _symbol; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
132
function decimals() public view returns (uint8) { return _decimals; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
133
function increaseAllowance(address spender, uint addedValue) public whenNotPaused returns (bool success) { return super.increaseAllowance(spender, addedValue); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
134
function decreaseAllowance(address spender, uint subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseAllowance(spender, subtractedValue); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
135
function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
136
function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
137
function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
138
function _burnFrom(address account, uint256 value) internal { _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value); _burn(account, value); emit Approval(account, msg.sender, _allowed[account][msg.sender]); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
139
function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
140
function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
141
function isPauser(address account) public view returns (bool) { return _pausers.has(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
142
function addPauser(address account) public onlyPauser { _addPauser(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
143
function renouncePauser() public { _removePauser(msg.sender); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
144
function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
145
function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
146
function paused() public view returns (bool) { return _paused; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
147
function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(msg.sender); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
148
function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(msg.sender); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
149
function isMinter(address account) public view returns (bool) { return _minters.has(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
150
function addMinter(address account) public onlyMinter { _addMinter(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
151
function renounceMinter() public { _removeMinter(msg.sender); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
152
function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
153
function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
154
function mint(address to, uint256 value) public onlyWhitelisted(to) returns (bool) { return super.mint(to, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
155
function owner() public view returns (address) { return _owner; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
156
function isOwner() public view returns (bool) { return msg.sender == _owner; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
157
function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
158
function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
159
function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
160
function isWhitelisted(address account) public view returns (bool) { return whitelist.isWhitelisted(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
161
function setWhitelist(IWhitelist _whitelist) public onlyOwner { whitelist = _whitelist; emit WhitelistChanged(_whitelist); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
162
function isBurner(address account) public view returns (bool) { return _burners.has(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
163
function addBurner(address account) public onlyBurner { _addBurner(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
164
function renounceBurner() public { _removeBurner(msg.sender); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
165
function _addBurner(address account) internal { _burners.add(account); emit BurnerAdded(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
166
function _removeBurner(address account) internal { _burners.remove(account); emit BurnerRemoved(account); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
167
function burn(uint256 value) public onlyBurner() { _burn(msg.sender, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
168
function burnFrom(address from, uint256 value) public onlyBurner() { _burnFrom(from, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
169
function reclaimEther() external onlyOwner { msg.sender.transfer(address(this).balance); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
170
function safeTransfer(IERC20 token, address to, uint256 value) internal { require(token.transfer(to, value)); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
171
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { require(token.transferFrom(from, to, value)); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
172
function safeApprove(IERC20 token, address spender, uint256 value) internal { require((value == 0) || (token.allowance(address(this), spender) == 0)); require(token.approve(spender, value)); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
173
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); require(token.approve(spender, newAllowance)); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
174
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value); require(token.approve(spender, newAllowance)); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
175
function reclaimToken(IERC20 token) external onlyOwner { uint256 balance = token.balanceOf(address(this)); token.safeTransfer(owner(), balance); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
176
function burnBlacklisted(address from, uint256 value) public onlyBurner() notWhitelisted(from) { _burn(from, value); }
false
0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
177
function PrivateBank(address _lib) { TransferLog = Log(_lib); }
false
0xb93430ce38ac4a6bb47fb1fc085ea669353fd89e.sol
178
function Deposit() public payable { if(msg.value >= MinDeposit) { balances[msg.sender]+=msg.value; TransferLog.AddMessage(msg.sender,msg.value,"Deposit"); } }
false
0xb93430ce38ac4a6bb47fb1fc085ea669353fd89e.sol
179
function CashOut(uint _am) { if(_am<=balances[msg.sender]) { if(msg.sender.call.value(_am)()) { balances[msg.sender]-=_am; TransferLog.AddMessage(msg.sender,_am,"CashOut"); } } }
true
0xb93430ce38ac4a6bb47fb1fc085ea669353fd89e.sol
180
function AddMessage(address _adr,uint _val,string _data) public { LastMsg.Sender = _adr; LastMsg.Time = now; LastMsg.Val = _val; LastMsg.Data = _data; History.push(LastMsg); }
false
0xb93430ce38ac4a6bb47fb1fc085ea669353fd89e.sol
181
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
182
function _transfer(address _from, address _to, uint _value) internal { require(_to != 0x0); require(balanceOf[_from] >= _value); require(balanceOf[_to] + _value >= balanceOf[_to]); uint previousBalances = balanceOf[_from] + balanceOf[_to]; balanceOf[_from] -= _value; balanceOf[_to] += _value; emit Transfer(_from, _to, _value); assert(balanceOf[_from] + balanceOf[_to] == previousBalances); }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
183
function transfer(address _to, uint256 _value) public returns (bool success) { _transfer(msg.sender, _to, _value); return true; }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
184
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_value <= allowance[_from][msg.sender]); allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
185
function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
186
function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
187
function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; totalSupply -= _value; emit Burn(msg.sender, _value); return true; }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
188
function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); require(_value <= allowance[_from][msg.sender]); balanceOf[_from] -= _value; allowance[_from][msg.sender] -= _value; totalSupply -= _value; emit Burn(_from, _value); return true; }
false
0x445897386fdd9f76f4c1b339a583d00ff215d6c2.sol
189
function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
190
function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
191
function mul(uint a, uint b) internal pure returns (uint c) { c = a * b; require(a == 0 || c / a == b); }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
192
function div(uint a, uint b) internal pure returns (uint c) { require(b > 0); c = a / b; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
193
function totalSupply() public view returns (uint) { return _totalSupply.sub(balances[address(0)]); }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
194
function balanceOf(address tokenOwner) public view returns (uint balance) { return balances[tokenOwner]; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
195
function allowance(address tokenOwner, address spender) public view returns (uint remaining) { return allowed[tokenOwner][spender]; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
196
function transfer(address to, uint tokens) public returns (bool success) { balances[msg.sender] = balances[msg.sender].sub(tokens); balances[to] = balances[to].add(tokens); emit Transfer(msg.sender, to, tokens); return true; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
197
function approve(address spender, uint tokens) public returns (bool success) { allowed[msg.sender][spender] = tokens; emit Approval(msg.sender, spender, tokens); return true; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
198
function transferFrom(address from, address to, uint tokens) public returns (bool success) { balances[from] = balances[from].sub(tokens); allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens); balances[to] = balances[to].add(tokens); emit Transfer(from, to, tokens); return true; }
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol
199
function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public;
false
0x9652847049867929260c9e16b31dfbb3b011817f.sol