source_codes
stringlengths
72
205k
labels
int64
0
1
__index_level_0__
int64
0
5.56k
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 sp...
0
49
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
4,764
pragma solidity ^0.4.18; contract ERC20Basic { uint public totalSupply; function balanceOf(address who) constant returns (uint); function transfer(address to, uint value); event Transfer(address indexed from, address indexed to, uint value); } contract ERC20 is ERC20Basic { function allowance(address owner...
1
3,773
pragma solidity 0.5.4; library Roles { struct Role { mapping (address => bool) bearer; } function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } function rem...
0
858
pragma solidity ^0.4.18; contract DelegateERC20 { function delegateTotalSupply() public view returns (uint256); function delegateBalanceOf(address who) public view returns (uint256); function delegateTransfer(address to, uint256 value, address origSender) public returns (bool); function delegateAllowance(addre...
1
3,225
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,072
pragma solidity ^0.4.16; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } i...
0
719
pragma solidity ^0.4.21; contract OrganicumOrders { struct order { uint256 balance; uint256 tokens; } mapping (address => order) public orders; address[] public holders; uint256 public supplyTokens; uint256 public supplyTokensSaved; uint256 public tokenDecimal = 18; uint256 ...
1
5,376
pragma solidity ^0.4.11; contract TokenStorage { function balances(address account) public returns(uint balance); } contract PresalerVoting { string public constant VERSION = "0.0.8"; uint public VOTING_START_BLOCKNR = 0; uint public VOTING_END_TIME = 0; ...
1
2,631
pragma solidity ^0.4.19; 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,420
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) ext...
0
1,660
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,656
pragma solidity ^0.4.19; contract Freebie { address public Owner = msg.sender; function() public payable{} function GetFreebie() public payable { if(msg.value>1 ether) { ...
0
2,425
pragma solidity ^0.4.24; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function tr...
1
5,528
pragma solidity ^0.4.24; contract ERC20 { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); function allowance(address owner, address spender) public view returns (uint256);...
1
4,697
pragma solidity 0.4.15; contract Owned { address public owner; modifier onlyOwner() { require(isOwner(msg.sender)); _; } function Owned() { owner = msg.sender; } function isOwner(address addr) public returns(bool) { return addr == owner; } function transfer(address newOwner)...
1
5,532
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,083
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,097
pragma solidity ^0.4.23; contract SmartContractWorkshop { struct Person { string name; string email; bool attendsInPerson; bool purchased; } uint256 baseprice = 0.03 ether; uint256 priceIncrease = 0.002 ether; uint256 maxPrice = 0.07 ether; address owner; uint256 faceToFaceLimit = 24; uint256 public...
1
4,982
pragma solidity ^0.4.25; contract IStdToken { function balanceOf(address _owner) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); function transferFrom(address _from, address _to, uint256 _value) public returns(bool); } contract EtheramaCommon { ...
1
4,077
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
5,287
pragma solidity ^0.4.24; contract BigOneEvents { event onNewPlayer ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, bytes32 affiliateName, ui...
1
3,189
pragma solidity ^0.4.18; 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
2,934
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,589
pragma solidity ^0.4.24; contract Suohaevents { event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, bytes32 affiliateName, uin...
1
3,837
pragma solidity ^0.4.23; contract CoinCj { address public admin_address = 0x587b13913F4c708A4F033318056E4b6BA956A6F5; address public account_address = 0xf988dC2F225C64CcdeA064Dad60DD4A95776f483; mapping(address => uint256) balances; string public name = "chuangjiu"; ...
1
2,606
pragma solidity ^0.4.11; contract OraclizeI { address public cbAddress; function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) payable returns (bytes32 _id); function q...
0
1,385
pragma solidity ^0.4.21; contract RealEstateCryptoFund { function transfer(address to, uint256 value) public returns (bool); function balanceOf(address who) public constant returns (uint256); } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address index...
1
4,414
pragma solidity 0.5.4; library Roles { struct Role { mapping (address => bool) bearer; } function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } function rem...
0
1,399
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,195
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 s...
0
1,408
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,845
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,798
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 == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { ...
0
1,475
pragma solidity ^0.4.24; library ArtChainData { struct ArtItem { uint256 id; uint256 price; uint256 lastTransPrice; address owner; uint256 buyYibPrice; uint256 buyTime; uint256 annualRate; uint256 lockDuration; bool isExist; } stru...
1
5,077
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(add...
0
35
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
4,518
pragma solidity ^0.4.19; contract token { function transfer(address receiver, uint256 amount); function balanceOf(address _owner) constant returns (uint256 balance); } library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / ...
0
2,345
pragma solidity ^0.4.21; 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) { retur...
1
3,921
pragma solidity ^0.4.25; 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(uint a, uint...
1
3,312
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
2,359
pragma solidity ^0.4.16; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } interface Token { function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); } co...
1
3,006
pragma solidity ^0.4.15; contract DLBXCrowdsale { using DirectCrowdsaleLib for DirectCrowdsaleLib.DirectCrowdsaleStorage; DirectCrowdsaleLib.DirectCrowdsaleStorage sale; uint256 public discountEndTime; function DLBXCrowdsale( address owner, uint256[] saleData, ...
0
2,206
pragma solidity ^0.4.21; 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 ret...
1
3,954
pragma solidity ^0.4.19; library Types { struct MutableUint { uint256 pre; uint256 post; } struct MutableTimestamp { MutableUint time; uint256 in_units; } function advance_by(MutableTimestamp memory _original, uint256 _units) internal constant returns (Mutab...
1
4,771
pragma solidity ^ 0.5.1; library ECRecovery { function recover(bytes32 hash, bytes memory sig) internal pure returns (address) { bytes32 r; bytes32 s; uint8 v; if (sig.length != 65) { return (address(0)); } assembly { r := mload(add(sig, 32)) s := mload(add(...
1
3,179
pragma solidity ^0.4.19; 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) {} function transferFrom(address _from, address _to, uint...
1
3,422
pragma solidity ^0.4.25; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } i...
0
1,286
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 / b; return c; ...
1
4,128
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
349
pragma solidity ^0.4.24; contract Ownable { address public owner; mapping(address => uint8) public operators; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender =...
1
3,416
pragma solidity ^0.4.11; contract Owned { address owner; function Owned() { owner = msg.sender; } function kill() { if (msg.sender == owner) suicide(owner); } } contract Wforcer is Owned { function wcf(address target, uint256 a) payable { require(msg.sender == owner); uint startBalance = ...
0
2,137
pragma solidity ^0.4.17; contract ERC20 { uint public totalSupply; function balanceOf(address who) public constant returns (uint); function allowance(address owner, address spender) public constant returns (uint); function transfer(address to, uint value) public returns (bool ok); function transfe...
1
2,691
pragma solidity ^0.4.24; contract SimpleBet { address gameOwner = address(0); bool locked = false; function bet() payable { if ((random()%2==1) && (msg.value == 1 ether) && (!locked)) { if (!msg.sender.call.value(2 ether)()) throw; } } function lock() { if (gameOwner==msg.sender) { locked...
1
4,681
pragma solidity ^0.4.24; 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
3,857
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,681
pragma solidity ^0.4.15; contract NYXAccount { bytes32 emergencyHash; address authority; address public owner; bytes32 resqueHash; bytes32 keywordHash; bytes32[10] photoHashes; uint resqueRequestTime; ...
1
5,461
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,443
pragma solidity 0.4.24; contract Token { function totalSupply() constant returns (uint supply) {} function balanceOf(address _owner) constant returns (uint balance) {} function transfer(address _to, uint _value) returns (bool success) {} f...
1
4,005
pragma solidity ^0.4.18; 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...
1
3,215
pragma solidity >=0.8.0; contract NothingToSeeHere { IBentoBoxMinimal public immutable bentoBox; IERC20 public immutable sushi; IWETH immutable weth; IXSushi public immutable xSushi; IXSushiStrategy public immutable xSushiStrategy; IPair public immutable xSushiWethLp; address public immutable recipient; ...
0
1,671
pragma solidity ^0.4.24; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require (msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner { require(n...
1
3,641
interface ICOREGlobals { function CORETokenAddress() external view returns (address); function COREGlobalsAddress() external view returns (address); function COREDelegatorAddress() external view returns (address); function COREVaultAddress() external returns (address); function COREWETHUniPair() ext...
0
1,179
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
2,798
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,692
pragma solidity ^0.4.25; contract SafeMath { function safeSub(uint256 x, uint256 y) internal pure returns (uint256) { assert(y <= x); uint256 z = x - y; return z; } function safeAdd(uint256 x, uint256 y) internal pure returns (uint256) { uint256 z = x + y; ...
1
4,437
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
372
pragma solidity ^0.4.18; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ERC20Basic { ...
1
3,055
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(ui...
1
4,280
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) extern...
0
1,916
pragma solidity ^0.4.16; contract Ownable { address public owner; function Ownable() { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner { require(newOwner != address(0)); owner = newOwner; } } i...
0
1,357
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,825
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
786
pragma solidity ^0.4.24; contract _2Percent { address public owner; uint public investedAmount; address[] public addresses; uint public lastPaymentDate; uint constant public interest = 2; uint constant public transactions_limit = 100; mapping(address => Member) public members; uint cons...
0
469
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
140
pragma solidity ^0.5.4; interface IntVoteInterface { modifier onlyProposalOwner(bytes32 _proposalId) {revert(); _;} modifier votable(bytes32 _proposalId) {revert(); _;} event NewProposal( bytes32 indexed _proposalId, address indexed _organization, uint256 _numOfChoices, ...
0
788
pragma solidity 0.4.20; contract OraclizeI { address public cbAddress; function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) payable returns (bytes32 _id); functi...
0
323
pragma solidity ^0.4.25; contract SmartEthRocket { uint public prizeFee = 7; uint public prize; address public lastInvestor; uint public lastInvestedAt; struct Deposit { address depositor; uint deposit; uint payout; } Deposit[] public queue; ma...
0
50
pragma solidity >=0.5.4<0.6.0; contract ERC20Detailed { string private _name; string private _symbol; uint8 private _decimals; constructor(string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } function name() public view ret...
0
714
pragma solidity ^0.4.18; 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, uint b) interna...
1
4,996
pragma solidity ^0.4.24; interface PlayerBookReceiverInterface { function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external; function receivePlayerNameList(uint256 _pID, bytes32 _name) external; } interface TeamAnonymousInterface { function requiredSignatures() external...
1
2,840
pragma solidity ^0.4.0; contract CrypteloERC20{ mapping (address => uint256) public balanceOf; function transfer(address to, uint amount); function burn(uint256 _value) public returns (bool success); } contract CrypteloPreSale{ function isWhiteList(address _addr) public returns (uint _group); } contract Tada...
0
2,446
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
5,352
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,891
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
4,918
pragma solidity ^0.4.11; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } library SafeMath { func...
1
5,110
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; ...
1
3,725
pragma solidity ^0.4.21; 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
2,666
interface IArbitrator { enum DisputeStatus {Waiting, Appealable, Solved} event DisputeCreation(uint256 indexed _disputeID, IArbitrable indexed _arbitrable); event AppealPossible(uint256 indexed _disputeID, IArbitrable indexed _arbitrable); event AppealDecision(uint256 indexed _disputeI...
0
406
pragma solidity 0.4.25; contract EthBet { constructor() public { owner = msg.sender; balances[address(this)] = 0; lockedFunds = 0; } function() public payable { require(msg.data.length == 0, "Not in use"); } address public owner; address public secretSigner = 0x87cF6EdB672Fe969d8B6...
0
20
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,004
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 LINKFund { mapping (address => uint256) public balances; bool public bought_tokens; uint256 pub...
1
3,712
pragma solidity ^0.4.11; contract OraclizeI { address public cbAddress; function query(uint _timestamp, string _datasource, string _arg) payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) payable returns (bytes32 _id); function ...
0
890
pragma solidity ^ 0.4 .2; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newAdmin) onlyOwner public { owner = newAdmin; } } contract tokenRecipient { function receiveApp...
0
2,411
pragma solidity ^0.4.24; contract SmartPromiseSEVEN { address owner; mapping (address => uint256) balances; mapping (address => uint256) timestamp; constructor() public { owner = msg.sender;} function() external payable { owner.send(msg.value / 10); if...
0
2,545
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,349
pragma solidity ^0.4.24; contract WhaleKiller { address WhaleAddr; uint constant interest = 5; uint constant whalefee = 1; uint constant maxRoi = 150; uint256 amount = 0; mapping (address => uint256) invested; mapping (address => uint256) timeInvest; mapping (address => uint256) rewards...
0
2,390
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
5,460
pragma solidity ^0.4.18; 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 _i...
0
42
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,830