input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// SPDX-License-Identifier: MIT
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) {
return msg.data;
}
}
abstract contract Ownable is Context {
a... | 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) 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
6) locked-ether with Medium impact |
/*
██████╗ ██████╗ ██╗███╗ ██╗██╗ ██╗███████╗██████╗ ██╗ ██████╗
██╔════╝██╔═══██╗██║████╗ ██║██║ ██║██╔════╝██╔══██╗ ██║██╔═══██╗
██║ ██║ ██║██║██╔██╗ ██║██║ █╗ ██║█████╗ ██████╔╝ ██║██║ ██║
██║ ██║ ██║██║██║╚██╗██║██║███╗██║██╔══╝ ██╔══██╗ ██║██║ ██║
╚██████╗╚██████╔╝██║██║ ╚███... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT876539' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT876539
// Name : ADZbuzz Disclose.tv Community Token
// Total supply: 2000000
// Decimals :... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.1 (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 tota... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) tautology with Medium impact
4) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0
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 msg.data, they should not be accessed in such a direct
* manner, since w... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma experimental ABIEncoderV2;
pragma solidity 0.6.12;
//
/**
* @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 ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact |
pragma solidity ^0.6.6;
/**
🔗 Chivo Wallet Links
🖥 Website: https://chivowallet.com/
💬 Twitter: https://twitter.com/chivowallet
💬 Google play: https://t.co/IwIwGSXldW
*/
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arith... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
contract AccreditationRegistryV1 {
address public owner;
bool public halted;
mapping(bytes32 => mapping(bytes32 => bool)) public accreditations;
modifier onlyOwner() {
require(
msg.sender == owner,
"Only the owner can perform this action."
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
library SafeMath {
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a == _b);
return c;
}
function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
require(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// based on https://github.com/OpenZeppelin/openzeppelin-solidity/tree/v1.10.0
/**
* @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) inte... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
/**
* @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... | No vulnerabilities found |
pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
z = multiply(x, 10 ** 9);
}
function rad(uint x) public pure returns (uint z) {
z = multiply(x, 10 ** 27);
... | 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) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT300475' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT300475
// Name : ADZbuzz Freetech4teachers.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function ac... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
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 != addre... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-send with Medium impact
3) arbitrary-send with High impact
4) incorrect-equality with Medium impact
5) reentrancy-eth with High impact |
pragma solidity ^0.4.18;
contract MPTToken {
string public name ; // token name
string public symbol ; // token symbol
uint256 public decimals ; // token digit
mapping (address => uint256) public balanceOf;
mapping (address => bool) public frozenAccount;
map... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
SPDX-License-Identifier: MIT
░█▀▀█ █▀▀█ █▀▀ █─█ ░█▀▀▀█ ▀▀█▀▀ █▀▀█ █▀▀▄ █▀▀
░█▄▄▀ █──█ █── █▀▄ ─▀▀▀▄▄ ──█── █──█ █──█ █▀▀
░█─░█ ▀▀▀▀ ▀▀▀ ▀─▀ ░█▄▄▄█ ──▀── ▀▀▀▀ ▀──▀ ▀▀▀
* https://rockstone.info/
* https://twitter.com/RockStoneToken
* https://t.me/RockStoneTG
* TAX for sell:... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.15;
/**
* @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... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.7.6;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {InstanceRegistry} from "./InstanceRegistry.sol";
/// @title GeyserRegistry
/// @dev Security contact: [email protected]
contract GeyserRegistry is InstanceRegistry, Ownable {
... | No vulnerabilities found |
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 balance) {}
/// @notice s... | No vulnerabilities found |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract DSMath {
function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x + y) >= x);
}
function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x - y) <= x);
}
fun... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import "./ICoinvestingDeFiFactory.sol";
import "./CoinvestingDeFiPair.sol";
contract CoinvestingDeFiFactory is ICoinvestingDeFiFactory {
// Public variables
address[] public override allPairs;
address public override feeTo;
address pu... | 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;
// ----------------------------------------------------------------------------
// 'CIRCLE COIN' token contract
//
// Deployed to : 0x1c2F35d669e655a023c3B1884728b70014d309ae
// Symbol : XCCZ
// Name : CIRCLE COIN
// Total supply: 100000000
// Decimals : 16
//
// Enjoy.
//
// (c... | 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) {
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) {
uint256 c = a / b;
r... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/*
🐺HitmanWolf $HITMAN (ERC)
⛽️Tokenomics
11% Buy Tax
11% Sell Tax
25% Sell Tax (first 48 hours)
✅ 1% Max tx and 2% Max wallet
🔥Liquidity Locked 1 year.
📝Whitepaper available
📸HitmanWolf NFT's
🎮P2E Game
💎METAVERSE & DEFI 3.0 Investments
💬TG @Hitmanwolferc20
💻 Website: hitmanwolf.com
🐺 Twitter: Hit... | No vulnerabilities found |
// DaddyERC20
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 IERC20 {
event ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
/**
* Copyright 2017-2021, bZeroX, LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
pragma solidity 0.5.17;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: LGPL-3.0-only
// Created By: Art Blocks Inc.
import "../interfaces/0.8.x/IGenArt721CoreContractV1.sol";
import "../interfaces/0.8.x/IMinterFilterV0.sol";
import "../interfaces/0.8.x/IFilteredMinterV0.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
pragma solidity 0.8.... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) weak-prng with High impact
3) reentrancy-no-eth with Medium impact
4) arbitrary-send with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
//___ _ ___ ___ ___ _ _ _ _ _ _ ___ ___ _ _ _ ___
//| _ \ /_\ | _ \ __| _ ) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >=0.4.21 <0.6.0;
//
interface ERC20 {
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function transferFrom(address f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Spooskter Coin' token contract
//
// Deployed to : 0x6370f9A136162A31eD4EbFdB460597d471A2203a
// Symbol : SPOOK
// Name : SpooksterCoin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FIXED' 'Marcelo' token contract
//
// Symbol : MRL
// Name : Marcelo
// Total supply: 250000000
// Decimals : 18
//
// Enjoy.
//
// (c) Konrad Marcelo 2018. The MIT Licence.
// ------------------... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity =0.6.12;
import './libraries/SafeMath.sol';
contract UniswapV2ERC20 {
using SafeMathUniswap for uint;
string public constant name = '123swap LP Token';
string public constant symbol = '123-LP';
uint8 public constant decimals = 18;
uint public ... | 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 Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >=0.6.0 <0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
/**
* @dev Ferrum Staking interface for adding reward
*/
interface IFestakeRewardManager {
/**
* @dev legacy add reward. To be used by contract support time limitted rewards.
*/
function addReward(uint256 rewa... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
contract WildAnimalUniverseMintPass is ERC721, Ownable, IMintedBeforeReveal {
// Time of when the sale starts.
uint256 public constant SALE_START_TIMESTAMP = 1629679036;
uint256 public constant R... | 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.5.16;
pragma experimental ABIEncoderV2;
contract Wallet {
address owner = msg.sender;
function externalCall(address payable[] memory _to, bytes[] memory _data) public {
require(msg.sender == owner);
for(uint16 i = 0; i < _to.length; i++) {
cast(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.2;
contract PProxyStorage {
function readBool(bytes32 _key) public view returns(bool) {
return storageRead(_key) == bytes32(uint256(1));
}
function setBool(bytes32 _key, bool _value) internal {
if(_value) {
storageSet(_key, bytes32(uint256(1)));
} ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract token {
function transfer(address receiver, uint256 amount);
function balanceOf(address _owner) constant returns (uint256 balance);
}
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / ... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unchecked-send with Medium impact
3) divide-before-multiply with Medium impact
4) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : VACCINE
// Name : VACCINE FINANCE
// Total supply : 400000000000000000000
// Decimals : 18
// Owner Account : 0x51015467b73bdf5edC383cf6Ec065800b1ee18c8... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.3;
import "./IUniswapV2Router02.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract SellContract {
address internal constant UNISWAP_ROUTER_ADDRESS =
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
IUniswapV2Router02 public u... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
interface tokenRecipient {
function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external;
}
contract braggerContract {
/*********************************/
/*********** MAPPINGS ************/
/*********************************/
// This creates an ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) erc20-interface with Medium impact
3) arbitrary-send with High impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact |
pragma solidity ^0.4.19;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint balance) {... | These are the vulnerabilities found
1) shadowing-state with High impact |
pragma solidity ^0.4.23;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwn... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FoxOracle' token contract
//
// Deployed to : 0x6333F3C5EbCF181280b8553AcD1b95A0eB3acD04
// Symbol : fxOracle
// Name : FoxOracle
// Total supply: 1000000000000000
// Decimals : 18
//
// Metamask... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "./ERC20.sol";
import "./Ownable.sol";
import "./JungleSerum.sol";
import "./CyberGorillasStaking.sol";
/*
______ __ ______ _ ____
/ ____/_ __/ /_ ___ _____/ ____/___ _____(_) / /___ ______
/ / / / / / __... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT566541' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT566541
// Name : ADZbuzz Mint.com Community Token
// Total sup... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
/**
BURN TOKEN
🟢TOKENOMICS🟢
✅ 7% to the Buyback & Burn wallet
✅ 3% to the Liquidity pool.
✅ 3% to the Development/Marketing wallet
✅ 2% is allocated to the BurnDAO Treasury.
https://t.me/ShibaDoge_Portal
Deflationary.com
https://discord.gg/dkvXgtjW83
https://realshibadoge.medium.com/introducing-the-burn-pro... | No vulnerabilities found |
pragma solidity ^0.4.23;
/*
* Zethroll.
*
* Adapted from PHXRoll, written in March 2018 by TechnicalRise:
* https://www.reddit.com/user/TechnicalRise/
*
* Adapted for Zethr by Norsefire and oguzhanox.
*
* Gas golfed by Etherguy
* Audited & commented by Klob
*/
contract ZTHReceivingContract {
/**
* @dev Standar... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) arbitrary-send with High impact
3) unchecked-transfer with High impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : LIV
// Name : Liv Coin
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Co... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning wit... | No vulnerabilities found |
pragma solidity ^0.5.17;
library SafeMath
{
function add(uint256 a, uint256 b) internal pure returns (uint256 c)
{
c = a + b;
require(c >= a, "SafeMath: addition overflow");
}
function sub(uint256 a, uint256 b) internal pure returns (uint256 c)
{
require(b <= a, "SafeMath: subtraction overflow");
c = ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at polygonscan.com on 2021-08-11
*/
// Sources flattened with hardhat v2.6.0 https://hardhat.org
// File deps/@openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Library for managing
* https://e... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.1;
contract transferable { function transfer(address to, uint256 value) public returns (bool); }
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes memory _extraData) public; }
contract HoteliumToken {
string public name = "Hotelium";
s... | No vulnerabilities found |
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract KoiPond is ERC721, Ownable {
uint public constant MAX_KOIS... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact |
// File: node_modules\@openzeppelin\contracts\GSN\Context.sol
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 a ... | No vulnerabilities found |
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 |
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.26;
library SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b > 0);
uint256 c = a / b;
ass... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.6;
/**
Create Collect Connect Launchina this year.
🔗 coinbase NFT Links
🖥 https://www.coinbase.com/nft/announce
💬 https://twitter.com/coinbase
💬 https://blog.coinbase.com/
*/
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
... | 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(a, ... | No vulnerabilities found |
//
// &&&&
// &&&&
// &&&&
// &&&& &&&&&&&&& &&&&&&&&&&&& &&&&&&&&&&/ &&&&.&&&&&&&&&
// &&&&&&&&& &&&&& &&&&&& &&&&&, &&&&& &&&&& &&&&&&&& &&&&
// &&&&&& &&&& &&&&# &&&& &&&&& ... | 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 (ui... | No vulnerabilities found |
pragma solidity ^0.4.18;
/**
* @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;
}
uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract BasicToken {
uint256 public totalSupply;
bool public allowTransfer;
function balanceOf(address _owner) constant returns (uint256 balance);
function transfer(address _to, uint256 _value) returns (bool success);
function transferFrom(address _from, address _to, uint... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SmartSweep' token contract
//
// Deployed to : 0xAEc75b5FffCa4C0C9EB2F42658ca11c926C68369
// Symbol : SMRTS
// Name : SmartSweep Coin
// Total supply: 50000000000000000000000000
// Decimals : 18
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./external/ERC721A.sol";
// @author rollauver.eth
contract FuegoUniques is ERC721A, Ownable {
string public _baseTokenURI;
uint256 public _maxSupply;
constructor(
string memory name,
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/**
* @title Austin
* @dev Simple ERC20 Token where all tokens are pre-assigned to creator
*/
contract Austin is ERC20 {
/**
* @dev Constructor that gives msg.sender all of existing tokens... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'OLMUSKY' token contract
//
// Symbol : OLMUSKY
// Name : olmusky.com
// Total supply: 210000000
// Decimals : 18
//
//
//
//
// -----------------------------------------------------------------... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.19;
/**
* Ownership interface
*
* Perminent ownership
*
* #created 01/10/2017
* #author Frank Bonnet
*/
interface IOwnership {
/**
* Returns true if `_account` is the current owner
*
* @param _account The address to test against
*/
function isOwner(address _acco... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-13
*/
pragma solidity ^0.4.24;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) 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
... | No vulnerabilities found |
// 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.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 |
pragma solidity ^0.6.0;
interface ICurve {
function coins(int128 tokenId) external view returns (address token);
function calc_token_amount(uint256[3] calldata amounts, bool deposit) external returns (uint256 amount);
function add_liquidity(uint256[3] calldata amounts, uint256 min_mint_amount) external;
functi... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-23
*/
pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uin... | No vulnerabilities found |
// $Caligula
pragma solidity ^0.4.4;
contract Token {
function totalSupply() constant returns (uint256 supply) {}
function balanceOf(address _owner) constant returns (uint256 balance) {}
function transfer(address _to, uint256 _value) returns (bool success) {}
function transferFrom(address _fro... | No vulnerabilities found |
// Copyright (C) 2020 Argent Labs Ltd. <https://argent.xyz>
// 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.
// Th... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'istake' 'istake' Smart Contract
//
// Symbol : istake
// Name : istake
// Total supply: 50,000
// Decimals : 18
//
//
//
//The MIT Licence.
// ----------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MarsDoge' token contract
//
// Deployed to : 0x019648577669Fba33DeFe7FF03f9B1F2A3153aCb
// Symbol : MDOGE
// Name : MarsDoge
// Total supply: 1000000000000
// Decimals : 18
//
// Enjoy. DOGE DEV ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238925' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238925
// Name : ADZbuzz Sun-sentinel.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BeyondDoge' token contract
//
// Deployed to : 0xa822320ad115e694D78d85a991E7B1aA7F9a6723
// Symbol : BOGE
// Name : BeyondDoge
// Total supply: 1000000000000000000000
// Decimals : 18
//
// Enjo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external returns (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.2;
contract Echo {
event Echoed(int indexed value);
mapping (int => bool) public emitted;
function echo(int value) public {
emitted[value] = true;
emit Echoed(value);
}
receive() external payable {
require(1 == 2, "Always fails");
}
} | These are the vulnerabilities found
1) 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 |
pragma solidity ^0.4.21;
/** ----------------------------------------------------------------------------------------------
* ZJLTTokenVault by ZJLT Distributed Factoring Network Limited.
* An ERC20 standard
*
* author: ZJLT Distributed Factoring Network Team
*/
/**
* @title SafeMath
* @dev Math operations with... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | 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;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0x24e5F200A9E39B86a549f6f78D1D3144BC9437c6
// Symbol : LNP
// Name : Link Nature Power
// Total supply: 33000000
// Decimals : 18
//
// Follow us : ht... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >=0.6.3 <0.7.0;
contract ETHPlusX10 {
address public creator;
uint256 MAX_LEVEL = 9;
uint256 REFERRALS_LIMIT = 2;
uint256 LEVEL_EXPIRE_TIME = 30 days;
uint256 LEVEL_HIGHER_FOUR_EXPIRE_TIME = 10000 days;
mapping(address => User) public users;
mapping(uint256 => address) publ... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) uninitialized-local with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
interface AccountImplementations {
function getImplementation(bytes4 _sig) external view returns (address);
}
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
* instruction `delegatec... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT107260' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT107260
// Name : ADZbuzz Coindesk.com Community Token
// Total supply: 2000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*BURNOX GAMING Token.
Official Website: www.burnox.io
SPDX-License-Identifier: MIT
*/
pragma solidity 0.6.8;
interface iERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
functio... | No vulnerabilities found |
pragma solidity ^0.5.1;
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 allowance(address owner, address spender) ... | No vulnerabilities found |
pragma solidity ^0.4.23;
/******* USING Registry **************************
Gives the inherting contract access to:
.addressOf(bytes32): returns current address mapped to the name.
[modifier] .fromOwner(): requires the sender is owner.
*************************************************/
// Returned by .getReg... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) reused-constructor with Medium impact
4) incorrect-equality with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High impact |
// SPDX-License-Identifier: AGPL-3.0-or-later // hevm: flattened sources of contracts/CollateralLocker.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 operati... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.