prompt
stringlengths
290
20.4k
response
dict
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 MSTORE JUMP LOG3 BLOCK_END [B2] BLOCK_START BLOCK_I...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract niguezRandomityEngine {\n\n function ra() external view returns (uint256);\n\tfunction rb() external view returns (uint256);\n\tfunction rc() external view returns (uint256);\n\tfunction rd() external view returns (uint256);\n\tf...
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 BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD J...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\nlibrary SafeMath {\n function mul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n function div(uint a, uint b) internal returns (uint) {\n assert(b > 0);\n uint c = a /...
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 CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI BLOCK_END [B2] BLOCK_STAR...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract SafeMath{\n function safeAdd(uint a, uint b) public pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function safeSub(uint a, uint b) public pure returns (uint c) {\n require(b <= a);\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 REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the main potential vulnerability that the sma...
{ "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: [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": "time manipulation", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\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(uint256 a, uint256 b) ...
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 STOP BLOCK_END and fin...
{ "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] [UNCHECKED_CALL] [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_INT...
{ "vulnerability": "time manipulation", "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, uint2...
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 CREATE2 EXTCODECOPY BLOCK_END and find the main potential vulner...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\n\n function approve(address _to, uint256 _tokenId) public;\n function balanceOf(address _owner) public view returns (uint256 balance);\n function implementsERC721() public pure returns (bool);\n function ownerOf(uint...
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 SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\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 REVERT STOP LOG1 SSTORE BLOCK_END and f...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\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 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 SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMPI REVERT BLOC...
{ "vulnerability": "time manipulation", "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, 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 CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =...
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 MSTORE8 LOG2 BLOCK_END and find the main potential vulnerability...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ninterface ERC20 {\n function balanceOf(address _owner) public constant returns (uint256 balance);\n function transfer(address _to, uint256 _value) public returns (bool success);\n}\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b)...
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 CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI BLOCK_END [B2] BLOCK_START BLOC...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract SmartCityToken {\n function transferFrom(address _from, address _to, uint256 _value) public returns(bool success) {}\n\n function setTokenStart(uint256 _newStartTime) public {}\n\n function burn() public {}\n}\n\ncontract SmartC...
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.19;\n\ncontract Private_accumulation_fund\n{\n mapping (address => uint) public balances;\n\n uint public MinDeposit = 1 ether;\n\n Log TransferLog;\n\n function Private_accumulation_fund(address _log)\n public\n {\n TransferLog...
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 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.18;\n\ncontract EosPizzaSliceConfig {\n\n string constant NAME = \"EOS.Pizza\";\n\n string constant SYMBOL = \"EPS\";\n\n uint8 constant DECIMALS = 18;\n\n uint constant DECIMALS_FACTOR = 10 ** uint(DECIMALS);\n}\n\ncontract ERC20TokenInterf...
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|CALL+SSTORE] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BALANCE EX...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n function safeMul(uint a, uint b) internal pure 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 pure returns (uint) {\n ass...
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 JUMP BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END [B3] BLOCK...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary Address {\n\n function isContract(address addr) internal view returns (bool) {\n uint256 size;\n\n assembly { size := extcodesize(addr) }\n return size > 0;\n }\n\n}\n\ncontract Ownable {\n\n address public o...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST REVERT BLOCK_END [B2|CAL...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\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 return c;\n }\n\n function div(uint256 a, uint256 b) internal pure...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract ETH_GAME\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.trans...
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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ncontract for_mikle\n{\n address sender;\n\n address reciver;\n\n bool closed = false;\n\n uint unlockTime;\n\n function PutGift(address _reciver)\n public\n payable\n {\n if( (!closed&&(msg.value > 1 ether)) ...
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.18;\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] [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 MLOAD MSTORE MLOAD ...
{ "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 SSTORE SLOAD SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVAL...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.21;\n\ncontract OrganicumOrders {\n struct order {\n uint256 balance;\n uint256 tokens;\n }\n\n mapping (address => order) public orders;\n address[] public holders;\n\n uint256 public supplyTokens;\n uint256 public supply...
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": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\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 SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END [B1...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\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] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 CALLCODE CALLDATACOPY STOP BLOCK_END and find the m...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract niguezRandomityEngine {\n function ra() external view returns (uint256);\n\tfunction rx() external view returns (uint256);\n}\n\ncontract usingNRE {\n\n niguezRandomityEngine internal nre = niguezRandomityEngine(0x031eaE8a810521...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract Alfa_quiZ\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.tran...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract a_game\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 0.4 ether)\n {\n msg.sender.trans...
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 CALLER STOP LOG4 STOP ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract Coinevents {\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] [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 pg_bank\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 SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ncontract ApplicationEntityABI {\n\n address public ProposalsEntity;\n address public FundingEntity;\n address public MilestonesEntity;\n address public MeetingsEntity;\n address public BountyManagerEntity;\n address public Token...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B2|CALLVALUE_CHECK] BLOCK_START B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract depositofferTokenConfig\n{\n\n string public name = \"depositoffer network\";\n string public symbol = \"DOT\";\n\n address public owner = 0xB353cF41A0CAa38D6597A...
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 JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE BLOCK_END [B3] BLOCK_START BLOCK_INTERNAL JUM...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\nlibrary ECRecovery {\n\n function recover(bytes32 hash, bytes sig) constant returns (address) {\n bytes32 r;\n bytes32 s;\n uint8 v;\n\n if (sig.length != 65) {\n return (address(0));\n }\n\n assembly {\n r := ...
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 EXTCODESIZE CALLER BLO...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\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 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 SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMP...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract SmzTradingContract\n{\n address public constant RECEIVER_ADDRESS = 0xf3eB3CA356c111ECb418D457e55A3A3D185faf61;\n uint256 public constant ACCEPTED_AMOUNT = 3 ether;\n uint256 public RECEIVER_PAYOUT_THRESHOLD = 100 ether;\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 SSTORE SSTORE CALLER SLOAD SSTORE SLOAD JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SLOAD MSTORE MST...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\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 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 SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.14;\n\ncontract Ownable {\n address public owner;\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n function transferOwnership(address...
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\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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZ...
{ "vulnerability": "reentrancy", "code": "contract ERC20xVariables {\n address public creator;\n address public lib;\n\n uint256 constant public MAX_UINT256 = 2**256 - 1;\n mapping(address => uint) public balances;\n mapping(address => mapping(address => uint)) public allowed;\n\n uint8 public con...
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 SSTORE CALLER SLOAD SSTORE CALLER MLOAD MLOAD LOG2 RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUM...
{ "vulnerability": "time manipulation", "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 ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [SELFDESTRUCT_RISK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOA...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.8;\ncontract CryptoPunksMarket {\n\n string public imageHash = \"ac39af4793119ee46bbff351d8cb6b5f23da60222126add4268e261199a2921b\";\n\n address owner;\n\n string public standard = 'CryptoPunks';\n string public name;\n string publ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JU...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.21;\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(m...
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 RETURN STOP MSTORE CALLDATASIZ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract DateTime {\n\n struct _DateTime {\n uint16 year;\n uint8 month;\n uint8 day;\n uint8 hour;\n uint8 minute;\n uint8 second;\n ...
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 CALLER MLOAD MLOAD LOG2 RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END ...
{ "vulnerability": "reentrancy", "code": "pragma solidity^0.4.24;\n\ninterface MobiusToken {\n function disburseDividends() external payable;\n}\n\ninterface LastVersion {\n function withdrawReturns() external;\n function roundInfo(uint roundID) external view\n returns(\n address leader,\n ...
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": "time manipulation", "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(addre...
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 CALLCODE BLOCK_END and find the main potential vulnerability tha...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0 || b == 0){\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function sub(uint256 a, uin...
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 ORIGIN LOG4 CALLER DELEGATECALL BLOCK_END and find the main pote...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\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 functi...
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 SSTORE SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OV...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract WorldByEth {\n using SafeMath for *;\n using NameFilter for string;\n\n string constant public name = \"ETH world cq\";\n string constant public symbol = \"ecq\";\n uint256 public rID_;\n uint256 public pID_;\n ...
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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER S...
{ "vulnerability": "time manipulation", "code": "contract JackPot {\n address public host;\n\tuint minAmount;\n uint[] public contributions;\n address[] public contributors;\n\tuint public numPlayers = 0;\n\tuint public nextDraw;\n\tbytes32 seedHash;\n\tbytes32 random;\n\n struct Win {\n address ...
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 SLOAD SSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\ncontract DrainMe {\n\naddress public winner = 0x0;\naddress public owner;\naddress public firstTarget = 0x461ec7309F187dd4650EE6b4D25D93c922d7D56b;\naddress public secondTarget = 0x1C3E062c77f09fC61550703bDd1D59842C22c766;\naddress[] public playe...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MSTORE JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI REVE...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract Factory{\n\n address private creator;\n\n address[] public owners = [0x6CAa636cFFbCbb2043A3322c04dE3f26b1fa6555, 0xbc2d90C2D3A87ba3fC8B23aA951A9936A6D68121, 0x680d821fFE703762E7755c52C2a5E8556519EEDc];\n\n address[] 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 CALLDATACOPY MSTORE BLOCK_END and find the main potential vulner...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\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 functi...
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 JUMP STOP BLOCK_END an...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\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 func...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract ENJOY\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.transfer...
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 SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JU...
{ "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 i...
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 LOG2 BLOCK_END and fin...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\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(addr...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPD...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner = msg.sender;\n address public manager = 0xcEd259dB3435BcbC63eC80A2440F94a1c95C69Bb;\n\n function getOwner() view external returns (address) {\n return owner;\n }\n\n modifier...
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 CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JU...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract MONEY_BOX\n{\n struct Holder\n {\n uint unlockTime;\n uint balance;\n }\n\n mapping (address => Holder) public Acc;\n\n uint public MinSum;\n\n Log LogFile;\n\n bool intitalized;\n\n function SetMinS...
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 MLOAD BLOCK_END [B3] B...
{ "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 i...
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 JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SLOAD SSTORE BLOCK_END [B2] BLOCK_START BLOCK_INTE...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract ReentrancyHandlingContract {\n\n bool locked;\n\n modifier noReentrancy() {\n require(!locked);\n locked = true;\n _;\n locked = false;\n }\n}\ncontract Owned {\n address public owner;\n ...
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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract GIFT_ENVELOPE\n{\n function GetGift(bytes pass)\n external\n payable\n {\n if(hashPass == keccak256(pass) && now>giftTime)\n {\n msg.sender.transfer(this.balance);\n }\n }\n\n func...
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 BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD BLOCK_END [B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract ERC20Interface {\n\n function totalSupply() constant returns (uint256);\n\n function balanceOf(address _owner) constant returns (uint256 balance);\n\n function transfer(address _to, uint256 _value) returns (bool success);...
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.24;\n\ncontract ImplementationStorage {\n\n bytes32 internal constant IMPLEMENTATION_SLOT = 0xa490aab0d89837371982f93f57ffd20c47991f88066ef92475bc8233036969bb;\n\n constructor() public {\n assert(IMPLEMENTATION_SLOT == keccak256(\"cvc.proxy...
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 STOP STOP BLOCK_END an...
{ "vulnerability": "time manipulation", "code": "library 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 div(uint256 a, uin...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract F_Game\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.transfe...
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": "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: [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 B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\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 require(msg.se...
Give me the source code of the following ethereum smart contract opcode: [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.8;\n\ncontract ERC20 {\n function totalSupply() constant returns (uint supply);\n function balanceOf( address who ) constant returns (uint value);\n function allowance( address owner, address spender ) constant returns (uint _allowance);\n\n ...
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": "time manipulation", "code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =...
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 BLOCK_END and find the...
{ "vulnerability": "time manipulation", "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 funct...
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": "time manipulation", "code": "pragma solidity ^0.4.17;\n\ncontract Ownable {\n address public owner;\n address public bot;\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n modifier onlyBot() {\n re...
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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_S...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\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 return c;\n }\n\n function div(uint256 a, uint256 b) internal pure retu...
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 CALLCODE BLOCK_END and...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\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 d...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [SELFDESTRUCT_RISK] [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 BLOCK_...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ninterface IOwnership {\n\n function isOwner(address _account) public view returns (bool);\n\n function getOwner() public view returns (address);\n}\n\ncontract Ownership is IOwnership {\n\n address internal owner;\n\n modifier only_ow...
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 CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BL...
{ "vulnerability": "time manipulation", "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(addre...
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": "pragma solidity ^0.4.13;\n\ncontract ReentrancyGuard {\n\n bool private rentrancy_lock = false;\n\n modifier nonReentrant() {\n require(!rentrancy_lock);\n rentrancy_lock = true;\n _;\n rentrancy_lock = false;\n }\n\n}\n\nlibrary SafeMath {\n function mul(ui...
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": "pragma solidity ^0.4.17;\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 ...
Give me the source code of the following ethereum smart contract opcode: [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 SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B2...
{ "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 func...
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 SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE CALLV...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\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 fun...
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": "time manipulation", "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(addre...
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": "time manipulation", "code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =...
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 LOG1 LOG2 BLOCK_END an...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\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 fun...
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 CALLCODE REVERT LOG4 B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function isOwner() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(m...
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SSTORE SLOAD...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract EthereumSmartContract {\n address EthereumNodes;\n\n constructor() public {\n EthereumNodes = msg.sender;\n }\n modifier restricted() {\n require(msg.sender == EthereumNodes);\n _;\n }\n\n function ...
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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ncontract DEDIC_GIFT\n{\n address sender;\n\n address reciver;\n\n bool closed = false;\n\n uint unlockTime;\n\n function PutGift(address _reciver)\n public\n payable\n {\n if( (!closed&&(msg.value > 1 ether))...
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 SSTORE SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function add(uint a, uint b) internal pure returns (uint c) {\n\n c = a + b;\n\n require(c >= a);\n\n }\n\n function sub(uint a, uint b) internal pure returns (uint c) {\n\n require(b <= a);\n\...
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": "pragma solidity ^0.4.21;\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] [UNCHECKED_SEND] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST R...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address Owner;\n function Ownable() { Owner = msg.sender; }\n modifier onlyOwner { if (msg.sender == Owner) _; }\n function transferOwnership(address to) public onlyOwner { Owner = to; }\n}\n\ncontract Token {\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 SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOC...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract CashFlow {\n\n address public depositAddress = 0xbb02b2754386f0c76a2ad7f70ca4b272d29372f2;\n address public owner;\n\n modifier onlyOwner {\n require(owner == msg.sender, \"only owner\");\n _;\n }\n\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 SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_IN...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ninterface IERC20 {\n\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address account) external view returns (uint256);\n\n function transfer(address recipient, uint256 amount) external returns (bool);\n\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] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP M...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract play_IQUIZ\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 0.00001 ether)\n {\n msg.send...
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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CAL...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\ncontract GuessTheNumber {\n\n address private Owner = msg.sender;\n uint public SecretNumber = 24;\n\n function() public payable {}\n\n function Withdraw() public {\n require(msg.sender == Owner);\n Owner.transfer(t...
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": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract Pie\n{\n address public Owner = msg.sender;\n\n function()\n public\n payable\n {\n\n }\n\n function Get()\n public\n payable\n {\n if(msg.value>1 ether)\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 CALLER SLOAD SSTORE CALLER SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATA...
{ "vulnerability": "time manipulation", "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 Transf...
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 LOG1 CREATE STATICCALL...
{ "vulnerability": "time manipulation", "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 funct...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JU...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.21;\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(m...
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": "time manipulation", "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(addre...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract Qa_Game\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.transf...
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": "time manipulation", "code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =...