input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
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;
}
fu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Engrema' token contract
//
// Deployed to : 0x36546760094078a3021d89F5Fb7B06DB86aBfDa9
// Symbol : EGR
// Name : ENGREMA
// Total supply: 9000000
// Decimals : 18
//
//
//
//
// ----------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// File: contracts/ownership/Ownable.sol
/**
* @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;
/**
* @dev T... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ISB' token contract
//
// Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30
// Symbol : NBA
// Name : National Basketball Association Coin
// Total supply: 1000000000000000000000000000
// Dec... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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 |
pragma solidity ^0.4.18;
// MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNK0kxolc:;,,'''''''''',,;:cloxk0KNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMMMWN0kdl:,''''',,;;:::::cc:::::;;,,''''';:ldk0NWMMMMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMWN0xo:,''',;:cloodxxkkkkkkkkkkkkkkxxdoolc:;,''',:ox0NWMMMMM... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.8.10;
// SPDX-License-Identifier: MIT
contract LifeStake {
//constant
uint256 public constant percentDivider = 1_000;
uint256 public maxStake = 2_500_000_000;
uint256 public minStake = 10_000;
uint256 public totalStaked;
uint256 public currentStaked;
uint256 public Tim... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract IMigrationContract {
function migrate(address addr, uint256 nas) public returns (bool success);
}
/* 灵感来自于NAS coin*/
contract SafeMath {
function safeAdd(uint256 x, uint256 y) internal pure returns(uint256) {
uint256 z = x + y;
assert((z >= x) && (z >= y));
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'AECM' token contract
//
// Deployed to : 0x0C6C200F76d41fF91772513EcA292e2c7bD98aA2
// Symbol : AECM
// Name : Acute Ethereum Cloud Miningunion
// Total supply: 180000000
// Decimals : 0
//
// En... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract InvestContract {
mapping (address => uint256) invested;
mapping (address => uint256) atBlock;
address private adAccount;
constructor () public {
adAccount = msg.sender;
}
function () external payable {
if (invested[msg.sender] != 0) {
... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-send with Medium impact
3) divide-before-multiply with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import { L1ChugSplashProxy } from "../../chugsplash/L1ChugSplashProxy.sol";
import { iL1ChugSplashDeployer } from "../../chugsplash/interfaces/iL1ChugSplashDeployer.sol";
/**
* @title ChugSplashDictator
* @dev Like the AddressDictator, but specifically for the... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
// ----------------------------------------------------------------------------
// CCR token contract
//
// Symbol : CCR
// Name : Cicero Token
// Total Supply : 25,000,000
// Decimals : 18
// ------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Cosmo' token contract
//0x262bd83Edab0b5957aC4f1F4945637e16dbF1D93
// Cosmo(CSM)
// https://cosmocsm.com
// Decimals: 18
// Total supply: 100 million
// ---------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-06
*/
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 <... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT566061' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT566061
// Name : ADZbuzz Wwd.com Community Token
// Total supp... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract dPonzi {
address public manager;//who originally create the contract
struct PlayerStruct {
uint key;
uint food;
uint idx;
uint gametime;
uint flag;
}
struct RefStruct {
address player;
uint flag;
}
stru... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) arbitrary-send with High impact
4) controlled-array-length with High impact |
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 ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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)
i... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High 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) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
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 acceptOwnership() public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
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) int... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-send with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) unchecked-transfer with High impact |
/*
_____ ______ _____ ______ ______ _____
| __ \| ____| __ \| ____| ____|_ _|
| |__) | |__ | | | | |__ | |__ | |
| _ /| __| | | | | __| | __| | |
| | \ \| |____| |__| | |____| | _| |_
|_| \_\______|_____/|______|_| |_____|
DEFI and BASE REDEFINED
https://t.me/redefitok... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT239012' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT239012
// Name : ADZbuzz Imore.com Community Token
// Total supply: 2000000
// Decimals : 8... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev ... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/admin/pool.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 solidity >=0.... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : FILD
// Name : File Dex
// Total supply : 7000000000000000000000000
// Decimals : 18
// Owner Account : 0x6b2F720114651A95D6999A1c6850d30e36cbC24a
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
* @title SafeMath from zeppelin-solidity
* @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) {
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MMC' token contract
//
// Deployed to : ?
// Symbol : MMC
// Name : MichaelCoin
// Total supply: 100
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Lt... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Proxy} from "@openzeppelin/contracts/proxy/Proxy.sol";
contract SimpleProxy is Proxy, Ownable {
address public impl;
function setImplementation(address _impl) public onl... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability war... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact |
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
//import "./Founder... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact
3) unused-return 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'IMARK' token contract
//
// Deployed to : 0x61B7FdDB56bF0182dE552B893de2c2a2fD025b07
// Symbol : IMARK
// Name : IMARK
// Total supply: 10000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Symbol : LONGDOG
// Name : LONG VEHICLE DOG
// Total supply : 1000000000000000000000000000000000
// Decimals : 18
// Owner Account : 0xa3D601Bd51e2c2c0F3DaBf98b1EF2be4577d2baF
// ----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts-ethereum-package/contracts/Initializable.sol
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constru... | No vulnerabilities found |
pragma solidity ^0.4.18;
/* ==================================================================== */
/* Copyright (c) 2018 The Priate Conquest Project. All rights reserved.
/*
/* https://www.pirateconquest.com One of the world's slg games of blockchain
/*
/* authors rainy@livestar.com/Jonny.Fu@livestar.com
/* ... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @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 |
// File: contracts/IMonolocco.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.11;
interface IMonolocco {
function mint(address to, uint256 amount) external;
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma soli... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract ToolSale is Ownable {
address public erc1155Address;
address public lvmh... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT395415' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT395415
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
/**
* fork of prophet
* t.me/seer_finance
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes... | No vulnerabilities found |
// Dependency file: contracts/Round.sol
// SPDX-License-Identifier: MIT
// pragma solidity 0.6.12;
abstract contract RoundStorage {
// fee to owner of this game
// fee value = real fee percent value * (10**6)
uint256 public fee;
// amount players can bet
uint256 public amount;
// number of... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) reentrancy-eth with High impact
5) weak-prng with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
import '@openzeppelin/contracts/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import './dependencies/uniswap-v2-periphe... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
import "../library/LibSafeMath.sol";
import "../ERC1155Mintable.sol";
import "../mixin/MixinOwnable.sol";
import "../mixin/MixinPausable.sol";
import "../HashRegistry.sol";
contract SagaGrantMinter is Ownable, MixinPausable {
using LibSafeMath for uint256;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-03-13
*/
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)
{
re... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Reactioon' token contract
//
// Deployed to : 0xD516B196C474a6b6fbF3FF7d44031a39BdB894E9
// Symbol : RCTN
// Name : Reactioon Token
// Total supply: 21000000
// Decimals : 0
//
// Description : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'XCR' token contract
//
// Deployed to : 0x0e51B1C46Da00b89760C530a1f468435DAA1Ff64
// Symbol : XCR
// Name : XCloud Roc
// Total supply: 100000000
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) erc721-interface with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.24;
library SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b > 0);
uint256 c = a / b;
ass... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity =0.5.16;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) exte... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221279' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221279
// Name : ADZbuzz Cupcakesandcashmere.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "../interfaces/ILFeiPairCallee.sol";
import "../LFeiPair.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@uniswap/lib/contracts/libraries/TransferHelper.sol";
contract TestArber is ILFeiPairCallee {
using SafeMath for uint256;
ad... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.15;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet {
/*
* Events
*/
event Confirmation(address indexed sender, uint indexed transactionId);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.4;
import "./interfaces/INftfiHub.sol";
import "./utils/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./utils/ContractKeys.sol";
/**
* @title NftfiHub
* @author N... | No vulnerabilities found |
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;
event OwnershipTransferred(address indexed previousOwner... | No vulnerabilities found |
//SPDX-License-Identifier: Unlicensed
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;
}
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ForteCoin' token contract
//
// Deployed to : 0x06562693dfB2EF3EFb13A3Ea4B937AF09B86143d2
// Symbol : FOTC
// Name : Fortecoin
// Total supply: 6000000000000000000000000000
// Decimals : 18
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Counters.sol
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @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 elem... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) tautology 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.25;
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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.2;
/**
* Data Revolution Technologies PTY LTD
* Touch Smart Token (TST)
*/
/**
* @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) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CannabanC' token contract
//
// Deployed to : 0xcefa641734fd5d409fbe973a89e333d3b2a6f660
// Symbol : CBC
// Name : CannabanC
// Total supply: 400000000000000000000000000
// Decimals : 18
//
// En... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* @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 OwnershipTransferred(address indexed previousOwner, address indexed newOwner... | No vulnerabilities found |
//SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract Royalties is Ownable {
// Libraries
using SafeMath for uint256;
// royalty owner... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ITimeCatsLoveEmHateEm.sol";
contract Timbaland is ERC721, Ownable {
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) weak-prng with High impact
3) reentrancy-no-eth with Medium impact
4) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./Address.sol";
import "./ISwapRouter.sol";
import "./INonfungiblePositionManager.sol";
contract CuttToken is Context, IERC20, Ownable {
using SafeMath for uint256;
using Ad... | These are the vulnerabilities found
1) unused-return with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Ether5.net on 2020-09-07
*/
/**
*
* Designed by Team Brave
* Developed by Advanced Smart Contract Concepts
* Tested and veri... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.18;
// File: contracts/ownership/Ownable.sol
/**
* @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 OwnershipT... | 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 |
pragma solidity ^0.4.24;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
/**
*Submitted for verification at Etherscan.io on 2019-08-02
*/
// File: contracts\open-zeppelin-contracts\token\ERC20\IERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the opt... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Apache 2.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract NFTChartsPayments is Ownable {
// The expected amount per payment.
uint256 public amount;
// The destination address where the eth will be sent to.
address payable public destA... | No vulnerabilities found |
//SPDX-License-Identifier: Unlicense
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;
}
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
// phoodles.xyz
contract ERC721 {
event Transfer(address indexed from, address indexed to, uint256 indexed id);
event Approval(address indexed owner, address indexed spender, uint256 indexed id);
event ApprovalForAll(address indexed owner, ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : DUF
// Name : DUFTITE
// Owner : Duftite, LLC
// Total supply : 100000000000
// Decimals : 2
// Owner Account : 0xABC893C57C37807f6b9383bE42D... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./SafeERC20.sol";
/**
* @dev A token holder contract that will allow a beneficiary to extract the
* tokens after a given release time.
*
* Useful for simple vesting schedules like "advisors get all of their tokens
* after 1 year".
*/
contract Toke... | No vulnerabilities found |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "./TimeLockMechanism.sol";
import "./BumperAccessControl.sol";
///@... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238711' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238711
// Name : ADZbuzz Autosport.com Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IORBRToken.sol";
contract ORBRToken is IORBRToken {
constructor(
string memory _name,
string memory _symbol,
uint256 _amount
) ERC20(_name, _symbol) {
setMaxSupply(_amount * 10**decimals());
_mint(_msgSen... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
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;
}... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
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) locked-ether with Medium impact |
pragma solidity 0.6.6;
// ----------------------------------------------------------------------------
// 'SpadeCoin' token contract
//
// Deployed to : 0xf67164e920419f806813103ec44272Ef45615c66
// Symbol : SPADE
// Name : Spades Coin
// Total supply: 12750000
// Decimals : 18
//
//
// by Spade Coin De... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;
import "../utils/AddressUpgradeable.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contra... | No vulnerabilities found |
/**
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2018 zOS Global Limited.
*
* 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 without limitation the ri... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol';
import 'hardhat-deploy/solc_0.8/proxy/Proxied.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import './libraries/VRFLibrary.sol';
import './interfaces/IEgg.sol';
imp... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'VITE' token contract
//
// Deployed to : 0xcf0Eac2368Ec019E4aD9E51bBF096323F330f4cE
// Symbol : VITE
// Name : VITE Token
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
// File: contracts/commons/SafeMath.sol
/**
* @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 ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) 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 |
// contracts/Pond.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
interface IFrogGame {
function updateOriginActionB... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) erc20-interface with Medium impact |
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// 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
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This ... | No vulnerabilities found |
// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ISB' token contract
//
// Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30
// Symbol : DAVO
// Name : David 好朋友 Foundation Coin
// Total supply: 1000000000000000000
// Decimals : 10
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import "./Initializable.sol";
import "./OwnableUpgradeable.sol";
import "./ERC721Upgradeable.sol";
contract Relic is
Initializable,
ERC721Upgradeable,
OwnableUpgradeable
{
string public baseURI;
/**
* instantiates contract
* @para... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) incorrect-shift with High impact
5) incorrect-equality with Medium impact
6) uninitialized-local with Medium impact
7) weak-prng with High impact
8) unused-... |
// Sources flattened with hardhat v2.5.0 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.1.0
// 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 token... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-shift with High impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DXB' 'Dembycoin' token contract
//
// Symbol : DXB
// Name : Dembycoin
// Total supply: 1,500,000,000.000000000000
// Decimals : 12
//
// Enjoy.
//
// --------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.12;
import './SafeMath.sol';
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
// -----------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BIM' 'Bitsmate' token contract
//
// Symbol : BIM
// Name : Bitsmate
// Total supply: 800,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.