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 SLOAD CALLER BLOCK_END... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ninterface ERC165 {\n\n function supportsInterface(bytes4 _interfaceId)\n external\n view\n returns (bool);\n}\n\ncontract ERC721Basic is ERC165 {\n\n bytes4 internal constant InterfaceId_ERC721 = 0x80ac58cd;\n\n bytes4 internal constant In... |
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": "clean",
"code": "pragma solidity ^0.4.20;\n\ncontract TRYTOPLAY\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.balance... |
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 MSTORE CALLDATASIZE JUM... | {
"vulnerability": "clean",
"code": "pragma solidity 0.5.1;\n\ncontract MyBank {\n\n mapping (address => uint) bank;\n\n function getValue() public view returns (uint) {\n return bank[msg.sender];\n }\n\n function diposit() payable public {\n require(msg.value > 0);\n bank[msg.send... |
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 SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INT... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\ncontract BaseToken {\n string public name;\n string public symbol;\n uint8 public decimals;\n uint256 public totalSupply;\n\n mapping (address => uint256) public balanceOf;\n mapping (address => mapping (address => uint256)) public a... |
Give me the source code of the following ethereum smart contract opcode: [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SLOAD SLOAD MSTORE MSTORE SSTORE BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.8;\n\ncontract ERC20Interface {\n\n function totalSupply() constant returns (uint256 totalSupply);\n\n function balanceOf(address _owner) constant returns (uint256 balance);\n\n function transfer(address _to, uint256 _value) returns (bool success);\n\n f... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B2|CALLVALUE_CHE... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.20;\n\ncontract MB {\n\n string public name = \"MicroChain\";\n string public symbol = \"MB\";\n uint public decimals = 18;\n uint public INITIAL_SUPPLY = 100000000000000000000000000000;\n\n mapping(address => uint) balances;\n mapping (address => mapp... |
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": "clean",
"code": "pragma solidity ^0.4.19;\n\npragma solidity ^0.4.0;\n\ncontract OraclizeI {\n address public cbAddress;\n function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id);\n function query_withGasLimit(uint _timestamp, string _datasource, s... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI REVERT BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "clean",
"code": "contract CarPark {\n\n string public standard = 'Token 0.1';\n string public name;\n string public symbol;\n uint8 public decimals;\n uint256 public initialSupply;\n uint256 public totalSupply;\n\n mapping (address => uint256) public balanceOf;\n mapping ... |
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": "clean",
"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 r... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract DSAuthority {\n function canCall(\n address src, address dst, bytes4 sig\n ) public view returns (bool);\n}\n\ncontract DSAuthEvents {\n event LogSetAuthority (address indexed authority);\n event LogSetOwner (address in... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI JUMPI BLOCK_END
[B3] BLOCK_START ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.11;\n\npragma solidity ^0.4.0;\n\ncontract OraclizeI {\n address public cbAddress;\n function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id);\n function query_withGasLimit(uint _timestamp, string _datasource, s... |
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": "clean",
"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)... |
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 CALLDATACOPY MSTORE8 J... | {
"vulnerability": "clean",
"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(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 MSTORE REVERT LOG1 DELEGATECALL BLOCK_END and find ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.0;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n function balanceOf(address who) external view returns (uint256);\n function allowance(address owner, address spender) external view returns (uint256);\n function 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 BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE BLO... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract CrocsFarmer{\n\n uint256 public EGGS_TO_HATCH_1CROCS=86400;\n uint256 public STARTING_CROCS=10;\n uint256 PSN=10000;\n uint256 PSNH=5000;\n bool public initialized=false;\n address public ceoAddress;\n mapping (address =>... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.20;\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) intern... |
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 CALLDATASIZE RE... | {
"vulnerability": "clean",
"code": "pragma solidity ^ 0.4 .9;\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 ret... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 JUMP DELEGATECALL STOP... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function add(uint a, uint b) internal pure returns (uint c) {\n\n c = a + b;\n\n require(c >= a);\n\n }\n\n function sub(uint a, uint b) internal pure returns (uint c) {\n\n require(b <= a);\n\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 BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JU... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.11;\n\ncontract RegistryICAPInterface {\n function parse(bytes32 _icap) constant returns(address, bytes32, bool);\n function institutions(bytes32 _institution) constant returns(address);\n}\n\ncontract EToken2Interface {\n function registryICAP() con... |
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": "clean",
"code": "pragma solidity ^0.4.11;\n\ncontract SafeMath {\n function safeAdd(uint256 x, uint256 y) internal returns(uint256) {\n uint256 z = x + y;\n assert((z >= x) && (z >= y));\n return z;\n }\n\n function safeSubtract(uint256 x, uint256 y) internal returns(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 REVERT STOP LOG1 RETURN LOG4 EXTCODESIZE LOG2 BLOCK_END and find the main potenti... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\ncontract ERC721 {\n\n function totalSupply() public view returns (uint256 total);\n function balanceOf(address _owner) public view returns (uint256 balance);\n function ownerOf(uint256 _tokenId) external view returns (address owner);\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 MLOAD STOP BLOCK_END a... | {
"vulnerability": "clean",
"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 }\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|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZ... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.24;\n\ncontract EternalStorage {\n\n mapping(bytes32 => uint256) internal uintStorage;\n mapping(bytes32 => string) internal stringStorage;\n mapping(bytes32 => address) internal addressStorage;\n mapping(bytes32 => bytes) internal bytesStorage;\n... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract SafeMath {\n function safeAdd(uint a, uint b) public pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function safeSub(uint a, uint b) public pure returns (uint c) {\n require(b <= a);\n c = a... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SSTORE JUMPI BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SLOAD JUMPI BLOCK_END
[B2] BLOCK_STA... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.17;\n\ncontract ERC20Interface {\n\n function totalSupply() public constant returns (uint256 _totalSupply);\n\n function balanceOf(address _owner) public constant returns (uint256 balance);\n\n function transfer(address _to, uint256 _value) public r... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST S... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.11;\n\ncontract ERC20 {\n uint public totalSupply;\n function balanceOf(address who) constant returns (uint);\n function allowance(address owner, address spender) constant returns (uint);\n\n function transfer(address to, uint value) returns (bool ok);\n... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI J... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {\n\n if (_a == 0) {\n return 0;\n }\n\n uint256 c = _a * _b;\n require(c / _a == _b);\n\n return c;\n }\n\... |
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": "clean",
"code": "pragma solidity ^0.4.20;\n\ncontract Token {\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 ... |
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": "clean",
"code": "pragma solidity 0.4.24;\n\ncontract SelfAuthorized {\n modifier authorized() {\n require(msg.sender == address(this), \"Method can only be called from this contract\");\n _;\n }\n}\n\ncontract ErrorUtils {\n\n event LogError(string methodSig, string errMsg... |
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 LOG4 BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST ML... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) { return 0;}\n uint256 c = a * b; assert(c / a == b); return c;\n }\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\... |
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 SSTORE CALLER MSTORE MSTORE SSTO... | {
"vulnerability": "clean",
"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 indexed f... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE MLOAD MSTORE MSTORE MSTORE M... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.11;\n\ncontract ERC20Standard {\n\tuint256 public totalSupply;\n\tbool public mintable;\n\tstring public name;\n\tuint256 public decimals;\n\tstring public symbol;\n\taddress public owner;\n\n\tmapping (address => uint256) balances;\n\tmapping (address => ma... |
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": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract owned {\n address public owner;\n\n constructor() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner {\n require(msg.sender == owner);\n _;\n }\n\n function transferOwnership(address newOwner) onl... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 ORIGIN STOP BLOCK_END ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.23;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender ==... |
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": "clean",
"code": "pragma solidity 0.4.18;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed to, ui... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B2|CALLVALUE_CHECK] BLOCK_START B... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract RippleRed {\n\n mapping (address => uint256) public balanceOf;\n\n string public name = \"Ripple Red\";\n string public symbol = \"XRPR\";\n uint8 public decimals = 18;\n\n uint256 public totalSupply = 7965756597320 * (uint256(... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN MSTORE REVERT LOG1 STOP BLOCK_END and find the main potential vulnerability that the smart contract has. | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.7;\n\nlibrary SafeMath\n{\n function mul(uint256 a, uint256 b) internal pure returns (uint256)\n {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure retu... |
Give me the source code of the following ethereum smart contract opcode: [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": "clean",
"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) internal pur... |
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 EXTCODECOPY BLOCK_END and find the main potential vulnerability ... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.24;\n\ncontract Owned {\n address public owner;\n\n constructor() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n function transferOwnership(address newOwner) pu... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract SafeMath {\n\n function safeMul(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 ... |
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": "clean",
"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(ui... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI 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": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract Token {\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 ... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE RETURN MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.4;\n\ncontract Token {\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 f... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3]... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.9;\n\ncontract Billionscoin {\n\n string public standard = 'Token 0.1';\n string public name;\n string public symbol;\n uint8 public decimals;\n uint256 public initialSupply;\n uint256 public totalSupply;\n\n mapping (address => uint256)... |
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 CREATE2 MSTORE8... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ninterface IERC165 {\n\n function supportsInterface(bytes4 interfaceId)\n external\n view\n returns (bool);\n}\n\ncontract ERC165 is IERC165 {\n\n bytes4 private constant _InterfaceId_ERC165 = 0x01ffc9a7;\n\n mapping(bytes4 => bool) private... |
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 BLOCK_END
[B1] BLOCK_START BLOCK_INTER... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender ==... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLVALUE JUMPI REVERT BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "clean",
"code": "contract COSHASGD {\n string public standard = 'CSGD 2.0';\n string public name;\n string public symbol;\n uint8 public decimals;\n uint256 public initialSupply;\n uint256 public totalSupply;\n\n mapping (address => uint256) public balanceOf;\n mapping (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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed f... |
Give me the source code of the following ethereum smart contract opcode: [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE RETURN MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMP... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.4;\n\ncontract Token {\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 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": "clean",
"code": "pragma solidity ^0.4.23;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\n owner = 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 STOP MSTORE8 STOP BLOC... | {
"vulnerability": "clean",
"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 }\n\n function div(uint256 a, uint256 b) ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD BLOCK_END
[B2|INTEGER_OVERFLOW] BLOCK... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.16;\n\ncontract TKT_TokenERC20 {\n\n string public name;\n string public symbol;\n uint8 public decimals = 18;\n\n uint256 public totalSupply;\n\n mapping (address => uint256) public balanceOf;\n mapping (address => mapping (address => uint... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B2|CALLVALUE_CHECK] BLOCK_START B... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ninterface IERC20 {\n function balanceOf(address _owner) public view returns (uint256);\n function allowance(address _owner, address _spender) public view returns (uint256);\n function transfer(address _to, uint256 _value) public returns (bool);\n ... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE RETURN MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.4;\n\ncontract Token {\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 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|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER MSTORE MSTORE SSTORE ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.16;\ncontract UKC{\n\n uint256 constant private MAX_UINT256 = 2**256 - 1;\n mapping (address => uint256) public balances;\n mapping (address => mapping (address => uint256)) public allowed;\n\n uint256 public totalSupply;\n string public name;... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD J... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint a, uint b) internal returns (uint) {\n\n uint c = a / b;\n\n return c... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD BLOCK_END
[B2] BLOCK_S... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.15;\n\ncontract MultiSigWallet {\n\n event Confirmation(address indexed sender, uint indexed transactionId);\n event Revocation(address indexed sender, uint indexed transactionId);\n event Submission(uint indexed transactionId);\n event Execution... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 CALLCODE STATICCALL ST... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\n owner = 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 LOG4 STOP BLOCK_END and find the main potential vulnerabili... | {
"vulnerability": "clean",
"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(uint256 _tokenId... |
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": "clean",
"code": "contract 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 require(newOwner != address(0));\n ... |
Give me the source code of the following ethereum smart contract opcode: [INTEGER_OVERFLOW] [UNCHECKED_CALL]
[B0|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD SLOAD MSTORE JUMPI MLOAD SSTORE JUMP BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE JUMPI BLOC... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.0;\ncontract whoSays {\n\n string public name = \"whoSays\";\n\n mapping(address => bytes) public data;\n\n event Said(address indexed person, bytes message);\n\n function saySomething(bytes _data) public {\n data[msg.sender] = _data;\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] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.12;\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 (uint256) {... |
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 MSTORE REVERT LOG1 RETURN CALL SELFDESTRUCT BLOCK_E... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.0;\n\ninterface IERC20 {\n function transfer(address to, uint256 value) external returns (bool);\n\n function approve(address spender, uint256 value) external returns (bool);\n\n function transferFrom(address from, address to, uint256 value) externa... |
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": "clean",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint _a, uint _b) internal pure returns (uint 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(uint _a, uint _b) internal pure retu... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.23;\n\ncontract Proxy {\n\n function implementation() public view returns (address);\n\n function() external payable {\n address _impl = implementation();\n\n assembly {\n let ptr := mload(0x40)\n calldatacopy(ptr, 0... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n\n if (a == 0) {\n return 0;\n }\n\n uint256 c = a * b;\n require(c / a == b);\n\n return c;\n }\n\n function div(uint256 a, uint256 b)... |
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": "clean",
"code": "pragma solidity ^0.4.23;\n\ncontract Token {\n\n function totalSupply() constant returns (uint supply) {}\n\n function balanceOf(address _owner) constant returns (uint balance) {}\n\n function transfer(address _to, uint _value) returns (bool success) {}\n\n function ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI BLOCK_END
[B2] BLOCK_STAR... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract SafeMath {\n function safeAdd(uint a, uint b) public pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function safeSub(uint a, uint b) public pure returns (uint c) {\n require(b <= a);\n c = a... |
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 MSTORE REVERT LOG1 LOG3 BLOCK_END and find the main... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.0;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n function balanceOf(address who) external view returns (uint256);\n function allowance(address owner, address spender) external view returns (uint256);\n function transfe... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath {\n function mul(uint a, uint b) internal pure returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint a, uint b) internal pure returns (uint) {\n\n uint c = a / b;\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": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract Token {\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 ... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 CALL REVERT LOG4 BLOCK... | {
"vulnerability": "clean",
"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 (... |
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": "clean",
"code": "pragma solidity ^0.4.15;\n\ncontract Owned {\n address public owner;\n function owned() {\n owner = msg.sender;\n }\n modifier onlyOwner {\n require(msg.sender == owner);\n _;\n }\n function transferOwnership(address _newOwner) onlyOwner {\... |
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 JU... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.23;\n\ncontract Ownable {\n address public owner;\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n constructor() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(ms... |
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 BLOCK_... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed f... |
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": "clean",
"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 BLOCK_END
[B2] BLOCK_STAR... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract SafeMath {\n function safeAdd(uint a, uint b) public pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function safeSub(uint a, uint b) public pure returns (uint c) {\n require(b <= a);\n c = a... |
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 CALLCODE B... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract FairHouse {\n\n using SafeMath for uint256;\n using NameFilter for string;\n\n uint constant HOUSE_EDGE_PERCENT = 1;\n uint constant HOUSE_EDGE_MINIMUM_AMOUNT = 0.0003 ether;\n\n uint constant RECOMMENDER_PERCENT = 50;\n\n u... |
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": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract Ownable {\n address public owner;\n\n constructor() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n}\n\ncontract Authorize is Ownable {\n\n addres... |
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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JU... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract GoCryptobotAccessControl {\n address public owner;\n address public operator;\n\n bool public paused;\n\n modifier onlyOwner() {require(msg.sender == owner); _;}\n modifier onlyOperator() {require(msg.sender == operator); _;}\n... |
Give me the source code of the following ethereum smart contract opcode: [DELEGATECALL_RISK]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2|DELEGATECALL_RISK] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 DELEGAT... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract Olympus {\n\n using SafeMath for uint;\n\n mapping (address=>uint) public invest;\n mapping (address=>uint) public percentage;\n mapping (address=>uint) public time_stamp;\n\n address techSupport = 0x0bD47808d4A09aD155b00C39dBb... |
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 MSTORE REVERT LOG1 STOP BLOCK_END and find the main... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.2;\n\ninterface IERC20 {\n function transfer(address to, uint256 value) external returns (bool);\n\n function approve(address spender, uint256 value) external returns (bool);\n\n function transferFrom(address from, address to, uint256 value) externa... |
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 STATICCALL CREATE2 BLO... | {
"vulnerability": "clean",
"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 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 LOG0 STOP BLOCK_END an... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\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) internal... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE SLOAD CA... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.16;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) constant returns (uint256);\n function transfer(address to, uint256 value) returns (bool);\n event Transfer(address indexed from, address indexed to, uint256 val... |
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": "clean",
"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 (uint256) {\n\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END
[B1] BLOCK_START... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.24;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\n owner = ms... |
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": "clean",
"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 (uint256) {\... |
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 MSTORE REVERT LOG1 STOP BLOCK_END and find the main... | {
"vulnerability": "clean",
"code": "pragma solidity 0.5.1;\n\ninterface Proxy {\n\n function execute(\n address _target,\n address _a,\n address _b,\n uint256 _c\n )\n external;\n\n}\n\ninterface ERC721\n{\n\n event Transfer(\n address indexed _from,\n address indexed _to,\n uint256 inde... |
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": "clean",
"code": "pragma solidity ^0.4.25;\ncontract NOTBAD_DynamicS {\n mapping (address => uint256) public invested;\n mapping (address => uint256) public atBlock;\n function () external payable\n {\n if (invested[msg.sender] != 0) {\n\n uint256 amount = invested[m... |
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 CALLER SLOAD SSTORE SLOAD MSTORE... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.24;\n\ninterface ContractReceiver {\n function tokenFallback( address from, uint value, bytes data ) external;\n}\n\ncontract SafeMath2 {\n\n function safeSub(uint a, uint b) internal pure returns (uint) {\n assert(b <= a);\n return a - b;\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": "clean",
"code": "pragma solidity ^0.4.25;\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 (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] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\ncontract Token {\n\n function totalSupply() constant returns (uint supply) {}\n\n function balanceOf(address _owner) constant returns (uint balance) {}\n\n function transfer(address _to, uint _value) returns (bool success) {}\n\n function ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 CALLDATALOAD STOP BLOCK_END and find the main potential vulnerab... | {
"vulnerability": "clean",
"code": "pragma solidity ^ 0.4 .13;\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 safeDiv(uint a, uint b) internal returns(uint) {\n as... |
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": "clean",
"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) internal pur... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 EXTCODESIZE BLOCK_END
... | {
"vulnerability": "clean",
"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(ui... |
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": "clean",
"code": "pragma solidity 0.4.24;\n\ncontract Utils {\n\n modifier addressValid(address _address) {\n require(_address != address(0), \"Utils::_ INVALID_ADDRESS\");\n _;\n }\n\n}\n\ncontract DSNote {\n event LogNote(\n bytes4 indexed sig,\n address ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"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.sender ==... |
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 JUMPI BLOCK_END and find the main potential vulnerability that t... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath {\n\nfunction mul(uint256 a, uint256 b) internal pure returns (uint256) {\nif (a == 0) {\nreturn 0;\n}\nuint256 c = a * b;\nassert(c / a == b);\nreturn c;\n}\n\nfunction div(uint256 a, uint256 b) internal pure returns (uint256) {\n\nu... |
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 MLOAD JUMPI REVE... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\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 Submission... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.