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 EXTCODESIZE BLOCK_END ...
{ "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;\n event Transfer(address indexed from, addre...
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": "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: [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\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\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 JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B3] BLOCK_START JUMPDEST BLOCK_EN...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract helper {\n\n function eccVerify(bytes32 hash, uint8 curve, bytes32 r, bytes32 s)\n constant\n returns(address publicKey) {\n publicKey = ecrecover(hash, curve, r, s);\n }\n\n function calcBindedBlindH...
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 JUMPI JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST REVERT BLOCK...
{ "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] [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] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_IN...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract ERC20Token {\n function balanceOf(address _who) constant returns (uint balance);\n function transferFrom(address _from, address _to, uint _value);\n function transfer(address _to, uint _value);\n}\n\ncontract UnicornRanch {\n enum Vi...
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": "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: [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 LOG1 STOP BLOCK_E...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract Owned {\n\n address public owner;\n\n event OwnerChanged(address indexed _newOwner);\n\n modifier onlyOwner {\n require(msg.sender == owner, \"Must be owner\");\n _;\n }\n\n constructor() public {\n ow...
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS...
{ "vulnerability": "time manipulation", "code": "contract GreenEthereusPromo {\n\n string public constant name = \"↓ See Code Of The Contract\";\n\n string public constant symbol = \"Code ✓\";\n\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n address owner;\n\n uint pub...
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 SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVE...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\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 div(uint256 a, uint256...
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 Contract1 {\n\n\tmapping (uint8 => mapping (address => bool)) public something;\n\n\tfunction settrue(uint8 x, address a){\n\t\tsomething[x][a] = true;\n\t}\n\tfunction setfalse(uint8 x, address a){\n\t\tsomething[x][a] = false;\n\t}\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 CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD SLOAD...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ninterface Game {\n event GameStarted(uint betAmount);\n event NewPlayerAdded(uint numPlayers, uint prizeAmount);\n event GameFinished(address winner);\n\n function () public payable;\n function getPrizeAmount() public consta...
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 JUMPI REVERT MLOAD BLO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public constant returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, addr...
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 SSTORE CREATE2 LOG1 EXTCODECOPY BLOCK_END and find the main pote...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract CSC {\n mapping (address => uint256) private balances;\n mapping (address => uint256[2]) private lockedBalances;\n string public name;\n uint8 public decimals;\n string public symbol;\n uint256 public totalSupply...
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;\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] [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": "time manipulation", "code": "contract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public constant returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed to, uint256 value...
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract EthPyramid {\n address factory;\n\n\tuint256 constant scaleFactor = 0x10000000000000000;\n\n\tint constant crr_n = 1;\n\tint constant crr_d = 2;\n\n\tint constant price_coeff = -0x296ABF784A358468C;\n\n\tstring constant public ...
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract Dice2Win {\n\n uint constant JACKPOT_MODULO = 1000;\n\n uint constant HOUSE_EDGE_PERCENT = 2;\n uint constant JACKPOT_FEE_PERCENT = 50;\n\n uint constant MIN_BET = 0.01 ether;\n uint constant MAX_AMOUNT = 300000 eth...
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 REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE RETURN STOP ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract Dice2Win {\n\n uint256 constant JACKPOT_MODULO = 1000;\n\n uint256 constant HOUSE_EDGE_PERCENT = 2;\n uint256 constant JACKPOT_FEE_PERCENT = 50;\n\n uint256 constant MIN_BET = 0.02 ether;\n\n uint256 constant MIN_JA...
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\ncontract Ownable {\n address private _owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor()...
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 CALLER SLOAD SSTO...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract Owner {\n address public owner;\n\n bool public stopped = false;\n\n function Owner() internal {\n owner = msg.sender;\n }\n\n modifier onlyOwner {\n require (msg.sender == owner);\n _;\n }\n\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 MLOAD MSTORE MSTORE JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMP...
{ "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 ...
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.25;\n\ninterface IERC20Token {\n function balanceOf(address owner) external returns (uint256);\n function transfer(address to, uint256 amount) external returns (bool);\n function decimals() external returns (uint256);\n}\n\ncontract LUPX...
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 REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD BLOCK_END [B3] B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract MultiSigWallet {\n\n event Confirmation(address indexed sender, uint indexed transactionId);\n event Revocation(address indexed sender, uint indexed transactionId);\n event Submission(uint indexed transactionId);\n eve...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [SELFDESTRUCT_RISK] [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_STA...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract BackMeApp {\n address public owner;\n uint256 public minEsteemAmount;\n bool public isShutDown;\n\n struct EtherBox {\n bytes32 label;\n address owner;\n uint256 expiration;\n string ownerUrl;\n }\n\n mapping (ad...
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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START JUMPDEST BLOCK_END [B3] BLOCK_START BLOCK_INTER...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract Ownable {\n address public owner;\n\n function Ownable() {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n function transferOwnership(address newOwner) onlyOwner {\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 MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE MLOAD MSTORE MSTOR...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ncontract ERC20Interface {\n\n uint256 public totalSupply;\n\n function balanceOf(address _owner) public view returns (uint256 balance);\n\n function transfer(address _to, uint256 _value) public returns (bool success);\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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract Crypland {\n\n struct Element {uint worth; uint level; uint cooldown;}\n struct Offer {uint startPrice; uint endPrice; uint startBlock; uint endBlock; bool isOffer;}\n\n bool public paused;\n address public owner;\n\n Element...
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 SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\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 div(uint256 a, uint256 b) int...
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 CREATE2 BLOCK_END and ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.20;\n\ncontract ContractReceiver {\n\n struct TKN {\n address sender;\n uint value;\n bytes data;\n bytes4 sig;\n }\n\n function tokenFallback(address _from, uint _value, bytes _data) public pure {\n TKN memory tkn;\n tkn.sender = _...
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 REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD BLOCK_END [B2] BLOCK_S...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract MultiSigWallet {\n\n uint constant public MAX_OWNER_COUNT = 50;\n\n event Confirmation(address indexed sender, uint indexed transactionId);\n event Revocation(address indexed sender, uint indexed transactionId);\n even...
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 BLOCK_END [B2] BLO...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract D_BANK\n{\n mapping (address=>uint256) public balances;\n\n uint public MinSum = 1 ether;\n\n LogFile Log = LogFile(0x0486cF65A2F2F3A392CBEa398AFB7F5f0B72FF46);\n\n bool intitalized;\n\n function SetMinSum(uint _val)\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 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: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SSTORE SLOAD SSTORE SSTORE M...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.12;\n\ncontract CryptoStars {\n\n address owner;\n string public standard = \"STRZ\";\n string public name;\n string public symbol;\n uint8 public decimals;\n uint256 public totalSupply;\n uint256 public initialPrice;\n 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] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE CALLER SLO...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract InterfaceContentCreatorUniverse {\n function ownerOf(uint256 _tokenId) public view returns (address _owner);\n function priceOf(uint256 _tokenId) public view returns (uint256 price);\n function getNextPrice(uint price, uint _to...
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 BLOCK_END [B3] BLOCK_START BLOCK_INTERNAL JUMPDEST S...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract SafeMath {\n function add(uint x, uint y) internal constant returns (uint z) {\n assert((z = x + y) >= x);\n }\n\n function subtract(uint x, uint y) internal constant returns (uint z) {\n assert((z = x - y) ...
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 SLOAD SSTORE SLOAD JUMPI BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE CALLVALUE JUMPI REVERT BLOC...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract NYXAccount {\n\n\tbytes32 emergencyHash;\n\n address authority;\n\n address public owner;\n\n bytes32 resqueHash;\n\n bytes32 keywordHash;\n\n bytes32[10] photoHashes;\n\n uint resqueRequestTime;\n\n uint auth...
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 CALLDATALOAD BLOCK_END and find the main potential vulnerability...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\nlibrary Math {\n function mul(uint256 a, uint256 b)\n internal\n pure\n returns (uint256)\n {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return ...
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 CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERN...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract SimpleEscrow {\n\n uint public PERIOD = 21 days;\n\n uint public SAFE_PERIOD = 5 days;\n\n address public developerWallet = 0xEA15Adb66DC92a4BbCcC8Bf32fd25E2e86a2A770;\n\n address public customerWallet;\n\n uint pub...
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": "reentrancy", "code": "pragma solidity ^0.4.15;\n\ncontract ERC20 {\n function balanceOf(address who) constant returns (uint256);\n function transfer(address to, uint256 value) returns (bool);\n event Transfer(address indexed from, address indexed to, uint256 value);\n function allowance(addr...
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: [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: [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 Owned {\n address public owner;\n address public newOwner;\n\n event OwnershipTransferred(address indexed _from, address indexed _to);\n\n constructor() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner {...
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 CALLCODE BLOCK...
{ "vulnerability": "time manipulation", "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 ...
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 SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMP...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\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 JUMP BLOCK_END and fin...
{ "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|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START ...
{ "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: [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": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ncontract CreateBlogger {\n address [] public deployedBlogs;\n\n function createBlogger() public returns(address) {\n address newBlogger = new Blogger(msg.sender);\n deployedBlogs.push(newBlogger);\n return newBlo...
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 CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDES...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract Token {\n function transfer(address to, uint amount) public returns (bool);\n}\n\ncontract Ownable {\n address Owner = msg.sender;\n modifier onlyOwner { if (msg.sender == Owner) _; }\n function transferOwnership(addre...
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 CALL BLOCK_END and fin...
{ "vulnerability": "time manipulation", "code": "library SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n\n if (a == 0) {\n return 0;\n }\n\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (u...
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|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL ...
{ "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: [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 RETURN...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract try_to_play {\n function Try(string _response) external payable {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 2 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_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST C...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\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\n function div(uint a, uint b) internal returns (uint) {\n\n uint c = a / b;\n\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 CALLDATALOAD BLOCK_END...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\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 returns (uint25...
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.20;\n\ncontract you_can_do_it\n{\n function Try(string _response)\n external\n payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value>1 ether)\n {\n msg...
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: [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.24;\n\ncontract GeneSynthesisInterface {\n\n function isGeneSynthesis() public pure returns (bool);\n\n function synthGenes(uint256 gene1, uint256 gene2) public returns (uint256);\n}\n\ncontract KydyAccessControl {\n\n event ContractUpgrade(add...
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.13;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() {\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: [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 SLOAD STATICCALL CREAT...
{ "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] [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: [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 BLOCK_END and find the main potential vulnerability ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\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 CALLCODE BLOCK_END and find the main potential vulnerability tha...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract AbstractToken {\n\n function totalSupply() public constant returns (uint256) {}\n function balanceOf(address owner) public constant returns (uint256 balance);\n function transfer(address to, uint256 value) public returns ...
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.20;\n\ncontract eth_game\n{\n function Try(string _response) external payable {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 3 ether)\n {\n msg.sender.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 FreeEth\n{\n address public Owner = msg.sender;\n\n function() public payable{}\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: [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 STOP BLOCK_END...
{ "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] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MLOAD MSTORE MSTORE MSTORE MSTORE MLOAD MSTORE MSTORE MSTORE MSTORE MLOAD MSTORE MSTORE MSTORE MSTORE MLOAD...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.17;\n\ncontract AvPresale {\n\n string public constant RELEASE = \"0.2.2_AviaTest\";\n\n uint public constant PRESALE_START = 5307500;\n uint public constant PRESALE_END = 5309227;\n uint public constant WITHDRAWAL_END = 5314027;\...
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.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 require(msg.se...
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: [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.20;\n\ncontract ETH_QUIZ\n{\n function Try(string _response) external payable {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 3 ether)\n {\n msg.sender.transfer(t...
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 CALL BLOCK_END and fin...
{ "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 ...
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 MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLO...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract TopIvy {\n\n string public constant NAME = \"TopIvy\";\n uint256 public constant voteCost = 0.001 ether;\n\n string public constant schoolOrdering = \"BrownColumbiaCornellDartmouthHarvardPennPrincetonYale\";\n\n address public...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [B0|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD CALLER SLOAD SSTORE SLOAD SSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract GitmanIssue {\n\n address private mediator;\n address public parent;\n string public owner;\n string public repository;\n string public issue;\n\n constructor (string ownerId, string repositoryId, string issueId,...
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_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] [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.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] 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 CoinMmc\n{\n\n address public admin_address = 0x64b33dB1Cc804e7CA51D9c21F132567923D7BA00;\n address public account_address = 0x64b33dB1Cc804e7CA51D9c21F132567923D7BA00;\n\n mapping(address => uint256) balances;\n\n str...
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 QuiZ_blIZ\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.tr...
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 CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN ST...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.17;\n\ncontract Owned\n{\n address newOwner;\n address owner = msg.sender;\n address creator = msg.sender;\n\n function changeOwner(address addr)\n public\n {\n if(isOwner())\n {\n newOwner = addr;\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.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(m...
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 CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SSTORE SSTORE SSTORE SSTORE...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n\tfunction mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n\t\tif (a == 0) {\n\t\t\treturn 0;\n\t\t}\n\t\tc = a * b;\n\t\tassert(c / a == b);\n\t\treturn c;\n\t}\n\n\tfunction div(uint256 a, uint256 b) ...
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.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) interna...
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 CREATE BLOCK_END and f...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b)\n internal\n pure\n returns (uint256 c)\n {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n require(c / a == b, \"Sa...
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 REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.20;\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 returns (uint256) {\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.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: [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 BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL J...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\nlibrary AddressUtils {\n function isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly { size := extcodesize(addr) }\n return size > 0;\n }\n\n}\n\nlibrary SafeMath {\n\n function mul(uint256 a, 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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE SL...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public view returns (uint256);\n}\n\ncontract Payout {\n ERC20Basic HorseToken;\n address payoutPoolAddress;\n address owner;\n address...
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: [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 SELFDESTRUCT LOG1 STAT...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract CrowdsaleParameters {\n\n uint256 public constant generalSaleStartDate = 1524182400;\n uint256 public constant generalSaleEndDate = 1529452800;\n\n struct AddressTokenAllocation {\n address addr;\n uint256 a...
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 SLOAD SSTORE CALLER SLOAD SSTORE SLOAD JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SLO...
{ "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: [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 BLOCK_END and find the main potential vulnerability that...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\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(uint25...
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 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 Toke...
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 SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract DaoToken {\n uint256 public CAP;\n uint256 public totalEthers;\n function proxyPayment(address participant) payable;\n function transfer(address _to, uint _amount) returns (bool success);\n}\n\ncontract ZiberToken {\n\n mappi...
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 En_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.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 AZ_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.tran...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END ...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\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_CALL] [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 SS...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract Depay {\n\n address public developer;\n uint public donations;\n\n function Depay() public {\n developer = msg.sender;\n }\n\n event Payment(address indexed sender, address indexed receiver, uint indexed amou...
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 BALANCE STOP BLOCK_END and find the main potential vulnerability...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract BdpBaseData {\n\n\taddress public ownerAddress;\n\n\taddress public managerAddress;\n\n\taddress[16] public contracts;\n\n\tbool public paused = false;\n\n\tbool public setupCompleted = false;\n\n\tbytes8 public version;\n\n}\n\nlibrary ...