input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.3.0/contracts/GSN/Context.sol
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.11;
// ============ External Imports ============
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
/**
* @title UpgradeBeacon
* @notice Stores the address of an implementation contract
* and allows a controller to upgrade the implementation ad... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity^0.4.24;
/**
*
*
* ▄▄▄▄███▄▄▄▄ ▄██████▄ ▀█████████▄ ▄█ ███ █▄ ▄████████
* ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███
* ███ ███ ███ ███ ███ ███ ███ ███▌ ███ ███ ███ █▀
* ███ ███ ███ ███ ███ ▄███▄▄... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-09-23
* Initial Seed fund contract
* Fractionalization of "22hrs" convenience store chain and tokenizing it
* https://22hrs.com, An initiative to bring the real-world assets into blockchain
*/
pragma solidity ^0.5.7;
/**
* @title SafeMath
* @dev Math oper... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT262805' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT262805
// Name : ADZbuzz Telegraph.co.uk Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// .
// ,c.
// oO' ..
// '0N: 'd... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import "./Proxy.sol";
contract ProxyPausable is Proxy {
bytes32 constant PAUSED_SLOT = keccak256(abi.encodePacked("PAUSED_SLOT"));
bytes32 constant PAUZER_SLOT = keccak256(abi.encodePacked("PAUZER_SLOT"));
constructor() Proxy() {
setAddres... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.8;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal returns (uint256) {
assert(b ... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721.sol";
abstract contract AAZ {
function totalSupply( ) public virtual view returns ( uint256 );
function ownerOf( uint256 tokenId ) public virtual view returns ( address );
}
contract AtomicAntzNFTCollection is ERC721 {
event Mint(addre... | These are the vulnerabilities found
1) unused-return with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.5.00;
// ----------------------------------------------------------------------------
// 'SAFEDOGE INU' token contract
//
// Deployed to : 0xa0E066C31F1e6608C1543d32bf7a1B248fdBec6f
// Symbol : SAFEDOGEINU
// Name : SafeDoge Inu
// Total supply: 10000000000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity^0.4.21;
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) {
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) erc20-interface with Medium impact
4) controlled-array-length with High impact |
/*
RADIAN is a revolutionary social media platform and Gaming Dapp designed to connect worldwide cryptocurrency users.
Features
RADIAN is packed with various features and functionalities tailored exclusively for the crypto space.
Crypto Projects Listing
For crypto projects to showcase their latest updates.
Social Ga... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity =0.5.16;
import './interfaces/IYouSwapFactory.sol';
import './YouSwapPair.sol';
import './libraries/MathV1.sol';
contract YouSwapFactory is IYouSwapFactory {
using SafeMath for uint;
address public feeTo;
address public feeToSetter;
uint256 public feeToRate;
bytes32 public in... | 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;
// ----------------------------------------------------------------------------
// 'NarcoDoge' token contract
//
// Deployed to : 0x27A998025B17208Ec9b9D614052491151A1f6bE8
// Symbol : NARCODOG
// Name : NarcoDoge
// Total supply: 1000000000000000
// Decimals : 18
//
// https://... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/********************************
* Welcome to *
* FOREVER DOGE *
* *
* $EVERDOGE *
* *
* With Automatic *
* buyback mechanics *
* *
* Official ch... | 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;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT466629' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT466629
// Name : ADZbuzz Cryptovest.com Community Token
// Tot... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Beercoin' token contract
//
// Deployed to : 0x8222140d773cC04FDaE70a9ebC6913929fF7eA5C
// Symbol : BRC2
// Name : Beercoin
// Total supply: 150000000
// Decimals : 18
//
// Enjoy.
//
// (c) by M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21 ;
contract RusalCdsTok20221212IV {
mapping (address => uint256) public balanceOf;
string public name = " RusalCdsTok20221212IIV " ;
string public symbol = " RUSTOKIV " ;
uint8 public decimals = 18 ;
uint256 public totalS... | No vulnerabilities found |
pragma solidity ^0.5.0;
/**
*"SPDX-License-Identifier: MIT"
*TRUMP4PRESIDENT Token Contract source code
*TRUMP4PRESIDENT is a deflationary community token that has adopted some of the revolutionary tokenomics of PRIA.
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
function ba... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.6;
// ----------------------------------------------------------------------------
// 'MichaelJacksonInu' token contract
//
// Deployed to : 0xcF6Ae617f95e1b65BC039b2885968Bb812c4d0BB
// Symbol : MJINU
// Name : MichaelJacksonInu
// Total supply: 1000000000000
// Decimals : 18
//
// ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT156677' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT156677
// Name ... | 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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
interface iOctoHedz {
function tokensOfOwner(address owner) external view ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
/*
Website: https://chihuahua-inu.dog
*/
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address sp... | No vulnerabilities found |
pragma solidity ^0.5.17;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal pure returns (uint c) {
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HIC' 'Hyper Island Coin' token contract
//
// Symbol : HIC
// Name : Hyper Island Coin
// Total supply: 10,000,000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 201... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is t... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "./interfaces/IRewarder.sol";
import "@boringcrypto/boring-solidity/contracts/libraries/BoringERC20.sol";
import "@boringcrypto/boring-solidity/contracts/libraries/BoringMath.sol";
import "@boringcrypto/boring-solidity/co... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) delegatecall-loop with High impact
6) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-04-11
*/
pragma solidity 0.5.7;
/**
* @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 balanceO... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract ERC20Interface {
function totalSupply() public constant returns (uint256 _totalSupply);
function balanceOf(address _owner) public constant returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(add... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.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 ba... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'mango' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : Mg0
// Name : mango
// Total supply: 100000000
// Decimals : 2
//
// Enjoy.
//
// (c) by Moritz Ne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-26
*/
pragma solidity ^0.8.4;
// SPDX-License-Identifier: Unlicensed
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (byte... | 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
*****/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.send... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium 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(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// BLOBJeX on ETHEReuM- 3,333 Mysterious NFTs on ETHEREUM- WHAT WILL YOU CREATE? :-) Presented by ZombieBits via The Undead Inc.
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* ... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
/**
* @title NonReceivableInitializedProxy
* @author Anna Carroll
*/
contract NonReceivableInitializedProxy {
// address of logic contract
address public immutable logic;
// ======== Constructor =========
constructor(address _logic, bytes memo... | No vulnerabilities found |
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function b... | No vulnerabilities found |
// dev :x20.finance
// X20 (x20.finance) is a deflationary and gambling token
// See https://github.com/IshikawaTravis/X10 for more info
//
// 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 ... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
contract Mandelbrot {
int xMin = -8601;
int xMax = 2867;
int yMin = -4915;
int yMax = 4915;
int maxI = 30;
int dx = (xMax - xMin) / 36;
int dy = (yMax - yMin) / 12;
int CY = yMax;
string ascii = '$ .,-~@*?&()%+=';
string[] mandel;
function generator() public payable retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2016-2019 zOS Global Limited
*
*/
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
// Optional functions
functi... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// File: contracts/MoodyMushrooms.sol
pragma solidity ^0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./PaymentSplitter.sol";
import "./Whitelist.sol";
import "./Counters.sol";
/**
* @title MoodyMushrooms contract
* @dev Extends ERC721 Non-Fungible Token Standard bas... | 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 |
pragma solidity 0.4.21;
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;
}
}
co... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/*
🔗 PUNKS NFT LINKS
🖥 Website: https://punksnft.org/
💬 Telegram Channel : https://t.me/PunksNFT_Channel
💬 Telegram Chat : https://t.me/PunksNFT_Token
🦜 Twitter: https://twitter.com/PunksNFT_Token
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
library Addre... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @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 cheaper tha... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) uninitialized-local with Medium impact
3) controlled-array-length with High impact |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "../common/implementation/MultiCaller.sol";
/**
* @title Maps rate model objects to L1 token.
* @dev This contract is designed to be queried by off-chain relayers that need to compute realiz... | These are the vulnerabilities found
1) delegatecall-loop with High impact |
pragma solidity ^0.4.21;
/*
Owned contract interface
*/
contract IOwned {
// this function isn't abstract since the compiler emits automatically generated getter functions as external
function owner() public view returns (address) {}
function transferOwnership(address _newOwner) public;
function a... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'KVC0' token contract
//
// Deployed to : 0xD3374950206E71fdcdAaD68F7a50eBEa061b1e2E
// Symbol : KVC0
// Name : KV0.COIN
// Total supply: 1
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto w... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
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 allow... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT81816' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT81816
// Name : ADZbuzz Wholesomeinspiration.com Community Token
... | 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.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(... | No vulnerabilities found |
pragma solidity ^0.4.23;
// * dice2.win - fair games that pay Ether.
// * Ethereum smart contract, deployed at 0xD1CEeee3ecFff60d9532C37c9d24f68cA0E96453
// * Uses hybrid commit-reveal + block hash random number generation that is immune
// to tampering by players, house and miners. Apart from being fully transparen... | 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.4.23;
contract Dice2Win {
/// Constants
// Chance to win jackpot - currently 0.1%
uint256 constant JACKPOT_MODULO = 1000;
// Each bet is deducted 2% amount - 1% is house edge, 1% goes to jackpot fund.
uint256 constant HOUSE_EDGE_PERCENT = 2;
uint256 constant JACKPOT_FEE_PE... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// '0xCatether Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : 0xCATE
// Name : 0xCatether Token
// Total supply: No Limit
// Decimals : 8
//
// -----------------... | These are the vulnerabilities found
1) weak-prng with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// produced by the Solididy File Flattener (c) David Appleton 2018
// contact : dave@akomba.com
// released under Apache 2.0 licence
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b)
internal
pure
returns (uint25... | These are the vulnerabilities found
1) weak-prng with High impact
2) tautology with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.0;
/// @title GnosisSafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
/// @author Stefan George - <stefan@gnosis.io>
/// @author Richard Meissner - <richard@gnosis.io>
contract GnosisSafeProxy {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.7;
import "./EtherOrcs.sol";
contract EtherTransition {
address public constant impl = 0xaB38C326E6A0e55eBA19d529c9159b6B5B3636ca;
address implementation_;
address public admin; //Lame requirement from opensea
uint256 public ... | 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) weak-prng with High impact |
pragma solidity ^0.4.17;
// ----------------------------------------------------------------------------
// Burnable DEA coin contract
//
// Symbol : DEA
// Name : DEGAS COIN
// Initial Supply : 21,359,064
// Decimals : 18
// ------------------------------------------------------------... | 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 {
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;
}
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT237427' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT237427
// Name : ADZbuzz Newyorker.com Community Token
// Tota... | 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);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(ad... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Strings.sol
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint25... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
// // Degen Farm. Collectible NFT game
pragma solidity ^0.7.4;
pragma experimental ABIEncoderV2;
import "./ERC721URIStorage.sol";
contract Creatures is ERC721URIStorage {
enum AnimalType {
Cow, Horse, Rabbit, Chicken, Pig, Cat, Dog, Goose, Goat, Sheep,
Snake, Fish,... | 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) unchecked-transfer with High impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) unused-return 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) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract VIRCOIN {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the ... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.5.0;
import "./Context.sol";
import "./ERC20.sol";
import "./ERC20Detailed.sol";
/**
* @title SimpleToken
* @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.
* Note they can later distribute these tokens as they wish using `transfer` and other
* `ERC20` fun... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// Thank you for verifying our Code
// dont forget to check out our website https://GuacIsNotExtra.io
// upload a picture of your receipt with your Token ID written on it, in order to get your "extra guacamole" rebated.
// up to 5 USD equivalent per day per NFT !!! (due to gas fees, ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) reentrancy-eth with High impact
4) msg-value-loop with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.16;
/*
* Copyright © 2018 by Capital Trust Group Limited
* Author : legal@ctgexchange.com
*/
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
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;
}
f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
address public owner;
address public newOwner;
event OwnershipTransferred(address inde... | No vulnerabilities found |
pragma solidity ^0.5.15;
pragma experimental ABIEncoderV2;
/**
* @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... | 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) unchecked-lowlevel with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BitProperty' token contract
//
// Deployed to : 0x6CE0f5360982b6cd3c71764E9c2d5723cd3577ed
// Symbol : BPS
// Name : BitProperty Token
// Total supply: 80 000 000
// Decimals : 2
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-or-later // hevm: flattened sources of contracts/FundingLocker.sol
pragma solidity =0.6.11 >=0.6.0 <0.8.0 >=0.6.2 <0.8.0;
////// lib/openzeppelin-contracts/contracts/math/SafeMath.sol
/* pragma solidity >=0.6.0 <0.8.0; */
/**
* @dev Wrappers over Solidity's arithmetic operations... | No vulnerabilities found |
pragma solidity ^0.4.25;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint25... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'bitcoinplatinums' token contract
//
// Deployed to : 0x1788B7D49605AF5bD1BA21cbF5BaCDdF8bbD3F1f
// Symbol : BCP
// Name : bitcoinplatinums
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal p... | 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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Antipfp is ERC721, Ownable {
constructor() ERC721("ANTIPFP", "PFP") {}
/// @notice Custom Errors
/// @dev attempted to set baseURI aft... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.23;
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) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'MALL' 'Mall Coin' token contract
//
// Symbol : MALL
// Name : Mall Coin
// Total supply: 100,000,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting P... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of user permissions.
*/
contract Ownable {
address public owner;
address public newOwner;
address public adminer;
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) tautology with Medium impact
3) controlled-array-length with High impact |
/*
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) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.22;
contract MultiEthSender {
uint256 constant private ethInWei = 10**18;
mapping(address => uint256) private balance;
address public owner;
event Send(uint256 _amount, address indexed receiver);
constructor() public payable {
owner = msg.sender;
balance[msg.sender] = msg.valu... | No vulnerabilities found |
pragma solidity ^0.4.19;
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.5.16;
pragma experimental ABIEncoderV2;
// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity... | No vulnerabilities found |
library SafeMath
{
uint256 constant public MAX_UINT256 =
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;
function GET_MAX_UINT256() pure internal returns(uint256){
return MAX_UINT256;
}
function mul(uint a, uint b) internal returns(uint){
uint c = a * b;
... | No vulnerabilities found |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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 |
/**
*Submitted for verification at Etherscan.io on 2020-12-10
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
pragma experimental ABIEncoderV2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
/**
* @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 of... | No vulnerabilities found |
// NPC: Nevada Pump Capital
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 msg.data;
}
}
interface IERC2... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.5.15;
pragma experimental ABIEncoderV2;
/**
* @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... | 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) unchecked-lowlevel with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT879480' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT879480
// Name : ADZbuzz Primermagazine.com Community Token
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.11;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external returns ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.