prompt
stringlengths
290
20.4k
response
dict
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BALANCE CREATE LOG3 BL...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract FairExchange{\n function balanceOf(address _customerAddress) public view returns(uint256);\n function myTokens() public view returns(uint256);\n function transfer(address _toAddress, uint256 _amountOfTokens) public returns(bool)...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 DELEGATECALL CALLVALUE BLOCK_END and find the main potential vul...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract PCKevents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN MSTORE CALLDATALOAD JUMPI JUMPI JUMP BLOCK_END [B3] BLOCK_STAR...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.4;\n\ncontract Owned {\n\n address public owner;\n\n function Owned() { owner = msg.sender; }\n\n function delegate(address _owner) onlyOwner\n { owner = _owner; }\n\n modifier onlyOwner { if (msg.sender != owner) throw; _; }\n}\n\ncontra...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMP...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract Engine {\n uint256 public VERSION;\n string public VERSION_NAME;\n\n enum Status { initial, lent, paid, destroyed }\n struct Approbation {\n bool approved;\n bytes data;\n bytes32 checksum;\n }\n\n ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI BLOCK_END [B3] B...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\ncontract Caller {\n function callAddress(address a) {\n a.call();\n }\n}" }
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD SLOAD SSTORE RETURN STOP MST...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.22;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure re...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract DSAuthority {\n function canCall(\n address src, address dst, bytes4 sig\n ) public view returns (bool);\n}\n\ncontract DSAuthEvents {\n event LogSetAuthority (address indexed authority);\n event LogSetOwner (addre...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ninterface ERC20 {\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n function allowance(address owner, address spender) public view returns (uint256);\n fun...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE SLOAD JUMP...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\n\ncontract ERC20Token {\n function transfer(address to, uint tokens) public returns (bool success);\n function transferFrom(address from, address to, uint256 tokens) public returns (bool success);\n}\n\ncontract SimplePHXExchange {\n\n uin...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract Owned {\n\n address public owner;\n address public newOwnerCandidate;\n\n event OwnershipRequested(address indexed by, address indexed to);\n event OwnershipTransferred(address indexed from, address indexed to);\n event Ow...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SLOAD SSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B2] BLOCK_START JUMPDEST BLOCK_END [B...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.6;\n\ncontract RSPLT_H {\n event StatEvent(string msg);\n event StatEventI(string msg, uint val);\n\n enum SettingStateValue {debug, locked}\n\n struct partnerAccount {\n uint credited;\n uint b...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCES...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract Ownable {\n address private _owner;\n\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() internal {\n _owner = msg.sender;\n emit OwnershipTransferred(address(...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTOR...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI REVERT BLOCK_END...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract ERC20Interface {\n function totalSupply() public constant returns (uint);\n function balanceOf(address tokenOwner) public constant returns (uint balance);\n function allowance(address tokenOwner, address spender) public constant...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ...
{ "vulnerability": "reentrancy", "code": "contract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeDiv(uint a, uint b) internal returns (uint) {\n assert(b > 0);\n uint c = a / b;\n assert...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {\n if (_a == 0) {\n return 0;\n }\n\n uint256 c = _a * _b;\n require(c / _a == _b);\n\n return c;\n }...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) i...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVE...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ninterface HDX20Interface\n{\n function() payable external;\n\n function buyTokenFromGame( address _customerAddress , address _referrer_address ) payable external returns(uint256);\n\n function payWithToken( uint256 _eth , address _player...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD BLOCK_END [B2] BLOCK_START JUMPDEST...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract ERC20Token {\n\n function totalSupply() constant returns (uint256 balance);\n\n function balanceOf(address _owner) constant returns (uint256 balance);\n\n function transfer(address _to, uint256 _value) returns (bool success);\n\n fun...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 LOG3 STOP BLOCK_END and find the main potential vulnerability th...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN MSTORE CALLDATALOAD JUMPI JUMPI JUMPI JUMPI J...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.4;\n\ncontract Token {\n function transfer(address _to, uint _value) returns (bool);\n function balanceOf(address owner) returns(uint);\n}\n\ncontract Owned {\n address public owner;\n\n function Owned() {\n owner = msg.sender;\n }...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\n\nlibrary SafeMath {\n\tfunction mul(uint256 a, uint256 b) internal pure returns (uint256) {\n\t\tif (a == 0) {\n\t\t\treturn 0;\n\t\t}\n\t\tuint256 c = a * b;\n\t\tassert(c / a == b);\n\t\treturn c;\n\t}\n\n\tfunction div(uint256 a, uint256 b) int...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.15;\n\ncontract BTCRelay {\n function getLastBlockHeight() public returns (int);\n function getBlockchainHead() public returns (int);\n function getFeeAmount(int blockHash) public returns (int);\n function getBlockHeader(int blockHash) publi...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 CALL BLOCK_END and find the main potential vulnerability that th...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.send...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTOR...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n constructor() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n req...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST J...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.13;\n\ncontract Base {\n\n modifier only(address allowed) {\n require(msg.sender == allowed);\n _;\n }\n\n uint private bitlocks = 0;\n modifier noReentrancy(uint m) {\n var _locks = bitlocks;\n require(_locks & m...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD BLOCK_END [B2] BLOCK_START JUMPDEST BLOCK_END [B3] B...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract DSNote {\n event LogNote(\n bytes4 indexed sig,\n address indexed guy,\n bytes32 indexed foo,\n bytes32 indexed bar,\n uint\t \t wad,\n bytes fax\n ) anonymous;\n\n modifier note {\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI J...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract TokenController {\n\n function proxyPayment(address _owner) public payable returns(bool);\n\n function onTransfer(address _from, address _to, uint _amount) public returns(bool);\n\n function onApprove(address _owner, address _sp...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract EthRoll {\n\n uint constant HOUSE_EDGE_PERCENT = 15;\n uint constant HOUSE_EDGE_MINIMUM_AMOUNT = 0.00045 ether;\n\n uint constant MIN_JACKPOT_BET = 0.1 ether;\n\n uint constant JACKPOT_MODULO = 1000;\n uint constant JACKPO...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI J...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract ERC20 {\n function totalSupply() public view returns (uint);\n function decimals() public view returns (uint);\n function balanceOf(address tokenOwner) public view returns (uint balance);\n function allowance(address tokenOwn...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI JUMPI BLOCK_END [B3] BLOCK_START ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\npragma solidity ^0.4.0;\n\ncontract OraclizeI {\n address public cbAddress;\n function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id);\n function query_withGasLimit(uint _timestamp, string _datasour...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD CREATE JUMPI REVERT BLOCK_END [B2|CALLVALUE_C...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.13;\n\ncontract ERC20 {\n function transfer(address _to, uint256 _value) returns (bool success);\n function balanceOf(address _owner) constant returns (uint256 balance);\n}\n\ncontract ICOBuyer {\n\n address public developer = 0xF23B127Ff5a6a8b60CC4c...
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 SSTORE RETURN CALLDATA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract FOMOEvents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliat...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTOR...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.13;\n\ncontract KittenCoin {\n function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {}\n function allowance(address owner, address spender) public constant returns (uint256) {}\n}\n\ncontract KittenSale {\n Ki...
Give me the source code of the following ethereum smart contract opcode: [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE RETURN MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER CALLVALUE MLOAD MSTORE MS...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.2;\n\ncontract token { mapping (address => uint256) public balanceOf; }\n\ncontract owned {\n address public owner;\n\n function owned() {\n owner = msg.sender;\n }\n\n modifier onlyOwner {\n if (msg.sender != owner) throw;\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE CALLER MLOAD MLOAD LOG2 RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ncontract DSAuthority {\n function canCall(\n address src, address dst, bytes4 sig\n ) public view returns (bool);\n}\n\ncontract DSAuthEvents {\n event LogSetAuthority (address indexed authority);\n event LogSetOwner (addre...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n\n if (a == 0) {\n return 0;\n }\n\n uint256 c = a * b;\n require(c / a == b);\n\n return c;\n }\n\n function div(uint256 a, uint2...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.16;\n\ncontract ERC20Interface {\n function totalSupply() public constant returns (uint256);\n function balanceOf(address owner) public constant returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n funct...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD JUMP ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ncontract iTinyTokenPreSale {\n using SafeMath for uint256;\n\n iTinyToken public token;\n MiniMeTokenFactory public tokenFactory;\n\n address public beneficiary;\n uint256 public amountRaised;\n uint256 public bonus;\n\n uint...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD MLOAD MLOAD BLOCK...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.9;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SSTORE SSTORE SSTORE SLOA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal returns (uint256) {\n\n uint2...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI BLOCK_END [B...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract ERC20Token {\n function balanceOf(address _who) constant returns (uint balance);\n function allowance(address _owner, address _spender) constant returns (uint remaining);\n function transferFrom(address _from, address _to, uint _value...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\n\ncontract RealEstateCryptoFund {\n function transfer(address to, uint256 value) public returns (bool);\n function balanceOf(address who) public constant returns (uint256);\n}\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTra...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI MLOAD MSTORE MLOAD MLOAD MLOAD BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE SSTORE SLOAD SSTORE BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL J...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.8;\n\ncontract ERC20 {\n function totalSupply() constant returns (uint);\n function balanceOf(address who) constant returns (uint);\n function allowance(address owner, address spender) constant returns (uint);\n\n function transfer(address to, uint ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JU...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.9;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) i...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATAL...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) i...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END [...
{ "vulnerability": "reentrancy", "code": "pragma solidity 0.4.25;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256 c) {\n if(a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(ui...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JU...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract PrivateBank\n{\n mapping (address => uint) balances;\n\n function GetBal()\n public\n constant\n returns(uint)\n {\n return balances[msg.sender];\n }\n\n uint public MinDeposit = 1 ether;\n\n Log Transfe...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SST...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n function add(uint a, uint b) internal pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function sub(uint a, uint b) internal pure returns (uint c) {\n require(b <= a);\n c = a...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ninterface HDX20Interface\n{\n function() payable external;\n\n function buyTokenFromGame( address _customerAddress , address _referrer_address ) payable external returns(uint256);\n\n function payWithToken( uint256 _eth , address _player...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B3] BLOCK_START JUMPDES...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\nlibrary Math {\n function max64(uint64 a, uint64 b) internal constant returns (uint64) {\n return a >= b ? a : b;\n }\n\n function min64(uint64 a, uint64 b) internal constant returns (uint64) {\n return a < b ? a : b;\n }\n\n function ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 LOG1 STOP BLOCK_END and find the main potential vulnerability th...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SLOAD...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ncontract FundingInputGeneral {\n\n bool public initialized = false;\n uint8 public typeId = 0;\n address public FundingAssetAddress;\n address public deployer;\n\n event EventInputPaymentReceived(address sender, uint amount, uint8 ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 RETURN BLOCK_END and find the main potential vulnerability that ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI BLOCK_END [B2] BLOCK_START BLOCK_...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract TokenController {\n\n function proxyPayment(address _owner) payable returns(bool);\n\n function onTransfer(address _from, address _to, uint _amount) returns(bool);\n\n function onApprove(address _owner, address _spender, uint _a...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|TX_ORIGIN_AUTH|INTEGER_OVERFLOW|ACCESS_CONTROL] BL...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n assert(b <= a);\n return a - b;\n }\n\n function add(uint256 a, uint256 b) internal pure returns (uint256 c) {\n c = a + b;\n assert(c >=...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B3] BLOCK_START JUMPDES...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\npragma solidity ^0.4.11;\n\nlibrary Math {\n function max64(uint64 a, uint64 b) internal constant returns (uint64) {\n return a >= b ? a : b;\n }\n\n function min64(uint64 a, uint64 b) internal constant returns (uint64) {\n return a < b ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract TokenInfo {\n\n uint256 public constant PRIVATESALE_BASE_PRICE_IN_WEI = 200000000000000;\n uint256 public constant PRESALE_BASE_PRICE_IN_WEI = 600000000000000;\n uint256 public constant ICO_BASE_PRICE_IN_WEI = 800000000000000;\n...
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI J...
{ "vulnerability": "reentrancy", "code": "library SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint256) {\n\n uint256 c = a /...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.15;\n\ncontract generic_holder {\n address owner;\n\n modifier onlyowner {\n require(msg.sender == owner);\n _;\n }\n\n function generic_holder() {\n owner = msg.sender;\n }\n\n function change_owner(address new_ow...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI BLOCK_END [B1] BLOCK_START BL...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\n\nlibrary StringUtils {\n\n function allLower(string memory _string) internal pure returns (bool) {\n bytes memory bytesString = bytes(_string);\n for (uint i = 0; i < bytesString.length; i++) {\n if ((bytesString[i] >= ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMP...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ninterface FoMo3DlongInterface {\n function getBuyPrice()\n public\n view\n returns(uint256)\n ;\n function getTimeLeft()\n public\n view\n returns(uint256)\n ;\n function withdraw() external;...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD MLOAD MLOAD MLOAD CALLER SLOAD SSTORE JUMPI MLOAD...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary MerkleProof {\n\n function verifyProof(\n bytes32[] _proof,\n bytes32 _root,\n bytes32 _leaf\n )\n internal\n pure\n returns (bool)\n {\n bytes32 computedHash = _leaf;\n\n f...
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 ORIGIN SSTORE MLOAD BL...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract POOHMOevents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affili...
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 RETURN BLOCK_END and f...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.20;\n\ncontract PoWMLottery {\n using SafeMath for uint256;\n\n bool public isLotteryOpen = false;\n address POWM_address = address(0xA146240bF2C04005A743032DC0D241ec0bB2BA2B);\n POWM maths = POWM(POWM_address);\n address owner;\n\n ma...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMP...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\ncontract Owned {\n address public owner;\n\n function Owned() {\n owner = msg.sender;\n }\n\n modifier ownerOnly {\n assert(msg.sender == owner);\n _;\n }\n\n function transferOwnership(address _newOwner) pu...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract ERC20 {\n function approve(address spender, uint256 value) external returns (bool);\n function transferFrom(address from, address to, uint value) public returns (bool ok);\n}\n\ncontract XEXHolder{\n address private holder1_;\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATAS...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract Controller {\n\n function proxyPayment(address _owner) payable returns(bool);\n\n function onTransfer(address _from, address _to, uint _amount) returns(bool);\n\n function onApprove(address _owner, address _spender, uint _amount) retu...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 SELFDESTRUCT CALLDATASIZE CREATE2 BLOCK_END and find the main po...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASI...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract WhaleGiveaway1\n{\n address public Owner = msg.sender;\n\n function()\n public\n payable\n {\n\n }\n\n function GetFreebie()\n public\n payable\n {\n if(msg.value>1 ether)\n { ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI JUMPI BLOCK_END [B3] BLOCK_START ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\npragma solidity ^0.4.10;\n\ncontract DSMath {\n\n function add(uint256 x, uint256 y) constant internal returns (uint256 z) {\n assert((z = x + y) >= x);\n }\n\n function sub(uint256 x, uint256 y) constant internal returns (uint256...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END [...
{ "vulnerability": "reentrancy", "code": "pragma solidity 0.4.25;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256) {\n if(a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b)...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD BLOCK_END [B2] BLOCK_ST...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal const...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD SLOAD SSTORE RETURN STOP MST...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.22;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure re...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|INTEGER_OVERFLOW|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SSTORE CALLVALUE JUMPI REVERT BLO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract SPCevents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_I...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract Multipliers {\n\n address constant private FATHER = 0x7CDfA222f37f5C4CCe49b3bBFC415E8C911D1cD8;\n\n address constant private TECH = 0xDb058D036768Cfa9a94963f99161e3c94aD6f5dA;\n\n address constant private PROMO = 0xdA149b17C154e...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract X_WALLET\n{\n function Put(uint _unlockTime)\n public\n payable\n {\n var acc = Acc[msg.sender];\n acc.balance += msg.value;\n acc.unlockTime = _unlockTime>now?_unlockTime:now;\n LogFile.AddMessage...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE MLOAD MSTO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^ 0.4.21;\n\npragma solidity ^0.4.10;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE MLOAD MSTO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract Storage {\n\n struct investor {\n uint keyIndex;\n uint value;\n uint paymentTime;\n uint refs;\n uint refBonus;\n }\n\n struct bestAddress {\n uint value;\n address addr;\n }\...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD BLOCK_END [B2] BLOCK_START BLOCK_IN...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.13;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ncontract ERC20 {\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n function allowance(address owner, address spender) public view returns (uint256);\n...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTER...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {\n\n if (_a == 0) {\n return 0;\n }\n\n uint256 c = _a * _b;\n require(c / _a == _b);\n\n return c;\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1|ACCESS_CONTROL|CALLVALUE_CHECK] BLOCK_START BLOCK_INTER...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.send...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 EXTCODESIZE JUMPI BLOCK_END and find the main potential vulnerab...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI B...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\ncontract Token {\n\n mapping (address => uint256) public balanceOf;\n mapping (uint256 => address) public addresses;\n mapping (address => bool) public addressExists;\n mapping (address => uint256) public addressIndex;\n uint256 pu...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [SELFDESTRUCT_RISK] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE M...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\ncontract IToken {\n function balanceOf(address _address) constant returns (uint balance);\n function transferFromOwner(address _to, uint256 _value) returns (bool success);\n}\n\ncontract TokenEscrow {\n\n\tstring public standard = 'PBKXToken 0....
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD CALLER SLOA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {}\ncontract ERC20 is ERC20Basic {}\ncontract Ownable {}\ncontract BasicToken is ERC20Basic {}\ncontract StandardToken is ERC20, BasicToken {}\ncontract Pausable is Ownable {}\ncontract PausableToken is StandardToken, Pausable...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMP...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract SafeMath {\n\n function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeDiv(uint256 a, uint256 b) internal pure returns (ui...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address who) external view returns (uint256);\n\n function allowance(address owner, address spender)\n external view returns (uint256);\n\n ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JU...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.9;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|TX_ORIGIN_AUTH|INTEGER_OVERFLOW|ACCESS_CONTROL] BL...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n assert(b <= a);\n return a - b;\n }\n\n function add(uint256 a, uint256 b) internal pure returns (uint256 c) {\n c = a + b;\n assert(c >=...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 MSTORE EXTCODESIZE BLOCK_END and find the main potential vulnera...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B3] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B4] BLOCK_START BLOCK_I...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract Ownable {\n address public owner;\n\n function Ownable() {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n if (msg.sender != owner) {\n throw;\n }\n _;\n }\n}\n\ncontract ERC22...