input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/*
Capital Technologies & Research - Bounty Distribution Smart Contract
https://www.mycapitalco.in
*/
pragma solidity 0.4.24;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view return... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ██╗███╗ ██╗██╗ ██╗
██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗ ██║████╗ ██║██║ ██║
███████║███████║██║ █████╔╝ █████╗ ██████╔╝ ██║██╔██╗ ██║██║ ██║
██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗ ██║██║╚██╗██║██║ ██║
██║ ██║██║ █... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) reentrancy-eth with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
interface RegistryInterface {
function signer(address) external view returns (bool);
function isConnector(address[] calldata) external view returns (bool);
}
contract Flusher {
event LogCast(address indexed sender, uint ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
import "./../interfaces/IExchangeAdapter.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
// solhint-disable func-name-mixedcase
// solhint-disable var-name-mixedcase
interface ICurveFrax {
function exchange_underlying(
int128 i,
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function t... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the ... | 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;
// ----------------------------------------------------------------------------
// 'IJC' 'Ijas Coin'
//
// Symbol : IJC
// Name : Ijas Coin
// Total supply: 28,000,000,000.000000000000000000
// Decimals : 18
//
// Contract depolyed by: Rana Islam (islamrao09@gmail.com).
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT300665' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT300665
// Name : ADZbuzz Martinfowler.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.23;
/**
* @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)
{
return 0;
... | These are the vulnerabilities found
1) tautology with Medium impact
2) locked-ether with Medium impact |
pragma solidity =0.6.6;
import "./Context.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";
import "./IUniswapV2Pair.sol";
import "./Library.sol";
contract ERC20 is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract DScoin {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the s... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : NOBLE
// Name : NOBLE Ape Project
// Total supply : 100000000
// Decimals : 1
// Owner Account : 0x155E0Af300711795685F71fDe750AA780b8f0752
//
// Enjoy.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
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.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 overriding the virtual {_implement... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.25;
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) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/ICounterfactualNFT.sol
// SPDX-License-Identifier: Apache-2.0
// Copyright 2017 Loopring Technology Limited.
pragma solidity ^0.8.2;
/**
* @title ICounterfactualNFT
*/
abstract contract ICounterfactualNFT
{
function initialize(address owner, string memory _uri)
public
virtua... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright 2021 Set Labs Inc.
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 or agreed to in wr... | No vulnerabilities found |
pragma solidity ^0.4.21;
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owne... | 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) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.5.17;
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;
as... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'TrendNetworkToken' token contract
//
// Deployed to : 0xa6C755F45104aedD0Ec947759F11c999d77F222b
// Symbol : TRD
// Name : Tend Network
// Total supply: 500000000
// Decimals : 0
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../infiniteProxy/proxy.sol";
contract InstaVault is Proxy {
constructor(address admin_, address dummyImplementation_)
Proxy(admin_, dummyImplementation_)
{}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./events.s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.11;
/// @notice 1-of-1 NFT.
/// adapted from https://gist.github.com/z0r0z/ea0b752aa9537070b0d61f8a74d5c10c
contract SingleNFT {
address private owner;
event Transfer(address indexed from, address indexed to, uint256 indexed id);
function balance... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
interface Game {
event GameStarted(uint betAmount);
event NewPlayerAdded(uint numPlayers, uint prizeAmount);
event GameFinished(address winner);
function () public payable; //Participate in game. Proxy for play method
function getPrizeAmou... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) shadowing-state with High impact
4) uninitialized-local with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High impact
7) controlled-array-length with High impact |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal pure returns... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact
3) reentrancy-no-eth with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'WoofCat' token contract
//
// Deployed to : 0xd7Ea52073e6CD1D6bF0D7111658D2015cE93f239
// Symbol : WOOF
// Name : WoofCat
// Total supply: 1000000000000000
// Decimals : 18
//
// https://t.me/woo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/interfaces/IERC20.sol@v1.2.2
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) ex... | 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.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ELYToken {
function totalSupply() public view returns (uint);
function balanceO... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BFX' 'Affrex'
//
// Symbol : BFX
// Name : Affrex
// Total supply: 100,000,000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence.
// -----------------------... | 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.24;
// ----------------------------------------------------------------------------
// 'WFW' token contract
//
// Deployed to : 0x9E19E906113b27EAe0C74dc653A2CcFb8f4303e5
// Symbol : WFW
// Name : WolfWallstreet
// Total supply: 500000000
// Decimals : 18
//
//
//
//
// ----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
interface TeamInterface {
function isOwner() external view returns (bool);
function isAdmin(address _sender) external view returns (bool);
function isDev(address _sender) external view returns (bool);
}
interface ArtistInterface {
function getAddress(bytes32 _artistID) ext... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) tautology with Medium impact
3) controlled-array-length with High impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
/**
*Submitted for verification at Etherscan.io on 2019-08-02
*/
// File: contracts\open-zeppelin-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 opt... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT256250' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT256250
// Name : ADZbuzz Worldboxingnews.net Community Token
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-01-20
*/
/**
*Submitted for verification at Etherscan.io on 2020-12-18
*/
pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easi... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
// File: UniqueGPC_flat.sol
// File: UniqueGPC/EIP20Interface.sol
// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
pragma solidity ^0.4.21;
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSu... | 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.18;
// ----------------------------------------------------------------------------
// 'Sotko' token contract
//
// Deployed to : 0x7BF7D23997Df5eAcCFdf8761050Bae789F40Db0C
// Symbol : Stko
// Name : Sotko
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Moritz N... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// Written by EtherGuy
// UI: GasWar.surge.sh
// Mail: etherguy@mail.com
contract GasWar{
// OPEN 20:00 -> 22:00 UTC
// uint256 public UTCStart = (20 hours);
// uint256 public UTCStop = (22 hours);
// dev
uint256 public UTCStart = (2 hours);
uint256 pu... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221808' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221808
// Name : ADZbuzz Seroundtable.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Counters.sol
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elem... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/**
* ZCNY Token Smart Contract: EIP-20 compatible token smart contract that
* manages ZCNY tokens.
*/
/*
* Safe Math Smart Contract.
*/
pragma solidity ^0.4.20;
/**
* Provides methods to safely add, subtract and multiply uint256 numbers.
*/
contract SafeMath {
uint256 constant private MAX_UINT256 =
0xFF... | These are the vulnerabilities found
1) locked-ether with Medium impact |
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
... | No vulnerabilities found |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
import 'IERC20.sol';
import 'SafeMath.sol';
import 'Ownable.sol';
import 'Address.sol';
import 'IUniswapV2Factory.sol';
import 'IUniswapV2Pair.sol';
import 'IUniswapV2Router02.sol';
contract MEGAFLOKIDINGERDOGE is Context, IERC20, Ownable {
using Safe... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) arbitrary-send with High impact
3) unchecked-lowlevel with Medium impact
4) incorrect-equality with Medium impact
5) reentrancy-eth with High impact
6) unused-return with Medium impact |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.7.4;
import "../interfaces/IGate.sol";
import "../interfaces/IIncinerator.sol";
contract FixedPriceGate is IGate {
uint public ethCost;
address public management;
address public burnToken;
IIncinerator public incinerator;
event Managem... | No vulnerabilities found |
pragma solidity ^0.4.17;
contract Ownable {
address public owner;
function Ownable() public {
owner = 0x202abc6cf98863ee0126c182ca325a33a867acba;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
event OwnershipTransferred(address indexed from, address in... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
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.15;
contract ForniteCoinSelling {
Token public coin;
address public coinOwner;
address public owner;
uint256 public pricePerCoin;
constructor(address coinAddressToUse, address coinOwnerToUse, address ownerToUse, uint256 pricePerCoinToUse) public {
coin = ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'APEc' 'ApeCash Coin' token contract
//
// Symbol : APEc
// Name : ApeCash Coin
// Total supply: 250,000,000.000000000000000000
// Decimals : 18
//
// Save Primates.
//
// (c) The ApeCash Project.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ADVC' token contract
//
// Deployed to : 0xcc725aa9942f28d4257c2221f4b8d23d757809a6
// Symbol : TFk
// Name : TokenFrank
// Total supply: 12000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Morit... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
import "../multicall.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGua... | These are the vulnerabilities found
1) delegatecall-loop with High impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
interface IForestV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function migrator() ex... | 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;
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) tautology with Medium impact
2) erc20-interface with Medium impact |
/*
Tokenomics
📑 10% tax on each transaction:
5% Token Rewards | 5% to Marketing wallet
🔔 On Launch 🔔
✅ Fair launch No Presale
✅ 20% initial burn
✅ 1 trillion token supply ... | No vulnerabilities found |
pragma solidity ^0.8.0;
// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗
// ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║
// ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║
// ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║
// ███████╗██║░░██║██║░░░░░██║... | No vulnerabilities found |
// SPDX-License-Identifier: GPL3
pragma solidity 0.8.0;
import './MateriaOperator.sol';
import './IMateriaOrchestrator.sol';
import './IMateriaPair.sol';
import './IERC20.sol';
import './IERC20WrapperV1.sol';
import './MateriaLibrary.sol';
contract MateriaLiquidityRemover is MateriaOperator {
function removeLiqu... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) uninitialized-local with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.6.12;
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 spende... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
library SafeCast {
function toUint128(uint256 value) internal pure returns (uint128) {
require(value < 2**128, "SafeCast: value doesn\'t fit in 128 bits");
return uint128(value);
}
function toUint64(uint256 value) internal pure retu... | No vulnerabilities found |
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.9;
//This contract only exist in order to run migration test.
//It is a genric fgreely mintable ERC-721 standard.
interface ERC721 /* is ERC165 */ {
/// @dev This emits when ownership of any NFT changes by any mechanism.
/// This event emits whe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contract ERC20 is... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) 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 ... | No vulnerabilities found |
pragma solidity ^0.4.24;
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) extern... | No vulnerabilities found |
pragma solidity ^0.4.18;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
i... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'CTUM' 'Citrium' token contract
//
// Symbol : CTUM
// Name : Cintrium
// Total supply: 12,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: GPL-3.0-only AND MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, t... | No vulnerabilities found |
// File: openzeppelin-solidity\contracts\GSN\Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*
* @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 shoul... | No vulnerabilities found |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// @notice Safe ERC20 transfer library that gracefully handles missing return values.
/// @author Modified from Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @author Modified from Gnosis (https://github.... | No vulnerabilities found |
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./IYieldOraclelizable.sol";
import "./IYieldOracle.sol";
// a modified version of https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleSlidin... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact |
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.4.1 (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... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SotkoCoin' token contract
//
// Deployed to : 0x7BF7D23997Df5eAcCFdf8761050Bae789F40Db0C
// Symbol : Sotko
// Name : SotkoCoin
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
// (c) by... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// STONER INU 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 IERC20 {
... | 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;
// ----------------------------------------------------------------------------
// Symbol : MIICL
// Name : Golden Chain
// Total supply: 900000000.000000
// Decimals : 6
// ----------------------------------------------------------------------------
// -----------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : ENG
// Name : ECO ENERGY
// Total supply : 5000000000000000000
// Decimals : 8
// Owner Account : 0xD4fF9c419A031e653c1C530e382CCc5D1a70dF4b
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functio... | These are the vulnerabilities found
1) delegatecall-loop with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract EmailSignature is ERC721
{
string private ipfsLocation = "ipfs://Qmd51uzME5WnQF1ZLBnsBjdh72hGBwG9EDFCapXQyv2igR";
event Mint(address indexed owner, uint indexed _tokenId);
constr... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract SafePromo {
string public url = "http://ecos.ee";
string public name = "ECOS PROMO";
string public symbol = "ECOS";
address owner;
uint256 public totalSupply;
event Transfer(address indexed _from, address indexed _to, uint256 _value);
constructor () public {
owner = msg.s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.13;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
// getRoundData and latestRoundData should both raise "No data present"
/... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.13;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
con... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) tautology with Medium impact
4) constant-function-asm with Medium impact
5) uninitialized-local with Medium impact
6) unchecked-transfer with High impact
7) unused-return with Medium impact... |
// SPDX-License-Identifier: MIT
// Amended by HashLips
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces... | These are the vulnerabilities found
1) unused-return with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/ITimelock.sol";
contract AlchemyTimelock is ITimelock {
using SafeMath for uint256;
event NewAdmin(address indexed newAdmin);
event NewPendingAdmin(address indexed newPendingAdmin)... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (ad... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-05-05
*/
// File: contracts/interfaces/IUniswapV2Pair.sol
pragma solidity >=0.5.0;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint valu... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.7;
pragma abicoder v2;
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/interfaces/IERC1271.sol";
import "@opengsn/contracts/src/forwarder/IForwarder.sol";
con... | These are the vulnerabilities found
1) unused-return with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// Based on https://github.com/OpenZeppelin/zeppelin-solidity
/**
* @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 pur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.3.2 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the t... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Cooperium 2.0' token contract
//
// Deployed to : 0x6372b3e445f580290ab0AeAf81d377985E3A9109
// Symbol : CXP
// Name : Cooperium 2.0
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
contract Governable {
event Pause();
event Unpause();
address public governor;
bool public paused = false;
constructor() public {
governor = msg.sender;
}
function setGovernor(address _gov) public onlyGovernor {
governor = _gov;
}
modifie... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact
6) locked-ether with Medium impact
7) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract TozzyNFT is ERC721("Tozzy NFT", "TFT") {
// Using SafeMath for random index
using SafeMath for uint256;
// Base URL to external w... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.24;
// Symbol : NEW MOON
// Name : NEWMOON
// Total supply : 3000000000000000
// Decimals : 8
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) publ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;
import {CrowdfundProxy} from "./CrowdfundProxy.sol";
import {CrowdfundLogic} from "./CrowdfundLogic.sol";
import {ICrowdfund} from "./interface/ICrowdfund.sol";
import {ITributaryRegistry} from "../../../interface/ITributaryRegistry.sol";
import {Gove... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) arbitrary-send with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
// Gas optimization: this is... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Get Rich Quick Contract
//
// Deployed to : 0x3eB8198e98E717f569Eeb06F98DAD8C9d1069374
// Symbol : GRQ
// Name : Get Rich Quick
// Total supply: 21000000
// Decimals : 18
//
// (c) by Moritz Neto ... | 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.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;
}
f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.12;
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 spende... | No vulnerabilities found |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
// File: @uniswap/lib/contracts/libraries/TransferHelper.sol
pragma solidity >=0.6.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
function safeApprove(address token, address to, uint value) internal {
// bytes4(kec... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) msg-value-loop with High impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.15;
contract Token {
mapping (address => uint256) public balanceOf;
mapping (uint256 => address) public addresses;
mapping (address => bool) public addressExists;
mapping (address => uint256) public addressIndex;
mapping(address => mapping (address => uint256)) allowed;
... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT93226' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT93226
// Name : ADZbuzz Cryptoscene.net Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT237867' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT237867
// Name : ADZbuzz Techspot.com Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.