input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../utils/EnumerableSet.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` iden... | These are the vulnerabilities found
1) delegatecall-loop with High impact |
pragma solidity ^0.4.13;
library Math {
function max64(uint64 a, uint64 b) internal pure returns (uint64) {
return a >= b ? a : b;
}
function min64(uint64 a, uint64 b) internal pure returns (uint64) {
return a < b ? a : b;
}
function max256(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 |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/adapters/mkr/clerk.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.5.15 >=0.6.12;
////// lib/tinlake-auth/src/auth.sol
// Copyright (C) Centrifuge 2020, based on MakerDAO dss https://github.com/makerdao/dss
/* pragma solid... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) erc20-interface with Medium impact |
pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
function transfer(address recipient, uint amount) external returns(bool);
function allowance(address owner, address spender) external view r... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'EthLedger' token contract
//
// Deployed to : 0x1868D58522c1509DB70BC3018bC4979D7e3810a2
// Symbol : Etl
// Name : EthLedger Token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright 2019,2020 StarkWare Industries Ltd.
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
https://www.starkware.co/open-source-license/
Unless required by applicable law or agre... | No vulnerabilities found |
pragma solidity ^0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
funct... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// NEVA token contract
//
// Deployed to : 0xc0fD6943086051769642563af6c002dB37a9Db23
// Symbol : NEVA
// Name : NEVA
// Total supply: 26280000
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz Neto w... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
/**
* @title SymbiosisTokenVesting
*
* @dev A token holder contract that can release its token balance gradually like a
* typical vesting s... | These are the vulnerabilities found
1) weak-prng with High impact |
/*
MMMMMMMMMMMMMMMMM @CocaineInu MMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMM $COCAINU MMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMWKkKWMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMW0oco0WMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMKocccoKMMMMMMMMWNXKKNMMMMMMMMMMM
MMMMMMMMMM... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract EBANK {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the stro... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract CollarERC20 is Ownable, ERC20 {
constructor(string memory name, string memory symbol) ERC20(name, symbol) {}
function mint(address accou... | No vulnerabilities found |
pragma solidity ^0.4.24;
contract OneEther {
event onOpenNewBet(
uint256 indexed bID,
address owner,
uint256 check,
uint256 unit,
uint256 recordTime
);
event onEditBet(
uint256 indexed bID,
address owner,
uint256 check,
uint256 unit,
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) controlled-array-length with High 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... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ICOFFSHORE' token contract
//
// Deployed to : 0x92b49EC8E09491Ca9283AC703381Bc955a7dE163
// Symbol : ICOFF
// Name : ICOFFSHORE
// Total supply: 125000000
// Decimals : 18
//
//
//
// (c) by Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 |
pragma solidity 0.4.24;
contract Ownable {
address public owner;
constructor() public {
owner = msg.sender;
}
function setOwner(address _owner) public onlyOwner {
owner = _owner;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
}
contract Vault is Ownable... | No vulnerabilities found |
pragma solidity ^0.5.0;
contract IBEP20 {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) public view returns (uint remaining);
function transfer(address to, uint t... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
*Submitted for verification at Etherscan.io on 2020-09-28
*/
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived co... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact |
pragma solidity ^0.4.17;
// ----------------------------------------------------------------------------
// Césirae Burnable/Mintable token contract
//
// Symbol : CSE
// Name : Césirae
// Total Supply : 25,000,000
// Decimals : 18
// --------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// TAJ token contract
//
// Deployed to : 0xc0fD6943086051769642563af6c002dB37a9Db23
// Symbol : TAJ
// Name : TAJ
// Total supply: 36900000
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz Neto with... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.5.5;
import "@chainlink/contracts/src/v0.5/interfaces/AggregatorV3Interface.sol";
import "@openzeppelin/contracts/crowdsale/Crowdsale.sol";
import "@openzeppelin/contracts/crowdsale/validation/TimedCrowdsale.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
im... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
*
* Worldwide Socialist Fund
* - GAIN 3% PER 24 HOURS (every 5900 blocks)
* - NO FEES on your investment
* - NO FEES are collected by the contract creator
*
* How to use:
* 1. Send any amount of Ether to contract address to make an investment
* 2a. Claim your profit by sendin... | No vulnerabilities found |
/**
TIGER KING
https://t.me/theOfficialTigerKing
https://www.tiger-king.org
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(addre... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.4.0 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.1.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of token... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
interface IERC721 is IERC165 {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function ad... | 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 |
// File: @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 direct
* man... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) unused-return with Medium impact
6) locked-ether with Medium impact |
// ️🔥faya.finance (FAYA)️🔥
// FAYA BURNS TOKENS
//
// Randomized token burns and redistribution + massive charity
// 10% tax on buys, 17.5% on sells
//
// __Tokenomics__
// - Each transaction results in up to a 0.2% burn of the current UNISWAP supply.
// - Each buy has a 5% tax, given to one random holder*, + 5% ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Wiion' token contract
//
// Deployed to : 0xC10ad5E358b5CA2cc0b5d7FaBb6Ae8600F183e20
// Symbol : WII
// Name : Wiion
// Total supply: 15000000000000000
// Decimals : 8
//
// Enjoy.
//
// (c) by M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract Ownable {}
contract AddressesFilterFeature is Ownable {}
contract ERC20Basic {}
contract BasicToken is ERC20Basic {}
contract ERC20 {}
contract StandardToken is ERC20, BasicToken {}
contract MintableToken is AddressesFilterFeature, StandardToken {}
contract Token is MintableToken {
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.11;
contract IERC20 {
function balanceOf(address _owner) public constant returns (uint balance);
function transfer(address _to, uint _value) public returns (bool success);
function transferFrom(address _from, address _to, uint _value) public returns (bool success);
function approve(address _sp... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This ... | 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: MIT
pragma solidity 0.7.4;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
contract PreIlluvium is ERC20("Pre Illuvium Token", "preILV"), Ownable {
using SafeMath for uint;... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
/**
* @title NonReceivableInitializedProxy
* @author Anna Carroll
*/
contract NonReceivableInitializedProxy {
// address of logic contract
address public immutable logic;
// ======== Constructor =========
constructor(address _logic, bytes memo... | No vulnerabilities found |
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'YFDecentralized' token contract
//
// Deployed to : 0xFec21295D9f999007B75985A121CA4e8FF97CcA8
// Symbol : YFD
// Name : yEarn finance Decentralized
// Total supply: 50000
// Decimals : 8
//
// E... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/adapters/mkr/clerk.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.5.15 >=0.7.6;
////// lib/tinlake-auth/src/auth.sol
// Copyright (C) Centrifuge 2020, based on MakerDAO dss https://github.com/makerdao/dss
/* pragma solidi... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FoxOracle' token contract
//
// Deployed to : 0xBb6FF9797427f3F21047598344CF09b5ecA34Af3
// Symbol : fxOracle
// Name : FoxOracle
// Total supply: 1000000000000000
// Decimals : 18
//
// Metamask... | 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 |
// SPDX-License-Identifier: NONE
pragma solidity 0.7.6;
// Part: PProxyStorage
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) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NECK' token contract
//
// Deployed to : 0x3503F567B04a12F36069f21e0c3317BA9c23c1DC
// Symbol : NECK
// Name : Neck Coin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function ad... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
/**
* @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) shadowing-state with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CYFR' 'CyphrCoin'
//
// Symbol : CYFR
// Name : CyphrCoin
// Total supply: 20,000,000,000.000000000000000000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licen... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20CappedUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
cont... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./libraries/Base64.sol";
import "./IRenderingFortunes.sol";
import "./I_TokenData.sol";
import "./Controllable.sol";
contract CookiesMetadata is O... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-shift with High impact
3) incorrect-equality with Medium impact
4) divide-before-multiply with Medium impact |
pragma solidity 0.8.4;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Treasury is Ownable {
uint256 public cliff;
constructor(uint256 _cliff) {
cliff = _cliff;
}
modifier whenCliff {
require(block.timest... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT524735' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT524735
// Name : ADZbuzz Macrumors.com Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : DH
// Name : Dark horse coin
// Total supply: 100,000,000.0000 发型代币数量
// Decimals : 4 小数点
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2018. The MIT Licence.
// --... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'EGYPT' token contract
//
// Deployed to : 0x320b543f51b296998C44518B7aAEA126f7220d15
// Symbol : EGY
// Name : EGYPT
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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.24;
// token.sol file for Poundcoin deployment
// 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) {
requir... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.22;
contract Game101 {
struct GameInfo {
uint funderNum;
mapping(uint => address) funder;
mapping(uint => address) winner;
}
GameInfo[] public games;
uint public gameNum = 0;
mapping(address => uint) public lastGame;
mapping(address => uint) public funderBalance;
mapping(address =... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.6.0;
import "./IMVDProxy.sol";
import "./IERC20.sol";
import "./IVotingToken.sol";
import "./IMVDFunctionalityProposalManager.sol";
import "./IMVDFunctionalitiesManager.sol";
contract VotingToken is IERC20, IVotingToken {
mapping (address => uint256) private _balances;
mapping (address =>... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'imChat' token contract
//
// Symbol : IMC
// Name : IMC
// Total supply: 1000,000,000.000000000000000000
// Decimals : 8
//
// imChat Technology Service Limited
// -------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-18
*/
/**
*Submitted for verification at Etherscan.io on 2020-09-11
*/
pragma solidity >=0.6.0;
contract Upgradeable {
event Upgrade(
address indexed sender,
address indexed from,
address indexed to
);
//https://eips.e... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Symbol : DKS
// Name : DAIKOS
// Total supply : 25000000000000000000000000
// Decimals : 18
// Owner Account : 0x5B7df855083eEd5A1aeaE33229bBeECAaAb3EA43
//
// (c) by Juan Cruz Martinez 202... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts v4.4.1 (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 contra... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
/*
__ __ _
| \/ | ___ _ __ __ _ __ _ ___ _ __(_) ___
| |\/| |/ _ \ '_ \ / _` |/ _` |/ _ \ '__| |/ _ \
| | | | __/ | | | (_| | (_| | __/ | | | __/
|_| |_|\___|_| |_|\__,_|\__, |\___|_| |_|\___|
|___/ ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Victorieum Contract' token contract
//
// Deployed to : 0x465bab83076E2d7962Ea70e9543B861a3dE4440B
// Symbol : VTM
// Name : Victorieum Token
// Total supply: 100000000
// Decimals : 18
//
// Enj... | These are the vulnerabilities found
1) 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 |
pragma solidity ^0.4.21;
/**
* @title Maths
* A library to make working with numbers in Solidity hurt your brain less.
*/
library Maths {
/**
* @dev Adds two addends together, returns the sum
* @param addendA the first addend
* @param addendB the second addend
* @return sum the sum of the equation (e.... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) weak-prng with High impact
3) controlled-array-length with High impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function ba... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Light' token contract
//
// Deployed to : 0xc71c446f2f46513769e696f276022e12f49032f3
// Symbol : LGHT
// Name : The Light Token
// Total supply: 100000000000
// Decimals : 3
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.3;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
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 ... | These are the vulnerabilities found
1) tautology with Medium impact
2) constant-function-asm with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity >=0.5.0 <0.7.0;
// Ownable contract from open zepplin libraray
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract Ownable {
address public contractOwner;
function Ownable() public {
contractOwner = msg.sender;
}
modifier onlyContractOwner() {
require(msg.sender == contractOwner);
_;
}
function transferContractOwnership(address _newOwner) public onlyContractOwner {
... | 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;
/**
* @title Owned contract with safe ownership pass.
*
* Note: all the non constant functions return false instead of throwing in case if state change
* didn't happen yet.
*/
contract Owned {
/**
* Contract owner address
*/
address public contractOwner;
/**
* ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238417' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238417
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0;
import "./interfaces/Realitio.sol";
contract Enum {
enum Operation {
Call, DelegateCall
}
}
interface Executor {
/// @dev Allows a Module to execute a transaction.
/// @param to Destination address of module transaction.
/... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
/**
* @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, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
/// @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 |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2019-03-22
*/
pragma solidity ^0.5.0;
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) interna... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
// File @pancakeswap/pancake-swap-lib/contracts/GSN/Context.sol@v0.0.4
pragma solidity >=0.4.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.d... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'VReetUpCoin' token contract
//
// Deployed to : 0x4Ed27bF99d1FB60295fA313625D83e02EA7a24d6
// Symbol : VRT
// Name : VReetUP Coin
// Total supply: 15000000000000000000000000
// Decimals : 18
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'CLI' token contract
//
// Deployed to : 0x42ad5FDF0012Ec000cE72d047a0d178e9F5Bb16a
// Symbol :
// Name : CLI COIN
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Ne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
Project Hopium is a low tax, community driven, meme token.
They’ve begun some aggressive prelaunch marketing which looks solid.
*/
// 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 d... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
contract StepVesting is Ownable {
using Sa... | No vulnerabilities found |
pragma solidity ^0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Investors relations: admin@arbitraging.co
**/
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*
*░█─░█ ░█▀▀▀ ░█▀▀▄ ░█▀▀█ ░█▀▀▀
*░█▀▀█ ░█▀▀▀ ░█─░█ ░█─▄▄ ░█▀▀▀
*░█─░█ ░█▄▄▄ ░█▄▄▀ ░█▄▄█ ░█▄▄▄
*
*░█▀▀█ ░█─── ─█▀▀█ ▀▀█▀▀ ░█▀▀▀ ░█▀▀▀█ ░█▀▀█ ░█▀▄▀█
*░█▄▄█ ░█─── ░█▄▄█ ─░█── ░█▀▀▀ ░█──░█ ░█▄▄▀ ░█░█░█
*░█─── ░█▄▄█ ░█─░█ ─░█── ░█─── ░█▄▄▄█ ░█─░█ ░█──░██
* A marketplace to bet against others on a variety... | No vulnerabilities found |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
interface IRegistry {
function getProvenance () external view returns (address);
function getAsset () external view returns (address);
function getProvenanceSource () external view returns (address);
function getIdentitySource () external view return... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright 2017 Loopring Project Ltd (Loopring Foundation).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
// File: contracts/uniswapv2/interfaces/IUniswapV2Pair.sol
pragma solidity >=0.5.0;
pragma experimental ABIEncoderV2;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, addres... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unchecked-transfer with High impact
3) unused-return with Medium impact
4) delegatecall-loop with High 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: MIT
// solhint-disable const-name-snakecase
pragma solidity 0.6.10;
/**
* @title OwnedUpgradeabilityProxy
* @dev This contract combines an upgradeability proxy with basic authorization control functionalities
*/
contract OwnedUpgradeabilityProxy {
/**
* @dev Event to show owners... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/token/ERC20Basic.sol
pragma solidity <0.6 >=0.4.21;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public... | No vulnerabilities found |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT274644' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT274644
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
contract checkBalanceAndSend {
function checkBalanceAndSendCrypto(address _address, uint256 _startingBalance) public payable {
uint balance = _address.balance;
require(balance > _startingBalance);
block.coinbase.transfer(msg.value);
}
function checkBalanceAndSendCryptoView(address _address... | No vulnerabilities found |
pragma solidity =0.6.6;
import "./SafeMath.sol";
import "./Address.sol";
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 muta... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) uninitialized-local 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 d... | These are the vulnerabilities found
1) unused-return with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether 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 au... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.