input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.5.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a);
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a);
uint256 c = a - b;
return c;
... | No vulnerabilities found |
/*
βββββββ βββββββ βββββββ ββββ βββ
βββββββββββββββββββββββββββββ βββ
ββββββββ βββββββββββββββββββββ βββ
ββββββββ βββββββββββββββββββββββββ
βββββββββββββββββββ ββββββ ββββββ
βββββββ βββββββ βββ ββββββ βββββ
B3RN - 100 tokens are listed and will they burn down to only 10
No pre... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.23;
interface ERC20 {
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
function allowance(address owner, address spender) public view returns (uint256);
function transferFrom(address from, address to,... | No vulnerabilities found |
pragma solidity ^0.4.17;
// ----------------------------------------------------------------------------
// XPU token contract
//
// Symbol : XPU
// Name : Polaris Universal
// Total Supply : 23,000,000
// Decimals : 18
// -------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MeTooToken' token contract
//
// Deployed to : 0x9A9fd2D4AaB9B6b523b101F0212CD8cC180a4693
// Symbol : SILZAZ
// Name : MeeToo Token
// Total supply: 6.9
// Decimals : 18
//
// Enjoy.
//
// (c) by... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LoritaBi' token contract
//
// Deployed to : 0x37efd6a702e171218380cf6b1f898a07632a7d60
// Symbol : LOBI
// Name : Lorita Bi
// Total supply: 10000000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FoxInu' token contract
//
// Deployed to : 0xB58e8C0d9C5f65961a405cFe1e45903785527721
// Symbol : fxINU
// Name : FoxInu
// Total supply: 1000000000000000
// Decimals : 18
//
// FoxInu is a foxy ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
contract AccessControl {
address public creatorAddress;
uint16 public totalSeraphims = 0;
mapping (address => bool) public seraphims;
bool public isMaintenanceMode = true;
modifier onlyCREATOR() {
require(msg.sender == creatorAddress);
_;
}
modi... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT341152' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT341152
// Name : ADZbuzz Lamag.com Community Token
// Total su... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Atlan' token contract
//
// Deployed to : 0x9525a4467B06899750492EE44d33792DbD548321
// Symbol : ACS
// Name : Atlan
// Total supply: 37660000
// Decimals : 8
//
// Enjoy.
//
// (c) by Arkadiusz ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.9;
import "./IProxyAdmin.sol";
/**
* @title ChangeLogicSpell
* @author Alexander Schlindwein
*
* Spell to change the logic of a proxy contract
*/
contract ChangeLogicSpell {
/**
* Changes the logic contract of a proxy contract
*
* @param pro... | No vulnerabilities found |
// File: @openzeppelin/contracts/math/SafeMath.sol
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... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
pragma experimental ABIEncoderV2;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';
import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
import './interface/IWETH.sol';
import './interface/... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unused-return with Medium impact
3) delegatecall-loop with High impact
4) arbitrary-send with High impact |
/*Welcome to WildWars.
we will share our vision, introduce our team and give detailed explanations about our products.
We will provide you with all information needed to engage with our community and products.
WildWars will mainly revolve around Play & Earn.
Our main focus is quality on the long run. We want to avo... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.11;
// ============ External Imports ============
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
/**
* @title UpgradeBeaconProxy
* @notice
* Proxy contract which delegates all logic, including initialization,
* to an implementation contract... | No vulnerabilities found |
pragma solidity ^0.5.17;
contract YearnFinanceToken {
string public constant name = "YearnFinanceTech";
string public constant symbol = "YFIT";
uint8 public constant decimals = 18;
// Contract owner will be your Link account
address public owner;
address public treasury;
uint256 p... | 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.8.7;
/**
* @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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT100531' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT100531
// Name : ADZbuzz Travelionx.com Community Token
// Tot... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) pu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;
import {ITributaryRegistry} from "../../../interface/ITributaryRegistry.sol";
import {Governable} from "../../../lib/Governable.sol";
import {AllocatedEditionsProxy} from "./AllocatedEditionsProxy.sol";
import {AllocatedEditionsStorage} from "./Alloca... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;
struct VestingWallet {
address wallet;
uint256 totalAmount;
uint256 dayAmount;
uint256 startDay;
uint256 afterDays;
bool nonlinear;
bool advisory;
}
/**
* dailyRate: the daily amount of tokens to give access to,
* ... | No vulnerabilities found |
pragma solidity 0.5.2;
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;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BLOCKLAND' token contract
//
// Deployed to : 0x65F4c5399fE8df767c984E644eE054a9aCC5517B
// Symbol : BLK
// Name : BLOCKLAND
// Total supply: 100000000000000000000000000
// Decimals : 18
//
// En... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
interface MemoryInterface {
function getUint(uint _id) external returns (uint _num);
function setUint(uint _id, uint _val) external;
}
contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
require((z = x + y) >= x, "math-not-safe");
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Bitcoin Dublicate' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : BD
// Name : Bitcoin Dublicate
// Total supply: 100000000
// Decimals : 18
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
contract MNFTSpecialSaleFacet {
event SpecialSale(address from, uint32 quantity, uint32 saleId);
/**
@notice Presale ETH
*/
function presale() external payable {
require(msg.value >= (10851 gwei), "msg.value too low for presale");
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* @dev ERC-721 non-fungible token standard. See https://goo.gl/pc9yoS.
*/
interface ERC721 {
/**
* @dev Emits when ownership of any NFT changes by any mechanism. This event emits when NFTs are
* created (`from` == 0) and destroyed (`to` == 0). Exception: during contract creation, any
* number of NFTs ... | 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) {
if (a == 0) {
return ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity =0.6.12;
import './libraries/SafeMath.sol';
contract UniswapV2ERC20 {
using SafeMathUniswap for uint;
string public constant name = 'HoneySwap LP Token';
string public constant symbol = 'HLP';
uint8 public constant decimals = 18;
uint public totalSupply;
mapping(address => ui... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: UNLICENSED
/*
,------. ,--.,--. ,--.,------.
| .-. \ ,---. ,---. ,-| || | ,---. ,-| || .-. \ ,---. ,---. ,---.
| | \ :| .-. || .-. |' .-. ... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) unused-return with Medium impact |
/**
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.11;
library Address {
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfa... | No vulnerabilities found |
/**
* Note for the truffle testversion:
* DragonKingTest inherits from DragonKing and adds one more function for testing the volcano from truffle.
* For deployment on ropsten or mainnet, just deploy the DragonKing contract and remove this comment before verifying on
* etherscan.
* */
/**
* Dragonking is a bloc... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) shadowing-state with High impact
3) reentrancy-no-eth with Medium impact
4) constant-function-asm with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) controlled-array-length with High imp... |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BVCK
// Name : BVucks
// Total supply : 2100000000
// Decimals : 5
// Owner Account : 0xd5B6902F55348fd974DE261dEF87054755f04d35
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Website: https://kishimotoinu.com/
https://t.me/Kishimoto_Inu
Kishimoto will be a medium for Anime transactions & a monetary system on its own,
itβs purpose is to overperform other existing cyrptocurrencies.
Kishimoto Inu has smart coding that benefits loyal holders with rewards.
*/
pragma solidity... | No vulnerabilities found |
pragma solidity ^0.4.11;
/**
ERC20 Interface
@author DongOk Peter Ryu - <odin@yggdrash.io>
*/
contract ERC20 {
function totalSupply() public constant returns (uint supply);
function balanceOf( address who ) public constant returns (uint value);
function allowance( address owner, address spender ) pu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin\upgrades\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 constructors, initializer... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'VIRES' 'Vires'
//
// Symbol : VIRES
// Name : Vires
// Total supply: 1,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 |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : CBRX
// Name : CyberX
// Total supply : 1194206927320146244857883456
// Decimals : 18
// Owner Account : 0x9A06A891c5A9dDf130cd24c75D8b09cD789da9F4
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, ... | No vulnerabilities found |
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... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
/******************************************************************************\
* Authors: Nick Mudge (https://twitter.com/mudgen)
* Modified by: 0xShroom (https://github.com/0xshroom)
* Implementation of a diamond.
/*********************************************... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LSCKcoin' token contract
//
// Deployed to : 0x60f71Dd71aEa773657d75b2884e93c6bCbbADF65
// Symbol : LSCK
// Name : LSCKcoin
// Total supply: 21000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Mor... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.17;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) public view returns (uint remaining);
function transfer(address to, ui... | No vulnerabilities found |
//SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 'QuantsTradingSystems' token contract
//
// Symbol : QTS
// Name : Quants Trading Systems
// Total supply: 100000000000000
// Decimals : 18
// Burned : 50%
// --------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
Website - https://www.terminalwars.rocks/
Telegram - https://t.me/TerminalWars
Twiter - https://twitter.com/WarTerminal
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.3;
import "./ERC20.sol";
import "./Address.sol";
contract TerminalWarToken is ERC20 {
mapping(address => uint256) privat... | No vulnerabilities found |
pragma solidity ^0.5.0;
/**
* @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 optimization: this is che... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.26;
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.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.18;
// ----------------------------------------------------------------------------
// 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.25;
// ----------------------------------------------------------------------------
//
// Symbol : CRP
// Name : Chiwoo Rotary Press
// Total supply: 8000000000
// Decimals : 18
// (c) by Team @ CRP 2018.
// -------------------------------------------------------------------------... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.9;
import '../../interfaces/IHardwareSVGs.sol';
import '../../interfaces/ICategories.sol';
/// @dev Experimenting with a contract that holds huuuge svg strings
contract HardwareSVGs1 is IHardwareSVGs, ICategories {
function hardware_0() public pure return... | No vulnerabilities found |
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.17;
/**
* @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 ... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @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(add... | No vulnerabilities found |
/***
* βββββββ ββββββββ βββββββ βββββββ
* ββββββββββββββββββββββββ βββββββββ
* βββ βββββββββ βββ βββββββ βββ
* βββ βββββββββ βββ ββββββ βββ
* ββββββββββββββββββββββββββββββββββ
* βββββββ ββββββββ βββββββ βββββββ
*
* https://dego.finance
* M... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.8.1;
contract Blackhole {
address public previousWinner;
address public feeTo;
address public currentLeader;
uint256 public currentBet;//amount of current bet in wei
uint256 public lastBet;//time of last bet in seconds
bool public currentGame;
event NewBet(uint256 am... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'YWB' token contract
//
// Deployed to : 0x01bc604ae9d945f29432eded391513ba587aeda1
// Symbol : YWB
// Name : θεε―Ά
// Company : θεε―Άεε‘ιθ³θ¨ζθ‘ζιε
¬εΈ
// Total supply: 1,000,000,000
// Decimals : 2
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// ERC20 contract interface
interface Token {
function balanceOf(address) external view returns (uint256);
function balanceAtEpochOf(uint256, address) external view returns (uint256);
function lockedBalanceOf(address) external view returns (uint256);
}
con... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity =0.7.6;
pragma experimental ABIEncoderV2;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external vie... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unchecked-transfer with High impact
3) unused-return with Medium impact
4) delegatecall-loop with High impact |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutabi... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) uninitialized-local with Medium impact
3) reentrancy-eth with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NZDO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : NZDO
// Name : NZD_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts\SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
contract SafeMath {
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements... | 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) uninitialized-local with Medium impact |
// File: @openzeppelin\upgrades\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 constructors, initializer... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
// SPDX-License-Identifier: NLPL AND GPL-3.0-or-later
pragma solidity >=0.6.0 >=0.6.12 <0.7.0;
////// lib/hd-drop/lib/erc721/src/erc721.sol
/// erc721.sol -- API for the ERC721 token standard
// See <https://github.com/ethereum/EIPs/issues/721>.
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.12;
interface IContractRegistry {
function getContract(string calldata contractName) external view returns (address);
}
interface IElections {
function getCommittee() external view returns (address[] memory committee, uint256[] memory weights, address[] memory orbsAddrs, bool[] memory certificat... | No vulnerabilities found |
pragma solidity >=0.5.0 <0.7.0;
// Ownable contract from open zepplin
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
const... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9
pragma solidity 0.7.5;
// a library for performing various math operations
library Math {
function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
z = x < y ? x : y;
}
function max(uint256 x, ui... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, ... | No vulnerabilities found |
// SPDX-License-Identifier: J-J-J-JENGA!!!
pragma solidity ^0.7.4;
/* ROOTKIT:
A floor calculator (to use with ERC31337) for RootKit uniswap pairs
Ensures 100% of accessible funds are backed at all times
*/
import "./IFloorCalculator.sol";
import "./RootKit.sol";
import "./SafeMath.sol";
import "./UniswapV2Library.so... | 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) arbitrary-send with High impact
5) incorrect-equality with Medium impact
6) uninitialized-local with Medium impact
7) reentrancy-eth with High impact
8) unc... |
// SPDX-License-Identifier: Apache 2.0
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
import "./utils/DistributedOwnable.sol";
import "./interfaces/IBridge.sol";
import "./utils/Nonce.sol";
import "./utils/RedButton.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT865923' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT865923
// Name : ADZbuzz Postsecret.com Community Token
// Tot... | These are the vulnerabilities found
1) locked-ether 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) divide-before-multiply with Medium impact
3) incorrect-equality 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 |
/**
*Submitted for verification at Etherscan.io on 2022-04-12
*/
/**
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββ... | No vulnerabilities found |
pragma solidity ^0.4.24;
/* ANCI
// Antrodia Cinamomum Token (ANCI)
// ERC20 Contract with Timelock capabilities
// The bigger intricate timelock mechanisms out here
// ---
// ---
// _ _ _ _ _ ___ ___ ___
// | |_| |_ ___ /_\ | \| |/ __|_ _| | _ \_____ __ _____ _ _
// | _| ' \/ -_) / _ \| .`... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.6;
/**
* @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 |
// 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) uninitialized-state with High impact
2) 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) {
// Gas optimization: this is cheaper than a... | These are the vulnerabilities found
1) weak-prng with High impact
2) arbitrary-send with High impact |
pragma solidity ^0.4.18;
contract Ownable {
address public owner;
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
if (newOwner != ad... | 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) weak-prng with High impact
5) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GPUx Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : GPUx
// Name : GPUx
// Total supply: 21,000,000.00
// Decimals : 8
//
// -------------------------------... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// Redenom 2.9.0023
// The GNU General Public License v3
// Β© Musqogees Tech 2018, Redenom β’
// -------------------- SAFE MATH ----------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
req... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**
* @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... | No vulnerabilities found |
pragma solidity ^0.4.25;
/**
/$$$$$$$ /$$
| $$__ $$ |__/
| $$ \ $$ /$$$$$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$/$$$$ /$$$$$$ /$$$$$$$ /$$$$$$
| $$$$$$$/ |____ $$| ... | No vulnerabilities found |
pragma solidity ^0.4.25;
contract Brave3d {
struct Stage {
uint8 cnt;
uint256 blocknumber;
bool isFinish;
uint8 deadIndex;
mapping(uint8 => address) playerMap;
}
HourglassInterface constant p3dContract = HourglassInterface(0xB3775fB83F7D12A36E0475aBdD1FCA35c091efB... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
// SPDX-License-Identifier: None
pragma solidity ^0.7.4;
interface Iblacksmith {
function getPoolList() external view returns (address[] memory);
function pools(address _lpToken) external view returns (uint256 weight, uint256 accRewardsPerToken, uint256 lastUpdatedAt);
function updatePool(address _lpToken) exter... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221719' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221719
// Name : ADZbuzz Greenkitchenstories.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
π€π€ BayMax Moon π€π€
Telegram: https://t.me/baymaxmoon
Website : https://baymaxmoon.com/
Fair Launch
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external ... | No vulnerabilities found |
pragma solidity >=0.5.0;
interface IUniswapV2Pair {
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
}
// a library for ... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.16;
contract Ownable {
address public owner;
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
if (newOwner != addr... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT239075' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT239075
// Name : ADZbuzz Gulfnews.com Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-01
* Ely Net and Tor Korea
*/
pragma solidity ^0.5.17;
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);
... | 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;
// ----------------------------------------------------------------------------
// 'RougeCoin' token contract
//
// Deployed to : 0xFF96a025Bd86D968dCE0Da3EC52d2f678A57c1FC
// Symbol : XRGE
// Name : RougeCoin
// Total supply: 18000000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | 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 Ownership... | 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.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);
event Owner... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
contract EggT... | No vulnerabilities found |
pragma solidity ^0.5.0;
/*
* ================================================
* @title: DigitechNetwork
* @website: https://digitech.network
* @telegram: https://t.me/DigitechNetwork
* @twitter: https://twitter.com/DigitechNetwork
* NFTs - DGC token
* ================================================
*/
inter... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : yBNB
// Name : Yearn BNB Network
// Total supply : 29999
// Decimals : 18
// Owner Account : 0xB1DD085D97aFa2C33f70C58d740b0C5eDF430200
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-04
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.