prompt stringlengths 290 20.4k | response dict |
|---|---|
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SSTORE RETUR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\tfunction mul(uint a, uint b) internal pure returns(uint) {\n\t\tuint c = a * b;\n\t\tassert(a == 0 || c / a == b);\n\t\treturn c;\n\t}\n\n\tfunction div(uint a, uint b) internal pure returns(uint) {\n\t\tuint c = a / b;\n\t\... |
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 BALANCE BLOCK_END and find the main potential vulnerability that... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
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": "reentrancy",
"code": "pragma solidity ^0.4.19;\n\ncontract Honey\n{\n address public Owner = msg.sender;\n\n function()\n public\n payable\n {\n\n }\n\n function GetFreebie()\n public\n payable\n {\n if(msg.value>1 ether)\n { ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD MLOAD MLOAD BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE SLOAD SSTOR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.2;\n\ncontract SafeMath {\n function safeMul(uint a, uint b) internal returns (uint) {\n uint c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function safeSub(uint a, uint b) internal returns (uint) {\n assert(b <= a);\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\n\ncontract RealEstateCryptoFund {\n function transfer(address to, uint256 value) public returns (bool);\n function balanceOf(address who) public constant returns (uint256);\n}\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTra... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD JUMPI REVERT BLOCK_END
[B2]... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) pure internal 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) pure internal returns (uint256) {\... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI BLOCK_END... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.20;\n\ncontract LuckyNumber {\n function takeAGuess(uint8 _myGuess) public payable {}\n}\n\ncontract OneInTen {\n function call_lucky(address contract_address, address contract_owner) public payable {\n uint8 guess = uint8(keccak256(now, contract_o... |
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": "reentrancy",
"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);\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMP... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2... |
Give me the source code of the following ethereum smart contract opcode: [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 ORIGIN JUMP CAL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract POOHMOevents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affili... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE CALLER SLOAD SSTORE SLOAD SLOAD SSTORE JUMPI MSTO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.4;\n\ncontract Destination {\n function recover(address _from, address _to) returns(bool);\n}\n\ncontract RecoveryWithTenant {\n event Recovery(uint indexed nonce, address indexed from, address indexed to);\n event Setup(uint indexed nonce, add... |
Give me the source code of the following ethereum smart contract opcode: [INTEGER_OVERFLOW] [REENTRANCY] [UNCHECKED_CALL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE RETURN MSTORE CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST JUMP BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPD... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.2;\n\ncontract DateTime {\n\n struct DateTime {\n uint16 year;\n uint8 month;\n uint8 day;\n uint8 hour;\n uint8 minute;\n uint8 second;\n ui... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SLOAD MLOAD MLOAD LOG3 SSTORE ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n address private _owner;\n\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\n );\n\n constructor() internal {\n _owner = msg.sender;\n emit OwnershipTransferred(address(... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN MSTORE CALLDATALOAD JUMPI JUMPI JUMP BLOCK_END
[B3] BLOCK_STAR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.0;\n\ncontract Ownable {\n address public owner;\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n if (msg.sender != owner)\n throw;\n _;\n }\n\n modifier protected() {\n if(msg.sender != add... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract DaoToken {\n uint256 public CAP;\n uint256 public totalEthers;\n function proxyPayment(address participant) payable;\n function transfer(address _to, uint _amount) returns (bool success);\n}\n\ncontract ZiberToken {\n\n mapping (add... |
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER S... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract EthereumSmartContract {\n address EthereumNodes;\n\n constructor() public {\n EthereumNodes = msg.sender;\n }\n modifier restricted() {\n require(msg.sender == EthereumNodes);\n _;\n }\n\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] 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": "pragma solidity 0.4.25;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256) {\n if(a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b)... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|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.18;\n\nlibrary Math {\n function max64(uint64 a, uint64 b) internal pure returns (uint64) {\n return a >= b ? a : b;\n }\n\n function min64(uint64 a, uint64 b) internal pure returns (uint64) {\n return a < b ? a : b;\n }\n\n function max256(u... |
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.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 sub(uint256 a, uint256 b) int... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL]
[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... | {
"vulnerability": "reentrancy",
"code": "contract generic_holder {\n address owner;\n\n modifier onlyowner {\n if (owner == msg.sender)\n _;\n }\n\n function generic_holder() {\n owner = msg.sender;\n }\n\n function change_owner(address new_owner) external onlyowner {\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD CALLE... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.23;\n\ncontract Contract {\n mapping (address => uint256) public balances_bonus;\n uint256 public contract_eth_value_bonus;\n}\n\ncontract ERC20 {\n function transfer(address _to, uint256 _value) public returns (bool success);\n function balanceOf(a... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [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 JUMPI CALLDATALOAD JUMPI BLOCK_END
[B2... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract FUNDS {\n function buy(address _referredBy) public payable returns(uint256);\n function exit() public;\n}\n\ncontract FUNDSDividends {\n FUNDS fundsContract = FUNDS(0x7E0529Eb456a7C806B5Fe7B3d69a805339A06180);\n\n function ()... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [TX_ORIGIN_AUTH] [UNCHECKED_CALL]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER S... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract SysEscrow {\n\n address public owner;\n address arbitrator;\n\n uint public MinDeposit = 600000000000000000;\n\n uint constant ARBITRATOR_PERCENT = 1;\n\n struct Escrow {\n\n bool exists;\n\n address ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) i... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [SELFDESTRUCT_RISK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMP... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ninterface IERC20Token {\n function balanceOf(address owner) external returns (uint256);\n function transfer(address to, uint256 amount) external returns (bool);\n function decimals() external returns (uint256);\n}\n\ncontract TokenSale {... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 SLOAD CREATE BLOCK_END and find the main potential vulnerability... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 EXTCODESIZE CALLER LOG4 STOP BLOCK_END and find the main potenti... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
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": "reentrancy",
"code": "contract SafeMath {\n\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 return a - b;\n }\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 CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract DaoToken {\n uint256 public CAP;\n uint256 public totalEthers;\n function proxyPayment(address participant) payable;\n function transfer(address _to, uint _amount) returns (bool success);\n}\n\ncontract ZiberToken {\n\n mapping (add... |
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 CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEG... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^ 0.4.18;\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n function d... |
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE SSTORE SLOAD... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract EthereumSmartContract {\n address EthereumNodes;\n\n constructor() public {\n EthereumNodes = msg.sender;\n }\n modifier restricted() {\n require(msg.sender == EthereumNodes);\n _;\n }\n\n function ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [REENTRANCY_DELEGATECALL] [UNCHECKED_CALL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD MLOAD MLOAD MLOAD BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_ST... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.8;\n\ncontract FederatedOracleBytes8 {\n struct Voter {\n bool isVoter;\n bool hasVoted;\n }\n\n event VoterAdded(address account);\n event VoteSubmitted(address account, bytes8 value);\n event ValueFinalized(bytes8 value);\... |
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 MLOAD MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE MSTORE JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ninterface CitizenInterface {\n function addEarlyIncome(address _sender) external payable;\n function pushTicketRefIncome(address _sender) external payable;\n function addTicketEthSpend(address _citizen, uint256 _value) external payable;\... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD JUMPI REVERT BLOCK_END
[B2] BLOCK_START... | {
"vulnerability": "reentrancy",
"code": "pragma solidity 0.4.25;\n\ncontract IAccessPolicy {\n\n function allowed(\n address subject,\n bytes32 role,\n address object,\n bytes4 verb\n )\n public\n returns (bool);\n}\n\ncontract IAccessControlled {\n\n event LogAcc... |
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.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [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 MLOAD MLOAD MLOAD BLOCK_END
[B2] BL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\nlibrary Math {\n function max64(uint64 a, uint64 b) internal constant returns (uint64) {\n return a >= b ? a : b;\n }\n\n function min64(uint64 a, uint64 b) internal constant returns (uint64) {\n return a < b ? a : b;\n }\n\n function ... |
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 SLOAD SSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\ncontract RCCCToken {\n string public constant name = \"RCCC Token\";\n string public constant symbol = \"RCCC\";\n uint public constant decimals = 18;\n uint256 _totalSupply = 500000000 * 10**decimals;\n\n function 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 SLOAD SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SLOAD... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract DelegateERC20 {\n function delegateTotalSupply() public view returns (uint256);\n function delegateBalanceOf(address who) public view returns (uint256);\n function delegateTransfer(address to, uint256 value, address origSender) public... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\n\ninterface Token {\n function totalSupply() constant external returns (uint256 ts);\n function balanceOf(address _owner) constant external returns (uint256 balance);\n function transfer(address _to, uint256 _value) external returns (bool ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD... | {
"vulnerability": "reentrancy",
"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 b) int... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {\n\n if (a == 0) {\n return 0;\n }\n\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) int... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [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 BLOCK_END
[B2] BLOCK_START BLOCK_IN... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal constant returns (uint256) {\n uint256 c = a * b;\n assert(a == 0 || c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal constant returns (uint2... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START BLOCK_INTER... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.15;\n\ncontract Ownable {\n address public owner;\n\n function Ownable() {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n function transferOwnership(address newOwner) onlyOwner {\n req... |
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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGE... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract SPCevents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTOR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract DelegateERC20 {\n function delegateTotalSupply() public view returns (uint256);\n function delegateBalanceOf(address who) public view returns (uint256);\n function delegateTransfer(address to, uint256 value, address origSender) public... |
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": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\n\ninterface Token {\n function totalSupply() constant external returns (uint256 ts);\n function balanceOf(address _owner) constant external returns (uint256 balance);\n function transfer(address _to, uint256 _value) external returns (bool ... |
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 BLOCK... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.16;\n\ninterface Game {\n event GameStarted(uint betAmount);\n event NewPlayerAdded(uint numPlayers, uint prizeAmount);\n event GameFinished(address winner);\n\n function () public payable;\n function play() public payable;\n function ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\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 function Ownable() 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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMP... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract SafeMath {\n\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 (ui... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 STOP BLOCK_END and find the main potential vulnerability that th... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTOR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract DelegateERC20 {\n function delegateTotalSupply() public view returns (uint256);\n function delegateBalanceOf(address who) public view returns (uint256);\n function delegateTransfer(address to, uint256 value, address origSender) public... |
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|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE SSTORE SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity 0.4.25;\n\ncontract AlarmClock {\n\n event _newAlarmClock(address _contract, uint startBlock, uint blockWindow, uint reward, uint gas, bytes _callData);\n\n address public owner;\n\n uint public totalTimers;\n uint public waitingTimers;\n\n st... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_CALL]
[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
... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.15;\n\ncontract generic_holder {\n address owner;\n\n modifier onlyowner {\n if (owner == msg.sender)\n _;\n }\n\n function generic_holder() {\n owner = msg.sender;\n }\n\n function change_owner(address new_own... |
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 CREATE2 BLOCK_END and find the main potential vulnerability that... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract X3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
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] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.send... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.20;\n\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST SLOAD SSTORE MLOAD MSTORE MSTOR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.23;\n\nlibrary Math {\n function max64(uint64 a, uint64 b) internal pure returns (uint64) {\n return a >= b ? a : b;\n }\n\n function min64(uint64 a, uint64 b) internal pure returns (uint64) {\n return a < b ? a : b;\n }\n\n function max256(u... |
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 CREATE BL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliateAd... |
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": "reentrancy",
"code": "pragma solidity >=0.4.22 <0.7.0;\n\ncontract OwnedToken {\n\n TokenCreator creator;\n address owner;\n bytes32 name;\n\n constructor(bytes32 _name) public {\n\n owner = msg.sender;\n\n creator = TokenCreator(msg.sender);\n name = _name;\n ... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI ... | {
"vulnerability": "reentrancy",
"code": "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: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOC... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() public {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.send... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ZTHReceivingContract {\n\n function tokenFallback(address _from, uint _value, bytes _data) public returns (bool);\n}\n\ncontract ZTHInterface {\n function getFrontEndTokenBalanceOf(address who) public view returns (uint);\n function t... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [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 SSTORE RETURN STOP MSTORE CALLDATASIZE... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\n\ncontract Etherwow{\n function userRollDice(uint, address) payable {uint;address;}\n}\n\ncontract FixBet16{\n\n modifier onlyOwner{\n require(msg.sender == owner);\n _;\n }\n\n address public owner;\n Etherwow public e... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN MSTORE CALLDATALOAD JUMPI JUMPI JUMP BLOCK_END
[B3] BLOCK_STAR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.4;\n\ncontract Owned {\n\n address public owner;\n\n function Owned() { owner = msg.sender; }\n\n function delegate(address _owner) onlyOwner\n { owner = _owner; }\n\n modifier onlyOwner { if (msg.sender != owner) throw; _; }\n}\n\ncontra... |
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 JUMPDEST BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract ERC20Basic {\n\n function balanceOf(address who) public constant returns (uint256);\n\n function transfer(address to, uint256 value) public returns (bool);\n\n event Transfer(address indexed from, address indexed to, uint256 value);\n... |
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 BLOCK_END
[B1] BLOCK_ST... | {
"vulnerability": "reentrancy",
"code": "pragma solidity 0.4.25;\npragma experimental ABIEncoderV2;\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... |
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 CALLER SLOAD SSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDES... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\ncontract PreSaleFund\n{\n address owner = msg.sender;\n\n event CashMove(uint amount,bytes32 logMsg,address target,address currentOwner);\n\n mapping(address => uint) investors;\n\n function loggedTransfer(uint amount, bytes32 logMsg,... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE REVERT STOP LOG1 CALLDATALOAD JUMP RETURN BLOCK_END and find the main potential v... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract ACOwned {\n\n address public owner;\n address public new_owner;\n bool is_ac_owned_init;\n\n modifier if_owner() {\n require(is_owner());\n _;\n }\n\n function init_ac_owned()\n internal\n returns (bool _s... |
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 SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SLOAD SSTORE CALLER SLOAD SSTORE RETURN STOP MSTOR... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.17;\n\ncontract ApplicationEntityABI {\n\n address public ProposalsEntity;\n address public FundingEntity;\n address public MilestonesEntity;\n address public MeetingsEntity;\n address public BountyManagerEntity;\n address public Token... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD... | {
"vulnerability": "reentrancy",
"code": "pragma solidity^0.4.24;\n\ncontract ERC20 {\n function transferFrom(address _from, address _to, uint256 _value) public returns (bool);\n function balanceOf(address tokenOwner) public constant returns (uint balance);\n function transfer(address to, uint tokens) publ... |
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 JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract ERC20 {\n function transfer(address _to, uint256 _value) returns (bool success);\n function balanceOf(address _owner) constant returns (uint256 balance);\n}\n\ncontract NiceContract {\n\n modifier onlyOwner {\n require(msg.sender =... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START BLOCK_INTER... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.15;\n\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n function Ownable() {\n owner = msg.sender;\n }\n\n modifier onlyOwner() {\n require(msg.sender == o... |
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\ninterface IArbitrable {\n\n event MetaEvidence(uint indexed _metaEvidenceID, string _evidence);\n\n event Dispute(Arbitrator indexed _arbitrator, uint indexed _disputeID, uint _metaEvidenceID, uint _evidenceGroupID);\n\n event Evidence(A... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOCK_START JUMPDEST BLOCK_END
[B3] BLOCK_START BLOCK_INTERNAL JUMPDEST... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\ncontract SafeMath {\n\n function SafeMath() {\n }\n\n function safeAdd(uint256 _x, uint256 _y) internal returns (uint256) {\n uint256 z = _x + _y;\n assert(z >= _x);\n return z;\n }\n\n function safeSub(uint256... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW]
[B0|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL MSTORE CALLER SLOAD SSTORE RETURN STOP MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI JUMPI BLOCK_END
[B1] BLOCK_START... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.21;\n\ncontract Controlled {\n\n modifier onlyController { require(msg.sender == controller); _; }\n\n address public controller;\n\n function Controlled() public { controller = msg.sender;}\n\n function changeController(address _newControll... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END
... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ZeroBTCInterface {\n function approve(address spender, uint tokens) public returns (bool success);\n function transferFrom(address from, address to, uint tokens) public returns (bool success);\n}\n\ncontract ZeroBTCWorldCup {\n ... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW|ACCESS_CONTROL] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE ML... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde... |
Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]
[B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END
[B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 BLOCK_END and find the... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address _who) public view returns (uint256);\n function transfer(address _to, uint256 _value) public returns (bool);\n event Transfer(address i... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START JUMPDEST BLOCK_END
[B2] BLOC... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract ERC20 {\n function transfer(address _to, uint256 _value) returns (bool success);\n function balanceOf(address _owner) constant returns (uint256 balance);\n}\n\ncontract SECRETSanity {\n\n modifier onlyOwner {\n require(msg.sender =... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLOAD MLOAD MLOAD MLOAD MLOAD JUMPI REVERT BLOCK_END
... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\npragma 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... |
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 CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MLO... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\nlibrary SafeMath {\n\n function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {\n\n if (_a == 0) {\n return 0;\n }\n\n uint256 c = _a * _b;\n require(c / _a == _b);\n\n return c;\n }\n\n function div(uint256 _... |
Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN MSTORE CALLDATASIZE JUMPI CALLDATALOAD JUMPI JUMPI BLOCK_EN... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.5.1;\n\ncontract X3ProfitMainFundTransferV3 {\n\n\tuint public constant maxBalance = 340282366920938463463374607431768211456 wei;\n address payable public constant ADDRESS_EIFP2_CONTRACT = 0xf85D337017D9e6600a433c5036E0D18EdD0380f3;\n\n function () ... |
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 CALLER SLOAD SSTORE SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE SSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI BLOCK_END
[B... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.11;\n\ncontract ERC20Token {\n function balanceOf(address _who) constant returns (uint balance);\n function allowance(address _owner, address _spender) constant returns (uint remaining);\n function transferFrom(address _from, address _to, uint _value... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL] [UNCHECKED_SEND]
[B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE SLOAD SSTORE SLOAD SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTER... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\n\ncontract ERC721 {\n function totalSupply() public view returns (uint256 total);\n function balanceOf(address _owner) public view returns (uint256 balance);\n function ownerOf(uint256 _tokenId) external view returns (address owner);\n\n... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [INTEGER_OVERFLOW] [UNCHECKED_CALL]
[B0] BLOCK_START BLOCK_INTERNAL MSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE SSTORE CALLVALUE JUMPI BLOCK_END
[B1|INTEGER_OVERFLOW] BLOCK_START BLOCK_INTERNAL JUMPDE... | {
"vulnerability": "reentrancy",
"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 tra... |
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 MSTORE BLOCK_END and find the main potential vulnerability that ... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n event onNewName\n (\n uint256 indexed playerID,\n address indexed playerAddress,\n bytes32 indexed playerName,\n bool isNewPlayer,\n uint256 affiliateID,\n address affiliate... |
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 CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE CALL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.24;\ncontract EthereumBet{\n\n\taddress gameOwner = address(0);\n\n\tbool locked = false;\n\n\tfunction bet() payable\n\t{\n\t\tif ((random()%2==1) && (msg.value == 1 ether) && (!locked))\n\t\t{\n\t\t\tif (!msg.sender.call.value(2 ether)())\n\t\t\t\tthr... |
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 BLOCK_END
[B1] BLOCK_ST... | {
"vulnerability": "reentrancy",
"code": "pragma solidity 0.4.25;\npragma experimental ABIEncoderV2;\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... |
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 CALLER SLOAD SSTORE RETURN STOP MS... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.25;\ncontract ERC20 {\n function balanceOf(address who) public view returns(uint);\n function transfer(address dest, uint amount) public returns(bool);\n}\ncontract Wallet {\n address public owner;\n event ReceiveEther(address indexed _from,... |
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] [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": "reentrancy",
"code": "contract ReentryProtectorMixin {\n\n bool reentryProtector;\n\n function externalEnter() internal {\n if (reentryProtector) {\n throw;\n }\n reentryProtector = true;\n }\n\n function externalLeave() internal {\n reentryProt... |
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 MLOAD MSTORE MLOAD BLOCK_END
[B2] BLOCK_START J... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.13;\n\ncontract ERC20 {\n uint256 public totalSupply;\n function balanceOf(address _owner) constant returns (uint256 balance);\n function transfer(address _to, uint256 _value) returns (bool success);\n function transferFrom(address _from, ad... |
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": "pragma solidity ^0.4.23;\n\ncontract ERC20Basic {\n function totalSupply() public view returns (uint256);\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address inde... |
Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALUE_CHECK] [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": "reentrancy",
"code": "pragma solidity ^0.4.18;\n\ncontract SafeMath {\n\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 (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 SSTORE CALLVALUE JUMPI REVERT BLOCK_END
[B1] BLOCK_START BLOCK_INTERNAL JUMPDEST CALLER SLOAD SSTORE CAL... | {
"vulnerability": "reentrancy",
"code": "pragma solidity ^0.4.17;\n\ncontract Ownable {\n\taddress owner;\n\taddress potentialOwner;\n\n\tmodifier onlyOwner() {\n\t\trequire(owner == msg.sender);\n\t\t_;\n\t}\n\n\tfunction Ownable() public {\n\t\towner = msg.sender;\n\t}\n\n\tfunction amIOwner() public view return... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.