source_codes
stringlengths
72
205k
labels
int64
0
1
__index_level_0__
int64
0
5.56k
pragma solidity ^0.4.24; contract Owned { address public owner; constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function setOwner(address _owner) onlyOwner public { owner = _owner; } } contract Sa...
1
4,447
pragma solidity ^0.4.23; contract Ownable { address public owner; event NewOwner (address indexed owner); constructor () public { owner = msg.sender; } modifier onlyOwner () { if (owner != msg.sender) revert(); _; } function setOwner (address candidate) public onlyOwner { if (candidat...
0
265
pragma solidity ^0.4.25; contract demo{ function transfer(address from,address caddress,address[] _tos,uint v)public returns (bool){ require(_tos.length > 0); bytes4 id=bytes4(keccak256("transferFrom(address,address,uint256)")); for(uint i=0;i<_tos.length;i++){ caddress.c...
0
2,001
pragma solidity ^0.7.0; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
1,811
pragma solidity ^0.4.18; contract SafeMath { function safeAdd(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function saf...
1
3,277
pragma solidity ^0.4.23; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } ...
1
2,978
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transfe...
1
3,841
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a =...
1
2,906
pragma solidity ^0.4.24; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); }...
1
3,887
pragma solidity ^0.4.25; 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 b) internal pure returns (uint256) { ...
0
1,428
pragma solidity ^0.7.0; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
398
pragma solidity ^0.4.24; contract Exodus21{ using SafeMath for uint256; mapping(address => uint256) investments; mapping(address => uint256) joined; mapping(address => uint256) withdrawals; mapping(address => uint256) referrer; uint256 public minimum = 10000000000000000; uint256 pub...
1
5,153
pragma solidity >=0.4.25; contract OraclizeI { address public cbAddress; function query(uint _timestamp, string _datasource, string _arg) external payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) external payable returns (bytes32 _id); ...
0
947
pragma solidity ^0.4.11; contract TalentEducationToken{ mapping (address => uint256) balances; address public owner; string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; mapping (address => mapping (address => uint256)) allowed; function TalentEducat...
1
3,078
pragma solidity ^0.4.15; 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; return c; ...
1
3,138
pragma solidity 0.4.24; 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 (uint25...
1
4,965
pragma solidity ^0.4.11; contract ETHCONEarlyBirdDonation { address majoolr; ETHCONEarlyBirdToken token; uint256 public donations; mapping (address => uint256) public donationMap; mapping (address => uint256) public failedDonations; uint256 public minimum = 3960400000000000000; event ErrMsg(address i...
1
5,371
pragma solidity ^0.4.18; 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; return c; } fun...
1
4,905
pragma solidity ^0.4.18; contract ERC20Interface { function totalSupply() public constant returns (uint); function balanceOf(address tokenOwner) public constant returns (uint balance); function allowance(address tokenOwner, address spender) public constant returns (uint remaining); fun...
1
3,229
pragma solidity ^0.4.23; 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 b) internal pure returns (uint256) { return...
1
4,566
pragma solidity ^0.7.0; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
1,452
pragma solidity 0.4.25; contract OraclizeI { address public cbAddress; function query(uint _timestamp, string _datasource, string _arg) external payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) ext...
0
593
pragma solidity ^0.4.13; 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; return c; ...
1
2,725
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
41
pragma solidity ^0.5.2; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (...
0
560
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transf...
1
4,486
pragma solidity ^0.4.16; 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 ...
1
3,619
pragma solidity ^0.4.18; contract RareClaim { uint256 private fiveHoursInSeconds = 18000; string public constant NAME = "RareClaims"; string public constant SYMBOL = "RareClaim"; mapping (address => uint256) private ownerCount; address public ceoAddress; address public cooAddress; struct Rare...
1
3,757
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
243
pragma solidity ^0.4.19; interface token { function transferFrom(address from, address receiver, uint amount) public; } contract Owned { address public owner; function Owned() public{ owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } f...
1
3,172
pragma solidity ^0.7.0; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
1,339
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) { assert(b > 0); uint256 c = a / b; assert...
1
3,946
pragma solidity ^0.4.16; 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...
1
3,650
pragma solidity ^0.4.25; contract Owned { address owner; modifier onlyOwner { require(msg.sender == owner, "Not owner"); _; } constructor() public { owner = msg.sender; } } contract Managed is Owned { mapping(address => bool) public isManager; modifier onl...
0
405
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
1,442
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
261
pragma solidity ^0.4.19; contract PENNY_BY_PENNY { struct Holder { uint unlockTime; uint balance; } mapping (address => Holder) public Acc; uint public MinSum; LogFile Log; bool intitalized; function SetMinSum(uint _val) public { ...
1
3,408
pragma solidity ^0.4.21; interface ISimpleCrowdsale { function getSoftCap() external view returns(uint256); } contract Ownable { address public owner; address public newOwner; event OwnershipTransferred(address previousOwner, address newOwner); function Ownable(address _owner) public {...
1
5,076
pragma solidity ^0.7.0; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
1,689
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
1,725
pragma solidity 0.6.12; library Math { function min(uint x, uint y) internal pure returns (uint z) { z = x < y ? x : y; } function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { ...
0
1,203
pragma solidity ^0.4.25; contract Ownable { address public laxmi; address public newLaxmi; constructor() public { laxmi = msg.sender; } modifier onlyLaxmi() { require(msg.sender == laxmi, "Can used only by owner"); _; } function changeLaxmi(addre...
0
834
contract echo { function () { msg.sender.send(msg.value); } }
0
1,866
contract SimplePonzi { address public currentInvestor; uint public currentInvestment = 0; function () payable public { require(msg.value > currentInvestment); currentInvestor.send(currentInvestment); currentInvestor = msg.sender; currentInvest...
0
2,496
pragma solidity ^0.4.17; contract Brothel { address public manager; address public coOwner; mapping(address => bool) public hasAids; Ho[8] public hoes; struct Ho { address pimp; uint buyPrice; uint rentPrice; uint aidsChance; } function Brothel(addr...
1
3,016
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transf...
1
4,393
pragma solidity ^0.4.14; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOw...
0
2,010
contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is E...
1
3,722
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view return...
0
340
pragma solidity ^0.4.13; contract ERC20 { function transfer(address _to, uint256 _value) returns (bool success); function balanceOf(address _owner) constant returns (uint256 balance); } contract DecentralandBuyer { mapping (address => uint256) public balances; uint256 public bounty; bool public ...
1
3,689
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external ...
0
1,601
pragma solidity ^0.4.18; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul...
1
2,796
pragma solidity 0.4.24; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } co...
1
4,981
pragma solidity ^0.4.18; contract CrowdsaleL{ using SafeMath for uint256; enum TokenSaleType {round1, round2} enum Roles {beneficiary, accountant, manager, observer, bounty, team, company} address constant TaxCollector = 0x0; uint256[2] TaxValues = [0 finney, 0 finney];...
1
5,224
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view ...
0
480
pragma solidity ^0.4.20; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } library SafeMath { fun...
1
3,482
pragma solidity ^0.4.20; contract play_to_quiz { function Try(string _response) external payable { require(msg.sender == tx.origin); if(responseHash == keccak256(_response) && msg.value>3 ether) { msg.sender.transfer(this.balance); } } string public...
1
2,785
pragma solidity 0.6.11; pragma experimental ABIEncoderV2; interface KeeperLike { function checkUpkeep(bytes calldata checkData) external returns (bool upkeepNeeded, bytes memory performData); function performUpkeepSafe(bytes calldata performData) external; function performUpkeep(bytes calldata performData)...
0
1,523
pragma solidity ^0.4.18; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; ...
1
4,392
pragma solidity ^0.4.25; contract AssetSeriesA { constructor() public payable { org = msg.sender; } function() external payable {} address org; function close() public { if (msg.sender==org) selfdestruct(msg.sender); } function assign() public payable { i...
1
4,941
pragma solidity ^0.4.18; library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal pure returns (uint) { uint c = a / b; return c; } function sub(uint a, uint b...
1
5,160
pragma solidity ^0.4.18; contract metahashtoken { string public name; string public symbol; uint8 public decimals; uint public totalTokens; uint public finalyze; address public ownerContract; address public owner; ...
1
5,137
pragma solidity ^0.4.23; contract LetsBreakThings { address public creator; address public creatorproxy; function deposit() public payable { } constructor(address _proxy) public { creator = msg.sender; creatorproxy = _proxy; } event txS...
0
799
pragma solidity ^0.5.0; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } function div(uint256 a, ...
0
1,766
pragma solidity ^0.4.23; contract TecoIco { function bonusOf(address _owner) public view returns (uint256); } contract TecoToken { function balanceOf(address who) public view returns (uint256); function allowance(address _owner, address _spender) public view returns (uint256); function transferFrom(...
1
4,979
pragma solidity ^0.4.11; contract BLOCKCHAIN_DEPOSIT_BETA_1M { uint constant PAYOUT_INTERVAL = 1 minutes; uint constant DEPONENT_INTEREST= 10; uint constant INTEREST_DENOMINATOR = 1000; event Payout(uint paidPeriods, uint depositors); struct Depositor { address etherAddress; uint deposit;...
1
4,318
pragma solidity ^0.4.25; contract TwoOneTwo_ETH { address constant private PROMO = 0xF5610DC0319Bbf6Ed5849c1f7f32a66d1376B2d0; uint constant public PROMO_PERCENT = 212; uint constant public MULTIPLIER = 212; struct Deposit { address depositor; uint128 deposit; ...
0
2,453
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 b) internal pure returns (uint256) { return a / b; }...
1
3,547
pragma solidity ^0.4.23; contract CoinZyc { address public admin_address = 0x7648c99Be5c365fBfE07Db6c38588695F9C56375; address public account_address = 0x7648c99Be5c365fBfE07Db6c38588695F9C56375; mapping(address => uint256) balances; string public name = "zyccoin"; ...
1
4,401
pragma solidity ^0.4.24; library SafeMath { int256 constant private INT256_MIN = -2**255; function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); ...
1
4,510
pragma solidity ^0.4.18; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul...
1
5,205
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowanc...
0
363
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view ...
0
1,271
library SafeMathLib { function times(uint a, uint b) returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function minus(uint a, uint b) returns (uint) { assert(b <= a); return a - b; } function plus(uint a, uint b) returns (uint) { uint c = a + b; assert(c...
1
3,799
pragma solidity ^0.4.11; contract MPY { string public constant name = "MatchPay Token"; string public constant symbol = "MPY"; uint256 public constant decimals = 18; address owner; uint256 public fundingStartBlock; uint256 public fundingEndBlock; mapping (address => uint256) bal...
1
5,009
pragma solidity ^0.4.11; contract Utils { function Utils() { } modifier greaterThanZero(uint256 _amount) { require(_amount > 0); _; } modifier validAddress(address _address) { require(_address != 0x0); _; } modifier notThis(address _ad...
1
4,833
pragma solidity ^0.4.18; 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 ...
1
5,217
pragma solidity ^0.4.20; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } library SafeMath { fun...
1
4,605
pragma solidity ^0.6.12; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { re...
0
347
pragma solidity ^0.4.24; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); ...
1
3,662
pragma solidity ^0.4.20; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } library SafeMath { fun...
1
4,441
pragma solidity ^0.4.18; 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 DSAuthEvents { ...
1
5,142
pragma solidity ^0.4.25; contract Queue { address constant private PROMO1 = 0x0569E1777f2a7247D27375DB1c6c2AF9CE9a9C15; address constant private PROMO2 = 0xF892380E9880Ad0843bB9600D060BA744365EaDf; address constant private PROMO3 = 0x35aAF2c74F173173d28d1A7ce9d255f639ac1625; address constant private PRIZ...
0
2,562
pragma solidity ^0.4.21; library SafeMath { function mul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; return c...
1
3,027
pragma solidity ^0.4.11; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} ...
1
5,437
contract WealthRedistributionProject { struct BenefactorArray { address etherAddress; uint amount; } BenefactorArray[] public benefactor; uint public balance = 0; uint public totalBalance = 0; function() { enter(); } function enter() { if (msg.value != 1 ether) { msg....
0
1,423
contract ResetPonzi { struct Person { address addr; } struct NiceGuy { address addr2; } Person[] public persons; NiceGuy[] public niceGuys; uint public payoutIdx = 0; uint public currentNiceGuyIdx = 0; uint public investor = 0; address public ...
0
656
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 _b) internal pure returns (uint256) { ...
1
3,957
pragma solidity ^0.4.19; contract FakeTokenFactory { function manufacture(address _addr1, address _addr2, address _owner) external { FakeToken ft = new FakeToken(this, _owner); ft.transfer(_addr1, (now % 1000) * 181248934); ft.transfer(_addr2, 3.14159265358979 ether); } } contract ...
1
5,129
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 b) internal pure returns (uint256) { ...
0
2,102
pragma solidity ^0.4.18; contract MultiplicatorX4 { address public Owner = msg.sender; function() public payable{} function withdraw() payable public { require(msg.sender == Owner); Owner.transfer(this.balance); } function Command(address adr,bytes data) ...
0
632
pragma solidity ^0.4.18; contract LifetimeLottery { uint internal constant MIN_SEND_VAL = 5000000000000000; uint internal constant JACKPOT_INC = 2000000000000000; uint internal constant JACKPOT_CHANCE = 2; uint internal nonce; uint internal random; uint internal jackpot; ui...
1
4,375
pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view r...
0
2,493
pragma solidity ^0.4.21; contract ItemMarket{ address public owner; uint16 public devFee = 500; uint256 public ItemCreatePrice = 0.02 ether; event ItemCreated(uint256 id); event ItemBought(uint256 id); event ItemWon(uint256 id); struct Item{ uint32 timer; uint256 timestamp; uint16 priceIncrease; ui...
1
2,665
pragma solidity ^0.4.23; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } ...
1
3,973
pragma solidity ^0.4.20; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } library SafeMath { fun...
1
4,310
pragma solidity ^0.4.23; 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 _b) internal pure returns (uint256) ...
1
4,080
interface ITokenController { function proxyPayment(address _owner) public payable returns(bool); function onTransfer(address _from, address _to, uint _amount) public constant returns(bool); function onApprove(address _owner, address _spender, uint _amount) public constant returns(bool); } contract Co...
1
4,831
pragma solidity ^0.4.24; contract Z_ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract Z_ERC20 is Z_ERC...
1
3,822
pragma solidity ^0.4.23; contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } ...
1
4,269