address string | code string | labels list | binary_label int64 | n_positive_categories int64 | label_vector list |
|---|---|---|---|---|---|
0x50987e6be405ebac691f8988304562e5efc3b2ea | // File: zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol
pragma solidity ^0.4.21;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(a... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xaf31604f0a88f7fcebc7d4cf4dd14653f4a6773c | pragma solidity ^0.4.13;
contract Token {
uint256 public totalSupply;
function balanceOf(address _owner) constant returns (uint256 balance);
function transfer(address _to, uint256 _value) returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
... | [
"arithmetic",
"reentrancy"
] | 1 | 2 | [
0,
0,
1,
0,
0,
1,
0,
0
] |
0xb81292a2e046e44121dfbfba398b19f5910faf60 | pragma solidity ^0.4.25;
contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to the base co... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xf4a3679eb0a3d9e8af9824a29bd32dd98d1e7127 | 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 {
... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xa4cc3648dba1396a2a455486b408ef4402c3a966 | pragma solidity ^0.4.15;
// ================= Ownable Contract start =============================
/*
* Ownable
*
* Base contract with an owner.
* Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.
*/
contract Ownable {
address public owner;
func... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x7114e6abb99b00f3255767f4a409e5f5be3b8b83 | pragma solidity ^0.4.21;
library BWUtility {
// -------- UTILITY FUNCTIONS ----------
// Return next higher even _multiple for _amount parameter (e.g used to round up to even finneys).
function ceil(uint _amount, uint _multiple) pure public returns (uint) {
return ((_amount + _multiple - 1) ... | [
"Other",
"arithmetic",
"denial_service"
] | 1 | 3 | [
1,
0,
1,
1,
0,
0,
0,
0
] |
0x18a27a0e42d02d88ea2800ffe3bf094fb2de3e53 | pragma solidity 0.4.21;
// File: contracts/ExchangeHandler.sol
/// @title Interface for all exchange handler contracts
interface ExchangeHandler {
/// @dev Get the available amount left to fill for an order
/// @param orderAddresses Array of address values needed for this DEX order
/// @param orderValues... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xe65702283f5773e7e0f6bdd3594f502241676f1a | pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
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;
}
/**
* @dev Integer division of two ... | [
"arithmetic",
"time_manipulation"
] | 1 | 2 | [
0,
0,
1,
0,
0,
0,
1,
0
] |
0xff531d7874cab51b2661d6599d5f552edae3481e | pragma solidity ^0.4.23;
contract CoinCj // @eachvar
{
// ======== 初始化代币相关逻辑 ==============
// 地址信息
address public admin_address = 0x587b13913F4c708A4F033318056E4b6BA956A6F5; // @eachvar
address public account_address = 0xf988dC2F225C64CcdeA064Dad60DD4A95776f483; // @eachvar 初始化后转入代币的地址
// 定义账... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x1d9bfbc9f1616dbdf5946ae95d075ce7f87d24d3 | pragma solidity >=0.4.22 <0.6.0;
interface tokenRecipient {
function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external;
}
contract MUTOToken {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xdc7f41f9e8ba6de05ed5cefa74fb57e82cfb038e | pragma solidity ^0.4.18;
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);
}
contract ERC20 is ERC20Ba... | [
"arithmetic",
"reentrancy",
"unchecked_low_calls"
] | 1 | 3 | [
0,
0,
1,
0,
0,
1,
0,
1
] |
0xabdf147870235fcfc34153828c769a70b3fae01f | pragma solidity ^0.4.18;
// Deployed will@ethfinex.com 31/12/17
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(... | [
"reentrancy"
] | 1 | 1 | [
0,
0,
0,
0,
0,
1,
0,
0
] |
0xab34d543b557584c8950926343ae92f2bc78a60b | pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
... | [
"arithmetic",
"denial_service"
] | 1 | 2 | [
0,
0,
1,
1,
0,
0,
0,
0
] |
0x5a757fb240ac70dbead4f9e1508f24a91da70ee5 | pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
retur... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x25cf4530240b77981310aba4fc59897cd7b32bdb | pragma solidity ^0.4.18;
contract WorldBetToken {
/* Token name */
string public name = "World Bet Lottery Tickets";
/* Token Symbol */
string public symbol = "WBT";
/* Token digit*/
uint public decimals = 0;
mapping(uint => uint) private userBalanceOf; // user total amoun... | [
"Other",
"arithmetic"
] | 1 | 2 | [
1,
0,
1,
0,
0,
0,
0,
0
] |
0xc25a27281e10f140a97ea5f845c0de1bf8782f90 | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint2... | [
"Other",
"arithmetic",
"reentrancy",
"time_manipulation"
] | 1 | 4 | [
1,
0,
1,
0,
0,
1,
1,
0
] |
0xa4480957629da7986efe389ca2be86a9fab7481b | pragma solidity ^0.4.20;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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);
... | [
"time_manipulation"
] | 1 | 1 | [
0,
0,
0,
0,
0,
0,
1,
0
] |
0xd3146d43d3c674d44203c5dfdddd69d2c2cc93ec | pragma solidity ^0.4.11;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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 ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xfa1f4e5eb0cd3eb332c47268070630a20dd73986 | pragma solidity^0.4.8;
contract BlockApps_Certificate_of_Completion {
address public owner = msg.sender;
string certificate;
bool certIssued = false;
function publishGraduatingClass(string cert) {
if (msg.sender != owner || certIssued)
throw;
certIssued = true;
certif... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x314d25c8322372ef63eac9654ded3d87494c3233 | pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint2... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x1e7c6b740f45e42c722db1b286b23a60acfdf6e2 | pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) p... | [
"arithmetic",
"denial_service"
] | 1 | 2 | [
0,
0,
1,
1,
0,
0,
0,
0
] |
0x416605974bb7ad803ea61904e0c7a5a4d02e69bf | pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xfddecb65ead859ea3488e55f4d50a0bf864417cd | pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xa58dd6309e8a2355d9c11817e4509f231b511f25 | contract Token {
/* Public variables of the token */
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
/* This creates an array with all balances */
mapping (address => uint256) public balanceOf;
/* This generates a public event on the blockchain that will n... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x7eae79fa769bc57729739c42fcdb2076fdddd0a5 | pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xc9ecab309aef735586f45413d0aeaa4adcc4f654 | pragma solidity ^0.4.8;
/**
* Math operations with safety checks
* By OpenZeppelin: https://github.com/OpenZeppelin/zeppelin-solidity/contracts/SafeMath.sol
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
if(!(a == 0 || c / a == b)) throw;
retu... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x64bf40a1265d7d39d2a025b04a8d7396efc3263a | pragma solidity ^0.4.24;
contract THATCoin {
mapping (address => uint256) public balanceOf;
string public name = "THATCoin";
string public symbol = "THAT";
uint8 public decimals = 18;
uint256 public totalSupply = 1000 * uint256(10)**decimals;
event Transfer(address indexed from, address inde... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xac9b5f06de945b5dc6d1d725b58b70c1df6ab6e8 | pragma solidity ^0.4.23;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x775ff1e18dbeb4fd881c3f4049e675016786c242 | pragma solidity ^0.4.11;
// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016 Oraclize LTD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including w... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xf8e7474dceb8c2b085705519fdc5d371fedd359b | /**
*Submitted for verification at Etherscan.io on 2018-07-16
*/
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string pub... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xbeb7525a629b127adc8d893d7878f7cf0df4fdb8 | pragma solidity ^0.4.25;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 bala... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x4efb1718d23dec663b465821fdb530af22e07322 | pragma solidity ^0.4.24;
/**
* @notice Block Coin Bit Token Contract
* @dev ERC-223 Token Standar Compliant
* Contact: aaronwalterfraser@gmail.com
*/
/**
* @title SafeMath by OpenZeppelin
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) inte... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xdd70a308ed4b507e76da1f956c72c71d0a98dfa5 | pragma solidity ^0.4.17;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) constant returns (uint256);
function transfer(address to, uint256 value)... | [
"Other",
"arithmetic",
"reentrancy"
] | 1 | 3 | [
1,
0,
1,
0,
0,
1,
0,
0
] |
0x312052fa234331052b645a3bd98922e7324f7522 | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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) inter... | [
"reentrancy"
] | 1 | 1 | [
0,
0,
0,
0,
0,
1,
0,
0
] |
0xfb6950e61554ae624bdf3bb220d5ed240c613c21 | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BitcoinCash' token contract
//
//
// Symbol : RKM
// Name : Bitcoin Cash
// Total supply: 921000000000
// Decimals : 18
//
// Enjoy.
// Coding by Jarmo van de Seijp
// Consulted by www.Crypterx.... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xd4e61b22638c9b5702a3889839dbd45966474555 | pragma solidity ^0.4.18;
contract rik {
uint256 constant MAX_UINT256 = 2**256 - 1;
uint256 constant MAX = 150000000000000000000000000;
uint256 public cost = 2000000000000;
uint256 _totalSupply = 500000000000000000000000;
event Transfer(address indexed _from, address indexed _to, ui... | [
"Other",
"arithmetic"
] | 1 | 2 | [
1,
0,
1,
0,
0,
0,
0,
0
] |
0x1660ef71da631bf8b8bf5656f49bc635c97dfc1c | 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... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xdca27b04c00f47d5a2472f55f7116bdd17320f70 | // Bravo Coin ICO Phase 2
// ** 1 ETH = 3333 BRV **
pragma solidity ^0.4.18;
contract ICOPhase2{
using SafeMath for uint256;
ERC20 public token;
address public wallet;
uint256 public rate;
uint256 public weiRaised;
event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x32b47d3b4a524f03997e4f069f32fe1518c5c241 | pragma solidity >=0.4.22 <0.6.0;
contract owned {
address payable public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address payable newOwner) onlyOwner public {
owner =... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xf9b52eb85cd125b7f3cb621b8df76f3d2aba1ab7 | pragma solidity ^0.4.4;
contract BlockSpeech {
event Keynote(address indexed _from, uint _speech_id, string _speech_title);
event Like(address indexed _from, address _addr, uint _speech_id);
event Reward(address indexed _from, address _addr, uint _speech_id, uint _value);
struct Speech {
uint... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x3639d5dc956e35540fbd1de691870fb1318d6783 | pragma solidity ^0.4.23;
/**
* @title MerkleProof
* @dev Merkle proof verification based on
* https://github.com/ameensol/merkle-tree-solidity/blob/master/src/MerkleProof.sol
*/
library MerkleProof {
/**
* @dev Verifies a Merkle proof proving the existence of a leaf in a Merkle tree. Assumes that each pair of... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x0a2631a499813bb47de7490a4845aabee8062b6f | pragma solidity 0.4.25;
pragma experimental ABIEncoderV2;
/**
* @title Math
* @dev Assorted math operations
*/
library Math {
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < ... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xa299d9c4442237a8570b50a1567026d64686828c | pragma solidity ^0.4.13;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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 ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x6cfa91e0b2332741a554d12fc7319caff3575ba1 | /**
* The contract defining the contest, allowing participation and voting.
* Participation is only possible before the participation deadline.
* Voting is only allowed after the participation deadline was met and before the voting deadline expires.
* As soon as voting is over, the contest may be closed, resultig in th... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xbbf283a1386b1b5e258eec60f27f775972c68571 | pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is t... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x00be721be5e52da3a7e3e3e1dd871bbc5e1c17fb | pragma solidity ^0.4.17;
/*
REA Lottery Wheel Contract
The constructor sets last_hash to some initial value.
Every call to spin() will increase the round_count by one and
a put a new "random" hash into the storage map "hashes".
spin() accepts an argument which can be used to introdue more "randomness".
The comm... | [
"Other"
] | 1 | 1 | [
1,
0,
0,
0,
0,
0,
0,
0
] |
0x16787bbd21b62216b8c67fd00cc6153941fa94e6 | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FeniXCoin' token contract
//
// Deployed to : 0xabc4B357D7419cfD3747DC1338e9e6308612D87c
// Symbol : FEX
// Name : FeniXCoin
// Total supply: 15000000
// Decimals : 18
//
// Enjoy.
//
// (c) by M... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x1dc8c1b2f767e9e7b346f2056d0976523ba6b1d9 | pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xfd341667401892f0a2f385d29713a3200ef9ee49 | // Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
pragma solidity ^0.4.18;
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
u... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xa2629a4dac9a0cc1fb68b16a165a5d0720974091 | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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) in... | [
"reentrancy"
] | 1 | 1 | [
0,
0,
0,
0,
0,
1,
0,
0
] |
0x629540f0955778be6b7165a602f9f25714be234a | pragma solidity ^0.4.20;
/*
* Welcome to AviciiCoin
* ==========================*
_ _ _ _____ _
/\ (_) (_|_) / ____| (_)
/ \__ ___ ___ _ _ | | ___ _ _ __
/ /\ \ \ / / |/ __| | | | | / _ \| | '_ \
/ ____ \ V /| | (__| | | | |___| (_) |... | [
"Other",
"arithmetic"
] | 1 | 2 | [
1,
0,
1,
0,
0,
0,
0,
0
] |
0x17f7e7341d98aba6e35e4222b142c7f8a64945b8 | pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'MO' token contract
//
// Deployed to : 0x92BCDBE08b966bCb4fcB6F010FAbD9bB598FDAEB
// Symbol : MO
// Name : Immortality
// Total supply: 1000000000
// Decimals : 2
//
// --------------------------... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x93e13c068ec84986477fb2551222b814a684e0c2 | pragma solidity ^0.4.21;
/*
* Creator: CST (CryptoServices Token)
*/
/*
* Abstract Token Smart Contract
*
*/
/*
* Safe Math Smart Contract.
* https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
*/
contract SafeMath {
function mul(uint256 a, uint256 b) internal pu... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x7f4f6ad36f609883d633dd4c812a53daf17079e3 | pragma solidity ^0.4.8;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal returns (uint25... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xc1965d7d18f37062b18ab3d5d1fe7f69873b30dd | pragma solidity ^0.4.18;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
require(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xcf34896d97794b4d5c46fccacf1c4753d0e37dfa | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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) in... | [
"reentrancy"
] | 1 | 1 | [
0,
0,
0,
0,
0,
1,
0,
0
] |
0x0443864b5c93fcab5d2b6ae0684962e2cbe57b83 | pragma solidity ^0.4.25;
// v0.4.25+commit.59dbf8f1
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimizat... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x2b07973233241983ec13d15d990d8e8e7575cc0b | pragma solidity ^0.4.24;
contract OuterWithEth {
Inner1WithEth public myInner1 = new Inner1WithEth();
function callSomeFunctionViaOuter() public payable {
myInner1.callSomeFunctionViaInner1.value(msg.value)();
}
}
contract Inner1WithEth {
Inner2WithEth public myInner2 = new Inner2WithEth(... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x56e7f2cd7d5382506aab084a67d70e603cdb23f7 | pragma solidity ^0.4.4;
contract BicodeToken {
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, ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x1a77cc30e8d7cb528520cda6b29279e7d859896a | pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x29d621f863d385f959822e618466ee181d4a1057 | pragma solidity ^0.4.11;
/*
Copyright 2017, Anton Egorov (Mothership Foundation)
Copyright 2017, Klaus Hott (BlockchainLabs.nz)
Copyright 2017, Jordi Baylina (Giveth)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | [
"arithmetic",
"denial_service",
"front_running",
"reentrancy"
] | 1 | 4 | [
0,
0,
1,
1,
1,
1,
0,
0
] |
0x3a6b457fbc2c2a26d7f0067d92f741dfa26069d6 | pragma solidity ^0.4.12;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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 ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xe8d7648dd6b3b8b4eb360009745fc0a3c597764b | pragma solidity ^0.5.2;
contract Counter {
event Incremented(uint256 value);
uint256 public value;
constructor() public payable
{
value = 0;
}
function increment() public payable {
value += 1;
emit Incremented(value);
}
} | [
"Other"
] | 1 | 1 | [
1,
0,
0,
0,
0,
0,
0,
0
] |
0x9e0741625f98b7a7880cd51123d84e768dd07f2b | pragma solidity ^0.4.21 ;
contract NDRV_PFVII_III_883 {
mapping (address => uint256) public balanceOf;
string public name = " NDRV_PFVII_III_883 " ;
string public symbol = " NDRV_PFVII_III_IMTD " ;
uint8 public decimals = 18 ;
uint256... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x313f29ea49a9e6ca3b3e254335d4ec32ef5045f8 | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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) ... | [
"Other",
"arithmetic",
"denial_service",
"time_manipulation"
] | 1 | 4 | [
1,
0,
1,
1,
0,
0,
1,
0
] |
0xa135b2df88d5bd00bad36cc110d7b036f95159b4 | pragma solidity ^0.4.13;
/*News platform System change the world**/
//Math operations with safety checks that throw on error
library SafeMath {
// multiplication
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
//divis... | [
"Other",
"arithmetic"
] | 1 | 2 | [
1,
0,
1,
0,
0,
0,
0,
0
] |
0xcff9cb72d19c10df754ae7be6d280e379cdb2354 | contract quick {
struct Person {
address etherAddress;
uint amount;
}
Person[] public persons;
uint public payoutIdx = 0;
uint public collectedFees;
uint public balance = 0;
address public owner;
modifier onlyowner { if (msg.sender == owner) _ }
function quick() {
owner = msg.s... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xf445723a5e7a3af9f010ac44a20dc80612e6c95f | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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) inter... | [
"reentrancy"
] | 1 | 1 | [
0,
0,
0,
0,
0,
1,
0,
0
] |
0x876617584678d5b9a6ef93eba92b408367d9457c | contract Certifier {
event Confirmed(address indexed who);
event Revoked(address indexed who);
function certified(address _who) view public returns (bool);
}
/// @title Contract that supports the receival of ERC223 tokens.
contract ERC223ReceivingContract {
/// @dev Standard ERC223 function that will handle in... | [
"arithmetic",
"reentrancy"
] | 1 | 2 | [
0,
0,
1,
0,
0,
1,
0,
0
] |
0xfa6764b049f5e64cd8c364142fa07c51cf3ed302 | //File: node_modules/zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function ... | [
"Other",
"arithmetic"
] | 1 | 2 | [
1,
0,
1,
0,
0,
0,
0,
0
] |
0x381e89a4073a16cb08547486a3eeaf426d48a1a7 | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BUC' 'BuyCoin' token contract
//
// Symbol : BUC
// Name : BuyCoin
// Total supply: 1,000,000,000.000000000000
// Decimals : 12
//
// Enjoy.
//
// ------------------------------------------------... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x05aaaa829afa407d83315cded1d45eb16025910c | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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;
}
funct... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xd26b63194f70e0939393d23d3a5b1ed6bde5f835 | pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) pu... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xefc13904771ca371cb9fb328c2f32e30c60b1e71 | pragma solidity ^0.4.23;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(addr... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xd204125771ad37e7d1b31d20dde79ea4d683cbaa | pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------------------------
// docoin by DOO Limited.
// An ERC20 standard
//
// author: docoin Team
contract ERC20Interface {
function totalSupply() public constant returns (uint256 _totalSupply);
function balanceO... | [
"Other",
"arithmetic"
] | 1 | 2 | [
1,
0,
1,
0,
0,
0,
0,
0
] |
0xf354d96542dab21c71b7a100b7ba9bbd56fd9f77 | pragma solidity ^0.4.24;
interface ERC165 {
function supportsInterface(bytes4 _interfaceId)
external
view
returns (bool);
}
contract SupportsInterfaceWithLookup is ERC165 {
bytes4 public constant InterfaceId_ERC165 = 0x01ffc9a7;
mapping(bytes4 => bool) internal supportedInterfaces;
construct... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x44e320110176c11c93e116f6770f13d96deded43 | pragma solidity ^0.4.20;
contract Ownable {
address public owner;
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwner(address newOwner) public onlyOwner {
owner = newOwner;
}
}
... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xb7f3b852bda106b6818bb50baf8f117bd0f2065d | pragma solidity 0.4.24;
contract Token {
function transfer(address to, uint256 value) returns (bool success);
function transferFrom(address from, address to, uint256 value) returns (bool success);
function approve(address spender, uint256 value) returns (bool success);
function totalSupply() constant ... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x21aec0a028d7adec228595b24439c7eb969edd5f | pragma solidity ^0.4.13;
contract Sudokoin {
uint supply = 203462379904501283815424;
uint public boards = 0; // max 6670903752021072936960
string public constant name = "Sudokoin";
string public constant symbol = "SDK";
uint8 public constant decimals = 12;
mapping (address => mapping (address => uint)) a... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xe23eeba6a662cca33e57cb22ea8479122e7ff2cd | // File: zeppelin-solidity/contracts/ownership/Ownable.sol
pragma solidity ^0.4.18;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xc82ed6226c8fbbd1f7db529e81c1c36b82072576 | pragma solidity ^0.4.18;
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;
}
}
c... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x441e8975843f9cf81b685c793325a4441576c3c3 | pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
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); // Solidity automat... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xd7eed0fcde8d805b6798cda396968c25335cd379 | pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : BTP
// Name : BitPlay
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// ----------... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x048fe49be32adfc9ed68c37d32b5ec9df17b3603 | pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x5b5d8a8a732a3c73ff0fb6980880ef399ecaf72e | /*
This file is part of the PROOF Contract.
The PROOF Contract is free software: you can redistribute it and/or
modify it under the terms of the GNU lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
The PROOF Contract is... | [
"reentrancy"
] | 1 | 1 | [
0,
0,
0,
0,
0,
1,
0,
0
] |
0x66fc4069c6717f59edc2ef9d8743670df1055121 | pragma solidity ^0.5.2;
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function totalSupply()... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xecab747bebdbc679ae03349ae325399b0ad7092c | pragma solidity ^0.4.25 ;
contract VOCC_I012_20181211 {
mapping (address => uint256) public balanceOf;
string public name = " VOCC_I012_20181211 " ;
string public symbol = " VOCC_I012_20181211_subDT " ;
uint8 public decimals = 18 ;
... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x202566b169a4d0fdd9cc821a7475badf4922fc3d | pragma solidity ^0.4.24;
//
// MeshX Token
//
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) {
retu... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xf140a9bd2a35b71006fb71e4229eaf8754bc95ed | pragma solidity ^0.4.16;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 bala... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x612229235c223a8ab209f3fd73af8607858c6636 | pragma solidity ^0.4.24;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x88ac94d5d175130347fc95e109d77ac09dbf5ab7 | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint2... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x5d8da427250233b942e0da8775cde56b215d65d8 | pragma solidity ^ 0.4.24;
// ----------------------------------------------------------------------------
// 安全的加减乘除
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns(uint c) {
c = a + b;
require(c >= a);
}
func... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0x999207a990c50881638116a767fb893bcfa573de | pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
retur... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xda4d69c10c03f9e07f69d091d525b70d8856e2b7 | 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); // Solidity a... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x7ed58877581d07bb4238a8b4d341e54c609b73c2 | pragma solidity ^0.4.10;
// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016 Oraclize LTD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x76e41a9c2db1e1f33b3dd008c77b605c353078b3 | pragma solidity >=0.4.22 <0.6.0;
contract owned {
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xa2fb4ba67ef28bd9d0548a537aaff66e7a5951aa | /*
"Crypto Casino 333" (c) v.1.0
Copyright (c) 2019 by -= 333ETH Team =-
* Web - https://333eth.io
* Telegram_channel - https://t.me/Ethereum333
* EN Telegram_chat: https://t.me/Ethereum333_chat_en
* RU Telegram_chat: https://t.me/Ethereum333_chat_ru
* Support:
* Telegram_chat: https://t.me/cc333support
* E... | [] | 0 | 0 | [
0,
0,
0,
0,
0,
0,
0,
0
] |
0xe3066ee024544343bde34bef78584b437f2362fd | pragma solidity ^0.4.13;
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);
}
contract ERC20 is ERC20Basic ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0x27ba840c2e65d54455434533daade769333f4aff | pragma solidity ^0.4.11;
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
if (msg.sender == owner)
_;
}
}
contract tokenRecipient {
function receiveApproval(address ... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
0xec2ca0ef7cbbb49d5305f2f85dda24a9c5eda305 | pragma solidity ^0.4.11;
contract ERC20 {
function totalSupply() constant returns (uint totalSupply);
function balanceOf(address _owner) constant returns (uint balance);
function transfer(address _to, uint _value) returns (bool success);
function transferFrom(address _from, address _to, uint _value) returns (b... | [
"arithmetic"
] | 1 | 1 | [
0,
0,
1,
0,
0,
0,
0,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.