input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity 0.4.19;
contract Countout {
address public owner;
uint128 public ownerBank;
uint8 public round;
uint8 public round_after;
uint8 public currentCount;
uint8 public totalCount;
uint128 public initialPrice = 0.005 ether;
uint128 public bonusPrice = 0.1 ether;
uint128 pu... | 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) arbitrary-send with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221860' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221860
// Name : ADZbuzz Socialtriggers.com Community Token
//... | 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;
requ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol
pragma solidity ^0.6.0;
/*
* 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 acces... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract RealEstateCryptoFund {
function transfer(address to, uint256 value) public returns (bool);
function balanceOf(address who) public constant returns (uint256);
}
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* f... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.8.2;
contract MPT1 {
mapping(address => uint) public balances;
mapping(address => mapping(address => uint)) public allowance;
uint public totalSupply = 39000000 * 10 ** 18;
string public name = "My Pocket Token 1";
string public symbol = "MPT1";
uint public decimals = 18;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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
* manner, since when dealing with GSN meta-transactions... | No vulnerabilities found |
// Telegram: https://t.me/Official_ProjectX
// Twitter: https://twitter.com/ProjectX_NFT
// Website: https://www.projectxnft.com/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view ... | No vulnerabilities found |
pragma solidity 0.5.17;
/**
* @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.
*/
function totalSupply() external view returns (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.4;
/**
* @title ERC20 interface
* see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 {
uint public totalSupply;
uint public decimals;
function balanceOf(address who) constant returns (uint);
function allowance(address owner, address spender) constant returns (uint);
... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) tautology with Medium impact |
pragma solidity ^0.4.23;
/**
https://zethr.game https://zethr.game https://zethr.game https://zethr.game https://zethr.game
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโโโ โโโโโโ โโโ ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) tautology with Medium impact
3) uninitialized-local with Medium impact
4) reentrancy-eth with High impact
5) unused-return with Medium impact
6) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-27
*/
pragma solidity ^0.8.0;
contract TreatsStakingProxy {
event myEvent(bytes);
// Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
constructor(bytes memory construct... | No vulnerabilities found |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "./SafeMath.sol";
import "./HoldefiOwnable.sol";
/// @notice File: contracts/Holdefi.sol
interface HoldefiInterface {
struct Market {
uint256 totalSupply;
uint256 supplyIndex;
uint256 supplyIndexUpdateTime;
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
/*
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
import "../interfaces/IStake2VaultProxy.sol";
import "./Stake2VaultStorage.sol";
import "./ProxyBase.sol";
/// @title Proxy for StakeVault
/// @notice
contract Stake2VaultProxy is Stake2VaultStorage, ProxyBase, IStake2VaultProxy {
event Upgraded(address inde... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "./ERC20.sol";
import "./AccessControl.sol";
contract AccessControlMixin is AccessControl {
string private _revertMsg;
function _setupContractId(string memory contractId) internal {
_revertMsg = string(abi.encodePacked(contractId, ": IN... | 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 |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
////////////////////////////////////////////////////////////////////////////////////////////////////
/// PART: WithdrawalsManagerStub.sol ///////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint... | No vulnerabilities found |
// $Bitcoin Elena Token
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(a... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./interfaces/IObscuraMagnum.sol";
import "./interfaces/IObscuraMintPass.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./randomiser.sol";
contract MinterV3 is AccessControl, randomiser {
bytes32 public constant MODERATOR_RO... | 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.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
contract WinterBabyApeClub is ERC721, Ownable, IMintedBeforeReveal {
// This is the provenance record of all BABY APES in existence. The provenance will be updated once metadata is live at launch.
str... | 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.6.12;
interface OracleSecurityModule {
function peek() external view returns (bytes32, bool);
function peep() external view returns (bytes32, bool);
function bud(address) external view returns (uint256);
}
contract OSMProxy {
mapping(address => bool) consumers;
address public o... | No vulnerabilities found |
pragma solidity =0.5.16;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) exte... | 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: MIT
pragma solidity ^0.8.6;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender); // added payable
}
function _msgData() internal view virtual returns (bytes memory) {
this;
ret... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/*
Copyright (c) 2018 WiseWolf Ltd
Developed by https://adoriasoft.com
*/
pragma solidity ^0.4.23;
// File: contracts/ERC20Basic.sol
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public vi... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity =0.5.16;
interface IMulanV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) extern... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// File: @openzeppelin/contracts/access/Ownable.sol
// 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 ms... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
import "./IERC20.sol";
import "./SafeTransfer.sol";
contract Sandwich {
using SafeTransfer for IERC20;
// Authorized
address internal immutable user;
// transfer(address,uint256)
bytes4 internal constant ERC20_TRANSFER_ID = 0xa9059cbb;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// WELCOME TO SkyCore
// http://t.me/SKYCOREFINANCE
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 t... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// File: zeppelin-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 owner;
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT
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, which can then be
* ... | 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.18;
/**
* @title SafeMath
*/
library SafeMath {
/**
* Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
assert(c / a == b);
... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact |
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function re... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CyborgDoge' token contract
//
// Deployed to : 0x8E6190C04121C42F04d3C958Bcb1285ff32e996B
// Symbol : CYDOGE
// Name : CyborgDoge
// Total supply: 1000000000000000
// Decimals : 18
//
// MIT code... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
//
//
// Deployed to : 0x8C40e678559B0B48a110af082fE3ff4b5f36275f
// Symbol : 0efr
// Name : 0 frannick personal Token
// Total supply: 100000000
// Decimals : 18
//
// -----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import {IERC20} from './interfaces/IERC20.sol';
import {ILendingPoolConfiguratorV2} from './interfaces/ILendingPoolConfiguratorV2.sol';
import {IOverlyingAsset} from './interfaces/IOverlyingAsset.sol';
import {ILendingPoolAd... | No vulnerabilities found |
pragma solidity 0.6.10;
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 without generating bytecode - see ht... | 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) reentrancy-no-eth with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'YiGL' token contract
//
// Deployed to : 0xbEE625Dab3dD5acDde5F304397097BE1b2627Abc
// Symbol : YiGL
// Name : YiGL
// Total supply: 6150000000000
// Decimals : 8
//
// Enjoy.
//
// -------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract BKEXComToken {
// Public variables of the token
string public name = "BKEX.COM Token";
string public symbol = "bkex.com";
uint256 public deci... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'ICX' token contract
//
// Deployed to : 0x20cB0e29238E3cB441c9bB963b1bC5ce3831C998
// Symbol : ICX
// Name : ICON
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// 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... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at BscScan.com on 2021-09-17
*/
/**
*Submitted for verification at BscScan.com on 2021-07-22
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
library Create2 {
function deploy(uint256 amount, bytes32 salt, bytes memory bytecode) internal returns (address) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
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 |
/*
Pullback:
Supercharge your life.
With automated finance.
Say goodbye to middlemen, bureaucracy and the hassle of complicated finance. Embrace the unstoppable revolution and become your own bank.
Build your own
digital bank service
Do you still rely on time consuming, expensive financial services? PullBack fixes this... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
// This code is the property of the Aardbanq DAO.
// The Aardbanq DAO is located at 0x829c094f5034099E91AB1d553828F8A765a3DaA1 on the Ethereum Main Net.
// It is the author's wish that this code should be open sourced under the MIT license, but the final
// decision on this would... | No vulnerabilities found |
pragma solidity 0.4.24;
/*
Capital Technologies & Research - Capital (CALL) & CapitalGAS (CALLG) - Team Vault
https://www.mycapitalco.in
*/
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() publ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
// Sources flattened with hardhat v2.6.6 https://hardhat.org
// File deps/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.24 <0.7.0;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be de... | No vulnerabilities found |
pragma solidity ^0.4.25;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
/**
* SPDX-License-Identifier: MIT
**/
pragma solidity ^0.7.6;
pragma experimental ABIEncoderV2;
import "../AppStorage.sol";
import "../../libraries/Decimal.sol";
import "../../libraries/UniswapV2OracleLibrary.sol";
/**
* @author Publius
* @title Oracle tracks the TWAP price of the USDC/ETH and BEAN/ETH Uniswap p... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Leanmotherfuckers' token contract
//
// Deployed to : 0x51e3f0674a2a2AaBfd3bee05A9e4264CdC9901AC
// Symbol : FUCK
// Name : Leanmotherfuckers
// Total supply: 4
// Decimals : 18
// --------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >= 0.5.0< 0.7.0;
contract PROCASH {
address owner;
address payable donde;
uint[] ident;
mapping(uint => username) usuarios;
struct username{
uint id;
string name;
address payable dir;
}
modifier valida_user(uint _id){
requi... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DHANACOIN' token contract
//
// Deployed to : 0xa8ec2e3E55f3ed24350fB5e2BE515ca2C61EDa86
// Symbol : XDXC
// Name : DHANA COIN
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/assessor.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 solidity >=0.5.1... | 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 |
// 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) msg-value-loop with High impact
2) unused-return 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;
}
c =... | No vulnerabilities found |
contract ERC20Basic {
uint256 public totalSupply;
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);
}
library SafeMath {
function mul(uint256 a, uint256 b... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EWB' token contract
//
// Deployed to : 0x01bc604ae9d945f29432eded391513ba587aeda1
// Symbol : EWB
// Name : ้ซ้พ้ซ
// Company : ้ซ้พ้ซๅบๅ้พๆๆฏไฟกๆฏๆ้ๅ
ฌๅธ
// Total supply: 200,000,000
// Decimals : 2
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: NLPL AND GPL-3.0-or-later
pragma solidity >=0.6.0 >=0.6.12 <0.7.0;
////// lib/hd-drop/lib/erc721/src/erc721.sol
/// erc721.sol -- API for the ERC721 token standard
// See <https://github.com/ethereum/EIPs/issues/721>.
// This file likely does not meet the threshold of originality
// requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.16;
import "./Ownable.sol";
import "./SafeMath.sol";
import "./IMorpherState.sol";
// ----------------------------------------------------------------------------------
// Staking Morpher Token generates interest
// The interest is set to 0.015% a day or ~5.475% in the first year
// Stakers will b... | 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) unchecked-transfer with High impact
5) unused-return with Medium impact
6) 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 |
// KpopItem is a ERC-721 item (https://github.com/ethereum/eips/issues/721)
// Each KpopItem has its connected KpopToken itemrity card
// Kpop.io is the official website
pragma solidity ^0.4.18;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) in... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-03-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
// Part: SafeMath
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
return c;
}
function sub(ui... | 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 |
// File: contracts/interfaces/marketHandlerDataStorageInterface.sol
pragma solidity 0.6.12;
interface marketHandlerDataStorageInterface {
function setCircuitBreaker(bool _emergency) external returns (bool);
function setNewCustomer(address payable userAddr) external returns (bool);
function getUserAccessed(addre... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
//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.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 result = a * b;
assert(a == 0 || result / a == b);
return result;
}
function div(uint256 a, uint256 b)internal pure returns (uint256) {
uint256 result =... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0x5Bd9586E9073b075eA83dFfc3c7C2FC0D2c2e858
// Symbol : THEO
// Name : Theophanes Token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() e... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) delegatecall-loop with High impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : ๅธ็ง็ฎ็งฐ
// Total supply: ๅ่กๆฐ้
// Decimals : 8 ็ฒพๅบฆ
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2018. The MIT Licence.
// ----... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.7;
import { EtherOrcs } from "./EtherOrcs.sol";
import { ERC20 } from "./ERC20.sol";
import {EtherTransition} from "./EtherTransition.sol";
contract MigratorV2 {
address implementation_;
address public admin;
EtherOrcs public oldOrcs;
EtherOr... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact |
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.6.11;
// ============ Internal Imports ============
import {UpgradeBeacon} from "./UpgradeBeacon.sol";
// ============ External Imports ============
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Address} from "@openzeppelin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.20;
// ----------------------------------------------------------------------------
// CWH token contract
//
// Symbol : CWH
// Name : Chrysalis Token
// Total Supply : 25,000,000
// Decimals : 18
// ---------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.8.4;
// SPDX-License-Identifier: MIT
/**
* @dev Interface of the BEP20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Digital Content Market' token contract
//
// Deployed to : 0x97c47782c7918eD78a247F2CE7A476A22A41Cd19
// Symbol : DCM
// Name : Digital Content Market
// Total supply: 125,000,000.000000000000000000... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221172' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221172
// Name : ADZbuzz Cookieandkate.com Community Token
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
/// @dev Base contract for all Ethernauts contracts holding global constants and functions.
contract EthernautsBase {
/*** CONSTANTS USED ACROSS CONTRACTS ***/
/// @dev Used by all contracts that interfaces with Ethernauts
/// The ERC-165 interface signature for ERC-721.... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.6.6;
interface AggregatorInterface {
function latestAnswer() external view returns (int256);
function latestTimestamp() external view returns (uint256);
function latestRound() external view returns (uint256);
function getAnswer(uint256 roundId) external view returns (int256);
function getT... | No vulnerabilities found |
pragma solidity ^0.4.16;
contract BasicAccessControl {
address public owner;
// address[] public moderators;
uint16 public totalModerators = 0;
mapping (address => bool) public moderators;
bool public isMaintaining = false;
function BasicAccessControl() public {
owner = msg.sender;
... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.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) shadowing-state with High impact |
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.0;
/**
* @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 |
pragma solidity ^0.4.8;
contract Token {
uint256 public totalSupply;
function balanceOf(address _owner) constant returns (uint256 balance);
function transfer(address _to, uint256 _value) returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) returns (bool success)... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-05-11
*/
pragma solidity ^0.6.8;
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, uint25... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.7.6;
contract MultiCallHelper {
fallback () external payable {
assembly {
for { let ptr := 0 } lt(ptr, calldatasize()) {} {
let to := calldataload(ptr)
ptr := add(ptr, 32)
let value := calldataload(ptr)
ptr := add(pt... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-04-09
*/
pragma solidity 0.5.7;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceO... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
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);
/**
... | 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 |
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 balanc... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NarcoDoge' token contract
// Stealth Launch!
// No Tax for buys and sells
// No Team Token
// No Presale
// 50% Burned
// Liq. Locked
// Symbol : NRCDOGE
// Name : NarcoDoge
// Total supply: 10000... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PAYCLE COIN' token contract
//
// Deployed to : 0xDf7dAe8ac00DafA4858b6F129BaAA6416EEa20f9
// Symbol : PAYC
// Name : PAYCLE COIN
// Total supply: 7600000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.16;
interface IBridgeContract {
function requireToPassMessage(
address,
bytes calldata,
uint256
) external;
function messageSender() external returns (address);
} | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC20.sol";
import "./IERC20.sol";
import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
import "./Payable.sol";
contract TrillionToken is ERC20 {
constructor() ERC20('Trillion', 'T') {
_mint(msg.sender, 300000000 * 10 ** 18);
}
} | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/////////////////////////////////////////////////////////////////////////////////////
//
// SPDX-License-Identifier: MIT
//
// โโโโ โโโโ โโโโโโโ โโโโ โโโโโโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโ
// โโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// โโโโโโโโโโโโโโ โโโโโโโโโ โโโโโโโโ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function div(uint256 a... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
contract Owned {
address public owner;
address public proposedOwner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the i... | No vulnerabilities found |
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, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.