prompt stringlengths 290 20.4k | response dict |
|---|---|
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(m... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract PRESENT_1_ETH\n{\n address sender;\n\n address reciver;\n\n bool closed = false;\n\n uint unlockTime;\n\n function PutGift(address _reciver)\n public\n payable\n {\n if( (!closed&&(msg.value > 1 ethe... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "library 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) internal pure returns ... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n function add(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... |
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 BLOCK_END and f... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n func... |
Give me the source code of the following ethereum smart contract opcode: [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 LOG2 ORIGIN MSTORE8 BL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\n interface DevsInterface {\n function payDividends(string _sourceDesc) public payable;\n}\n\ncontract ETHedgeToken {\n\n modifier onlyBagholders {\n require(myTokens() > 0);\n _;\n }\n\n modifier onlyStronghands {\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n function mul(uint a, uint b) internal pure returns (uint) {\n if (a == 0) {\n return 0;\n }\n uint c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint a, uint b) internal pure returns... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract SelfKeyToken {\n string public name = \"SelfKey Token\";\n string public symbol = \"KEY\";\n uint8 public constant decimals = 18;\n address public owner;\n\n uint256 public constant tokensPerEth = 1;\n uint256 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 SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD M... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.13;\n\ncontract Authority {\n function canCall(address src, address dst, bytes4 sig) constant returns (bool);\n}\n\ncontract AuthEvents {\n event LogSetAuthority (address indexed authority);\n event LogSetOwner (address indexed owner... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMP... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.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 (uint2... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP M... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\ncontract CONUNDRUM\n{\n\n string public question;\n\n address questionSender;\n\n bytes32 responseHash;\n\n function StartGame(string _question,string _response)\n public\n payable\n {\n if(responseHash==0x0)\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract f_game\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 0.4 ether)\n {\n msg.sender.trans... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract CrowdsaleL{\n\n using SafeMath for uint256;\n\n enum TokenSaleType {round1, round2}\n enum Roles {beneficiary, accountant, manager, observer, bounty, team, company}\n\n address constant TaxCollector = 0x0;\n\n uint256[2] 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 SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTER... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract PredictionHandshake {\n\n struct Market {\n\n address creator;\n uint fee;\n bytes32 source;\n uint closingTime;\n uint reportTime;\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract AllYours {\n\n address private _platformAddress = 0xaE30634dF7Aa80a717a2114C758d18Fb1CDdCBbd;\n\n uint private _totalEth = 0.1 ether;\n\n uint128 private _oneceEth = 0.01 ether;\n\n uint32 private _period = 1;\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 SELFDESTRUCT LOG0 BLOC... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract Olympus {\n using SafeMath for uint;\n\n address private constant supportAddress = 0x0bD47808d4A09aD155b00C39dBb101Fb71e1C0f0;\n uint private constant supportPercent = 1;\n\n mapping(address => uint) private shares;\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 MLOAD MSTORE ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract quiz_BLZ\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.trans... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP M... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\ncontract X_GAME\n{\n function Play(string _response)\n external\n payable\n {\n require(msg.sender == tx.origin);\n if(responseHash == keccak256(_response) && msg.value>1 ether)\n {\n msg.sender.... |
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 CALL STOP BLO... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract AceDice {\n\n uint constant HOUSE_EDGE_PERCENT = 2;\n uint constant HOUSE_EDGE_MINIMUM_AMOUNT = 0.0004 ether;\n\n uint constant MIN_JACKPOT_BET = 0.1 ether;\n\n uint constant JACKPOT_MODULO = 1000;\n uint constant JACKPOT_FEE... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVAL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.23;\n\n contract 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, 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 CALLER SLOAD SSTORE SSTORE SSTORE MLOAD MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE JUMP BLOCK_END
[B1] BLOCK_START... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.22;\n\ncontract Roulette {\n\n uint betAmount;\n uint necessaryBalance;\n uint nextRoundTimestamp;\n address creator;\n uint256 maxAmountAllowedInTheBank;\n mapping (address => uint256) winnings;\n uint8[] payouts;\n uint8[] numberRange;\... |
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 BLOCK_END and find the main potential vulnerability that ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\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)... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST SSTORE SSTORE S... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract DiscountToken { mapping (address => uint256) public balanceOf; }\n\ncontract TwoCoinsOneMoonGame {\n struct Bettor {\n address account;\n uint256 amount;\n uint256 amountEth;\n }\n\n struct Event {\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 SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INT... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract Slugroad {\n using SafeMath for uint;\n\n event WithdrewBalance (address indexed player, uint eth);\n event BoughtSlug (address indexed player, uint eth, uint slug);\n event SkippedAhead (address indexed player, uint e... |
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 MLOAD MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE JUMP BLOCK_END
[B1] BLOCK_START... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.22;\n\ncontract Roulette {\n\n uint betAmount;\n uint necessaryBalance;\n uint nextRoundTimestamp;\n address creator;\n uint256 maxAmountAllowedInTheBank;\n mapping (address => uint256) winnings;\n uint8[] payouts;\n uint8[] numberRange;\... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(m... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY_DELEGATECALL] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE MLOAD MSTORE MLOAD MLOAD MLOAD CALLER SLOA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract FckDice {\n\n uint public HOUSE_EDGE_PERCENT = 1;\n uint public HOUSE_EDGE_MINIMUM_AMOUNT = 0.0003 ether;\n\n uint public MIN_JACKPOT_BET = 0.1 ether;\n\n uint public JACKPOT_MODULO = 1000;\n uint public JACKPOT_FEE... |
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 JUMP STOP BLOCK_END and find the main potential vulnerability th... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\ninterface ERC165 {\n function supportsInterface(bytes4 interfaceID) external view returns (bool);\n}\n\ncontract ERC721 is ERC165 {\n event Transfer(address indexed _from, address indexed _to, uint256 _tokenId);\n event Approval(a... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "contract ESportsConstants {\n uint constant TOKEN_DECIMALS = 18;\n uint8 constant TOKEN_DECIMALS_UINT8 = uint8(TOKEN_DECIMALS);\n uint constant TOKEN_DECIMAL_MULTIPLIER = 10 ** TOKEN_DECIMALS;\n\n uint constant RATE = 240;\n}\n\nlibrary SafeMath {\n function ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public constant returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, addre... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract MultiSigWallet {\n\n event Confirmation(address sender, bytes32 transactionId);\n event Revocation(address sender, bytes32 transactionId);\n event Submission(bytes32 transactionId);\n event Execution(bytes32 transactio... |
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": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract Game {\n address constant private PROMO = 0x51A2BF880F4db7713E95498833308ffE4D61d080;\n uint constant public PROMO_PERCENT = 15;\n uint constant public MULTIPLIER = 120;\n uint constant public MAX_DEPOSIT = 1 ether;\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMP... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.17;\n\ncontract Ownable {\n address public owner;\n address public bot;\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n modifier onlyBot() {\n re... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SLOAD SSTORE SLOAD SSTORE BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END
[B3] B... | {
"vulnerability": "time manipulation",
"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 safeDiv(uint a, uint b) 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 CALLDATASIZE MLOAD EXTCODECOPY LOG2 BLOCK_END and find the main ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC721 {\n\n function approve(address _to, uint256 _tokenId) public;\n function balanceOf(address _owner) public view returns (uint256 balance);\n function implementsERC721() public pure returns (bool);\n function ownerOf(uint... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 STOP BLOCK_END and fin... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\n\ncontract AcceptsGameofGold {\n GameofGold public tokenContract;\n\n function AcceptsGameofGold(address _tokenContract) public {\n tokenContract = GameofGold(_tokenContract);\n }\n\n modifier onlyTokenContract {\n require... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE SLOAD SSTORE CALLER S... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ninterface HourglassInterface {\n function buy(address _referredBy) payable external returns(uint256);\n function balanceOf(address _playerAddress) external view returns(uint256);\n function transfer(address _toAddress, uint256 _am... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI BLOCK_END
[B2] BLOCK_STAR... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract IGold {\n\n function balanceOf(address _owner) public constant returns (uint256);\n function issueTokens(address _who, uint _tokens) public;\n function burnTokens(address _who, uint _tokens) public;\n}\n\ncontract IMNTP {... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ninterface PlayerBookReceiverInterface {\n function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external;\n function receivePlayerNameList(uint256 _pID, bytes32 _name) external;\n}\n\ncontract PlayerBo... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ncontract Simpl_quiz\n{\n function Try(string _response) external payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 1 ether)\n {\n msg.sender.tra... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract PG_Bank\n{\n function Put(uint _unlockTime)\n public\n payable\n {\n var acc = Acc[msg.sender];\n acc.balance += msg.value;\n acc.unlockTime = _unlockTime>now?_unlockTime:now;\n LogFile.AddMessage(... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALO... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract ForeignToken {\n function balanceOf(address _owner) public constant returns (uint256);\n function transfer(address _to, uint256 _value) public returns (bool);\n}\n\ncontract EIP20Interface {\n uint256 public totalSupply;\... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDES... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATALOAD JUMPI BLOCK_END
[B3] BLOCK_START BLOCK_... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SSTORE BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.16;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 CALLDATALOAD BLOCK_END... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\ninterface DSG {\n function gamingDividendsReception() payable external;\n}\n\ncontract DiceDSG{\n using SafeMath for uint256;\n\n address constant public DSG_ADDRESS = 0x696826C18A6Bc9Be4BBfe3c3A6BB9f5a69388687;\n uint256 publi... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END and... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract AccessControl {\n\n address public ceoAddress;\n address public cooAddress;\n\n bool public paused = false;\n\n function AccessControl() public {\n ceoAddress = msg.sender;\n cooAddress = msg.sender;\n }\n\n modifier o... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the main potential vulnerability that the sma... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) int... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 CREATE2 CALLDATACOPY BLOCK_END and find the... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract IERC20 {\n function totalSupply() public constant returns (uint _totalSupply);\n function balanceOf(address _owner) public constant returns (uint balance);\n function transfer(address _to, uint _value) public returns (bool succe... |
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 BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START BLOCK_I... | {
"vulnerability": "reentrancy",
"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, uint25... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\ncontract ZTHInterface {\n function buyAndSetDivPercentage(address _referredBy, uint8 _divChoice, string providedUnhashedPass) public payable returns (uint);\n function balanceOf(address who) public view 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] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE CALLER MLOAD MSTORE MSTORE MSTORE JUMP BLOCK... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary Roles {\n struct Role {\n mapping (address => bool) bearer;\n }\n\n function add(Role storage _role, address _addr)\n internal\n {\n _role.bearer[_addr] = true;\n }\n\n function remove(Role storage _role, address _ad... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the main potential vulnerability that the sma... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\nlibrary Math {\n function mul(uint256 a, uint256 b)\n internal\n pure\n returns (uint256)\n {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\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": "reentrancy",
"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... |
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": "reentrancy",
"code": "library 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) internal pure returns (uint25... |
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 STOP BLOCK_END a... | {
"vulnerability": "reentrancy",
"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 require(c / a == b);\n return c;\n }\n\n funct... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() public {\n owne... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract U_BANK\n{\n function Put(uint _unlockTime)\n public\n payable\n {\n var acc = Acc[msg.sender];\n acc.balance += msg.value;\n acc.unlockTime = _unlockTime>now?_unlockTime:now;\n LogFile.AddMessage(m... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.21;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipRenounced(address indexed previousOwner);\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner =... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMP... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract PrivateGift\n{\n address sender;\n\n address reciver;\n\n bool closed = false;\n\n uint unlockTime;\n\n function PutGift(address _reciver)\n public\n payable\n {\n if( (!closed&&(msg.value > 1 ether)... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.19;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "time manipulation",
"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 ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|INTEGER_OVERFLOW|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE CALLV... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SLOAD SSTORE SSTORE SLOAD SLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (uint25... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALO... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(m... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract c_BANK\n{\n function Put(uint _unlockTime)\n public\n payable\n {\n var acc = Acc[msg.sender];\n acc.balance += msg.value;\n acc.unlockTime = _unlockTime>now?_unlockTime:now;\n LogFile.AddMessage(m... |
Give me the source code of the following ethereum smart contract opcode: [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] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (uint25... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOA... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.11;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (uint25... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(addre... |
Give me the source code of the following ethereum smart contract opcode: [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 SELFDESTRUCT CRE... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n func... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD J... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\ncontract SafeMath {\n\n uint constant DAY_IN_SECONDS = 86400;\n uint constant BASE = 1000000000000000000;\n uint constant preIcoPrice = 4101;\n uint constant icoPrice = 2255;\n\n function mul(uint256 a, uint256 b) constant 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 RETURN STOP BLOCK_END ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "contract 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 assert(b > 0);\n uint c = a / b;\n assert... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 STOP BLOCK_END and fin... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JU... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.9;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL J... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.0;\n\ncontract AddressLotteryV2{\n struct SeedComponents{\n uint component1;\n uint component2;\n uint component3;\n uint component4;\n }\n\n address owner;\n uint private secretSeed;\n uint private last... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(addre... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD SLOAD SSTORE RETURN STOP MST... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract FabricTokenConfig {\n\n string constant NAME = \"Fabric Token\";\n\n string constant SYMBOL = \"FT\";\n\n uint8 constant DECIMALS = 18;\n\n uint constant DECIMALS_FACTOR = 10 ** uint(DECIMALS);\n}\n\ncontract ERC20TokenInterf... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASI... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.19;\n\ncontract WhaleGiveaway1\n{\n address public Owner = msg.sender;\n uint constant public minEligibility = 0.999001 ether;\n\n function()\n public\n payable\n {\n\n }\n\n function redeem()\n public\n payable\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 CALLDATASIZE JUMPI CALLDATALOAD JUMPI J... | {
"vulnerability": "time manipulation",
"code": "library SafeMathLib {\n\n function times(uint a, uint b) returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function minus(uint a, uint b) returns (uint) {\n assert(b <= a);\n return a - b;\n }\n\n function plus... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI J... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|INTEGER_OVERFLOW|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE CALLV... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP M... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.20;\n\ncontract Try_Me\n{\n function Try(string _response)\n external\n payable\n {\n require(msg.sender == tx.origin);\n\n if(responseHash == keccak256(_response) && msg.value > 2 ether)\n {\n msg.send... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SS... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.24;\n\ncontract AceDice {\n\n uint constant HOUSE_EDGE_PERCENT = 1;\n uint constant HOUSE_EDGE_MINIMUM_AMOUNT = 0.0004 ether;\n\n uint constant MIN_JACKPOT_BET = 0.1 ether;\n\n uint constant JACKPOT_MODULO = 1000;\n uint constant JACKPOT_FEE... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|INTEGER_OVERFLOW|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n fun... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASI... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.18;\n\ncontract Test1\n{\n address owner = msg.sender;\n\n function withdraw()\n payable\n public\n {\n require(msg.sender==owner);\n owner.transfer(this.balance);\n }\n\n function() payable {}\n\n function T... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [SELFDESTRUCT_RISK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPD... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.0;\n\ncontract Ethraffle {\n\n struct Contestant {\n address addr;\n uint raffleId;\n }\n\n event RaffleResult(\n uint indexed raffleId,\n uint winningNumber,\n address winningAddress,\n uint blo... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "time manipulation",
"code": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(addre... |
Give me the source code of the following ethereum smart contract opcode: [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": "reentrancy",
"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 owne... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.