input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2019-03-16
*/
pragma solidity ^0.4.19;
contract owned {
address public owner;
function owned() public{
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(addres... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
// Sources flattened with hardhat v2.6.8 https://hardhat.org
// File contracts/IERC165.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
Fully commented standard ERC721 Distilled from OpenZeppelin Docs
Base for Building ERC721 by Martin McConnell
All the utility without the fluff.
*/
inte... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;
import {BeaconStorage} from "../../lib/upgradable/BeaconStorage.sol";
import {IBeacon} from "../../lib/upgradable/interface/IBeacon.sol";
import {Governable} from "../../lib/Governable.sol";
import {MirrorTokenStorage} from "./MirrorTokenStorage.sol";... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity 0.7.3;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
/**
* @title bloXmove Cliffing and Vesting Contract.
*/
contract BloXmoveVesting is Ownable {
us... | 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.4.26;
library SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b > 0);
uint256 c = a / b;
ass... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.20;
contract Poppins {
/*=================================
= MODIFIERS =
=================================*/
/// @dev Only people with tokens
modifier onlyBagholders {
require(myTokens() > 0);
_;
}
/// @dev Only people with pro... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
// SPDX-License-Identifier: GPLv3
pragma solidity >=0.7.0 <0.9.0;
import './ITideBitSwapFactory.sol';
import './TransferHelper.sol';
import './ITideBitSwapRouter.sol';
import './TideBitSwapLibrary.sol';
import './SafeMath.sol';
import './IERC20.sol';
import './IWETH.sol';
contract TideBitSwapRouter is ITideBitSwapR... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-transfer with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : DLV
// Name : Dai Loi Vault Token
// Total supply : 2100000000000000
// Decimals : 8
// Owner Account : 0xf833578eef0dEFCCA333BD07c262600e21E697e0
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity =0.6.12;
import './interfaces/IUniswapV2Factory.sol';
import './UniswapV2Pair.sol';
contract UniswapV2Factory is IUniswapV2Factory {
address public override feeTo;
address public override feeToSetter;
address public override migrator;
mapping(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.23;
interface RegistryInterface {
function getLatestVersion(address stor_addr, bytes32 exec_id, address provider, bytes32 app_name)
external view returns (bytes32 latest_name);
function getVersionImplementation(address stor_addr, bytes32 exec_id, address provider, bytes32 app_name, bytes... | These are the vulnerabilities found
1) controlled-delegatecall with High impact
2) arbitrary-send with High impact
3) constant-function-asm with Medium impact
4) uninitialized-local with Medium impact
5) msg-value-loop with High impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
pragma experimental ABIEncoderV2;
abstract contract IDSProxy {
// function execute(bytes memory _code, bytes memory _data)
// public
// payable
// virtual
// returns (address, bytes32);
function execute(address _targe... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-10-07
*/
/**
*Submitted for verification at Etherscan.io on 2020-09-21
*/
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... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SPEX' 'ShareProfitEx'
//
// Symbol : SPEX
// Name : ShareProfitEx
// Total supply: 200,000,000.000000000000000000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Insurence' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : NSURE
// Name : Insur-ence
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
// CryptoRoulette
//
// Guess the number secretly stored in the blockchain and win the whole contract balance!
// A new number is randomly chosen after each try.
//
// To play, call the play() method with the guessed number (1-10). Bet price: 0.2 ether
contract CryptoRoulette {
uint256 ... | These are the vulnerabilities found
1) uninitialized-storage with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) controlled-array-length with High impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
contract GenesisSupply is VRFConsumerBase, AccessControl {
using Counters for Counters.... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.26;
/**
* @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 OwnershipTransferred(address indexed previousOwner,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ENDRoot' token contract
//
// Deployed to : 0xbE8BE6FB679f19762C8a4a0c7DBbD8C5aEe524C9
// Symbol : ENDR
// Name : END Root
// Total supply: 100000000
// Decimals : 18
//
//
//
//
// ----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.6;
contract Context {
constructor () internal { }
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
interface IER... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* Devron Kim's research purose token.
* Do not send Ether unless necessary.
**/
contract owned {
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transfer... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT883328' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT883328
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
/**
* @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;
}
uint2... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT566026' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT566026
// Name : ADZbuzz Unclutterer.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ONEPAY' token contract
//
// Symbol : ONEPAY
// Name : ONEPAY
// Total supply: 60,000,000
// Decimals : 18
// Sale Only : 30,000,000
// 50% distribute token administration for 15 years to 3 dep... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Terminu.Finance' token contract
//
// Deployed to : 0x5daC74f8323d8c5579b054D97B2C44eE366e1cd9
// Symbol : $TERM
// Name : Terminu.Finance
// Total supply: 100000000000000
// Decimals : 18
// The... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
pragma experimental ABIEncoderV2;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,
uint256 _waitPeriod
)... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at BscScan.com on 2022-02-11
*/
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "./libraries/BoringMath.sol";
import "./libraries/SignedSafeMath.sol";
import "./libraries/BoringERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
//SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;
interface IERC1155 {
function balanceOf(address _owner, uint256 _id) external view returns (uint256);
function isApprovedForAll(address _owner, address _operator) external view returns (bool);
function safeBatchTransferFrom(address _from, ... | No vulnerabilities found |
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view ret... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-01
*/
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
* queried by others ({ERC165Checke... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT167113' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT167113
// Name : ADZbuzz Nbcnews.com Community Token
// Total supply: 2000000
// Decimals :... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.25;
/**
* @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 = a * b;
assert(c / a == b);
return c;
}
functio... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.1.1 https://hardhat.org
// File contracts/token/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 ... | These are the vulnerabilities found
1) weak-prng with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity ^0.8.0;
interface IERC721 is IERC165 {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) weak-prng with High impact
3) unused-return with Medium impact
4) tautology with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount o... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply 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 ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "../libraries/ExchangeConstants.sol";
import "../libraries/LiquidVoting.sol";
import "../libraries/SafeCast.sol";
import "../utils/BalanceAccounting.sol";
import "./BaseGovernanceModule.sol";
contract ExchangeGovernance is BaseGovernanceModule, BalanceA... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238450' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238450
// Name : ADZbuzz Arstechnica.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/Base64.sol';
contract Mime is ERC721, Ownable {
using Str... | These are the vulnerabilities found
1) unused-return with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) uninitialized-local with Medium impact |
// https://nhentai.net/g/212556/
//⠄⠄⠄⢰⣧⣼⣯⠄⣸⣠⣶⣶⣦⣾⠄⠄⠄⠄⡀⠄⢀⣿⣿⠄⠄⠄⢸⡇⠄⠄
//⠄⠄⠄⣾⣿⠿⠿⠶⠿⢿⣿⣿⣿⣿⣦⣤⣄⢀⡅⢠⣾⣛⡉⠄⠄⠄⠸⢀⣿⠄
//⠄⠄⢀⡋⣡⣴⣶⣶⡀⠄⠄⠙⢿⣿⣿⣿⣿⣿⣴⣿⣿⣿⢃⣤⣄⣀⣥⣿⣿⠄
//⠄⠄⢸⣇⠻⣿⣿⣿⣧⣀⢀⣠⡌⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⣿⣿⣿⠄
//⠄⢀⢸⣿⣷⣤⣤⣤⣬⣙⣛⢿⣿⣿⣿⣿⣿⣿⡿⣿⣿⡍⠄⠄⢀⣤⣄⠉⠋⣰
//⠄⣼⣖⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣿⣿⣿⢇⣿⣿⡷⠶⠶⢿⣿⣿⠇⢀⣤
//⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⣿⣿⡇⣿⣿⣿⣿⣿⣿⣷⣶⣥⣴⣿⡗
//⢀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠄
//⢸⣿⣦⣌⣛⣻⣿⣿⣧⠙⠛⠛⡭⠅⠒⠦⠭⣭⡻⣿⣿... | 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: Apache-2.0
pragma solidity 0.8.0;
import "../libraries/Authorizable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppel... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) msg-value-loop with High impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Vidnix' token contract
//
// Deployed to : 0xb2dfc3ef88ab8cb5bb31786c457d0d8e3ee74273
// Symbol : VDX
// Name : Vidnix
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EthanolShiba' token contract
//
// Deployed to : 0x41a6917b3DE01359B75EB85de7b4a68FcE35452E
// Symbol : EOSHI
// Name : EthanolShiba
// Total supply: 1000000000000000
// Decimals : 18
//
// https... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT566070' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT566070
// Name : ADZbuzz Thoughtcatalog.com Community Token
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.6;
interface IUniswapV2Router02 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline) ex... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) unchecked-send with Medium impact |
pragma solidity ^0.4.21;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal p... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
// Sources flattened with hardhat v2.3.0 https://hardhat.org
// File contracts/token/Context.sol
pragma solidity ^0.6.12;
/*
* @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, ... | No vulnerabilities found |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'FLETA' 'Fleta Token' token contract
//
// Symbol : FLETA
// Name : Fleta Token
// Total supply: 2,000,000,000 (Same as 0x7788D759F21F53533051A9AE657fA05A1E068fc6)
// Decimals : 18
//
// Enjoy.
//
// (c) Sam J... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "./IPepper.sol";
contract EthClone {
event Clone(uint256[] nftIds);
IPepper public pepperContract;
constructor(IPepper pepperAddress) {
pepperContract = pepperAddress;
}
function clone(uint256[] calldata nftIds) external... | No vulnerabilities found |
pragma solidity ^0.6.0;
/**
* @title ConnectAuth.
* @dev Connector For Adding Authorities.
*/
interface AccountInterface {
function enable(address) external;
function disable(address) external;
}
interface EventInterface {
function emitEvent(uint _connectorType, uint _connectorID, bytes32 _eventCode, ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/***
* Shoutouts:
*
* Bytecode origin https://www.reddit.com/r/ethereum/comments/6ic49q/any_assembly_programmers_willing_to_write_a/dj5ceuw/
* Modified version of Vitalik's https://www.reddit.com/r/ethereum/comments/6c1jui/delegatecall_forwarders_how_to_save_5098_on/
* Credits to Jorge Izquierdo (@izqui) for coming up ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Just An Index 1' token contract
//
// Deployed to : 0x3b3CD641bc1Dc3246Be24a375Ae120cc05C2BC16
// Symbol : JAI-1
// Name : Just An Index 1
// Total supply: 100
// Decimals : 0
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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
* queried by others ({ERC165Checker}).
*
* For an implementation,... | 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.0;
// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))
library FixedPoint {
// range: [0, 2**112 - 1]
// resolution: 1 / 2**112
struct uq112x112 {
uint224 _x;
}
// range: [0, 2**144 - 1]
// resolution: 1 / 2**112
... | 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 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 returns... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CHOWCHOWSWAP' token contract
//
// Deployed to : 0x766BEe5EC57209333329FfeC162B2503216228bD
// Symbol : CSWAP
// Name : CHOWCHOWSWAP
// Total supply: 1000000000000
// Decimals : 18
//
// Enjoy. S... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT817137' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT817137
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.2;
contract ERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) arbitrary-send with High impact |
// DEV :x20.finance
// X20 (x20.finance) is a deflationary and gambling token
// See https://github.com/IshikawaTravis/X10 for more info
//forked from x10 with fixed bug
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* send... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.19;
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
/*
* 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Green Earth Economy' token contract
//
// Deployed to : 0xe10a6D243d1c5011861557676a80cE03041cF34D
// Symbol : HOME
// Name : We Buy Any House
// Total supply: 400000000
// Decimals : 18
//
// En... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract Owned {
address public owner;
address public signer;
function Owned() public {
owner = msg.sender;
signer = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
modifier onlySigner {
require(msg.sender == signer);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin\upgrades\contracts\Initializable.sol
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact |
pragma solidity ^0.4.13;
contract IERC20 {
function balanceOf(
address whom
)
external
view
returns (uint);
function transfer(
address _to,
uint256 _value
)
external
returns (bool);
function transferFrom(
address _from,
address _to,
... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.9 <0.8.0;
pragma abicoder v2;
import "@rarible/exchange-interfaces/contracts/ITransferProxy.sol";
import "@rarible/lazy-mint/contracts/erc-1155/LibERC1155LazyMint.sol";
import "@rarible/lazy-mint/contracts/erc-1155/IERC1155LazyMint.sol";
import "../../roles/Operat... | No vulnerabilities found |
pragma solidity ^0.4.19;
contract LotteryRecharge
{
address private contractAddress;
uint256 public nPlatCurTotalEth; // calculate all Recharges to contractAddress, unit wei
uint256 public constant nCanOpenRewardMinEth = 10 ether;
uint256 private constant leastRecharge = 0.1 ether; ... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact
3) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning with... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
/*
* Token has been generated 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 need to v... | No vulnerabilities found |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: NOLICENSE
/*
___ _____ ___ ___ ___ _____ _ _
/ __| |_ _| | _ \ | __| | __| |_ _| | || |
\__ \ | | | / | _| | _| | | | __ |
|___/ |_| |_|_\ |___| |___| |_| |_||_|
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.5.16;
pragma experimental ABIEncoderV2;
/**
_____ ____ ____ _____ ____
|___ /| _ \| __ )_ _/ ___|
|_ \| | | | _ \ | || |
___) | |_| | |_) || || |___
... | These are the vulnerabilities found
1) weak-prng with High impact
2) tautology with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2017-11-28
*/
pragma solidity ^0.4.17;
/**
* @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;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221996' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221996
// Name : ADZbuzz Contentmarketinginstitute.com Community T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Bitstraq Token contract
//
// Deployed to : 0x9652A328f3003235E57194ef7C7c0e54F60C9E6e
// Symbol : BAQ
// Name : Bitstraq Token
// Total supply: 5000000000000000000
// Decimals : 10
//
// Enjoy.
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
/**
* @title ERC-721 Non-Fungible Token Standard
* @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
contract ERC721 {
// Required methods
function totalSupply() public view returns (uint256 total);
function balanceOf(address _owner) public view returns (ui... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.21;
/**
* @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 ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.7.0;
// SPDX-License-Identifier: MIT
// https://dcash.info
// https://dcash.exchange
// https://twitter.com/deficashh
// Defi cash is a non-custodial liquidity protocol for earning interest on deposits and borrowing assets, Earn HIGH APY. Stake, Lend And Exchange.
contract Owned {
modifier o... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Potaos Bucks' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : PTB
// Name : Potaos Bucks
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BUST
// Name : Buster Coin
// Total supply : 1000000000
// Decimals : 2
// Owner Account : 0x2333c851Ed5199bd805a72A4F933a2C8F6342691
//
// Enjoy.
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (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 msg... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Starpay' token contract
//
// Deployed to : 0xF6E8124654B03377c151EBD7359b28C64c72213d
// Symbol : STP
// Name : Starpay
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// -----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
https://t.me/slaverse
*/
pragma solidity ^0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowan... | No vulnerabilities found |
/**
MOONLIGHT (MLT)
💰 Website - https://moon-light.cc/
💰 Telegram group - https://t.me/mlight_official
Token Usage
- 10% marketing, server, rewards for community members for helping
- 20% founders
- 25% liquidity pool
- 45% to burn at launch of the dead address
There is a total supply of 100 billion tokens.
**/... | No vulnerabilities found |
pragma solidity ^0.4.18;
//-------------------------------
// ( ) ) ( )
// )\ ) ( /(( /( )\ ) ( ( /(
//(()/( )\())\())(()/( )\ )\())
// /(_))((_)((_)\ /(_)|((_)((_)\
//(_)) |_ ((_)((_)(_)) )\___ _((_)
/// __|| |/ // _ \| _ ((/ __| || |
//\__ \ ' <| (_) | /| (__| __ |
//|__... | These are the vulnerabilities found
1) write-after-write with Medium impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.6.7;
/**
* @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 = a * b;
assert(c / a == b);
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.2;
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function totalSupply() ex... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.8;
import "./NFTXv5.sol";
import "./IXTokenFactory.sol";
contract NFTXv6 is NFTXv5 {
function changeTokenName(uint256 vaultId, string memory newName)
public
virtual
override
{}
function changeTokenSymbol(uint256 vaultId, string ... | 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) name-reused with High impact
5) arbitrary-send with High impact
6) unchecked-transfer with High impact
7) uninitialized-local with Medium impact
8) ... |
pragma solidity ^0.5.0;
/// @title Ownable contract - base contract with an owner
contract Ownable {
address public owner;
constructor () public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Coin Display Network Token (CDN)
//
// Deployed to : 0xd76618b352D0bFC8014Fc44BF31Bd0F947331660
// Symbol : CDN
// Name : Coin Display Network Token
// Total supply: 100000000
// Decimals : 18
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/libraries/TransferHelper.sol
pragma solidity >=0.6.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
function safeApprove(
address token,
address to,
uint256 value
) internal {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.4;
/*______/\\\\\\\\\__/\\\_______/\\\__/\\\\\\\\\\\__/\\\\\\\\\\\\\___
_____/\\\////////__\///\\\___/\\\/__\/////\\\///__\/\\\/////////\\\_
___/\\\/_____________\///\\\\\\/________\/\\\_____\/\\\_______\/\\\_
__/\\\_________________\//\\\\__________\/\... | 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;
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./GenArtAccess.sol";
import "./IGenArtPaymentSplitterV2.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
contract GenArtPaymentSplitterV2 is GenArtAccess, IGenArtPaymentSplitterV2 {
struct Payment {
address[] payees;
uint... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unchecked-transfer with High impact
3) msg-value-loop with High impact
4) arbitrary-send with High impact |
pragma solidity ^0.4.24;
interface token {
function transfer(address receiver, uint amount) external;
}
contract coreERC{
token public tInstance;
mapping(address => uint256) public balanceOf;
event LogTransfer(address sender, uint amount);
address public xdest = 0x5554a8F601673C624AA6cfa4f8510924dD... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
// 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 be accessed in such a direct
* ma... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IDealManager.sol";
import "./interfaces/IModuleBase.sol";
/**
* @title PrimeDeals Dao Deposit Manager
* @notice Smart contract to mana... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact
5) msg-value-loop with High impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.