input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.6.0;
contract Context {
constructor () internal { }
function _msgSender() internal view returns (address payable) {
return msg.sender;
}
function _msgData() internal view returns (bytes memory) {
this; // silence state mutability warning without generating bytecode ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import "./ERC20.sol";
import "./ERC721.sol";
interface MetadataHandlerLike {
function getTokenURI(uint16 id, uint8 body, uint8 helm, uint8 mainhand, uint8 offhand, uint16 level, uint16 zugModifier) external view returns (string memory);
}
contract EtherOrc... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a == _b);
return c;
}
function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
require(_b > 0);
... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT395144' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT395144
// Name : ADZbuzz Grist.org Community Token
// Total su... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
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 ... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
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 functions.
*
* By default, the owner account will be the on... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
// ██ ███████ ████████ ███████ ██████ ██████
// ██ ██ ██ ██ ██ ██ ██
// ██ █████ ██ ███████ ██ ███ ██ ██
// ██ ██ ██ ██ ██ ██ ██ ██
// ███████ ███████ ██ ███████ ██████ ██████
// ... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity 0.8.7;
interface KeeperCompatibleInterface {
function checkUpkeep(bytes calldata checkData) external returns (bool upkeepNeeded, bytes memory performData);
function performUpkeep(bytes calldata performData) external;
}
interface Vault {
function allocate() external;
function rebase() e... | These are the vulnerabilities found
1) weak-prng with High impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
interface IERC20Token {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns (string memory);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DAPSTOKEN' token contract
//
// Deployed to : 0x63c60Ef583ccE49909c1dd54ec7f812aC3A69847
// Symbol : DAPS
// Name : DAPS Token
// Total supply: 60000000000
// Decimals : 18
//
// Enjoy.
//
// (c... | 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 |
pragma solidity ^0.4.11;
contract Ulti {
string public name = "Ulti"; // token name
string public symbol = "Ulti"; // token symbol
uint256 public decimals = 18; // token digit
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint2... | No vulnerabilities found |
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
/**
*/
//SPDX-License-Identifier: MIT
/*
* MIT License
* ===========
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use... | No vulnerabilities found |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
* 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 |
// --------------------------Official website : flowprotocol.finance--------------------------
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;
... | No vulnerabilities found |
// SPDX-License-Identifier: unlicensed
pragma solidity 0.8.4;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c... | No vulnerabilities found |
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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CompcoinCash' token contract
//
// Deployed to : 0x760ef04eeee9ed1838b108154c603278e066df9f
// Symbol : CMPC
// Name : CompcoinCash
// Total supply: 1000000000
// Decimals : 18
//
//
// ---------... | These are the vulnerabilities found
1) 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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "./interfaces/IQuantumKeyRing.sol";
import "@rari-capital/solmate/src/auth/Auth.sol";
import "@rari-capital/solmate/src/utils/ReentrancyGuard.sol";
import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@openzeppelin/contracts/utils/structs... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
// SPDX-License-Identifier: MIT
// Part: IAnyswapV3Router
interface IAnyswapV3Router {
function anySwapOutUnderlying(address token, address to, uint amount, uint toChainID) external;
}
// Part: OpenZeppelin/openzeppelin-contracts@3.0.0/Address
/**
* @d... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) msg-value-loop with High impact
3) arbitrary-send with High impact |
/**
* @title Graph Pre Token
* this token has the purpose of only being used in the Graph Sale with no functionality
* in the protocol.
*/
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 generall... | 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.18;
// ----------------------------------------------------------------------------
// 'TWC' token contract
//
// Deployed to : 0x63f91cF1B5Dd18f05B38EF8F60c506179Fefd673
// Symbol : TWC
// Name : TWC Token
// Total supply: 100
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract Gnome {
using SafeMath for uint256;
uint public constant _totalSupply = 200000000000;
string public constant symbol = "LEN";
string public constant name = "Gnome";
uint8 public constant decimals = 2;
mapping(address => uint256) balances;
mapping(... | No vulnerabilities found |
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;
/**
* @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;
/**
* @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) 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 |
// Sources flattened with hardhat v2.5.0 https://hardhat.org
// File contracts/IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Re... | 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 |
/**
BON Finance | $BON
* Fair launch, no dev tokens!
* Fair trade, no reserve, No buy/sell limts and no transaction fees!
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.11;
library Address {
function isContract(address... | No vulnerabilities found |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.5.0;
contract ERC20Interface {
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... | No vulnerabilities found |
pragma solidity ^0.4.24;
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;
}
function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
// ----------------------------------------------------------------------------
// ZIX token contract
//
// Symbol : ZIX
// Name : Zipflax
// Total Supply : 280,000,000
// Decimals : 8
// -----------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.0 <0.9.0;
import "./ICoinvestingDeFiCallee.sol";
import "./ICoinvestingDeFiFactory.sol";
import "./ICoinvestingDeFiPair.sol";
import "./IERC20.sol";
import "./Math.sol";
import "./UQ112x112.sol";
import "./CoinvestingDeFiERC20.sol";
contract CoinvestingDeFiPai... | 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.8.0;
// 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.5.0;
interface ERC20Interface {
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 spe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division ... | 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 |
/*
ASAC, using smart contracts based on Ethereum's platform, provides fast and secure transactions for both shared and group payments.
By introducing Token-ASAC , such transactions will be done in low-cost and high-speed
When using any of the ASAC Coin Co. Ltd. services you are agreeing to the following conditions ... | These are the vulnerabilities found
1) uninitialized-state with High 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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./OpCommon.sol";
import {AccountCenterInterface} from "../interfaces/IAccountCenter.sol";
contract OpClaimAaveV2StakedRewards is OpCommon {
address public immutable aaveIncentivesAddress;
address public immutable aaveStakeRewardClaimer;
c... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
contract CryptoFoxes{
function buyTicket(address _to, uint _count) public payable{}
function price(uint256 _count) public view returns (uint256... | These are the vulnerabilities found
1) arbitrary-send with High 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 |
pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b)... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ECO' Token Contract
//
// Deployed to : 0x299C9aDce8883CEb36660653BdB15293a5B0871C
// Symbol : ECO
// Name : ECO Token
// Total supply: 210000000
// Decimals : 18
// -----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >=0.7.0;
import "./ERC721.sol";
import "./Ownable.sol";
import "./IMintedBeforeReveal.sol";
contract Picklz is ERC721, Ownable, IMintedBeforeReveal {
// This is the original provenance record of all Picklz in existence at the time.
string public constant ORIGINAL_PROVENANCE = "";
// Time... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
// Developed by itxToledo
pragma solidity 0.8.11;
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @notice Represents CriptoMentor Smart Contract
*/
contract INFTERC721 {
/**
* @dev ERC-721 INTERFACE
*/
function ownerOf(uint256 tokenId) public view virtua... | No vulnerabilities found |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity 0.7.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/upgradeability/Proxy.sol
pragma solidity 0.4.24;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
contract Proxy {
/**
* @dev Tells the address of the implementation where every call will be delegated.
* @return address of the imple... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
/**
*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 |
/*
https://t.me/BabyChurchDao
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/*
* ZETHR PRESENTS: SLOTS
*
* Written August 2018 by the Zethr team for zethr.game.
*
* Code framework written by Norsefire.
* EV calculations written by TropicalRogue.
* Audit and edits written by Klob.
* Multiroll framework written by Etherguy.
*
* Rolling Odds:
* 49.31% Lose / 50.69% Wi... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) reentrancy-no-eth with Medium impact
4) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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 functions.
*
* By default, the owner account will be... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability war... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*
*
________ ________ __ ________ __
/ | / | / | ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'YFIA' 'YFIA' Smart Contract
//
// Symbol : YFIA
// Name : YFIA
// Total supply: 35,000,000
// Decimals : 8
//
//
//
//The MIT Licence.
// ---------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
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);
}
l... | No vulnerabilities found |
//SPDX-License-Identifier: UNLICENSED
pragma experimental ABIEncoderV2;
pragma solidity >=0.7.0 <0.9.0;
interface IERC20 {
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
event Transfer(address indexed from, address indexed to, uint256 value);
... | These are the vulnerabilities found
1) msg-value-loop with High impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'SUSW' 'SUSWITZ' Smart Contract
//
// Symbol : SUSW
// Name : SUSWITZ
// Total supply: 777,777,777
// Decimals : 10
//
//
//
//The MIT Licence.
// -------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221552' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221552
// Name : ADZbuzz Conserve-energy-future.com Community Token
// Total supply: 2000000
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.7.0;
pragma abicoder v2;
contract DeadPool {
/* Types */
enum eventStatus{open, finished, closed}
enum bidStatus{open, closed}
struct bid {
uint id;
uint256 name;
address[] whoBet;
uint amountReceived;
... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) divide-before-multiply with Medium impact
3) msg-value-loop with High impact
4) reentrancy-no-eth with Medium impact |
pragma solidity ^0.5.0;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
contract Proxy {
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
* This function will return whatever the implementation call returns... | 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
// File public/contracts/base/interface/uniswap/IUniswapV2Router01.sol
pragma solidity >=0.5.0;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
contract codex {
string constant index = "Spells";
string constant class = "Wizard";
string constant school = "Necromancy";
uint constant level = 0;
function disrupt_undead() external pure returns (
string memory name,
bool... | No vulnerabilities found |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract foot {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 0;
// 18 decimals is the strong... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import "./Ecocelium_Initializer.sol";
/*
███████╗░█████╗░░█████╗░░█████╗░███████╗██╗░░░░░██╗██╗░░░██╗███╗░░░███╗
██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝██║░░░░░██║██║░░░██║████╗░████║
█████╗░░██║░░╚═╝██║░░██║██║░░╚═╝█████╗░░██║... | 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) erc20-interface with Medium impact
5) arbitrary-send with High impact
6) incorrect-equality with Medium impact
7) reentrancy-eth with High impact
8)... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RapidChain' token contract
//
// Deployed to :
// Symbol : RDC
// Name : Name
// Total supply: 3000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
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... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contract... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FujiDoge' token contract
//
// Deployed to : 0xb36Ff93dC13113985Eb1Bc4f882f17Fa0Ef3d8D8
// Symbol : FDOGE
// Name : FujiDoge
// Total supply: 1000000000000000
// Decimals : 18
//
//Micro low cap.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT121860' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT121860
// Name : ADZbuzz Espnfc.com Community Token
// Total s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SimpleMultiSig {
// EIP712 Precomputed hashes:
// keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract,bytes32 salt)")
bytes32 constant EIP712DOMAINTYPE_HASH = 0xd87cd6ef79d4e2b95e15ce8abf732db51ec771f1ca2edccf22a46c729ac56472;
// kekkac256("S... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicense
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 w... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DURIANX' token contract
//
// Deployed to : 0x33b1335d677d73cd9691648ef6837f5ca95df4fa
// Symbol : DURN
// Name : DURIANX
// Total supply: 900000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mor... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acceptOwnership() public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/* Description:
* DFO Hub - Utilities - Get Metadata Link
* The metadata located at this link contains all info about the DFO like name, short description, discussion link and many other info.
*/
/* Update:
* Setting metadata link to ipfs://ipfs/QmaPpa1omFTrD9Erv3Yze8kN9aXDTYBw8yBwbDxU5vTpYw
*/
pragma solidity ^0.... | No vulnerabilities found |
// 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;
return msg.data;
}
}
interf... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT222334' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT222334
// Name : ADZbuzz Thekitchn.com Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
contract DateCSGirl {
address public owner;
mapping (address => uint) public dateabilityBalance;
// When 'DateCSGirl' contract is deployed:
// 1. set the deploying address as the owner of the contract
// 2. set the deployed smart contract's... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.25;
contract trusteth{
mapping (address => uint256) invested;
mapping (address => uint256) dateInvest;
uint constant public FEE = 4;
uint constant public ADMIN_FEE = 4;
address private adminAddr;
constructor() public{
adminAddr = msg.sender;
}
function... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract TrusdCoin is ERC20, Ownable {
constructor() ERC20("TrusdToken", "TUSD") {
}
event MintTRUSDFinished(address account, uint256 amoun... | No vulnerabilities found |
pragma solidity ^0.6.0;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning wit... | No vulnerabilities found |
/*
███████████ ████ █████████ ██████████
░░███░░░░░███ ░░███ ███░░░░░███░░███░░░░░█
░███ ░███ ░███ ░███ ░░░ ░███ █ ░
░██████████ ░███ ░░█████████ ░██████
░███░░░░░███ ░███ ░░░░░░░░███ ░███░░█
░███ ░███ ░███ ███ ░███ ░███ ░ █
█████ █████ ... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CADO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : CADO
// Name : CAD_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'StuckOnStupid' token contract
//
// Deployed to : 0x1CFEfC5697A521Ed3B7a4d023c28dd33c3E74b8E
// Symbol : SOS
// Name : StuckOnStupid Token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT169778' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT169778
// Name : ADZbuzz Theverge.com Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
interface ERC20 {
function totalSupply() external view returns (uint _totalSupply);
function balanceOf(address _owner) external view returns (uint balance);
function transfer(address _to, uint _value) external returns (bool success);
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,
uint256 _waitPeriod
) public virtual;
function star... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.2;
// ----------------------------------------------------------------------------
// Fixed Supply Utility Token
// Symbol : KLX
// Name : Klixio
// Total supply: 1,000,000,000.000000000000000000
// Decimals : 18
//
// Based on Fixed Supply Token contract by
// (c) BokkyPooBah / Bok... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// based on https://github.com/OpenZeppelin/openzeppelin-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 pure re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BLDCN
// Name : bld Coin
// Total supply : 1 000 000 00
// Decimals : 2
// Owner Account : 0xE61A60deD4D623e9Fd81a15E1465E81452E8d213
//
// Enjoy.
//
//... | 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.