prompt stringlengths 290 20.4k | response dict |
|---|---|
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) ... |
Give me the source code of the following ethereum smart contract opcode: [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 AtlantToken {\n string public name = \"Atlant Token\";\n string public symbol = \"ATL\";\n uint8 public constant decimals = 8;\n address public owner;\n\n uint256 public constant tokensPerEth = 1;\n uint256 publi... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI J... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\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 if ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(addre... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI JUMPI JUMPI REVERT BLOCK_END
[B2|CALLVALUE_CHECK] BLOCK_START ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.17;\n\ncontract token {\n\tfunction transferFrom(address sender, address receiver, uint amount) public returns(bool success) {}\n\n\tfunction transfer(address receiver, uint amount) public returns(bool success) {}\n\n\tfunction balanceOf(address holder)... |
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\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) i... |
Give me the source code of the following ethereum smart contract opcode: [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.25;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n func... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_SEND]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST R... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address Owner;\n function Ownable() { Owner = msg.sender; }\n modifier onlyOwner { if (msg.sender == Owner) _; }\n function transferOwnership(address to) public onlyOwner { Owner = to; }\n}\n\ncontract Token {\n ... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE RETURN MSTORE CALLDATALOAD JUMPI JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI CALLDATALOAD CALLD... | {
"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: [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.19;\n\ncontract IGold {\n\n function balanceOf(address _owner) public constant returns (uint256);\n function issueTokens(address _who, uint _tokens) public;\n function burnTokens(address _who, uint _tokens) public;\n}\n\ncontract IMNTP {... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INT... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint2... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 CALLER BLOCK_END and f... | {
"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: [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.21;\n\ncontract Math\n{\n\n function add(uint256 x, uint256 y) constant internal returns (uint256 z) {\n assert((z = x + y) >= x);\n }\n\n function sub(uint256 x, uint256 y) constant internal returns (uint256 z) {\n assert(... |
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\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, uint25... |
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 CALLDATALOAD JUMPI BLOCK_END
[B3] BLOCK_START... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.16;\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] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_STA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.14;\n\ncontract BountyBG {\n\n address public owner;\n\n uint256 public bountyCount = 0;\n uint256 public minBounty = 10 finney;\n uint256 public bountyFee = 2 finney;\n uint256 public bountyFeeCount = 0;\n uint256 public bounty... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_IN... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETUR... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.10;\n\ncontract BurnableOpenPayment {\n\n address public payer;\n address public recipient;\n address constant burnAddress = 0x0;\n\n uint public amountDeposited;\n uint public amountBurned;\n uint public amountReleased;\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 CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD SLOAD SSTORE RETURN STOP MST... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public owner;\n address public newOwner;\n\n event OwnerUpdate(address _prevOwner, address _newOwner);\n\n constructor(address _owner) public {\n owner = _owner;\n }\n\n modifier ownerO... |
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\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) interna... |
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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMP... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address _who) public view returns (uint256);\n function transfer(address _to, uint256 _value) public returns (bool);\n event Transfer(address i... |
Give me the source code of the following ethereum smart contract opcode: [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 LOG4 LOG3 BLOCK_END and find the main potential vulnerability th... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n}\n\nlibrary SafeMath {\n function mul(uint256 a, ui... |
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 > 1 ether)\n {\n msg.sender.transf... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (uint25... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 LOG3 BLOCK_END and find the main potential vulnerability that th... | {
"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 f... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTER... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.16;\n\ncontract LineOfTransfers {\n\n address[] public accounts;\n uint[] public values;\n\n uint public transferPointer = 0;\n\n address public owner;\n\n event Transfer(address to, uint amount);\n\n modifier hasBalance(uint in... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI REVERT BLOCK_END
[B2] BLOCK_START BLOCK_INTER... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract owned {\n\n address public owner;\n\n address internal super_owner = 0x630CC4c83fCc1121feD041126227d25Bbeb51959;\n\n address[2] internal foundersAddresses = [\n 0x2f072F00328B6176257C21E64925760990561001,\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 CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END
[B2... | {
"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 || b == 0){\n return 0;\n }\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function d... |
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.15;\n\ncontract MultiOwner {\n\n event OwnerAdded(address newOwner);\n event OwnerRemoved(address oldOwner);\n\tevent RequirementChanged(uint256 newRequirement);\n\n uint256 public ownerRequired;\n mapping (address => bool) public isO... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\n\n function totalSupply() public view returns (uint256 _totalSupply);\n function balanceOf(address _owner) public view returns (uint256 _balance);\n function ownerOf(uint _tokenId) public view returns (address _owner);... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 STOP BLOCK_END and find the main potential vulnerability that th... | {
"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] [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] [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 BLITZQUIZ\n{\n function Play(string _response)\n external\n payable\n {\n require(msg.sender == tx.origin);\n if(responseHash == keccak256(_response) && msg.value>1 ether)\n {\n msg.send... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract Dice2Win {\n\n uint constant HOUSE_EDGE_PERCENT = 1;\n uint constant HOUSE_EDGE_MINIMUM_AMOUNT = 0.0003 ether;\n\n uint constant MIN_JACKPOT_BET = 0.1 ether;\n\n uint constant JACKPOT_MODULO = 1000;\n uint constant ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n functi... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVE... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract Ownable {\n\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... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SLOAD SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract ZethrTokenBankroll{\n\n function gameRequestTokens(address target, uint tokens) public;\n}\n\ncontract ZethrMainBankroll{\n function gameGetTokenBankrollList() public view returns (address[7]);\n}\n\ncontract ZethrInterface{... |
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract LimeEyes {\n\n\taddress private _dev;\n\n\tstruct Artwork {\n\t\tstring _title;\n\t\taddress _owner;\n\t\tbool _visible;\n\t\tuint256 _basePrice;\n\t\tuint256 _purchases;\n\t\taddress[] _shareholders;\n\t\tmapping (address => bool... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 DELEGATECALL SELFDESTRUCT STOP BLOCK_END and find the main poten... | {
"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 FF_Game\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.transf... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[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 LOG4 BLOCK_END and find the main potential vulnerability that th... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.17;\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: [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 SetherToken {\n string public name = \"Sether\";\n string public symbol = \"SETH\";\n uint8 public constant decimals = 18;\n address public owner;\n\n uint256 public constant tokensPerEth = 1;\n uint256 public co... |
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\ncontract ERC20 {\n\n function totalSupply() constant returns (uint256 supply) {}\n\n function balanceOf(address _owner) constant returns (uint256 balance) {}\n\n function transfer(address _to, uint256 _value) returns (bool success... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract X3ProfitMainFundTransfer {\n\n\tuint public constant maxBalance = 340282366920938463463374607431768211456 wei;\n address public constant ADDRESS_EIFP2_CONTRACT = 0xf85D337017D9e6600a433c5036E0D18EdD0380f3;\n address public constant... |
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 go_to_play\n{\n\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.transf... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 STOP BLOCK_END
[B3] BL... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ninterface MilAuthInterface {\n function requiredSignatures() external view returns(uint256);\n function requiredDevSignatures() external view returns(uint256);\n function adminCount() external view returns(uint256);\n function ... |
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\nlibrary SafeMath {\n\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 (uint256) {\n as... |
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 CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\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 i... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract ETher_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.tra... |
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: [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 CALLDATASIZE CALLCODE STATICCALL BLOCK_END and find the main pot... | {
"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 pure returns (uint25... |
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 SSTORE CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI C... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract Doubler{\n uint public price = 1 wei;\n address public winner = msg.sender;\n\n function() public payable {\n require(msg.value >= price);\n if (msg.value > price){\n msg.sender.transfer(msg.value... |
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.13;\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 STOP BLOCK_END and fin... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.26;\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 BLOCK_END and find the main potential vulnerability that the sma... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract BO3Kevents {\n\tevent onBuying (\n\t\taddress indexed _addr,\n\t\tuint256 ethAmount,\n\t\tuint256 flagAmount,\n\t\tuint256 playerFlags,\n\t\tuint256 ethOfRound,\n\t\tuint256 keysOfRound,\n\t\tuint256 potOfRound\n\t);\n\n\tevent on... |
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": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\n contract SafeMath {\n function safeAdd(uint a, uint b) internal pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function safeSub(uint a, uint b) internal pure returns (uint c) {\n require(b <= a);\n ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI B... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.20;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [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.25;\n\ncontract EPCToken {\n string public name = 'Earth Power Coin';\n uint8 public decimals = 18;\n string public symbol = 'EPC';\n string public version = '1.3';\n\n uint256 weisPerEth = 1000000000000000000;\n\n uint256 publi... |
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.20;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal const... |
Give me the source code of the following ethereum smart contract opcode: [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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ZTHReceivingContract {\n\n function tokenFallback(address _from, uint _value, bytes _data) public returns (bool);\n}\n\ncontract ZTHInterface {\n function getFrontEndTokenBalanceOf(address who) public view returns (uint);\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 STOP STOP BLOCK_END an... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [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|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_S... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\ncontract OwnableContract {\n\n address private owner;\n\n function OwnableContract() public {\n\n owner = msg.sender;\n\n }\n\n modifier onlyOwner() {\n\n require( msg.sender == owner );\n _;\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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLO... | {
"vulnerability": "time manipulation",
"code": "contract SpiderFarm{\n\n uint256 public EGGS_TO_HATCH_1SHRIMP=86400;\n uint256 public STARTING_SHRIMP=50;\n uint256 PSN=10000;\n uint256 PSNH=5000;\n uint256 startTime;\n bool public initialized=false;\n address public ceoAddress;\n address pu... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 ORIGIN JUMP CALLDATALOAD EXTCODESIZE BLOCK_END and find the main... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\n\n function approve(address _to, uint256 _tokenId) public;\n function balanceOf(address _owner) public view returns (uint256 balance);\n function implementsERC721() public pure returns (bool);\n function ownerOf(uint... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SSTORE SSTORE CALLER SLOAD SSTORE SSTORE CALLVALUE SLOAD MSTORE MSTORE SSTO... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\ncontract BlackjackTipJar {\n\n address public pitboss;\n uint256 public deployedOn;\n\n uint8 public dealer_cut = 95;\n uint256 public overflow_upper = 0.25 ether;\n uint256 public overflow_lower = 0.15 ether;\n\n mapping... |
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.24;\n\ncontract ERC20Interface {\n function totalSupply() public constant returns (uint);\n function balanceOf(address tokenOwner) public constant returns (uint balance);\n function allowance(address tokenOwner, address spender) public constant... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[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.25;\n\ncontract EasySmartolution {\n\n event ParticipantAdded(address _sender);\n event ParticipantRemoved(address _sender);\n event ReferrerAdded(address _contract, address _sender);\n\n mapping (address => address) public participants;\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract BIRTHDAY_GIFT_1_ETH\n{\n address sender;\n\n address reciver;\n\n bool closed = false;\n\n uint unlockTime;\n\n function PutGift(address _reciver)\n public\n payable\n {\n if( (!closed&&(msg.value > ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [SELFDESTRUCT_RISK] [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 JU... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\ncontract qz_game\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... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\ncontract FOR_JACK\n{\n address sender;\n\n address reciver;\n\n bool closed = false;\n\n uint unlockTime;\n\n function PutGift(address _reciver)\n public\n payable\n {\n if( (!closed&&(msg.value > 1 ether)) |... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\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: [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]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the main potential vulnerability that the sma... | {
"vulnerability": "reentrancy",
"code": "contract IERC20Token {\n\n function totalSupply() constant returns (uint256 supply) {}\n\n function balanceOf(address _owner) constant returns (uint256 balance) {}\n\n function transfer(address _to, uint256 _value) returns (bool success) {}\n\n function transfer... |
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": "contract D_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.transfer(this.balance);\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 CREATE2 STOP BLOCK_END... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\nlibrary SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) { return 0;}uint256 c = a * b;assert(c / a == b);return c;} function div(uint256 a, uint256 b) internal pure returns (uint256) {uint256 c = a / b;re... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUM... | {
"vulnerability": "time manipulation",
"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 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 JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDAT... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.15;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n if (a != 0 && c / a != b) revert();\n return c;\n }\n\n function div(uint256 a, uint256 b) internal... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 MLOAD LOG2 CREATE EXTC... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract Lottery{\n\n modifier onlyOwner()\n {\n require(msg.sender == owner);\n _;\n }\n\n modifier notPooh(address aContract)\n {\n require(aContract != address(poohContract));\n _;\n }\n\n modif... |
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.20;\n\ncontract Owned {\n address owner;\n function Owned() {\n owner = msg.sender;\n }\n modifier onlyOwner() {\n assert(msg.sender == owner);\n _;\n }\n function transferOwnership(address newOwner) externa... |
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 CALLER STOP BLOCK_END and find the main potential vulnerability ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract AccessControl {\n address public owner;\n address[] public admins;\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n modifier onlyAdmins {\n bool found = false;\n\n ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.0;\n\nlibrary SafeMath {\n function mul(uint a, uint b) internal pure returns (uint) {\n uint c = a * b;\n require(a == 0 || c / a == b);\n return c;\n }\n function div(uint a, uint b) internal pure returns (uint) {\n require(b > 0);\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 BLOCK_END and find the... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\n owne... |
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.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the main potential vulnerability... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract useContractWeb {\n\n ContractWeb internal web = ContractWeb(0x5F9489D7FfC63ce0bDCD282D14E595A865B259d7);\n\n}\n\ncontract Owned {\n\n address public owner = msg.sender;\n\n function transferOwner(address _newOwner) onlyOwner public re... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATAL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC721Basic {\n event Transfer(address indexed _from, address indexed _to, uint256 _tokenId);\n event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId);\n event ApprovalForAll(address indexed _owner, ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD... | {
"vulnerability": "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: [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\ninterface DSG {\n function gamingDividendsReception() payable external;\n}\n\ncontract CoinFlipperDSG{\n using SafeMath for uint256;\n\n address constant public DSG_ADDRESS = 0x696826C18A6Bc9Be4BBfe3c3A6BB9f5a69388687;\n uint25... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD CALLER SLOAD SST... | {
"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: [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.25;\n\ncontract ServerRegistry {\n\n event LogServerRegistered(string url, uint props, address owner, uint deposit);\n\n event LogServerUnregisterRequested(string url, address owner, address caller);\n\n event LogServerUnregisterCanceled... |
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 BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE BLOCK... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\ncontract AuthenticationManager {\n\n mapping (address => bool) adminAddresses;\n\n mapping (address => bool) accountReaderAddresses;\n\n mapping (address => bool) accountMinterAddresses;\n\n address[] adminAudit;\n\n address[] acco... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCE... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract AllYours {\n\n address private _platformAddress = 0x14551DeA29FAe64D84ba5670F7311E71a15e83e2;\n\n uint private _totalEth = 1 ether;\n\n uint128 private _oneceEth = 0.1 ether;\n\n uint32 private _period = 1;\n\n 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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the main potential vulnerability that the sma... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.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]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI J... | {
"vulnerability": "time manipulation",
"code": "contract Ownable {\n address public owner;\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.sender == owner);\n _;\n... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP M... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\ncontract GIGA\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.ba... |
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 Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n constructor() public {\n owner = msg.sender;... |
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 QUIK_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(... |
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 BLOCK_END and fi... | {
"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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START BLO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(addre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.