Dataset Reentrancy
Dataset Reentrancy
Subkumpulan (1): default · 16,4k baris
Pembagian (2): Kode Sumber dan Label
| Kode Sumber | Label |
|---|---|
pragma solidity ^0.4.9; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a / b; ... | 1 |
contract Gamble { address owner; Bet[] bets; address[] winners; struct Bet { address sender; int8 range; } function Gamble() { owner = msg; } function place (int8 range) public payable { if (msg >= 50 finney && range <= 100) { b... | 1 |
pragma solidity 0.4.23; contract AbstractToken { function balanceOf(address owner) public view returns (uint256 balance); function transfer(address to, uint256 value) public returns (bool success); function transferFrom(address from, address to, uint256 value) public returns (bool success); function approv... | 1 |
pragma solidity ^0.4.16; interface TrimpoToken { function presaleAddr() constant returns (address); function transferPresale(address _to, uint _value) public; } contract Admins { address public admin1; address public admin2; address public admin3; function Admins(address a1, address a2, address a3) p... | 0 |
pragma solidity ^0.4.24; contract DSAuthority { function canCall( address src, address dst, bytes4 sig ) public view returns (bool); } contract DSAuthEvents { event LogSetAuthority (address indexed authority); event LogSetOwner (address indexed owner); } contract DSAuth is... | 0 |
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } func... | 0 |
pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure re... | 0 |
pragma solidity ^0.4.19; contract DigixConstants { uint256 constant SECONDS_IN_A_DAY = 24 * 60 * 60; uint256 constant ASSET_EVENT_CREATED_VENDOR_ORDER = 1; uint256 constant ASSET_EVENT_CREATED_TRANSFER_ORDER = 2; uint256 constant ASSET_EVENT_CREATED_REPLACEMENT_ORDER = 3; uint256 constant ASSET_EVENT_... | 0 |
pragma solidity ^0.4.13; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c =... | 0 |
pragma solidity ^0.4.24; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, u... | 1 |
pragma solidity ^0.4.16; contract SafeMath { function SafeMath() { } function safeAdd(uint256 _x, uint256 _y) internal returns (uint256) { uint256 z = _x + _y; assert(z >= _x); return z; } function safeSub(uint256 _x, uint256 _y) internal returns (uint256) ... | 1 |
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns(uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256... | 1 |
pragma solidity ^0.4.16; interface token_recipient { function approved(address _from, uint256 _value, address _token, bytes _data) public; } contract ERC20 { string public name; string public symbol; uint8 public decimals = 2; uint256 public totalSupply; address public owner; mapping (address ... | 1 |
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } func... | 0 |
pragma solidity ^0.4.13; contract Crowdsale { using SafeMath for uint256; address constant public TOKEN_OWNER = 0x57Cdd07287f668eC4D58f3E362b4FCC2bC54F5b8; address constant public WALLET = 0x1513F644590d866e25490687AB1b3Ad262d5b6dF; uint256 constant public MINSALESCAP = 200 ether; uint256 consta... | 1 |
pragma solidity ^0.4.13; contract Ownable { address public owner; function Ownable() { owner = msg; } modifier onlyOwner() { require(msg == owner); _; } function transferOwnership(address newOwner) onlyOwner { if (newOwner != address(0)) { owner = newOwner... | 1 |
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg; } modifier onlyOwner() { require(msg == owner); _; } function transferOw... | 0 |
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } func... | 0 |
pragma solidity ^0.4.21; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg; } modifier onlyOwner() { require(msg == owner); _; } function transfer... | 1 |
pragma solidity ^0.4.11; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a / b; ... | 0 |
pragma solidity ^0.4.24; contract F3Devents { event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, bytes32 affiliateName, uint2... | 0 |
Berkas README ada tetapi konten kosong.
Unduhan bulan lalu: 58
Platform Lainnya
Berita Piala Dunia
Jika Anda memiliki pertanyaan, silakan kirim email ke [email protected]