input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.6.6;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0
/// @title The NounsToken pseudo-random seed generator
/*********************************
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ *
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ *
* ░░░░░░█████████░░█████████░░░ *
* ░░░░░░██░░░████░░██░░░████░░░ *
* ░░██████░░░████████░░░████░░░ *
* ░░██░░██░░░███... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity 0.4.23;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
as... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "./ERC20.sol";
import "./SafeMath.sol";
import "./Ownable.sol";
interface IFarmerApes {
function getUserYield(address _user) external view returns (uint256);
}
contract YieldToken is ERC20("Ape Coin", "APC"), Ownable {
using SafeMath for uint256;... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) name-reused with High impact
3) arbitrary-send with High impact
4) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) reentrancy-eth with High impact
7) weak-prng with High impact
8) unused-return with... |
// LINKPAD
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;
}
}
interface IERC20 {... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : WSB
// Name : Wall Street Bets
// Total supply : 1000000000000000000000000000
// Decimals : 18
//
// MIT Licence.
// ------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which i... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol
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 ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contract ERC20 is... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity >=0.5.0 <0.7.0;
// Ownable contract from open zepplin
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
const... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupp... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <=0.8.4;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "../interface/ITroyNFTFactory.sol";
import "../interface/IGegoRuleProxy.sol";
import "../library/Gover... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT816236' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT816236
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract DEMS {
event SendMessage(bytes iv, bytes epk, bytes ct, bytes mac, address sender);
function sendMessage(bytes iv, bytes epk, bytes ct, bytes mac) external {
SendMessage(iv, epk, ct, mac, msg.sender);
}
} | No vulnerabilities found |
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./IYieldOraclelizable.sol";
import "./IYieldOracle.sol";
// a modified version of https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleSlidin... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact |
/*
https://t.me/reflectooor
https://twitter.com/reflectooor
*/
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external ret... | No vulnerabilities found |
// proxy.sol - execute actions atomically through the proxy's identity
// Copyright (C) 2017 DappHub, LLC
// 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, o... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
//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;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : GRUMPYCAT
// Name : GRUMPYCAT COIN
// Total supply : 1000000000000000
// Decimals : 5
// Owner Account : 0x35DAb10C044b90bDae6C418FC40f0E35db06E6ed
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >0.4.99 <0.6.0;
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, uin... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.26;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//██████╗ █████╗ ██╗ █████╗ ██████╗ ██╗███╗ ██╗
//██╔══██╗██╔══██╗██║ ██╔══██╗██╔══██╗██║████╗ ██║
//██████╔╝███████║██║ ███████║██║ ██║██║██╔██╗ ██║
//██╔═══╝ ██╔══██║██║ ██╔══██║██║ ██║██║██║╚██╗██║
//██║ ██║ ██║███████╗██║ ██║██████╔╝██║██║ ╚████║
//╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════... | No vulnerabilities found |
pragma solidity ^0.6.4;
contract brightIDsponsor {
event Sponsor(address);
// sponsor any address that attempts to call a function other than sponsor() in this contract.
fallback() external payable {
sponsor(msg.sender);
}
// sponsor any address that sends a transaction to this contract.
receive() external ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.13;
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 o... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SEXYCOIN' token contract
//
// Deployed to : 0xd49c994b658ee5e687e7b96b50cc5cf0fd623bfa
// Symbol : SXY
// Name : SEXYCOIN
// Total supply: 69000000
// Decimals : 18
//
//
// --------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
* DO NOT EDIT! DO NOT EDIT! DO NOT EDIT!
*
* This is an automatically generated file. It will be overwritten.
*
* For the original source see
* '/Users/ragolta/ETH/swaldman/helloworld/src/main/solidity/helloworld.sol'
*/
pragma solidity ^0.4.18;
contract HelloWorld{
string input = "Hello world.";... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Energy27' token contract
//
// Deployed to : 0x9ee7b4B6405C2DE116C4a7DF266a224Fa8E7757a
// Symbol : TWS
// Name : Energy27 Token
// Total supply: 27272727200000000
// Decimals : 8
//
// ---------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
/**
* GRP TOKEN Contract
* ERC-20 Token Standard Compliant
* @author Fares A. Akel C. f.antonio.akel@gmail.com
*/
/**
* @title SafeMath by OpenZeppelin
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function sub(uint256 a, uint256 b) internal pure retur... | 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.4.18;
// ----------------------------------------------------------------------------
// 'ACT238451' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238451
// Name : ADZbuzz Appleinsider.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >=0.4.21 <0.6.0;
//
interface ERC20 {
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function transferFrom(address f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: BUSL-1.1
// Gearbox Protocol. Generalized leverage for DeFi protocols
// (c) Gearbox Holdings, 2021
pragma solidity ^0.7.4;
import {Errors} from "../libraries/helpers/Errors.sol";
import {ACLTrait} from "./ACLTrait.sol";
/// @title Pools & Contract managers registry
/// @notice Keeps pool... | No vulnerabilities found |
pragma solidity ^0.5.15;
pragma experimental ABIEncoderV2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) unchecked-lowlevel with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.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,... | No vulnerabilities found |
// ----------------------------------------------------------------------------
// 'WineSpiritCoin' token contract
//
// Deployed to : 0x0A4Eeec02eFAAF3964E0655DFF97b4f809240f9c
// Symbol : WSC
// Name : Wine Spirit Coin
// Total supply: 100000000
// Decimals : 18
//
//
// (c) Wine Spirit Coin
// ----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Refundable.sol";
contract BatchTransfer is Refundable {
using SafeERC20 for IERC20;
event SetVIP(address indexed vip, uint256 discount);
uint256 private _baseFee;
uint256 private _unitFee;
uint256 private _refBonus;
map... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
pragma solidity ^0.4.21;
/**
*
*
*
* ATTENTION!
*
* HALO3D token machine!
*/
contract ERC20Interface {
function transfer(address to, uint256 tokens) public returns (bool success);
}
contract Halo3D {
function buy(address) public payable returns(uint256);
function transfer(address, uint256) publi... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity >=0.4.21 <0.6.0;
interface ERC20 {
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function transferFrom(address fro... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT222289' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT222289
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT883322' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT883322
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// Amended by HashLips
/**
!Disclaimer!
These contracts have been used to create tutorials,
and was created for the purpose to teach people
how to create smart contracts on the blockchain.
please review this code on your own before using any of
the following code... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'KOINCONEKT' token contract
//
// Deployed to : 0x2892774C7D9eC77c881cd8829E4ED5c6A49c7e41
// Symbol : KCK
// Name : KOINCONEKT
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function t... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'STAT' token contract
//
// Deployed to : 0x6f62957735b4AA2354fC3e37Aa3a3Df836E2AE55
// Symbol : STAT
// Name : STAT
// Total supply: 10000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
interface token {
function transfer(address receiver, uint amount) external;
}
contract Crowdsale {
uint256 public price;
token public tokenReward;
address owner;
uint256 public amount;
modifier onlyCreator() {
require(msg.sender == owner); // If it is incor... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact
3) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
contract DSMath {
function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x + y) >= x, "");
}
function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
... | No vulnerabilities found |
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
abstract contract WETH9 is ERC20 {
function deposit() public payable virtual;
}
abstract contract RootChainManager {
function depositFor... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// File: contracts/CCLToken.sol
// modified from Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017.
// The MIT Licence.
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(u... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT469992' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT469992
// Name : ADZbuzz Dpreview.com Community Token
// Total... | 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.5.0;
// ----------------------------------------------------------------------------
// 'LGMH' 'LGMH Token' Smart Contract
//
// Symbol : LGMH
// Name : LGMH Token
// Total supply: 200,000,000
// Decimals : 18
//
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2021. The MIT Licence... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ethereumhorse' token contract
//
// Deployed to : 0x9e02FB21242768a1e5aBE18Ecc4951113575cEC0
// Symbol : ets
// Name : ethereumhorse
// Total supply: 170000000
// Decimals : 6
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.23;
// File: contracts/commons/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract GreatsWrapper is Ownab... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) weak-prng with High impact
3) reentrancy-no-eth with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
//
// https://t.me/moonwolvefinance
//
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`.
... | No vulnerabilities found |
// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupp... | These are the vulnerabilities found
1) controlled-delegatecall with High impact
2) delegatecall-loop with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221190' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221190
// Name : ADZbuzz Chocolatecoveredkatie.com Community Token... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'MORG' token contract
//
// Deployed to : 0x84fD2ea211cEb56811F9aa51856778AC6B91c872
// Symbol : MORG
// Name : MORGENSHTERN
// Total supply: 666666
// Decimals : 18
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DBD' token contract
//
// Deployed to : 0x517b22D299524fe0DDBbc32Cc28C385c732990B3
// Symbol : DBD
// Name : Day By Day Token
// Total supply: 800,000,000
// Decimals : 18
// --------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TicTokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 8;
// 18 decimals is... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238333' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238333
// Name : ADZbuzz Androidheadlines.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
👽 Alien Inu is heaviest coin on the market!!!
📡 We receive an unknown signal, from which civilization does it come?
🔥 We'll find out in the course of this adventure ! Aliens are invading us ! Every transaction 10% of the supply is burned ! 🔥
🔥 Alien Inu will become a... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RGN' 'Regen Coin'
//
// Symbol : RGN
// Name : Regen Coin
// Total supply: 100,000,000.000000000000000000
// Decimals : 18
//
// Contract Developed by Rana Islam islamrao09@gmail.com.
//
// (c) B... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.8.2 https://hardhat.org
// File @openzeppelin/contracts/math/SafeMath.sol@v3.4.2
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.8.10;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this;
return msg.data;
}
}
interface IERC20 {
event Transfer(addres... | 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.8.4;
contract CoFiXUpdate {
// COFI Token地址
address constant COFI_TOKEN_ADDRESS = 0x1a23a6BfBAdB59fa563008c0fB7cf96dfCF34Ea1;
// USDT Token地址
address constant USDT_TOKEN_ADDRESS = 0xdAC17F958D2ee523a2206206994597C13D831ec7;
// HBTC Token地址
address constant HBTC_TOKEN_ADDRESS ... | No vulnerabilities found |
pragma solidity ^0.4.20;
// ----------------------------------------------------------------------------
// STP token contract
//
// Symbol : STP
// Name : BitGoals
// Total Supply : 18,000,000
// Decimals : 18
// ----------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.21;
// ----------------------------------------------------------------------------
// Owned contract
// ----------------------------------------------------------------------------
contract Ownable {
address public owner;
address public newOwner;
event OwnershipTransferred(address ind... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) constant-function-asm with Medium impact
3) uninitialized-local with Medium impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
/**
SPDX-License-Identifier: MIT
████─█──█─█─█─████──███─███────███─█──█─█─█
█──█─██─█─█─█─█──██──█──█───────█──██─█─█─█
████─█─██─█─█─████───█──███─────█──█─██─█─█
█──█─█──█─█─█─█──██──█────█─────█──█──█─█─█
█──█─█──█─███─████──███─███────███─█──█... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/math/SafeMath.sol
// SPDX-License-Identifier: MIT
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... | No vulnerabilities found |
// SPDX-FileCopyrightText: 2021 ShardLabs
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
import "@openzeppelin/contracts/proxy/Proxy.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IValidatorProxy.sol";
/// @title ValidatorProxy
/// @author 2021 ShardLabs.
/// @notice The v... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// DCA smart contract
//
// Deployed to : 0xb9046fedDEb3D22dC8Eb891ac9e33ED81c86f5F9
// Symbol : DC
// Name : Decentralize Currency Assets
// Total supply: 7980000000
// Decimals : 18
//
// Enjoy.
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PaylessMinisplit' token contract
//
// Deployed to : 0x6A1aaF0FB4126e58cD4D6c838537A2E4Afcd3026
// Symbol : PAYSPLIT
// Name : Payless Mini Split
// Total supply: 100000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// ERC20Interface - Standard ERC20 Interface Definition
// Enuma Blockchain Platform
//
// Copyright (c) 2017 Enuma Technologies Limited.
// https://www.enuma.io/
// ------------------------------------------------... | No vulnerabilities found |
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.7;
import "./ERC20.sol";
import "./ERC721.sol";
// ___ _ _ ___
// | __| |_| |_ ___ _ _ / _ \ _ _ __ ___
// | _|| _| ' \/ -_) '_| | (_) | '_/ _(_-<
// |___|\__|_||_\___|_| \___/|_| \__/__/
//
interface MetadataHandlerL... | 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) incorrect-equality with Medium impact |
pragma solidity 0.5.17;
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal v... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
// Abstract contract for the full ERC 20 Token standard
//@ create by m-chain jerry
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);
... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has ... | No vulnerabilities found |
pragma solidity ^0.4.16;
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 bala... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
library IterableMapping {
// Iterable mapping from address to uint;
struct Map {
address[] keys;
mapping(address => uint) values;
mapping(address => uint) indexOf;
mapping(address => bool) inserted;
}
function get(... | No vulnerabilities found |
pragma solidity =0.6.6;
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) exter... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local 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) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally a... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) controlled-delegatecall with High impact
3) delegatecall-loop with High impact
4) arbitrary-send with High impact |
pragma solidity ^0.5.16;
import "./CTokenInterfaces.sol";
import "./ComptrollerStorage.sol";
/**
* @title Compound's CErc20Delegator Contract
* @notice CTokens which wrap an EIP-20 underlying and delegate to an implementation
* @author Compound
*/
contract CErc20Delegator is CDelegationStorage {
/**
* @n... | 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) boolean-cst with Medium impact
5) mapping-deletion with Medium impact
6) controlled-delegatecall with High impact
7) erc20-interface with Medium impa... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Bazhanov' token contract
//
// Deployed to : 0x2678dFDa101D138888e96e6241Fa9e951ae916c1
// Symbol : BAZ
// Name : NB token
// Total supply: 10
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz Net... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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 |
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;
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) locked-ether with Medium impact |
pragma solidity ^0.4.16;
/*
* Abstract Token Smart Contract. Copyright © 2017 by ABDK Consulting.
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com>
*/
pragma solidity ^0.4.20;
/*
* EIP-20 Standard Token Smart Contract Interface.
* Copyright © 2016–2018 by ABDK Consulting.
* Author: Mikhail Vladimirov... | No vulnerabilities found |
// _ _ __ __ _____ _ _ _
// | | | | | \/ | / ____| | | (_)
// | | __ _ ___| |_ | \ / | __ _ _ __ | (___ | |_ __ _ _ __ __| |_ _ __ __ _
// | | / _` / __| __| | |\/| |/ _` | '_ \ \__... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
// </ORACLIZE_API>
// Minimal required STAKE token interface
contract StakeToken
{
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
function balanceOf(addres... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) controlled-array-length with High impact
4) incorrect-equality with Medium impact
5) unchecked-transfer with High impact
6) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-09-09
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.8.0;
// File: @openzeppelin/contracts/GSN/Context.sol
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) shadowing-state with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Linework token contract
//
// Symbol : LWC
// Name : Linework Coin Token
// Total supply : 21000000
// Decimals : 8
// Owner Account : 0x853bCF61bA4c4d31781f9981caa6A036ADC4142E
//
// Enjoy... | 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;
}
function... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BitArb' token contract
//
// Deployed to : 0xf18427432A91C83Ea7eA027CdB6559867b193dF8
// Symbol : BRB
// Name : BitArb Token
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
// (c) by M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.2;
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 ... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.