input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.19;
/**
* @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) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
library SafeMath {
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
function trySu... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.8;
import "./NFTXv9.sol";
interface KittyCoreAlt {
function transferFrom(
address _from,
address _to,
uint256 _tokenId
) external;
}
contract NFTXv10 is NFTXv9 {
function requestMint(uint256 vaultId, uint256[] memory nftIds)
... | 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) name-reused with High impact
5) arbitrary-send with High impact
6) unchecked-transfer with High impact
7) erc20-interface with Medium impact
8) unin... |
/********************************
* Welcome to the *
* EVER RISING TOKEN *
* *
* $EVERTOKEN *
* *
* New 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 |
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;
/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain
/// @author Richard Meissner - <richard@gnosis.io>
interface IProxy {
function masterCopy() external view returns (address);
}
/// @title GnosisSafeProxy - Gene... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18; // solhint-disable-line
/// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens
/// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete)
contract ERC721 {
// Required methods
function approve(address _to, uint256 _tokenId) public;
function balanceOf... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) tautology with Medium impact
4) arbitrary-send with High impact
5) weak-prng with High impact
6) controlled-array-length with High impact |
pragma solidity ^0.4.24;
/*
Copyright 2018 InterValue 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 applica... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// File: 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 (uint256) {
if (a =... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2017-11-28
*/
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
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence.
// ----------------------------------------------------------------------------
// ----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HCL' token contract
//
// Deployed to : 0xb5ae24dE6C35C3AbA4140ECd2d506B7750bac64c
// Symbol : HCL
// Name : Hedge Coin Capital Token
// Total supply: 70000000
// Decimals : 18
//
// Enjoy.
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract ERC20 {
function totalSupply() constant public returns (uint256 supply);
function balanceOf(address _owner) constant public returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, add... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.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.0;
pragma experimental ABIEncoderV2;
interface PriceFeedOracle {
function fetchPrice() external returns (uint);
}
interface TroveManagerLike {
function getBorrowingRateWithDecay() external view returns (uint);
function getTCR(uint _price) external view returns (uint);
function getCur... | No vulnerabilities found |
pragma solidity ^0.4.19;
contract GOOGToken {
string public name = "GOOGOL TOKEN";
string public symbol = "GOOG";
string public standard = "GOOG Token v1.0";
uint8 public constant decimals = 18;
uint256 public totalSupply;
event Transfer(
address indexed _from,
address index... | No vulnerabilities found |
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 fro... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
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;
return msg.data;
}
}... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import './UpgradeabilityProxy.sol';
/**
* @title AdminUpgradeabilityProxy
* @dev This contract combines an upgradeability proxy with an authorization
* mechanism for administrative tasks.
* All external functions in this contract must be guarded by the
* `... | 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 |
// SPDX-License-Identifier: MIT
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
* manner, since when de... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SALT PEPPER GARLIC' token contract
//
// Deployed to : 0x6a1AD96DCFF1D1dA6cC6616e52cB0ce255A82202
// Symbol : SPG
// Name : SALT PEPPER GARLIC
// Total supply: 700
// Decimals : 18
//
// Enjoy.
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'WILL' token contract
//
// Deployed to : 0x9Ffc7727A6895d6beEc409249486a422a1648416
// Symbol : WILL
// Name : WILL Testament
// Total supply: 7795482309000000000000000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) unused-return with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : EKLOW
// Name : EKLOW
// Total supply : 1000000000000000000
// Decimals : 10
// Owner Account : 0x58e1Ffd6C7008d8511E6b6BE53B06dCc849c0e3D
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BOOCOIN' token contract
//
// Deployed to : 0xf96b970fC8F510169bfF98Ac740707C82b8533d6
// Symbol : BOO
// Name : Booyah Coin
// Total supply: 100000000
// Decimals : 4
//
// Enjoy.
//
// (c) by M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* EURS Token Smart Contract: EIP-20 compatible token smart contract that
* manages EURS tokens.
*/
/*
* Safe Math Smart Contract.
* Copyright (c) 2018 by STSS (Malta) Limited.
* Contact: <tech@stasis.net>
*/
pragma solidity ^0.4.20;
/**
* Provides methods to safely add, subtract and multiply uint256 numbe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
// This contract locks TRY team and marketing tokens, on a vesting schedule.
pragma solidity 0.7.4;
contract TRYTEAMLOCKContract {
event Received(address, uint);
event onDeposit(address, uint256, uint256);
event onWithdraw(address, uint256);
using SafeMath for ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.15;
/// @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, uint indexed transactionId);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract WrappedTON is ERC20, Ownable {
constructor() ERC20("Wrapped TON Crystal", "WTON") {
_setupDecimals(9);
}
function mint(address account, uint256 amount) p... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT104553' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT104553
// Name : ADZbuzz Thenewsrecorder.in Community Token
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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.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.0;
interface IChickenNoodle {
// struct to store each token's traits
struct ChickenNoodleTraits {
bool minted;
bool isChicken;
uint8 backgrounds;
uint8 snakeBodies;
uint8 mouthAccessories;
uint8 pupils;
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT341325' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT341325
// Name : ADZbuzz Marketwatch.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
interface IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint256 digits);
function totalSupply() external view returns (uint... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT198109' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT198109
// Name : ADZbuzz Top-aktuell.com Community Token
// Total supply: 2000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CaptainFutureDoge' token contract
//
// Deployed to : 0x226543E0dceC91a8Ba80Ac0AAD17bA5C20a73c9d
// Symbol : CFDOGE
// Name : CaptainFutureDoge
// Total supply: 1000000000000000
// Decimals : 18
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract BaseToken {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed from... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-04
*/
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 ... | No vulnerabilities found |
pragma solidity ^0.5.13;
import "./ERC20.sol";
import "./DateTime.sol";
import "./Ownable.sol";
contract StableCoin is ERC20, DateTime, Ownable {
using SafeMath for uint256;
address public tokenIssuer;
uint256 public lastOxydationDate;
event Oxydated(address holder, uint256 amount);
event Timest... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity 0.4.23;
// Random lottery
// Smart contracts can't bet
// Pay 0.001eth or higher to get a random number
// You probably shouldn't pay higher than 0.001eth, there's no reason.
// If your random number is the highest so far you're in the lead
// If no one beats you in 1 day you can claim your winnnings ... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) uninitialized-local with Medium impact
4) arbitrary-send with High impact |
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 _from, address _t... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221807' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221807
// Name : ADZbuzz Searchengineland.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.12;
/*
888 d8P 8888888888
888 d8P 888
888 d8P 888
8... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EstateX' token contract
//
// Deployed to : 0x11F9Bc2eFF6171387F3Ac05D8039319dc3Fe15E7
// Symbol : statX
// Name : EstateX.
// Total supply: 100000000000000
// Decimals : 18
//
// Enjoy.
// Codin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
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;
address p... | 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) name-reused with High impact
5) incorrect-equality with Medium impact
6) uninitialized-local with Medium impact
7) write-after-write with Medium impa... |
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;
// ----------------------------------------------------------------------------
// 'ACT237795' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT237795
// Name : ADZbuzz Digitaltrends.com Community Token
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.2;
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;
}... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) tautology with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NarcoDoge' token contract
//
// Deployed to : 0x66A9552E2B59e59099945a09aC609bB51A3184Ee
// Symbol : NRCDOGE
// Name : NarcoDoge
// Total supply: 1000000000000000
// Decimals : 18
//
// https://... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'name' token contract
//
// Deployed to : your address
// Symbol : stock market term
// Name : Name
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooB... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
abstract contract StaticV2 {
enum Method { Boost, Repay }
struct CdpHolder {
uint128 minRatio;
uint128 maxRatio;
uint128 optimalRatioBoost;
uint128 optimalRatioRepay;
address owner;
uint cdpId;
b... | These are the vulnerabilities found
1) unused-return with Medium impact
2) arbitrary-send with High impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╭━━╮
┃╭━╮┃╱╱╱╱╱╱╱╱╱╱╱╰┫┣╯
┃╰━━┳━━┳┳╮╱╭┳━━╮╱┃┃╭━╮╭╮╭╮
╰━━╮┃┃━╋┫┃╱┃┃╭╮┃╱┃┃┃╭╮┫┃┃┃
┃╰━╯┃┃━┫┃╰━╯┃╭╮┃╭┫┣┫┃┃┃╰╯┃
╰━━━┻━━┻┻━╮╭┻╯╰╯╰━━┻╯╰┻━━╯
╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╰━━╯
Website: https://seiyainu.com/
Telegram: https://t.me/Se... | 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.6.6;
// ----------------------------------------------------------------------------
// 'XGambleToken' token contract
//
// Deployed to : 0x6720eF45860633cE671b37Fb2CaC7aca34a6C5BD
// Symbol : XGAT
// Name : XGambleToken
// Total supply: 48000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | No vulnerabilities found |
// 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;
// ----------------------------------------------------------------------------
// 'MorpheusNetwork' token contract
//
// Deployed to : 0x292A893D9Ab0d5Fb47cB3EbC57E29886117D2beA
// Symbol : MRPH
// Name : Morpheus Network
// Total supply: 510668184970
// Decimals : 18
//
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
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) {
// assert(b > 0); // So... | No vulnerabilities found |
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.5.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 {
/**
* @dev Returns the amount of tokens in existence.
... | No vulnerabilities found |
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 an overflow raises an
* error, which is the standard behavior in high ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BRLO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : BRLO
// Name : BRL_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >0.5.0 <0.8.0;
import { iL1ChugSplashDeployer } from "./interfaces/iL1ChugSplashDeployer.sol";
/**
* @title L1ChugSplashProxy
* @dev Basic ChugSplash proxy contract for L1. Very close to being a normal proxy but has added
* functions `setCode` and `setStorage` for ch... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
// 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 n... | No vulnerabilities found |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 acceptOwnership() public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
import "./Ownable.sol";
import "./ERC721Enumerable.sol";
//import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
// did it for the gas
contract HSeeds is ERC721Enumerable, Ownable, ReentrancyGuard {
//using SafeMath for uint256;
//see: https://github.com/OpenZeppelin/openzeppelin... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
pragma solidity ^0.4.24;
library HxSafeMath {
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;
}
/**
* @dev Integer division of two unsigned integers tr... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.19;
/**
* @title SafeMath
* @dev Math operations that are safe for uint256 against overflow and negative values
* @dev https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (ui... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.25;
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 ... | No vulnerabilities found |
// File: @openzeppelin\upgrades\contracts\Initializable.sol
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact |
pragma solidity ^0.4.23;
library SafeMath {
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
c = a + b;
assert(c >= a);
return c;
}
}
contract Token {
function ... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
abstract contract Context {
function _msgSender() internal view returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view returns (bytes memory) {
this; // silence state mutability warning wit... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
Welcome to Shiba Ronin, servant to none.
A rōnin was a samurai warrior in feudal Japan without a master or lord — known as a daimyo. A samurai could become a ronin in several different ways: his master might die or fall from power or the samurai might lose his master's favor or patr... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
// File: openzeppelin-solidity/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
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 msg.data, th... | No vulnerabilities found |
pragma solidity ^0.4.21;
// 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... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
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 ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./OpCommon.sol";
import {AccountCenterInterface} from "../interfaces/IAccountCenter.sol";
contract OpClaimAaveV2StakedRewards is OpCommon {
address public immutable aaveIncentivesAddress;
address public immutable aaveStakeRewardClaimer;
eve... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.8.0;
// Starllink Fork
// https://t.me/KarateDoge
// Stealt Launch
// ONLY 4 ETH LIQ FOR MAX RETURNS
// TOTAL SUPPLY 10,000,000,000,000 $KADO
// 100% IN LP
// LIQ. LOCKED FOREVER
// LP TOKENS BURNED
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/... | These are the vulnerabilities found
1) shadowing-state with High impact |
/**
Real World online Crypto Casino. View the site www.kobegaming.com and the Telegram
is https://t.me/kobeonline
*/
// SPDX-License-Identifier: MIT
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 gene... | 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 c) {
if (a == 0) {
retur... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact |
pragma solidity ^0.4.20;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfer(... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) constant-function-state with Medium impact |
pragma solidity ^0.5.17;
/*
APYCore
*/
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) exte... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.8.4;
import "./AggregatorV3Interface.sol";
import "./ICircumnavigationURI.sol";
contract CircumnavigationURI is ICircumnavigationURI {
struct CircumnavigationIIIUri {
string wagmi;
string ngmi;
}
// holds the uris for Circumnavigation III Gold, Silver, and Bronze (both st... | These are the vulnerabilities found
1) weak-prng with High 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 fro... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
abstract contract ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() virtual public view returns (uint);
/**
* @... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.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
* manner, since when d... | These are the vulnerabilities found
1) weak-prng with High impact
2) unchecked-lowlevel with Medium impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract lothlor {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the... | No vulnerabilities found |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-29
*/
/*
*******
*******
██████╗ ██╗ ██╗ ██████╗ ███████╗███╗ ██╗██╗██╗ ██╗████████╗██╗ ██████╗ ███████╗██████╗
██╔══██╗██║ ██║██╔═══██╗██╔════╝████╗ ██║██║╚██╗██╔╝╚══██╔══╝██║██╔════╝ ██╔════╝██╔══██╗
██████╔╝███████║██║ ██║█████╗ ██╔██╗ ██║██║ ╚... | 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) erc20-interface with Medium impact
5) constant-function-asm with Medium impact
6) uninitialized-local with Medium impact
7) locked-ether with Med... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CAN' token contract
//
// Deployed to : 0x2A7566f25B8ec8A96487dc2a453013d01c682CdB
// Symbol : LER
// Name : LER Coin
// Total supply: 3000000000
// Decimals : 18
//
// --------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity =0.6.6;
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/lib/contracts/libraries/FixedPoint.sol";
import "@... | 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.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.5.17;
/**
* @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 indexed transaction... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT846199' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT846199
// Name : ADZbuzz Thedailywtf.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.