input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
/**
* @title Proxy
* @dev Implements delegation of calls to other contracts, with proper
* forwarding of return values and bubbling of failures.
* It defines a fallback function that delegates all calls to the address
* returned by the abstract _implementation() internal function.
*/
con... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.20;
/// @title ERC-165 Standard Interface Detection
/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
interface ERC165 {
function supportsInterface(bytes4 interfaceID) external view returns (bool);
}
/// @title ERC-721 Non-Fungible Token Standard
/// @dev See https://g... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact
4) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
COMMUNIST PARTY CAPITAL
$CPC
@CommunistPartyCapital
*/
pragma solidity 0.8.10;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this;
return ... | 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.4.18;
// ----------------------------------------------------------------------------
// 'FIESTA' token contract
//
// Deployed to : 0xbaEF34B50bB8537837c0EB4fd09DD10a87Fe0626
// Symbol : FSTA
// Name : FIESTA
// Total supply: 375000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Morit... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.3.0 https://hardhat.org
// File contracts/OpenZeppelin/utils/Context.sol
pragma solidity 0.6.12;
/*
* @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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2018-2020 CENTRE SECZ
*
* 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 right... | No vulnerabilities found |
pragma solidity ^0.4.25;
/**
*
* ETH CRYPTOCURRENCY DISTRIBUTION PROJECT
* Web - https://355eth.club
* Our partners telegram_channel - https://t.me/invest_to_smartcontract
* EN Telegram_chat: https://t.me/club_355eth_en
* RU Telegram_chat: https://t.me/club_355eth_ru
* Email: mailto:support(... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) arbitrary-send with High impact
4) constant-function-asm with Medium impact
5) incorrect-equality with Medium impact
6) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// RetDime Token Contract
//
// Symbol : RET
// Name : RetDime
// Total supply: 10000000000
// Decimals : 0
//
// ----------------------------------------------------------------------------
// ---... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.8.2;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
WIN12
This is not your traditional Degen token. The Real Objective of the game is to BURN tokens from 12 total supply to 0.12 total supply in 12 hours.
12 players will get prizes in any case.
TG Link - https://t.me/GIGO_gamified
Twitter: @GIGO_Gamified
Website - soon
Tokenomics
MAX SUPPLY: 12 WIN12
Only in ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @openzeppelin/contracts/utils/Context.sol@v3.4.0
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
* v... | No vulnerabilities found |
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(addr... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '25CENT' token contract
//
// Deployed to : 0xCD0ee931c372CbcEbBF92cB9621a3a91c6ceA588
// Symbol : 25CENT
// Name : QuarterCoin
// Total supply: 100000000
// Decimals : 18
// --------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT
//BUTTPOOP was created in the stalls
//Adapted from original code written by Cheyenne Atapour
//Birthed by Steve Gartman
//Goals of BUTTPOOP below
//Get someone on TV to say “Buttpoop?”
//Destroy FIAT
//Take control of government sanitary systems once they inevita... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.24;
/**
__ __ __ __ ________ ________ ________ __ __ _______
| \ | \| \ / \| \| \| \| \ | \| \
| $$ | $$ \$$\ / $$ \$$$$$$$$| $$$$$$$$ \$$$$$$$$| $$ | $$| $$$$$$$\
\$$\/ $$ \$$\/ $$ / $$ | $$__ | $$ | $$__| $$| $$__| ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-send with Medium impact |
pragma solidity >=0.6.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function transferWithoutDeflationary(addr... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity 0.4.23;
contract ZethrBankroll {
using SafeMath for uint;
uint constant public MAX_OWNER_COUNT = 10;
uint constant public MAX_WITHDRAW_PCT_DAILY = 15;
uint constant public MAX_WITHDRAW_PCT_TX = 5;
uint constant internal resetTimer = 1 days;
event Confirmation(address ind... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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.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;
// File: zeppelin-solidity/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;
... | 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.4.18;
// ----------------------------------------------------------------------------
// 'yLand Token' contract
// Mineable ERC918 Token using Proof Of Work
// Symbol : YLD
// Name : yLand Token
// Total supply: 10,000
// Decimals : 18
// --------------------------------------... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import "../interfaces/IPublicSaleProxy.sol";
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
import "../common/AccessibleCommon.sol";
import "./PublicSaleStorage.sol";
import "../stake/ProxyBase.sol";
contract PublicSaleProxy is
PublicS... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-09
*/
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 ov... | No vulnerabilities found |
pragma solidity =0.5.16;
interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external view returns (string memory);
function symbol() external view returns (string memory);
... | 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.7.0;
pragma experimental ABIEncoderV2;
import { TokenInterface, AccountInterface } from "../../../../../common/interfaces.sol";
import { AaveInterface, ATokenInterface } from "./interfaces.sol";
import { Helpers } from "./helpers.sol";
import { Events } from "./events.sol";
abstract contract AaveRe... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract GlobalIdolCoinToken {
string public name;
string public symbol;
uint8 public decimals = 8;
uint256 public totalSupply;
mapping (address => uint256) public balance... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT158967' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT158967
// Name : ADZbuzz Skysports.com Community Token
// Total supply: 2000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
pragma abicoder v2;
// OpenZeppelin v4
import { StorageSlot } from "@openzeppelin/contracts/utils/StorageSlot.sol";
import { Address } from "@openzeppelin/contracts/utils/Address.sol";
/**
* @title PausableUpgradableProxy
* @author Railgun Contributors
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.0.3 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v3.3.0
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount ... | No vulnerabilities found |
pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) pu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.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 hi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-09-25
*/
// File: openzeppelin-solidity/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright 2017 Loopring Project Ltd (Loopring Foundation).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LCST
// Name : LCS Token
// Total supply : 100000
// Decimals : 2
// Owner Account : 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe
//----------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
pragma abicoder v2;
import "../interfaces/launchpad/ILaunchpadRouter.sol";
import "../interfaces/launchpad/ILaunchpadPool.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openz... | No vulnerabilities found |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
/*______/\\\\\\\\\__/\\\_______/\\\__/\\\\\\\\\\\__/\\\\\\\\\\\\\___
_____/\\\////////__\///\\\___/\\\/__\/////\\\///__\/\\\/////////\\\_
___/\\\/_____________\///\\\\\\/________\/\\\_____\/\\\_______\/\\\_
__/\\\_______________... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'AppDe Coin' token contract
//
// Deployed to : 0x00CE905163a409fD372cbF5C06863d9432EfCF3a(change address at below constructor value)
// Symbol : APPDE
// Name : APPDE COIN
// Total supply: 1 Billion... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract BaseToken {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed from... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT562557' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT562557
// Name : ADZbuzz Polygon.com Community Token
// Total ... | 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) uninitialized-local with Medium impact |
//solium-disable linebreak-style
pragma solidity ^0.4.22;
// ----------------------------------------------------------------------------
// 'REMCoin' token contract
//
// Deployed to : 0xEF871E2F799bbF939964E9b707Cb2805EB4Bd515
// Symbol : REM
// Name : REMCoin
// Total supply: 100000000
// Decimals : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT104998' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT104998
// Name : ADZbuzz Scamalertreview.com Community Token
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-13
*/
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
abstract contract StaticV2 {
enum Method { Boost, Repay }
struct CdpHolder {
uint128 minRatio;
uint128 maxRatio;
uint128 optimalRatioBoost;
uint128 opti... | These are the vulnerabilities found
1) unused-return with Medium impact
2) arbitrary-send with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18; // solhint-disable-line
contract SwordMaster{
uint256 public GOLD_TO_COLLECT_1SWORD=86400;
uint256 public SECONDS_OF_DAY=86400;
uint256 public STARTING_SWORD=300;
uint256 public MIN_GOLD_TO_UPGRADE = 300;
uint256 PSN=10000;
uint256 PSNH=5000;
bool public initial... | 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.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : $$$$$
// Name : Hyperinflationary Reserve Currency
// Total supply : 1000000000000000000000000000000000
// Decimals : 0
// Owner Account : 0xEc04e183b96... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.6;
contract SillyContract {
address private owner;
constructor() public {
owner = msg.sender;
}
function getBlock() public payable {
if (block.number % 2 != 0) {
revert();
}
}
} | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract Owned {
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function setOwner(address _newOwner) public onlyOwner {
owner = _newOwner;
}
}
/**
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract LCEToken {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed ... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.16;
contract AthletiCoin {
string public name = "AthletiCoin"; // token name
string public symbol = "ATH"; // token symbol
uint256 public decimals = 18; // token digit
mapping (address => uint256) public balanceOf;
mapping (address => mapping (add... | No vulnerabilities found |
/*
Ahigo Adventure:
Banana monkey Run in Funky jungle
The jungle is at risk of monkeys but Ahigo came to save it with his friends Bear and eagle so download the game to help him
its new type of 2D adventures and run games its Infinite games easy and hard to play in the same time all you have to do is jump and swip an... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/*
B.PROTOCOL TERMS OF USE
=======================
THE TERMS OF USE CONTAINED HEREIN (THESE “TERMS”) GOVERN YOUR USE OF B.PROTOCOL, WHICH IS A DECENTRALIZED PROTOCOL ON THE ETHEREUM BLOCKCHAIN (the “PROTOCOL”) THAT enables a backstop liquidity mechanism FOR DECENTRALIZED LENDING PLATFORMS (“DLPs”).
PLEASE READ THESE... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : USA
// Name : Americoin
// Total supply : 1000000000000000000000000000000000
// Decimals : 18
// Owner Account : 0xC72242ceA76f50ef92d2A1e86eB7816A4B183... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : MKE
// Name : Monke
// Total supply : 1000000000000
// Decimals : 2
// Owner Account : 0xC88Ee27eBdaF02F967D00f3F30... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PingPaid' token contract
//
// Deployed to : 0x524e04cf512C44D4aFc49739db174128Cc4AaecD
// Symbol : PPD
// Name : PingPaid
// Total supply: 75000000
// Decimals : 18
//
//
// ------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**
* @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 previousOwne... | These are the vulnerabilities found
1) shadowing-state with High impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
pragma solidity =0.5.16;
interface IBoxswapV2Factory {
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;
// ----------------------------------------------------------------------------
// 'ACT374175' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT374175
// Name : ADZbuzz Geographical.co.uk Community Token
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.10;
pragma experimental ABIEncoderV2;
interface CErc20 {
function underlying() external view returns (address);
}
contract UniswapConfig {
enum PriceSource {
FIXED_ETH, /// 0: implies the fixedPrice is a constant multiple of the ETH price (whic... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity =0.5.16;
import './interfaces/IMetaswapFactory.sol';
import './MetaswapPair.sol';
contract MetaswapFactory is IMetaswapFactory {
bytes32 public constant INIT_CODE_PAIR_HASH = keccak256(abi.encodePacked(type(MetaswapPair).creationCode));
address public feeTo;
address public feeToSetter;
... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
/**
⛰ Faceless Mountain is a short rage PLAY2EARN ETHEREUM game where you climb a slippery mountain.
WEBSITE - https://www.facelessmountain.rocks/
TELEGRAM - t.me/FacelessMountain
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.1;
import "./ERC20.sol";
import "./Ownable.sol";
contract FacelessMountain ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.4;
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "./TimedEscrow.sol";
/**
* @dev A factory to deploy instances of TimedEscrow with with given parameters
*
*/
contract TimedEscrowFactory {
using SafeERC20 for IERC20;
/* ============ E... | No vulnerabilities found |
pragma solidity ^0.4.13;
library Math {
function max64(uint64 a, uint64 b) internal pure returns (uint64) {
return a >= b ? a : b;
}
function min64(uint64 a, uint64 b) internal pure returns (uint64) {
return a < b ? a : b;
}
function max256(uint256 a, uint256 b) internal pure returns (uint256) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.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 ret... | 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.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.25;
contract DmDesignContract {
string public constant name = "https://dm-design.pl";
string public constant facebook = "https://www.facebook.com/DmDesignPoland/";
string public description = "Indywidualność, to coś co nas wyróżnia!";
address public owner_;
mapping... | No vulnerabilities found |
/*
* Copyright © 2021 junedog.finance. ALL RIGHTS RESERVED.
*/
pragma solidity ^0.5.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 should not be accessed in such... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'AlbinoShibaInu' token contract
//
// Deployed to : 0xF183a791Bd985bf3299b290c8F89CA73bb7AE666
// Symbol : ALBINU
// Name : AlbinoShibaInu
// Total supply: 1000000000000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'IMSMART' token contract
//
// Deployed to : 0xe9ad16341E4a84C291Ede295d96BDfeffD104bEb
// Symbol : IMT
// Name : IMSMART
// Total supply: 999999999
// Decimals : 8
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : JESUS
// Name : Christ Network
// Total supply : 33000000000000000000000000
// Decimals : 18
// Owner Account : 0x1b8428570FEE007C6d68B0E6Dee16e796A5fa4... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Brain is ERC20, Ownable {
mapping(address => bool) public controllers;
constructor() ERC20("BRAIN", "BRAIN") {}
function mint(addr... | No vulnerabilities found |
/*
* Havven Token Contract Proxy
* ========================
*
* This contract points to an underlying target which implements its
* actual functionality, while allowing that functionality to be upgraded.
*/
pragma solidity 0.4.24;
/**
* @title A contract with an owner.
* @notice Contract ownership can be tr... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/* ===============================================
* Flattened with Solidifier by Coinage
*
* https://solidifier.coina.ge
* ===============================================
*/
/*
-----------------------------------------------------------------
FILE INFORMATION
--------------------------------------------------------... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.6.7;
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
function _msgSender() internal view virtual returns (address payable) {
ret... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-03-11
*/
/**
*Submitted for verification at Etherscan.io on 2020-12-22
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
/**
* @title Proxy
* @dev Implements delegation of calls to other contracts, with proper
* forwarding of return values and bub... | No vulnerabilities found |
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.24;
// ----------------------------------------------------------------------------
// 'AntaresShares' token contract
//
// Deployed to : 0xAA1450823B89774E3a91669325F943928DCA6F4b
// Symbol : AARs
// Name : Antares Shares
// Total supply: 10000
// Decimals : 0
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contract ERC20 is ERC20Ba... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// File: @openzeppelin/contracts/utils/Context.sol
/**
* @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 ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Symbol : TCOH
// Name : TCOH
// Total supply: 1000000000.000000
// Decimals : 4
// ----------------------------------------------------------------------------
// -------------------------------... | 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: MIT
pragma solidity ^0.8.0;
import './ERC721Enumerable.sol';
import "./Ownable.sol";
contract WolfClub86 is ERC721Enumerable, Ownable {
uint256 public tokenId;
uint256 maxSupply = 10000;
uint nonce = 0;
bool pause = false;
string private tokenUri = "https://wolfcl... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
pragma solidity ^0.4.24;
library SafeMath
{
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
if (_a == 0) {
return 0;
}
c = _a * _b;
assert(c / _a == _b);
return c;
}
function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT96474' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT96474
// Name : ADZbuzz Musicilike.in Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
// ----------------------------------------------------------------------------
contract ERC20Interfa... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0;
import "./interfaces/Realitio.sol";
contract Enum {
enum Operation {
Call, DelegateCall
}
}
interface Executor {
/// @dev Allows a Module to execute a transaction.
/// @param to Destination address of module transaction.
/... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
c = a + b;
re... | These are the vulnerabilities found
1) locked-ether with Medium 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.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() public {
owner = ms... | No vulnerabilities found |
/**
More than welcome to join us!
Twitter - @discountedNFTS
Telegram - @For_ThePeople
Website - www.fortheindividuals.com
opensea - @DiscountsForThePeople
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender o... | No vulnerabilities found |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.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 should not be... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) erc20-interface with Medium impact
4) unchecked-transfer with High impact |
pragma solidity ^0.4.21;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns(uint256) {
if(a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns(uint256) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) unused-return with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/libraries/TransferHelper.sol
pragma solidity >=0.6.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
function safeApprove(address token, address to, uint value) internal {
// bytes4(keccak256(bytes(... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract SafeMath {
uint256 constant public MAX_UINT256 =0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;
function safeMul(uint256 a, u... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) 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 |
// Freedom INU
// Telegram: t.me/FreedomINU
// Website: freedominu.io
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.