input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SciFiInu' token contract
//
// Deployed to : 0x5ea23F38923388Ffebc6744244EF8cC36714F3D1
// Symbol : SFINU
// Name : SciFiInu
// Total supply: 1000000000000000
// Decimals : 18
//
// MIT LABZ
//
/... | 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 |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
abstract contract IManager {
function last(address) virtual public returns (uint);
function cdpCan(address, uint, address) virtual public view returns (uint);
function ilks(uint) virtual public view returns (bytes32);
function owns(uint) vir... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) erc20-interface with Medium impact
3) 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 |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BRLT' token contract
//
// Deployed to : 0x41C01275784c14B692e73d1dfD09859f1f04b079
// Symbol : BRLT
// Name : Brazilian Real Token
// Total supply: 1,000,000,000,000.000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./Strings.sol";
import "./ContentMixin.sol";
import "./NativeMetaTransaction.sol";
contract IRLOwnableDelegateProxy {}
contract IRLProxyRegistry {
mapping(address =>... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
... | No vulnerabilities found |
pragma solidity ^0.5.8;
contract SHIBADOUBLER {
using SafeMath for uint;
IERC20 public token;
uint constant public DEPOSITS_MAX = 100;
uint constant public INVEST_MIN_AMOUNT = 1000000 * (10 ** 18); // 1m
uint constant public BASE_PERCENT = 1000; // 10%
uint public REFERRAL_PERCENTS = 1000;
... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) controlled-array-length with High impact
4) uninitialized-local with Medium impact
5) unchecked-transfer with High impact
6) locked-ether with Medium impact |
/*
Kakashi Hatake (はたけ カカシ, Hatake Kakashi) is a shinobi of Konohagakure’s Hatake Clan. He is a Joinin of the Hidden Leaf Village and leader of team 7 and possesses the infamous Sharingan. Despite his general disregard for responsibility, he is looked upon for advice and leadership. Kakashi Highlights the importance o... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LUCK
// Name : Good Luck
// Total supply : 30000000000
// Decimals : 2
// Owner Account : 0xa92eD284B038d7CAE669FA83392A687f1aA8B94f
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) 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 |
/*
YFBlack base smart contract with supply functionality, for creating and burning purposes.
*/
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) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT130594' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT130594
// Name : ADZbuzz Ew.com Community Token
// Total suppl... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Strings.sol";
import "./Random.sol";
contract LootGenerator{
using Strings for uint256;
string[] private weapons = [
"Warhammer",
"Quarterstaff",
"Maul",
"Mace",
"Club",
"Katana",
"Falch... | These are the vulnerabilities found
1) weak-prng with High impact
2) tautology with Medium impact |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
// Gas optimization: this is ch... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^ 0.4 .18;
contract Etherumble {
struct PlayerBets {
address addPlayer;
uint amount;
}
PlayerBets[] users;
address[] players = new address[](20);
uint[] bets = new uint[](20);
uint nbUsers = 0;
uint totalBets = 0;
uint fees = 0;
uint endBlock ... | These are the vulnerabilities found
1) weak-prng with High impact |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
pragma solidity =0.6.6;
// 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('approve(address,uint256)')));
(bool succe... | No vulnerabilities found |
pragma solidity 0.4.20;
contract IAugur {
function createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators, bool _parentInvalid) public returns (IUniverse);
function isKnownUniverse(IUniverse _universe) public view returns (bool);
function trustedTransfer(ERC20 _token, ... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity a... | These are the vulnerabilities found
1) weak-prng with High impact
2) unchecked-transfer with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SAUCE' token contract
//
// Deployed to : 0x542B0EF7a24a952bf9C093b3549F73844660c15D
// Symbol : YGY
// Name : YGY
// Total supply: 63333
// Decimals : 18
//
//
//
// (c) by Moritz Neto with Bokk... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
👉Discord: https://discord.gg/Z2PEVrGuwg
👉Twitter: https://twitter.com/_JesusDAO
👉TG Channel: https://t.me/JesusDaoChannel
👉TG: https://t.me/JesusDaoGlobal
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
abstract contract Context {
function _msgSender() internal view virtual return... | These are the vulnerabilities found
1) shadowing-state with High impact
2) 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) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) controlled-array-length with High impact
4) unchecked-transfer with High impact
5) unused-return with Medium impact
6) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BOEM' token contract
//
// Deployed to : 0x8285bB4C6D18C038D26334679bb037780655F418
// Symbol : BOEM
// Name : BoemCoin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Morit... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.4;
import '../interfaces/IRewardController.sol';
import '../calcs/CalcLinearRewardAccum.sol';
import './ControlledRewardPool.sol';
contract TreasuryRewardPool is ControlledRewardPool, CalcLinearRewardAccum {
address private _treasury;
constructor(
IRe... | No vulnerabilities found |
pragma solidity ^0.5.0;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' ... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.20;
contract ERC20Interface
{
string public name;
string public symbol;
uint8 public decimals;
uint public totalSupply;
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public r... | No vulnerabilities found |
// SPDX-License-Identifier: LICENSE
//VariGoodCapital - $VGC
// You buy on Ethereum, we execute strategies on various chains and return the profits to $VGC holders.
// Deployed by @Nicky.
//Initial Supply: 1,000,000,000,000 $VGC
// 5% of all transcations made are automatically redistributed to all $VGC holders.
// 5... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.7;
import { EtherOrcs } from "./EtherOrcs.sol";
import { ERC20 } from "./ERC20.sol";
contract Migrator {
address implementation_;
address public admin;
EtherOrcs public oldOrcs;
EtherOrcs public newOrcs;
ERC20 public zug;
addre... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact |
pragma solidity ^0.4.24;
// * Digital Game - Version 1.
// * The user selects three digits, the platform generates trusted random
// number to lottery and distributes the reward.
contract DigitalGame {
/// *** Constants
uint constant MIN_BET_MONEY = 10 finney;
uint constant MAX_BET_MONEY = 10 ether;
uint ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) msg-value-loop with High impact
4) controlled-array-length with High impact |
//SPDX-License-Identifier: MIT
pragma solidity 0.8.5;
pragma abicoder v2;
import "./ERC20.sol";
import "./ERC721TokenReceiver.sol";
import "./ApproveAndCallFallBack.sol";
import "./safeTransferFrom.sol";
/*
* Seasonal Token Farm
*
* This contract receives donations of seasonal tokens and distributes them to provi... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) unchecked-transfer with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Tea Coffee Water Snacks' token contract
//
// Deployed to : 0xf073b52A9C3B1d8108824165055D2529860B248f
// Symbol : TCWS
// Name : Tea Coffee Water Snacks
// Total supply: 210000000
// Decimals : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import './AMPowerPassCore.sol';
contract MetaciplesSilverPowerPass is AMPowerPassCore{
string public name = "Metaciples: Silver Power-Pass";
string public symbol = "AM: M:S";
constructor()
Delegated()
AM1155Base(""){
setToken( 0,
"Meta... | These are the vulnerabilities found
1) unused-return with Medium impact
2) msg-value-loop with High impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract OwnerHelper
{
address public owner;
address public manager;
event ChangeOwner(address indexed _from, address indexed _to);
event ChangeManager(address indexed _from, address indexed _to);
modifier onlyOwner
{
require(ms... | No vulnerabilities found |
pragma solidity ^ 0.4.19;
// DopeRaider Districts Contract
// by gasmasters.io
// contact: team@doperaider.com
// special thanks to :
// 8฿ł₮₮Ɽł₱
// Etherguy
/// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens
contract ERC721 {
function implementsERC7... | 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) weak-prng with High impact
5) msg-value-loop with High impact |
// solhint-disable
pragma solidity ^0.5.9;
/// @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, uint256 ind... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.3;
pragma experimental ABIEncoderV2;
contract PortfolioBoard {
address private owner;
constructor() {
owner = msg.sender;
}
bytes32[] private consolidatedHashes;
function addNewPortfolioHash (bytes32 _traderPortfolioHash) payable public {
require (ms... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// Audit on 5-Jan-2021 by Keno and BoringCrypto
// P1 - P3: OK
pragma solidity 0.6.12;
// Source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol + Claimable.sol
// Edited by BoringCrypto
// T1 - T4: OK
contract BoringOwnableData {
/... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
*... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.12;
import "ERC20.sol";
import "IERC721.sol";
import "SafeMath.sol";
import "Ownable.sol";
interface IHub is IERC20 {
function getTotalClaimable(address _user, address _token) external view returns(uint256);
}
interface IKongz is IERC721 {
function getReward() external;
}
contract WrappedKong... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact |
// File: contracts/Wallet.sol
pragma solidity ^0.6.6;
/**
Minimal upgradeable proxy implementation, delegates all calls to the address
defined by the storage slot matching the wallet address.
Inspired by EIP-1167 Implementation (https://eips.ethereum.org/EIPS/eip-1167)
deployed code:
0x00 ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
import '@openzeppelin/contracts/math/SafeMath.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';
import '@openzeppelin/contracts-upg... | These are the vulnerabilities found
1) unused-return with Medium impact
2) divide-before-multiply with Medium impact
3) msg-value-loop with High impact
4) arbitrary-send with High impact |
// Copyright (C) 2015, 2016, 2017 Dapphub
// 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 program is distr... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
/*
▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄ ▄
█ ▄ █ █ █ █ █ █▄█ █ ▄ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █▄█ █ █ █ ▄▄▄█ █▄ ▄█ ▄ █ █▄█ █ ▄▄▄█ █▄█ █
█ ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : 5PRAY
// Name : Spray Finance Reward Token
// Total supply : 250000000000000000000
// Decimals : 18
// Owner Account : 0xA7881097508C7530af110d8f0FCf7Ec... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
// ┌───── •✧✧• ─────┐
// -0xTrees
// Official-
// └───── •✧✧• ─────┘
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can ... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.21;
// File: contracts/ISimpleCrowdsale.sol
interface ISimpleCrowdsale {
function getSoftCap() external view returns(uint256);
function isContributorInLists(address contributorAddress) external view returns(bool);
function processReservationFundContribution(
address contributo... | 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 |
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 i... | No vulnerabilities found |
pragma solidity ^0.4.21;
// File: @gnosis.pm/util-contracts/contracts/Proxy.sol
/// @title Proxied - indicates that a contract will be proxied. Also defines storage requirements for Proxy.
/// @author Alan Lu - <alan@gnosis.pm>
contract Proxied {
address public masterCopy;
}
/// @title Proxy - Generic proxy cont... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT275170' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT275170
// Name : ADZbuzz Forentrepreneurs.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Tether GBP' token contract
//
// Deployed to : 0x67A748600f4BE3502bD3bD2D0bd9fbCe2B245422
// Symbol : GBPT
// Name : Tether GBP
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LAB
// Name : LAB Token
// Total supply : 10000000000
// Decimals : 2
// Owner Account : 0x32721B4C802541A96A48aBd3cF4C4D3CEb175CEc
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: No License
pragma solidity 0.6.12;
// ----------------------------------------------------------------------------
// 'CCCO' token contract
//
// Symbol : CCCO
// Name : CANNABIS CASH COIN
// Total supply: 111,000,000,000,000,000
// Decimals : 18
// --------------------------... | No vulnerabilities found |
pragma solidity ^0.4.24;
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;
}
/**
* @dev Integer division o... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns... | No vulnerabilities found |
pragma solidity ^0.6.2;
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 warning without generating bytecode - see ht... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import "./utils/Ownable.sol";
import "./CosmoBugsERC721.sol";
interface IERC20BurnTransfer {
function burn(uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}
inter... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-transfer with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT97115' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT97115
// Name : ADZbuzz Naturetreat.bid Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ADSVC' token contract
//
// Deployed to : 0x479E4e2E10282EB58AFFF31344535E18D38A4228
// Symbol : ADSVC
// Name : ADSVENTURE
// Total supply: 12000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
_________________________$__$_$$$_____$$$$________
_____________________$$$$$$$$$$$$$$$$$$$$$$$______
____________________$$$$$$$___$$_____$$$$$$_$$____
__________________$$$$$$$$$$_$$$$_____$$$$$$_$$___
__________________$$$$$$$$$$___$_____$$$$$__$$$___
________________$$$$$$$$$$$$_$$_$__$$$$$__________
___________... | No vulnerabilities found |
pragma solidity >=0.4.22 <0.7.0;
abstract contract ERC20Interface {
function totalSupply() virtual public view returns (uint);
function balanceOf(address tokenOwner) virtual public view returns (uint balance);
function allowance(address tokenOwner, address spender) virtual public view returns (uint remaini... | No vulnerabilities found |
pragma solidity >=0.6.0;
contract Context {
constructor () internal { }
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) uninitialized-local with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.25;
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 (uint2... | No vulnerabilities found |
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 |
// текущая версия - 9 тестовая для развертывания в Rinkeby
// добавлены комменты в require
// исправлена ф-ия refund
// блокировки переводов сделаны на весь период ICO и Crowdsale
// добавлен лог в refund
// добавлены функции блокировки\разблокировки внешних переводов в рабочем режиме контракта
// для возможности расче... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
contract Proxy {
address public a;
function updateImplementation(address implementation) public {
a = implementation;
}
function loadImplementation() public view returns (address) {
return a;
}
function() external payable {
delegatedFwd(loadImplementat... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-01-26
*/
pragma solidity ^0.6.2;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
... | These are the vulnerabilities found
1) shadowing-state with High impact |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 ... | No vulnerabilities found |
pragma solidity ^0.4.23;
contract ParyToken {
/* ERC20 Public variables of the token */
string public constant version = 'Pary 0.1';
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
/* ERC20 This creates an array with all balances */
mapping ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'XXXcoin' token contract
//
// Deployed to : 0x608b187a78b546f8c3246bd97a6b6a56d2403ae4
// Symbol : XCN
// Name : XXXcoin
// Total supply: 10000000000
// Decimals : 18
//
//
// -------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.0;
contract CrypteloERC20{
mapping (address => uint256) public balanceOf;
function transfer(address to, uint amount);
function burn(uint256 _value) public returns (bool success);
}
contract CrypteloPreSale{
function isWhiteList(address _addr) public returns (uint _group);
}
contract Tada... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-send with Medium impact
4) erc20-interface with Medium impact
5) unused-return 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) reentrancy-no-eth with Medium impact
2) erc721-interface with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// File: zeppelin-solidity/contracts/math/SafeMath.sol
/**
* @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 (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File contracts/libraries/SafeMath.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
f... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT129179' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT129179
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BitcoinFuture' token contract
//
// Deployed to : 0xa5Ee702fB17349408fd5f620199DE7bD92A8e988
// Symbol : BTCX
// Name : BitcoinFuture
// Total supply: 21000000
// Decimals : 8
//
// (c) by Team B... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
* instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
* be specified by ov... | These are the vulnerabilities found
1) incorrect-shift with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221184' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221184
// Name : ADZbuzz Food52.com Community Token
// Total s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract TocIcoData{
/////////////////////////////////////////////////////////
///////(c)2017 tokenchanger.io -all rights reserved//////
/*SUPER ADMINS*/
address Mars = 0x1947f347B6ECf1C3D7e1A58E3CDB2A15639D48Be;
address Mercury = 0x00795263bdca13104309Db70c11E8404f81576BE;
address Europ... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) unchecked-transfer with High impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functio... | No vulnerabilities found |
// Sources flattened with hardhat v2.6.1 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.3.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 tokens ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./GenArtAccess.sol";
import "./IGenArtPaymentSplitter.sol";
contract GenArtPaymentSplitter is GenArtAccess, IGenArtPaymentSplitter {
struct Payment {
address[] payees;
uint256[] shares;
}
event IncomingPayment(
addres... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) msg-value-loop with High impact
3) arbitrary-send with High impact |
pragma solidity <=0.6.2;
interface ILeviathan {
function tokensOfOwner(address owner) external view returns (uint256[] memory);
}
interface IRelease {
function release(uint ID) external;
}
interface IWLEV {
function checkClaim(uint ID) external view returns (uint256);
}
contract LeviathanCoreTask {
... | No vulnerabilities found |
pragma solidity ^0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.17;
import "./ERC20.sol";
import "./ERC20Detailed.sol";
import "./ERC20Pausable.sol";
import "./ERC20Burnable.sol";
import "./ERC20Mintable.sol";
import "./Ownable.sol";
/**
* @title SimpleToken
* @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.
* Note th... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
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 |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
pragma solidity ^0.4.24;
//Lets Go Brandon
contract LetsGoBrandon {
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 |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-04
*/
pragma solidity =0.5.16;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function getPair(address tokenA, a... | 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;
/**
* @title Owned contract with safe ownership pass.
*
* Note: all the non constant functions return false instead of throwing in case if state change
* didn't happen yet.
*/
contract Owned {
/**
* Contract owner address
*/
address public contractOwner;
/**
*... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
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() e... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) delegatecall-loop with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CLC' token contract
//
// Deployed to : 0x58d77F6F45613FD669c576a84E980Da82379416a
// Symbol : CLC
// Name : Cryptessa Liquid Coin
// Total supply: 100000000
// Decimals : 18
contract SafeMath {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MeowDoge' token contract
//
// Deployed to : 0x118e6ec9585683472B8ae06496A19A4D7d8d5E3a
// Symbol : MEDOGE
// Name : MeowDoge
// Total supply: 1000000000000000
// Decimals : 18
//
// https://t.m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address _owner) public view returns (uint balance);
function transfer(address _to, uint _value) public returns (bool success);
function transferFrom(address _from, address _to, uint ... | These are the vulnerabilities found
1) weak-prng with High impact |
/**
* Copyright 2017-2022, OokiDao. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
pragma solidity 0.5.17;
import "Address.sol";
import "Upgradeable_0_5.sol";
contract Proxy_0_5 is Upgradeable_0_5 {
constructor(address _impl) public payable {
replaceImplementation(_impl);... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TRKR
// Name : Tire Kicker Token
// Total supply : 100000000000000
// Decimals : 6
// Owner Account : 0x074FAA2C5785124BB4987b72921ec1399da8ba5E
//
// E... | 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.