Dataset Viewer
Auto-converted to Parquet Duplicate
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_CALL] [B0|CALLVALUE_CHECK] BLOCK_START BLOCK_INTERNAL MSTORE CALLVALUE JUMPI BLOCK_END [B1] BLOCK_START JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST RETURN STOP MSTORE...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.10;\n\ncontract GasToken2 {\n\n uint256 constant ADDRESS_BYTES = 20;\n uint256 constant MAX_SINGLE_BYTE = 128;\n uint256 constant MAX_NONCE = 256**9 - 1;\n\n function count_bytes(uint256 n) constant internal returns (uint256 c) {\n ui...
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 SSTORE SLOAD SSTORE SLOAD SSTORE MLOAD MSTORE MSTORE MSTORE MLOAD JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST MLOAD MSTORE MS...
{ "vulnerability": "reentrancy", "code": "pragma solidity ^0.4.20;\n\ninterface ERC20 {\n function totalSupply() external constant returns (uint supply);\n function balanceOf(address _owner) external constant returns (uint balance);\n function transfer(address _to, uint _value) external returns (bool succe...
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_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: [NO_PATTERNS_DETECTED] [B0] BLOCK_START BLOCK_INTERNAL MLOAD JUMPI JUMP BLOCK_END [B1] BLOCK_START BLOCK_INTERNAL JUMPDEST BLOCK_END [B2] BLOCK_START BLOCK_INTERNAL JUMPDEST MSTORE MSTORE8 RETURN STOP MSTORE REVERT STOP LOG1 CALLDATACOPY BLOCK_END...
{ "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 if (a == 0) {\n return 0;\n }\n c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) interna...
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.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...
"Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALU(...TRUNCATED)
{"vulnerability":"time manipulation","code":"pragma solidity ^0.4.13;\n\ncontract ReentrancyHandling(...TRUNCATED)
"Give me the source code of the following ethereum smart contract opcode: [CALLVALUE_CHECK]\n[B0|CAL(...TRUNCATED)
{"vulnerability":"time manipulation","code":"pragma solidity ^0.4.24;\n\ncontract F3Devents {\n\n (...TRUNCATED)
"Give me the source code of the following ethereum smart contract opcode: [ACCESS_CONTROL] [CALLVALU(...TRUNCATED)
{"vulnerability":"time manipulation","code":"pragma solidity ^0.4.18;\n\ncontract Storage {\n addre(...TRUNCATED)
"Give me the source code of the following ethereum smart contract opcode: [NO_PATTERNS_DETECTED]\n[B(...TRUNCATED)
{"vulnerability":"reentrancy","code":"pragma solidity ^0.4.25;\n\nlibrary SafeMath {\n\n function(...TRUNCATED)
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
12