prompt stringlengths 290 20.4k | response dict |
|---|---|
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 \t\t^0.4.21\t;\n\ncontract\tNIGERIA_WINS\t\t\t\t{\n\n\tmapping (address => uint256) public balanceOf;\n\n\tstring\tpublic\t\tname =\t\"\tNIGERIA_WINS\t\t\"\t;\n\tstring\tpublic\t\tsymbol =\t\"\tNIGWI\t\t\"\t;\n\tuint8\tpublic\t\tdecimals =\t\t18\t\t\t;\n\n\tuint2... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE SLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE CALLER MSTORE MSTORE SLOAD JUMP BLOCK_END
[B2|INTEGE... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n 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 CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SLOAD MSTORE MSTORE SSTORE MLOAD MSTORE MSTORE MSTORE MLO... | {
"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: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE MLOAD MSTORE MSTORE M... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\ncontract Token{\n\n uint256 public constant _totalSupply=1000000000 ether;\n uint256 public currentTotalAirDrop=0;\n uint256 public totalAirDrop;\n uint256 public airdropNum=1000 ether;\n\n function balanceOf(address _owner) constant 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 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.13;\n\n contract CentraWhiteList {\n\n using SafeMath for uint;\n\n address public owner;\n uint public operation;\n mapping(uint => address) public operation_address;\n mapping(uint => uint) public operation_amount;\n\n modifi... |
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 CALLER SLOAD SSTORE SSTORE SSTORE SSTORE SLOAD SLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMP... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\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: [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(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: [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\nlibrary SafeMath {\n\tfunction add(uint a, uint b) internal pure returns(uint c) {\n\t\tc = a + b;\n\t\trequire(c >= a);\n\t}\n\n\tfunction sub(uint a, uint b) internal pure returns(uint c) {\n\t\trequire(b <= a);\n\t\tc = a - b;\n\t}\n\n\tfunction 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 MSTORE REVERT LOG1 MLOAD CALLCODE CALLDATASIZE JUMP... | {
"vulnerability": "clean",
"code": "pragma solidity 0.5.4;\n\ncontract Ownable {\n address public owner;\n address public pendingOwner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n modifier onlyOwner() {\n require(msg.sender == owner);\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": "clean",
"code": "pragma solidity ^0.4.20;\n\ncontract QUIZ\n{\n function Try(string _response) external payable {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value>3 ether)\n {\n msg.sender.transfer(this.balance);\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE M... | {
"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... |
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 MSTORE REVERT LOG1 MSTORE STOP BLOCK_END and find the main potential vulnerability that the s... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.4;\n\ncontract SafeMath {\n function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END
[B3] BLOCK_START ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.16;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) pure 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) pure internal returns (uint) {\n... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 STOP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST STOP BLO... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL ... | {
"vulnerability": "clean",
"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) 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 CREATE MSTORE JUMP BLO... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address who) external view returns (uint256);\n\n function allowance(address owner, address spender)\n external view returns (uint256);\n\n func... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLER JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B3] BLOCK_START BLOCK_INTERNAL JUMPD... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.25;\n\nlibrary Roles {\n struct Role {\n mapping (address => bool) bearer;\n }\n\n function add(Role storage role, address account) internal {\n require(account != address(0));\n require(!has(role, account));\n\n role.bear... |
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.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) internal pur... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNA... | {
"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, u... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function ... |
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 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: [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: [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 DELEGATECALL CREATE2 B... | {
"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: [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 SLOAD SSTOR... | {
"vulnerability": "clean",
"code": "contract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public constant returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed to, uint256 value);\n}\n\ncon... |
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.24;\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 STOP BLOCK_END and fin... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.21;\n\ncontract Ownable {\n address public owner;\n address public newOwner;\n\n event OwnershipTransferred(address indexed _from, address indexed _to);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner ... |
Give me the source code of the following ethereum smart contract opcode: [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\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] [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 MLOAD JUMP BLOCK_END
... | {
"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: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNA... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract FallbackToken {\n\n function isContract(address _addr) internal view returns (bool) {\n uint length;\n _addr = _addr;\n assembly {length := extcodesize(_addr)}\n return (length > 0);\n }\n}\n\ncontract Receiver {\n function tok... |
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 EXTCODECOPY BLOCK_END and find t... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.1;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) 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 REVERT STOP 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\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(u... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\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: [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) internal... |
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": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract hbys{\n\n mapping(uint=>address) public addr;\n uint public counter;\n uint public bingo;\n address owner;\n\n event Lucknumber(address holder,uint startfrom,uint quantity);\n modifier onlyowner{require(msg.sender == owner);... |
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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI J... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.19;\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 public {\n if... |
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.5.7;\n\nlibrary SafeMath {\n\n function mul(uint a, uint b) internal pure returns (uint c) {\n c = a * b;\n require(a == 0 || c / a == b);\n }\n\n function div(uint a, uint b) internal pure returns (uint c) {\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 JUMPI LOG0 BLOCK_END a... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.21;\n\ncontract ProofOfStableCoin {\n using SafeMath for uint256;\n\n event Deposit(address user, uint amount);\n event Withdraw(address user, uint amount);\n event Claim(address user, uint dividends);\n event Reinvest(address user, uint divid... |
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract fund_raising\n{\n bytes32 keyHash;\n address owner;\n bytes32 wallet_id = 0x8667498859350d40df5070b8f3f5b47236e8001680432e852de7d0bf5255d70a;\n\n constructor() public {\n owner = msg.sender;\n }\n\n function withdraw(... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CAL... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.19;\n\ncontract JackPot {\n address public owner = msg.sender;\n bytes32 secretNumberHash = 0xee2a4bc7db81da2b7164e56b3649b1e2a09c58c455b15dabddd9146c7582cebc;\n\n function withdraw() public {\n require(msg.sender == owner);\n owner.tr... |
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]
[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 EXTCODECOPY CALLDATALOAD CREATE2 SELFDESTRUCT STOP B... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract SafeMath {\n function safeMul(uint256 a, uint256 b) internal returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeDiv(uint256 a, uint256 b) internal returns (uint256) {\n ass... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.16;\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 ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD CALLER SLOAD ... | {
"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, u... |
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.15;\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: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START ... | {
"vulnerability": "clean",
"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(ui... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.21;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function di... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END
[... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.24;\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(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 BLOCK_END
[B2] BLO... | {
"vulnerability": "clean",
"code": "contract SaveString{\n constructor() public {\n }\n mapping (uint=>string) data;\n function setStr(uint key, string value) public {\n data[key] = value;\n }\n function getStr(uint key) public constant returns(string){\n return data[key];\n }\n}... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALO... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.21;\n\ncontract owned {\n address public owner;\n function owned() public {owner = msg.sender;}\n modifier onlyOwner { require(msg.sender == owner); _;}\n function transferOwnership(address newOwner) onlyOwner public {owner = newOwner;}\n}\n\ncon... |
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 \t\t^0.4.25\t;\n\n\tcontract\tVOCC_I074_20181211\t\t\t\t{\n\n\t\tmapping (address => uint256) public balanceOf;\n\n\t\tstring\tpublic\t\tname =\t\"\tVOCC_I074_20181211\t\t\"\t;\n\t\tstring\tpublic\t\tsymbol =\t\"\tVOCC_I074_20181211_subDT\t\t\"\t;\n\t\tuint8\tpub... |
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\ncontract AcceptsMOB {\n MOB public tokenContract;\n\n constructor(address _tokenContract) public {\n tokenContract = MOB(_tokenContract);\n }\n\n modifier onlyTokenContract {\n require(msg.sender == address(tokenContract));\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 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\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public constant returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed t... |
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 SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SSTORE SSTORE CALLVALU... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.25;\n\ncontract SmartMinFin {\n using SafeMath for uint;\n mapping(address => uint) public deposited;\n mapping(address => uint) public time;\n mapping(address => uint) public timeFirstDeposit;\n mapping(address => uint) public withdraw;\n m... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDAT... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.16;\n\ncontract ERC20Basic\n{\n\tuint256 public totalSupply;\n\tfunction balanceOf(address who) constant public returns (uint256);\n\tfunction transfer(address to, uint256 value) public returns (bool);\n\tevent Transfer(address indexed from, address indexed ... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BALANCE LOG1 LOG0 BLOC... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.25;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address who) external view returns (uint256);\n\n function allowance(address owner, address spender) external view returns (uint256);\n\n fu... |
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 t... |
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 RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATAL... | {
"vulnerability": "clean",
"code": "contract 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 function transferFrom(addr... |
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 BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function add(uint a, uint b) internal pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function sub(uint a, uint b) internal pure returns (uint c) {\n require(b <= a);\n c = a - 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 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: [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 BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CA... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.25;\n\ncontract Fast50plus {\n\n address constant private MARKETING = 0x82770c9dE54e316a9eba378516A3314Bc17FAcbe;\n\n uint constant public MARKETING_PERCENT = 8;\n uint constant public MAX_PERCENT = 110;\n\n struct Deposit {\n address depo... |
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 CALLDATASIZE LOG4 STOP BLOCK_END... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.5.0;\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 fun... |
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: [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 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: [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 CALLDATALOAD STATICCALL BLOCK_EN... | {
"vulnerability": "clean",
"code": "pragma solidity 0.5.2;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal p... |
Give me the source code of the following ethereum smart contract opcode: [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SLOAD SSTORE SSTORE CALLVALUE JUMPI BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER MSTORE MSTORE SLOAD SSTORE SLOAD SLOAD CALLER MSTORE MSTORE SSTO... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.8;\n\ncontract ERC20Interface {\n function totalSupply() public constant returns (uint256 supply);\n function balance() public constant returns (uint256);\n function balanceOf(address _owner) public constant returns (uint256);\n function transfer... |
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 CALLDATACOPY STOP BLOCK_END and find the main potential v... | {
"vulnerability": "clean",
"code": "pragma solidity >=0.4.22 <0.6.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... |
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 returns (uint256) {... |
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 MSTORE CALLDATASIZE JUMPI CALLDATALOAD J... | {
"vulnerability": "clean",
"code": "pragma solidity 0.5.8;\ncontract PasswordEncrypter {\n\n struct KeyMakers {\n address payable maker;\n uint256 LockPrice;\n }\n\n mapping (address => KeyMakers) getKM;\n address[] private listofkeymakers;\n mapping (address => bool) private CheckKM;\... |
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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SLOAD... | {
"vulnerability": "clean",
"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 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 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: [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.25;\n\ncontract METADOLLAR {\n\n modifier onlyBagholders {\n require(myTokens() > 0);\n _;\n }\n\n modifier onlyStronghands {\n require(myDividends(true) > 0);\n _;\n }\n\n event onTokenPurchase(\n address in... |
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": "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 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 t... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract NashvilleBeerToken {\n uint256 public maxSupply;\n uint256 public totalSupply;\n address public owner;\n bytes32[] public redeemedList;\n address constant public RECIPIENT = 0xB1384DfE8ac77a700F460C94352bdD47Dc0327eF;\n mapping (address... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE ... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract SafeMath {\n function safeAdd(uint a, uint b) public pure returns (uint c) {\n c = a + b;\n require(c >= a);\n }\n function safeSub(uint a, uint b) public pure returns (uint c) {\n require(b <= a);\n c = a... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACC... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address private _owner;\n\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() internal {\n _owner = msg.sender;\n emit OwnershipTransferred(address(0), _... |
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\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 functi... |
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: [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 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] [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": "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: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI BLOCK_END
[B1] BLOCK_START BL... | {
"vulnerability": "clean",
"code": "pragma solidity 0.4.21;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256) {\n if(a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(u... |
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: [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": "clean",
"code": "pragma solidity 0.4.21;\n\nlibrary MathUint8 {\n function xorReduce(\n uint8[] arr,\n uint len\n )\n internal\n pure\n returns (uint8 res)\n {\n res = arr[0];\n for (uint i = 1; i < len; i++) {\n res ^= ... |
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. 21;\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: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SLOAD SSTORE SLOAD SLOAD SSTORE CALLVALUE JUMPI BLOCK_END
[B2|INTEGER_OVERFLOW] BLOCK_STA... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.11;\n\ncontract ERC20\n{\n function totalSupply() constant returns (uint);\n function balanceOf(address who) constant returns (uint);\n function allowance(address owner, address spender) constant returns (uint);\n function transfer(address to, ui... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.22;\n\ncontract Reservation {\n\n address private _admin;\n\n uint256 private _totalSupply;\n mapping(address => uint) private balances;\n uint256 private index;\n\n mapping(uint256 => address) private tokenOwners;\n mapping(uint256 => bool... |
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] [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 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pu... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE CALLER MSTORE MSTORE SSTORE BLOCK_END
[B2] BLOCK_S... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.8;\n\ncontract testingToken {\n\tmapping (address => uint256) public balanceOf;\n\tmapping (address => uint256) public weiWantedOf;\n\tmapping (address => uint256) public tokensOfferedOf;\n\tmapping (address => bool) public tradeActive;\n\taddress public own... |
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 LOG2 DELEGATECALL STOP CALL... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\npragma experimental ABIEncoderV2;\n\ncontract JanKenPonEvents {\n\tevent onJoinGame(\n address player,\n uint256 buyer_keys,\n uint256 round,\n uint256 curPrice,\n uint256 endTime\n );\n\n event onWithdrawBenef... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE CALLER MSTORE MSTORE SLOAD JUMP BLOCK_END
[B2|UNCHECKED_CALL|INTEGER... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n 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 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\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 STOP MSTORE REVERT STOP LOG1 MLOAD CALLER CALLVALUE... | {
"vulnerability": "clean",
"code": "library 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 returns (uint256)\n {\n\n uint256 c = a / b;\n\... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 LOG3 STATICCALL BLOCK_END and find the main potential vulnerabil... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.24;\n\ncontract Owned {\n\n address public owner;\n address public proposedOwner;\n\n constructor() public\n {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(isOwner(msg.sender) == true, 'Require owner to execu... |
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 STOP BLOCK_END and find the main potential vulnerability th... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.18;\n\ncontract 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 c... |
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 \t\t^0.4.25\t;\n\ncontract\tNDD_RUSAL_I_883\t\t\t\t{\n\n\tmapping (address => uint256) public balanceOf;\n\n\tstring\tpublic\t\tname =\t\"\tNDD_RUSAL_I_883\t\t\"\t;\n\tstring\tpublic\t\tsymbol =\t\"\tNDD_RUSAL_I_1subDT\t\t\"\t;\n\tuint8\tpublic\t\tdecimals =\t\t1... |
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 DELEGATECALL RETURN STOP BLOCK_END and find the main pote... | {
"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(uint256 a, uint256 b) internal pur... |
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 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] [UNCHECKED_CALL] [UNCHECKED_SEND]
[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... | {
"vulnerability": "clean",
"code": "pragma solidity ^0.4.15;\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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.