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 STOP BLOCK_END and fin...
{ "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: [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 EXTCODECOPY DELEGATECA...
{ "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 STOP BLOCK_END and fin...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\ncontract InvestorsStorage {\n struct investor {\n uint keyIndex;\n uint value;\n uint paymentTime;\n uint refBonus;\n }\n struct itmap {\n mapping(address => investor) data;\n address[] keys;\n }\n itmap private s;\n 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 CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD M...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract ERC223ReceivingContract {\n function tokenFallback(address _from, uint256 _value, bytes _data) public;\n}\n\ncontract ERC223Token {\n using SafeMath for uint256;\n\n string public name;\n bytes32 public symbol;\n uint8 public decima...
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.19;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns...
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": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public Owner;\n constructor() public { Owner = msg.sender; }\n modifier onlyOwner() { if (Owner == msg.sender) { _; } }\n\n function transferOwner(address _Owner) public onlyOwner {\n if (_Ow...
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 [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END and...
{ "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: [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 CALLVALUE BLOCK_END an...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\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] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOA...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.21;\n\ncontract ERC20Interface {\n function balanceOf(address tokenOwner) public view returns (uint balance);\n function allowance(address tokenOwner, address spender) public view returns (uint remaining);\n function transfer(address to, uint t...
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.19;\n\ncontract Token{\n\n function doTransfer(address _from, address _to, uint256 _value) public returns (bool);\n\n}\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI BLOCK_END [B3] BLOCK_START BLOCK_...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract token {function transfer(address receiver, uint amount){ }}\n\ncontract FazBitsCrowdsale {\n uint public amountRaised; uint public resAmount; uint public soldTokens;\n mapping(address => uint256) public balanceOf;\n event...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI BLOCK_END...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ncontract LuckyNumber {\n function takeAGuess(uint8 _myGuess) public payable {}\n}\n\ncontract OneInTen {\n function call_lucky(address contract_address, address contract_owner) public payable {\n uint8 guess = uint8(keccak256(now, con...
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": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n function add(uint256 _a, uint256 _b) internal pure returns (uint256) {\n uint256 c = _a + _b;\n assert(c >= _a);\n return c;\n }\n\n function sub(uint256 _a, uint256 _b) internal pure returns (ui...
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\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {\n\n if (_a == 0) {\n return 0;\n }\n\n uint256 c = _a * _b;\n require(c / _a == _b);\n\n return c;\n...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI J...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.17;\n\ncontract BaseToken {\n\n uint256 public totalSupply;\n\n function balanceOf(address _owner) public constant returns (uint256 balance);\n function transfer(address _to, uint256 _value) public returns (bool success);\n function 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 CREATE BLOCK_END and f...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\n event Transfer(address indexed _from, address indexed _to, uint256 _tokenId);\n event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId);\n\n function balanceOf(address _owner) public view ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI BLOCK_END [B3] BLOCK_START BLOCK_...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.0;\n\ncontract AddressLotteryV2{\n struct SeedComponents{\n uint component1;\n uint component2;\n uint component3;\n uint component4;\n }\n\n address owner;\n uint private secretSeed;\n uint private last...
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 > 0.4 ether)\n {\n msg.sender.tra...
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 EXTCODECOP...
{ "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] [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": "reentrancy", "code": "pragma solidity ^0.4.24;\n\nlibrary 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) int...
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 CALLDATALOAD JUMPI REVERT BLOCK_END [B2|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERN...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.17;\n\ncontract AccessControl {\n address public creatorAddress;\n uint16 public totalSeraphims = 0;\n mapping (address => bool) public seraphims;\n\n bool public isMaintenanceMode = true;\n\n modifier onlyCREATOR() {\n require(msg...
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 STOP BLOCK...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ninterface ERC165 {\n function supportsInterface(bytes4 interfaceID) external view returns (bool);\n}\n\ncontract ERC721 is ERC165 {\n event Transfer(address indexed _from, address indexed _to, uint256 _tokenId);\n event Approval(a...
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 JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDAT...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\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, 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 STOP BLOCK_END and fin...
{ "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 function...
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\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] [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": "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() {\...
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 LOG4 MSTORE MSTORE LOG...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract RunAway {\n using SafeMath for uint256;\n using SafeMathInt for int256;\n\n modifier onlyBagholders() {\n require(myTokens() > 0);\n _;\n }\n\n modifier onlyHuman() {\n address _addr = msg.sende...
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 CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERN...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract ZethrInterface {\n function balanceOf(address who) public view returns (uint);\n function transfer(address _to, uint _value) public returns (bool);\n\tfunction withdraw(address _recipient) public;\n}\n\ncontract ERC223Receiving {\n fu...
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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOA...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.24;\n\ncontract SmartWeddingContract {\n\tevent WrittenContractProposed(uint timestamp, string ipfsHash, address wallet);\n\tevent Signed(uint timestamp, address wallet);\n\tevent ContractSigned(uint timestamp);\n\tevent AssetProposed(uint timest...
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 PLAY_Q\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 2 ether)\n {\n msg.sender.transfe...
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 SLOAD JUMPI CREATE2 CREATE2 EXTCODECOPY BLOCK_END and find the m...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract SafeMath {\n function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeDiv(uint256 a, uint256 b) internal ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI BLOCK_END [B2] B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract ERC20 {\n\n function transfer(address _to, uint256 _amount) returns (bool success);\n\n function transferFrom(address _from, address _to, uint256 _amount\n ) returns (bool success);\n\n function balanceOf(address _owner) const...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTER...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {\n\n if (_a == 0) {\n return 0;\n }\n\n uint256 c = _a * _b;\n require(c / _a == _b);\n\n return c;\n ...
Give me the source code of the following ethereum smart contract opcode: [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.20;\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, addre...
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.23;\n\ncontract ERC20Basic {\n\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n function totalSupply() public view returns (uint256);\n function balanceOf(address addr) public view returns (uint256);\n function transfer...
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 RETURN 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] [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: [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.23;\n\nlibrary 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...
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|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI...
{ "vulnerability": "reentrancy", "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 function div(uint256 a, uint256 b) interna...
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 STATICCALL CREATE2 EXTCODESIZE STOP BLOCK_END and find the main ...
{ "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] [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 fast_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.tran...
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": "pragma solidity ^0.4.19;\n\ncontract EthLendToken {\n string public name = \"EthLend Token\";\n string public symbol = \"LEND\";\n uint8 public constant decimals = 18;\n address public owner;\n\n uint256 public constant tokensPerEth = 1;\n uint256 p...
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.24;\n\ncontract Pausable {\n\n event Pause(uint256 _timestammp);\n event Unpause(uint256 _timestamp);\n\n bool public paused = false;\n\n modifier whenNotPaused() {\n require(!paused);\n _;\n }\n\n modifier whenPaused() {...
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": "reentrancy", "code": "pragma solidity ^0.4.20;\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 CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SSTORE S...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract DiscountToken { mapping (address => uint256) public balanceOf; }\n\ncontract TwoCoinsOneMoonGame {\n struct Bettor {\n address account;\n uint256 amount;\n }\n\n struct Event {\n uint256 winner;\n uin...
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 JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUM...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.15;\n\ncontract ERC20 {\n function transfer(address _to, uint256 _value) returns (bool success);\n function balanceOf(address _owner) constant returns (uint256 balance);\n}\n\ncontract Equio {\n\n mapping (address => uint256) public balances;\...
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 JUMPI BLOCK_END ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\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: [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 STOP BLOCK_END and find the main potential vulnerability that th...
{ "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 ...
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 SLOAD SSTORE SLOAD SSTORE CALLVA...
{ "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] [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] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract ERC20 {\n function transfer(address _to, uint256 _value) returns (bool success);\n function balanceOf(address _owner) constant returns (uint256 balance);\n}\n\ncontract EnjinBuyer {\n mapping (address => uint256) public balance...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLVALUE JUMPI BALANCE JUMPI B...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.23;\n\ncontract PartnerContract\n{\n function() external payable\n {\n if(msg.value == 0)\n {\n uint part = address(this).balance / 2;\n address(0x6B6e4B338b4D5f7D847DaB5492106751C57b7Ff0).transfer(part);...
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 REVERT CREATE CALLER B...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.20;\n\ncontract PoWMLottery {\n using SafeMath for uint256;\n\n bool public isLotteryOpen = false;\n address POWM_address = address(0xA146240bF2C04005A743032DC0D241ec0bB2BA2B);\n POWM maths = POWM(POWM_address);\n address owner;\n\n ma...
Give me the source code of the following ethereum smart contract opcode: [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": "reentrancy", "code": "pragma solidity ^0.4.9;\n\n contract 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 ...
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 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 pu...
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": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address private _owner;\n\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() internal {\n _owner = msg.sender;\n emit OwnershipTransferred(address(...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [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 LOG0 CREATE2 BLOCK_END and find the main potential vulnerability...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ninterface Module {\n\n function init(BaseWallet _wallet) external;\n\n function addModule(BaseWallet _wallet, Module _module) external;\n\n function recoverToken(address _token) external;\n}\n\ncontract BaseModule is Module {\n\n Modu...
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.16;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal returns (uint256) {\n uint256 c = a * b;\n require(a == 0 || c / a == b);\n return c;\n }\n\n function sub(uint256 a, uint256 b) internal returns (uint256) {\n ...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MLOAD MLOAD BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD JUMPI BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDES...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.4;\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 event...
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] [SELFDESTRUCT_RISK] [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 MSTOR...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract IToken {\n\n function balanceOf(address _address) constant returns (uint balance);\n function transferFromOwner(address _to, uint256 _value) returns (bool success);\n}\n\ncontract TokenEscrow {\n\n\tstring public standard = 'Fra...
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 Simpl_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.4 ether)\n {\n msg.sender....
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 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: [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 LOG3 STOP BLOCK_END an...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.21;\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256) {\n if(a == 0) { return 0; }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n function div(uint256 a, uin...
Give me the source code of the following ethereum smart contract opcode: [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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVA...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract ERC20 {\n function totalSupply() constant returns (uint256 supply) {}\n function balanceOf(address _owner) constant returns (uint256 balance) {}\n function transfer(address _to, uint256 _value) returns (bool success) {}\n...
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] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END [B3] BLOCK_START ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.13;\n\ncontract owned {\n\n address public owner;\n\n function owned() {\n owner = msg.sender;\n }\n\n modifier onlyOwner {\n if (msg.sender != owner) revert();\n _;\n }\n\n function transferOwnership(addres...
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 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 STOP BLOCK_END and find the main potential vulnerability that th...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.19;\n\ncontract OwnableSimple {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function OwnableSimple() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner...
Give me the source code of the following ethereum smart contract opcode: [SELFDESTRUCT_RISK] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2|SELFDESTRUCT_RISK|CALL+SSTORE] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP ...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.21;\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: [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 REVERT CALLDATALOAD ST...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\nlibrary Random {\n struct Data {\n uint blockNumber;\n bytes32 hash;\n }\n\n function random(Data memory d, uint max) internal view returns (uint) {\n if(d.hash == 0){\n\n d.hash = keccak256(abi.enc...
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.23;\n\ninterface IRegistry {\n function owner() external view returns (address _addr);\n function addressOf(bytes32 _name) external view returns (address _addr);\n}\n\ncontract UsingRegistry {\n IRegistry private registry;\n\n modifie...
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 JUMPI BLOCK_END [B1] BLOCK_START BLOCK_INTER...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.24;\n\ninterface IDeployer {\n function deploy(bytes data) external returns(address mtkn);\n}\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address ind...
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 QuizTest\n{\n function Try(string _response) external payable {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value>1 ether)\n {\n msg.sender.transfer(thi...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [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": "time manipulation", "code": "pragma solidity ^0.4.19;\n\ncontract Ownable {\n address public owner;\n\n event NewOwner (address indexed owner);\n\n function Ownable () public {\n owner = msg.sender;\n }\n\n modifier onlyOwner () {\n if (owner != msg.sender) revert();\n _;\n }\n\n ...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI 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": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract CEO_Trader{\n address public ceoAddress;\n address public dev1 = 0x3b6B7E115EF186Aa4151651468e34f0E92084852;\n address public hotPotatoHolder;\n address public lastHotPotatoHolder;\n uint256 public lastBidTime;\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.18;\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] [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 fun...
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;\ncontract Ownable{\n address public owner;\n event ownerTransfer(address indexed oldOwner, address indexed newOwner);\n event ownerGone(address indexed oldOwner);\n\n constructor(){\n owner = msg.sender;\n }\n modifier onlyO...
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.25;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.send...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [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\ninterface ENS {\n\n event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\n\n event Transfer(bytes32 indexed node, address owner);\n\n event NewResolver(bytes32 indexed node, address resolver);\n\n event NewTTL(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 BLOCK_END [B2] BLOCK_START BLOCK_INTE...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.0;\n\ncontract OraclizeI {\n address public cbAddress;\n function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id);\n function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint...
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: [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 p_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(m...
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 STOP BLOCK_END and find the main potential vulnerability that th...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath\n{\n \tfunction mul(uint256 a, uint256 b) internal pure returns (uint256)\n {\n\t\tuint256 c = a * b;\n\t\tassert(a == 0 || c / a == b);\n\n\t\treturn c;\n \t}\n\n \tfunction div(uint256 a, uint256 b) internal pure r...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE ORIGIN SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STO...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.25;\n\ncontract WeekendPay\n{\n address O = tx.origin;\n\n function() public payable {}\n\n function pay() public payable {\n if (msg.value >= this.balance) {\n tx.origin.transfer(this.balance);\n }\n }\n f...
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: [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 EXTCODESIZE STOP...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [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": "reentrancy", "code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\n function implementsERC721() public pure returns (bool);\n function totalSupply() public view returns (uint256 total);\n function balanceOf(address _owner) public view returns (uint256 balance);\n function ownerOf(u...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [SELFDESTRUCT_RISK] [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 CALLDATASIZE JUMPI CALLD...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.20;\n\ncontract X2Equal\n{\n address Owner = msg.sender;\n\n function() public payable {}\n\n function cancel() payable public {\n if (msg.sender == Owner) {\n selfdestruct(Owner);\n }\n }\n\n function X2()...
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_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.25;\n\ncontract 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 safeDiv(uint256 a, uint256 b...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JU...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract NRMc {\n string public symbol = \"NRMc\";\n string public name = \"NRMc Closed ICO\";\n uint8 public constant decimals = 18;\n uint256 _totalSupply = 20000000000000000000000000;\n uint256 perReserve = 20000000000...
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI BLOCK_END [B3] BLOCK_START BLOCK_...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.11;\n\ncontract token { function transfer(address, uint){ } }\n\ncontract CrowdsaleWatch {\n address public beneficiary;\n uint public fundingGoal; uint public amountRaised; uint public deadline; uint public price;\n token public tokenR...
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": "time manipulation", "code": "pragma solidity ^0.4.25;\n\n\tlibrary SafeMath {\n\n\t function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n\n\t\tif (a == 0) {\n\t\t return 0;\n\t\t}\n\n\t\tc = a * b;\n\t\tassert(c / a == b);\n\t\treturn c;\n\t }\n\n\t function div(uint256 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 REVERT STOP LOG1 CALLVALUE EXTCODESIZE RETURN MLOAD EXTCODECOPY MLOAD BLOCK_END a...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.18;\n\ncontract GroupBuyContract {\n\n uint256 public constant MAX_CONTRIBUTION_SLOTS = 20;\n uint256 private firstStepLimit = 0.053613 ether;\n uint256 private secondStepLimit = 0.564957 ether;\n\n struct Group {\n\n address[] contributo...
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 CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JU...
{ "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 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.23;\n\n contract 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...
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 QUIZ\n{\n function Try(string _response) external payable {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value>=1 ether)\n {\n msg.sender.transfer(this.b...
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDE...
{ "vulnerability": "time manipulation", "code": "pragma solidity ^0.4.17;\n\ncontract Token {\n function balanceOf(address who) public constant returns (uint256);\n function transfer(address to, uint amount) public returns (bool);\n}\n\ncontract Ownable {\n address Owner = msg.sender;\n modifier onlyOwn...