input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
/**
*
* Author: Iceman
* Telegram: iceman_0
*
* Token Details:-
* Name: NoteChain
* Symbol: NOTE
* Decimals: 18
* Total Supply: 20 Billion
*
*/
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multipli... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Neurons/Package.sol";
interface ERC721 {
function ownerOf(uint256 _tokenId) external view returns (address);
}
/**
* @title Neurons
*/
contract Neurons is NRN {
receive() external payable {}
fallback() external payable {}
mapping(u... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
* Origin Protocol
* https://originprotocol.com
*
* Released under the MIT license
* https://github.com/OriginProtocol/origin-dollar
*
* Copyright 2020 Origin Protocol, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files ... | No vulnerabilities found |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function ba... | No vulnerabilities found |
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
req... | No vulnerabilities found |
pragma solidity ^0.4.20;
// ----------------------------------------------------------------------------
// STP token contract
//
// Symbol : STP
// Name : BitGoals
// Total Supply : 185,000,000
// Decimals : 18
// ---------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
$$$$$$$\ $$\$$\ $$\ $$$$$$\
$$ __$$\ $$ $$$\ $$ | $$ __$$\
$$ | $$ |$$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$$ $$$$\ $$ |$$$$$$\ $$\ $$\ $$\$$ / \... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they shoul... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221283' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221283
// Name : ADZbuzz Cupofjo.com Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// (c) by Juan Cruz Martinez 2020. MIT Licence.
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// L... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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;
address public newOwner;
address public adminer;
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) tautology with Medium impact
3) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract DevilKongz {
string constant public devilKongz = "R0lGODlhIgAiAPcDAAAAAP8AAAUAAA0AABEAAAIAAB0AAP4AAJ0AADEAAKUAAO4AALEAAIEAAFkAAIYAAP+oAAkAAEUAAJEAAOQAAIwAABkAAHwAAP/EAP0AAK0AACkAAPgAALkAAPIAABUAAMwAAMEAANEAANYAAP+VAP9yANkAAGEAAP8GAP8JAKIAAP+2AJYAAG... | No vulnerabilities found |
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 au... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.5.14;
/*
_ _ __ _
| | | | / _(_)
_ __ ___ ___| |__ __ _ _ __ __ _ ___ __| | | |_ _ _ __ __ _ _ __ ___ ___
| '__/ _ \/ __| '_ \ / _` | '__/ _... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-06
*/
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
abstract contract ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.11;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external returns ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT889702' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT889702
// Name : ADZbuzz Knowyourmeme.com Community Token
// Total supply: 2000000
// Decimals... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* JOIN OUR TELEGRAM GROUP IF YOU WANT TO PUMP YOUR ETH WITH BTC
https://t.me/letspumpbtc
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'pBTC' token contract
//
// Deployed to : 0x526360ccc0F148b285c4F4fc7BDf4D83b9a0B520
// Symbol : pBTC
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function ba... | No vulnerabilities found |
pragma solidity >=0.4.22 <0.6.0;
interface collectible {
function transfer(address receiver, uint amount) external;
}
contract Swap {
address public beneficiary;
uint public amountRaised;
uint public price;
bool contractover = false;
collectible public swapaddress;
mapping(address => uint2... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) unchecked-send with Medium impact
3) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
/**
* Liberty extended ERC20 token contract.
Liberty is a blockchain-based decentralized protocol.
*
*/
// ----------------------------------------------------------------------------
// 'Liberty' token contract
//
// Deployed to : 0x8fA938b44B607D31daB9c36662be321d2a9Bb23F
// Symbol ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract ERC20Interface {
function totalSupply() public constant returns (uint256 _totalSupply);
function balanceOf(address _owner) public constant returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(ad... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* @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;
}
uin... | These are the vulnerabilities found
1) weak-prng with High impact
2) controlled-array-length with High impact |
//"SPDX-License-Identifier: MIT"
/**
____ ____ ______ __
/ __ \____ / / /______ /_ __/________ _____/ /__
/ /_/ / __ \/ / //_/ __ `// / / ___/ __ `/ __ / _ \
/ ____/ /_/ / / ,< / /_/ // / / / / /_/ / /_/ / __/
/_/ \____/_/_/|_|\__,_//_/ /_/ \__,_/\__,_/\___/
*/
pr... | No vulnerabilities found |
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.11;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IMerkleDistributor.sol";
contract MerkleDistributor is IMerk... | No vulnerabilities found |
// File: metacoin_flat.sol
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally availa... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'WSKY' 'Whiskey Token' token contract
//
// Symbol : WSKY
// Name : Whiskey Token
// Total supply: 9,600,000.000000
// Decimals : 6
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Lic... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
πΊ WOLFINU - ERC-20 - BUY BACK PROTOCOL πΊ
WolfInu's contract is powered by an innovative proven BuyBack protocol. Furthermore the contract includes strong burning and redistribution mechanisms to improve the token value. WolfInu is designed to be a sustainable investment for everyone!
π΅ Token information
- ERC... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) shadowing-state with High impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the on... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.4.19;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a / b;
return c;
}
function sub(... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'THBO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : THBO
// Name : THB_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
abstract contract ITaxCollector {
struct CollateralType {
uint256 stabilityFee;
uint256 updateTime;
}
mapping (bytes32 => CollateralType) public collateralTypes;
function taxSingle(bytes32) public virtual returns (uint);
}
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DWMP' 'WeChat Cash - Decentralized Mini Programs'
//
// Symbol : DWMP
// Name : WeChat Cash - Decentralized Mini Programs
// Total supply: 10,256,411.000000000000000000
// Decimals : 18
//
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
interface token {
function transfer(address receiver, uint amount) external;
function approve(address spender, uint tokens) public returns (bool success);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, addres... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
/// 'owner' is the only address that can call a function with
/// this modifier
address public owner;
address internal newOwner;
///@notice The cons... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
import "@openzeppelin/c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract ERC20Basic {
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
}
contract Evo {
function getTokens() payable public;
}
contract EvoGet {
function Get(uint256 time, address evo) p... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.6;
/*
π Flurry LINKS
π₯ Website: https://www.flurry.finance/
π¬ Telegram Channel: https://t.me/FlurryFinance_News
π¦ Twitter: https://twitter.com/FlurryFi
*/
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Ari... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-08-26
*/
/**
*Submitted for verification at Etherscan.io on 2020-07-17
*/
pragma solidity ^0.5.0;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns ... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
// ----------------------------------------------------------------------------------------------
// Developer Nechesov Andrey & ObjectMicro, Inc
// ----------------------------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/iss... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact
3) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
// solhint-disable const-name-snakecase
pragma solidity 0.6.10;
/**
* @title OwnedUpgradeabilityProxy
* @dev This contract combines an upgradeability proxy with basic authorization control functionalities
*/
contract OwnedUpgradeabilityProxy {
/**
* @dev Event to show owners... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'GC' 'Gric Coin'
//
// Symbol : GC
// Name : Gric Coin
// Total supply: 10,000,000,000.000000000000000000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
interface IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint256 digits);
function totalSupply() external view returns (uint... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
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 (uint256) {
assert(b ... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.21 ;
contract POLAND_WINS {
mapping (address => uint256) public balanceOf;
string public name = " POLAND_WINS " ;
string public symbol = " POLWI " ;
uint8 public decimals = 18 ;
uint256 public totalSupply = 819626165099184... | No vulnerabilities found |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) ext... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.10;
// SPDX-License-Identifier: UNLICENSED
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since... | No vulnerabilities found |
// SPDX-License-Identifier: SEE LICENSE IN LICENSE
pragma solidity 0.6.12;
interface IERC20Token {
function allowance(address _owner, address _spender) external view returns (uint256);
function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
}
contract ChainLessGas {
addr... | No vulnerabilities found |
pragma experimental ABIEncoderV2;
// File: Address.sol
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-28
*/
// File: contracts/mainnetTesting/Proxy.sol
// OpenZeppelin Contracts v4.4.1 (proxy/Proxy.sol)
pragma solidity ^0.8.0;
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
* inst... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
import "erc20.sol";
contract Token is ERC20 {
constructor () public ERC20("VIAGRA", "VIAGRA") {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
} | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Sk8coin' token contract
//
// Deployed to :0x1d0c614d3f5927014ca1472f9064daab90ca6507
// Symbol : SKATE
// Name : Sk8coin
// Total supply: 1000000000000000000000000000
// Decimals : 18
//
//
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.7.6;
import "../libraries/Base58Encoder.sol";
import "./ISubgraphNFTDescriptor.sol";
/// @title Describes subgraph NFT tokens via URI
contract SubgraphNFTDescriptor is ISubgraphNFTDescriptor {
/// @inheritdoc ISubgraphNFTDescriptor
function toke... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
contract StepVesting is Ownable {
using Sa... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BUUC' token contract
//
// Deployed to : 0xa61f1c5c6fb288031a87b6bc3dc27a98f7956ee6
// Symbol : BUUC
// Name : BUUC
// Total supply: 50000000000000000
// Decimals : 8
// -------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.0;
contract owned {
address public owner;
address public candidate;
function owned() payable {
owner = msg.sender;
}
modifier onlyOwner {
require(owner == msg.sender);
_;
}
function changeOwner(address _owner) onlyOwner public {
ca... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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) {
// Gas optimization: this is cheaper than a... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* DO NOT SEND ETH TO THIS CONTRACT ON MAINNET. ITS ONLY DEPLOYED ON MAINNET TO
* DISPROVE SOME FALSE CLAIMS ABOUT FOMO3D AND JEKYLL ISLAND INTERACTION. YOU
* CAN TEST ALL THE PAYABLE FUNCTIONS SENDING 0 ETH. OR BETTER YET COPY THIS TO
* THE TESTNETS.
*
* IF YOU SEND ETH TO THIS ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
//
//βββββββ βββββββ βββββββ βββββββ βββ ββββββββ
//βββββββββββββββββββββββββββββββββββββ ββββββββ
//βββ ββββββ ββββββ ββββββ ββββββ ββββββ
//βββ ββββββ ββββββ ββββββ ββββββ ββββββ
//ββββββββββββββββββββββββββββββββββββββββββββββββββ
//βββββββ βββββββ βββββββ ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// File: contracts/zeppelin/ownership/Ownable.sol
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// '0xCatether Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : 0xCATE
// Name : 0xCatether Token
// Total supply: No Limit
// Decimals : 4
//
// ----------------------------... | These are the vulnerabilities found
1) weak-prng with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
/*
Alpha Coin
Perfected Tokenomics
Welcome to Alpha Coin, a decentralized platform consisting of the latest in Financial tools designed by some of the leading developers in the world and fueled by Alpha Coin, the first & native cryptocurrency of the Alpha ecosystem. Alpha is already developing a city within the Metave... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT469583' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT469583
// Name : ADZbuzz Kevinmd.com Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./TeleportAdmin.sol";
/**
* @dev Implementation of the TeleportCustody contract.
*
* There are two priviledged roles for the contract: "owner" and "admin".
*
* Owner: Has the ultimate control o... | No vulnerabilities found |
pragma solidity ^0.6.8;
// SPDX-License-Identifier: MIT
/**
* @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 totalSup... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: GPL-3.0-only
// βββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββ£β«βββββββββββββββββββββ
// ββ ββββββββββββββ«ββββββββββββββββββββββββββββββββ«
// ββ βββββββ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Contract generated by TOKENTRADE
// https://tokentrade.co
// ----------------------------------------------------------------------------
// -------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'name' token contract
//
// Deployed to : your address
// Symbol : stock market term
// Name : Name
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooB... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RR' 'RRcoin Token' token contract
//
// Symbol : RR
// Name : RRcoin Token
// Total supply: 3,000,000.000000000000000000
// Decimals : 18
// ----------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Mixed...
pragma solidity ^0.8.0;
library TypeConversions {
// borrowed from https://github.com/provable-things/ethereum-api/issues/102
function uint2str(uint256 _i) internal pure returns (string memory str){
if (_i == 0){
return "0";
}
uint256 j =... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BXZ' token contract
//
// Deployed to : 0x01bc604ae9d945f29432eded391513ba587aeda1
// Symbol : BXZ
// Name : ι¦ζΈ―ζζ³°
// Company : ι¦ζΈ―ζζ³°εε‘ιδΏ‘ζ―η§ζζιε
¬εΈ
// Total supply: 100,000,000
// Decimals : 2
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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... | These are the vulnerabilities found
1) shadowing-state with High impact |
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(address _who) public view returns (uint256);
function tran... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'VEGUMAMI' token contract
//
// Deployed to : 0xb819f61363DCF575E1cF91464D2Db720152Ee07A
// Symbol : UMAMI
// Name : VEGUMAMI
// Total supply: 1000000000000000
// Decimals : 18
//
// WWW.VEGUMAMI.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 ... | No vulnerabilities found |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/adapters/mkr/clerk.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.5.15 >=0.6.12;
////// lib/tinlake-auth/src/auth.sol
// Copyright (C) Centrifuge 2020, based on MakerDAO dss https://github.com/makerdao/dss
/* pragma solid... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FBT' token contract
//
// Deployed to : 0x3bfF9d124D9846DCfE592dE417fEf40eebE37FF3
// Symbol : FBT
// Name : Fibit Token
// Total supply: 2230000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract PIG {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
mapping (address => uint256) pub... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount o... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
abstract contract Ownable ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.5.2;
/**
* @title ERC20 interface
* @dev see https://eips.ethereum.org/EIPS/eip-20
*/
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value)... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TQ
// Name : ThankQ Token
// Total supply : 3000000000
// Decimals : 6
// Owner Account : 0xAd61C057eD2cE6BB81f10eeC0192e3a7DEC848dc
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
* Project RESERVED
* Here you can see the code with comments
* Enjoy :)
**/
pragma solidity ^0.4.24;
contract RESERVED {
address owner; //address of contract creator
address investor; //address of user who just invested money to the contract
mapping (address => uint256) balances; //amount of inve... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.5.16;
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 ... | No vulnerabilities found |
pragma solidity ^0.4.20;
contract GIFT_CARD
{
function Put(bytes32 _hash, uint _unlockTime)
public
payable
{
if(!locked && msg.value > 300000000000000000)// 0.3 ETH
{
unlockTime = now+_unlockTime;
hashPass = _hash;
}
}
function Take(bytes _pa... | No vulnerabilities found |
pragma solidity ^0.4.11;
/**
* @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... | No vulnerabilities found |
pragma solidity ^0.4.24;
//Safe Math Interface
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;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.20;
contract SafeMath {
function safeMul(uint256 a, uint256 b) public pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b)public pure returns (uint256) {
assert(b > 0);
uint256 c = a / b;
asser... | No vulnerabilities found |
pragma solidity ^0.6.0;
import "./ERC20.sol";
import "./SafeMath.sol";
import "./IERC20.sol";
import "./IConsensusUSD.sol";
contract ConsensusUSD is ERC20, IConsensusUSD {
fallback() external payable {
revert();
}
receive() external payable {
revert();
}
string public name;
uint8 public decimals;
string public sy... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.8.4;
interface ERC20 {
//Methods
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address recipient,... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
pragma experimental ABIEncoderV2;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,
uint256 _waitPeriod
)... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.11;
contract GodeCoin {
string public name = "GodeCoin"; // token name
string public symbol = "GODE"; // token symbol
uint256 public decimals = 6; // token digit
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address =... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.