input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/*
Note:
This is a PROXY contract, it defers requests to its underlying TARGET contract.
Always use this address in your applications and never the TARGET as it is liable to change.
*//*
____ __ __ __ _
/ __/__ __ ___ / /_ / / ___ / /_ (_)__ __
_\ \ / // // _ \/ __// _ \/ -_)/ __// / ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221847' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221847
// Name : ADZbuzz Marketingland.com Community Token
// ... | 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, uint value) internal {
// bytes4(keccak256(bytes(... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'TornadoChain' token contract
//
// Deployed to : 0xa735d6693D507C57B7383a4CeBa6fB43583DdEE9
// Symbol : TRN
// Name : TornadoChain
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221797' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221797
// Name : ADZbuzz Moz.com Community Token
// Total supp... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-21
*/
/**
*Submitted for verification at Etherscan.io on 2021-03-29
*/
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and ms... | No vulnerabilities found |
pragma solidity ^0.4.18;
/**
* @title Owned contract with safe ownership pass.
*
* Note: all the non constant functions return false instead of throwing in case if state change
* didn't happen yet.
*/
contract Owned {
/**
* Contract owner address
*/
address public contractOwner;
/**
* ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
i... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity =0.5.16;
import './IUniswapV2Pair.sol';
import './UniswapV2ERC20.sol';
import './Math.sol';
import './UQ112x112.sol';
import './IERC20.sol';
import './IUniswapV2Factory.sol';
import './IUniswapV2Callee.sol';
contract UniswapV2Pair is IUniswapV2Pair, UniswapV2ERC20 {
using SafeMath for uint;
u... | 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.20;
/**
* @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);
... | No vulnerabilities found |
// 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.da... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity =0.6.12;
//import './IFeSwapERC20.sol';
interface IFeSwapERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string ... | 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 r... | No vulnerabilities found |
pragma solidity ^0.4.23;
/**
* A yearn.finance pegged base-money that is
* adaptive, transparent, and community-driven.
*
* $$\ $$\ $$$$$$$$\ $$$$$$\
* \$$\ $$ |$$ _____|\_$$ _|
* $$$$$$\\$$\ $$ / $$ | $$ |
* $$ __$$\\$$$$ / $$$$$\ $$ |
* $$ / $$ ... | No vulnerabilities found |
pragma solidity ^0.5.2;
/**
* @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) internal pure returns (uint256) {
// Gas optimization: this is chea... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: ISC
/**
* By using this software, you understand, acknowledge and accept that Tetu
* and/or the underlying software are provided โas isโ and โas availableโ
* basis and without warranties or representations of any kind either expressed
* or implied. Any use of this open source software releas... | No vulnerabilities found |
pragma solidity ^0.4.23;
/**
* @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 OwnershipRenounced(address indexed previousOwner);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FWF' token contract
//
// Deployed to : 0xd821C73d82E6221655637361949AE2f88aCE3Ba7
// Symbol : FWF
// Name : Fresh Water Flow
// Total supply: 1500000000000000000
// Decimals : 6
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface AccountCenterInterface {
function owner() external view returns (address);
}
contract ProtocolCenter {
address public accountCenter;
mapping(string => address) public protocols;
modifier onlyOwner() {
require(accountCenter !=... | No vulnerabilities found |
pragma solidity ^0.5.17;
/*
http://t.me/uptence
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM... | 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'XMP' 'XMP' token contract
//
// Symbol : XMP
// Name : XMP
// Total supply: 1,200,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// --------------------------------------------------... | 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 c) {
if (a == 0) {
return 0;
}
c = a * b;
require(c / a == b);
return c;
}
... | These are the vulnerabilities found
1) controlled-array-length with High impact
2) erc20-interface with Medium impact
3) constant-function-asm with Medium impact
4) uninitialized-local with Medium impact
5) locked-ether with Medium impact |
pragma solidity 0.4.21;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
c = a * b;
require(a == 0 || c / a == b);
}
function div(uint256 a, uint256 b) internal pure returns (uint256 c) {
require(b > 0... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238210' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238210
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) controlled-array-length with High impact
3) erc20-interface with Medium impact
4) uninitialized-local with Medium impact
5) unchecked-transfer with High impact
6) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
funct... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
https://charizard.farm
Telegram group: t.me/charizardfarm
Twitter: @CharizardFarm
Inspired from MNNF, ROT and SUSHI
."-,.__
`. `. ,
.--' .._,'"-' `.
. .' `'
`. / ,'
` '--. ,-"'
`"... | No vulnerabilities found |
// File: contracts/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
event LiquidityProviderRegistered(address indexed lpAddress);
event LiquidityProviderRemoved(address indexed lpA... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
pragma experimental ABIEncoderV2;
abstract contract IManager {
function last(address) virtual public returns (uint);
function cdpCan(address, uint, address) virtual public view returns (uint);
function ilks(uint) virtual public view returns (b... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.5.17;
library SafeMath
{
function add(uint256 a, uint256 b) internal pure returns (uint256)
{
uint256 c = a + b;
assert(c >= a);
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256)
{
assert(b <= a);
return a - b;
}
}
contract Variable
{
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: NONE
pragma solidity ^0.8.0;
import "./OpenzeppelinERC721_.sol";
contract iconeeFactory {
address iconeeOfficialAddress = msg.sender;
mapping(address => uint256) copyrightHolderIdMap;
mapping(address => uint256) copyrightHolderIdSupply;
mapping(address => uint256) copyrig... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) msg-value-loop with High impact
3) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-22
*/
pragma solidity ^0.7.1;
// SPDX-License-Identifier: MIT
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint25... | No vulnerabilities found |
// File: contracts\open-zeppelin-contracts\token\ERC20\IERC20.sol
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 existe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
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 returns (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : MXTX
// Name : Maxtradex Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// -----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
interface SSSInterface {
function ownerOf(uint256 tokenId) external view returns (address owner);
}
interface ArtifactsInterface {
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev These functions deal with verification of Merkle trees (hash trees),
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, co... | No vulnerabilities found |
pragma solidity 0.4.20;
// ----------------------------------------------------------------------------
// 'VIOLET' 'VIOLET Token' token contract
//
// Symbol : VAI
// Name : VIOLET
// Total supply: 250,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) Viola.AI Tech Pte Ltd 2018. The MI... | No vulnerabilities found |
pragma solidity ^0.4.21;
/** ----------------------------------------------------------------------------------------------
* ZJLTTokenVault by ZJLT Distributed Factoring Network Limited.
* An ERC20 standard
*
* author: ZJLT Distributed Factoring Network Team
*/
/**
* @title SafeMath
* @dev Math operations with... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'KUIS' 'KUIS' token contract
//
// Symbol : KUIS
// Name : KUIS
// Total supply: 950,000,000.00000000
// Decimals : 8
//
// Enjoy.
//
// -----------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity =0.6.12;
import './IDeliciouswapFactory.sol';
import './DeliciouswapPair.sol';
contract DeliciouswapFactory is IDeliciouswapFactory {
address public override feeTo;
address public override feeToSetter;
mapping(address => mapping(address => address)) pu... | 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) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021
pragma solidity 0.6.12;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
abstract contract Proxy {
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
* This f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at BscScan.com on 2021-02-26
*/
/**
#PIG
#LIQ+#RFI+#SHIB+#DOGE, combine together to #PIG
I make this #PIG to hand over it to the community.
Create the community by yourself if you are interested.
I suggest a telegram group name for you to create: https://t.m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: interfaces/ITwapOraclePriceFeedFactory.sol
pragma solidity 0.8.0;
interface ITwapOraclePriceFeedFactory {
function twapOraclePriceFeedList(address _pair) external view returns (address);
function getTwapOraclePriceFeed(address _token0, address _token1) external view returns (address twapOraclePrice... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact |
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) internal pure returns (uint256) {
// Gas optimization: this is che... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.8;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeSub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a);
return a - b;
}
function safeAdd(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
/// math.sol -- mixin for inline numerical wizardry
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This progra... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'USDO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : USDO
// Name : USD_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(... | No vulnerabilities found |
/*
file: BTCR.sol
ver: 0.0.1_deploy
author: OnRamp Technologies Pty Ltd
date: 18-Sep-2018
email: support@onramp.tech
Licence
-------
(c) 2018 OnRamp Technologies Pty Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (So... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
https://zethr.io https://zethr.io https://zethr.io https://zethr.io https://zethr.io
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโโโ โโโโโโ โโโ โโโโโโโโโโ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) uninitialized-local with Medium impact
3) reentrancy-eth with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EMJACTest' token contract
//
// Deployed to : 0xf7d58Ed54556B8b4522BeCC4EA161D4A3DC9f6EF
// Symbol : EMJACTest
// Name : EMJACTestToken
// Total supply: 2500000000000
// Decimals : 4
//
// Enjoy.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
๐WWW: www.contratoken.art
๐ฌTELEGRAM: https://t.me/ContraToken
๐งTWITTER: https://twitter.com/ContraToken
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.3;
import "./ERC20.sol";
import "./Address.sol";
contract ContraToken is ERC20 {
mapping(address => uint256) private _blockNumberByAddress;
... | No vulnerabilities found |
pragma solidity ^0.4.21;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// "SPDX-License-Identifier: GPL-3.0-or-later"
pragma solidity 0.7.6;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/cont... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.15;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet {
/*
* Events
*/
event Confirmation(address indexed sender, uint indexed transactionId);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
interface IEFMetadataSubContract {
function uri(uint256 id) external view returns (string ... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity 0.6.7;
abstract contract DSValueLike {
function getResultWithValidity() virtual external view returns (uint256, bool);
}
abstract contract FSMWrapperLike {
function renumerateCaller(address) virtual external;
}
contract OSM {
// --- Auth ---
mapping (address => uint) public authorizedA... | 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.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.11;
import './Address.sol';
import './Strings.sol';
import './ERC165.sol';
import './IERC1155.sol';
import './IERC1155MetadataURI.sol';
import './IERC1155Receiver.sol';
import './IERC721Metadata.sol';
import './Ownable.sol';
import './IERC2981.sol';
import './ba... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-shift 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.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 |
pragma solidity ^0.4.20;
/**
* ไฝฟ็จๅฎๅ
จ่ฎก็ฎๆณ่ฟ่กๅ ๅไน้ค่ฟ็ฎ
* @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)
{
... | No vulnerabilities found |
/// SPDX-License-Identifier: MIT
/*
โโโ โ โโ โโโโโ โโ
โโ โ โ โ โ โโ โโ
โโ โโ โ โโโโ โโโโ โโ
โโ โ โ โ โ โ โ โ โโ
โ โ โ โ โ โ โ
โ โโ โ โ
โ */
/// ๐ฆ๐พ Special thanks to Keno / Boring / Gonpachi / Karbon for review and continued inspiration.
pragma solidi... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unused-return with Medium impact
3) delegatecall-loop with High impact
4) arbitrary-send with High impact |
// zero tax coin, dont get burned
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 totalS... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
library Date {
struct _Date {
uint16 year;
uint8 month;
uint8 day;
}
uint constant DAY_IN_SECONDS = 86400;
uint constant YEAR_IN_SECONDS = 31536000;
uint constant LEAP_YEAR_IN_SECONDS = 31622400;
uint16 constant... | 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) uninitialized-local with Medium impact
5) weak-prng with High impact |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.22;
contract Game35 {
struct GameInfo {
uint funderNum;
mapping(uint => address) funder;
mapping(uint => address) winner;
}
GameInfo[] public games;
uint public gameNum = 0;
mapping(address => uint) public lastGame;
mapping(address => uint) public funderBalance;
mapping(address =>... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'StarshipInu' token contract
//
// Deployed to : 0xA37894698979F943f326C3598bf448A4E71fC03A
// Symbol : SSINU
// Name : StarshipInu
// Total supply: 1000000000000000
// Decimals : 18
// Micro low ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
contract Ownable {
address public owner;
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
if (newOwner != addre... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-send with Medium impact
3) arbitrary-send with High impact
4) incorrect-equality with Medium impact
5) reentrancy-eth with High impact |
pragma solidity ^0.4.16;
// ----------------------------------------------------------------------------
// contract WhiteListAccess
// ----------------------------------------------------------------------------
contract WhiteListAccess {
function WhiteListAccess() public {
owner = msg.sender;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.21;
/**
* @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) locked-ether with Medium impact |
/// Luxury rap, the Hermรฉs of verses
/// Sophisticated ignorance, write my curses in cursive
/// I get it custom, you a customer
/// You ain't accustomed to going through customs, you ain't been nowhere, huh?
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.11;
import "./Exchange.sol";
import "@rari-capital/s... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
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 of tokens owned by `account`.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Copyright (C) 2020 Zerion Inc. <https://zerion.io>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This ... | No vulnerabilities found |
pragma solidity ^0.4.23;
/**
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโโโ โโโโโโ โโโ โโโโโโโโโโโโโโโโ
โโโโโ โโโโโโ โโโ โโโ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-send with Medium impact |
pragma solidity ^0.4.23;
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) {
uint256 c = a / b;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view r... | No vulnerabilities found |
pragma solidity ^0.4.12;
//import "./ConvertLib.sol";
contract CryptoStars {
address owner;
string public standard = "STRZ";
string public name;
string public symbol;
uint8 public decimals; //Zero for this type of token
uint256 public totalS... | These are the vulnerabilities found
1) unchecked-send 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.4.18;
// ----------------------------------------------------------------------------
// 'DURIANFX' token contract
//
// Deployed to :0x33b1335d677d73cd9691648ef6837f5ca95df4fa
// Symbol : DURIANFX
// Name : DURIANFX
// Total supply: 850000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BTCLe' token contract
//
// Deployed to : 0xc00619AaE8dFc4078Ec1de4C8c53666EDf29ab78
// Symbol : BTCLe
// Name : BitcoinLegendToken
// Total supply: 10000000000
// Decimals : 18
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external view returns (string memory);
function symbol() external... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ElChapoDoge' token contract
//
// Deployed to : 0x0C7Fcaf3FD9734CAf3cAb9F9c400b9F9d1408bcE
// Symbol : CHAPODOG
// Name : ElChapoDoge
// Total supply: 1000000000000000
// Decimals : 18
//
// ElCh... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract ACN {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
pragma experimental ABIEncoderV2;
interface IBoostedVaultWithLockup {
function rawBalanceOf(address) external view returns (uint256);
// @dev Stakes a given amount of the StakingToken for the sender
// @param _amount Units of StakingToken... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Qtum' token contract
//
// Deployed to : 0x27b705500AEC0b8b7D186a25c8Ae88A3BE3fd840
// Symbol : Qtum
// Name : Qtum Token
// Total supply: 100000000
// Decimals : 18
//
//
//
//
// ------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// copyright vFloorplan Ltd 2018
/**
* @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) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) write-after-write with Medium impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : HRMBE
// Name : Harambe
// Total supply : 2 ** 256 - 1
// Decimals : 0
// Owner Account : 0x8026c1C4A0B767F7aD31cF558264b7cDB9C330fc
// ----------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a / b;
return c;
}
function sub(... | These are the vulnerabilities found
1) tautology with Medium impact
2) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/math/MathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradea... | 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.4.4;
contract Token {
function totalSupply() constant returns (uint256 supply) {}
function balanceOf(address _owner) constant returns (uint256 balance) {}
function transfer(address _to, uint256 _value) returns (bool success) {}
function transferFrom(address _from, address _to, ui... | No vulnerabilities found |
pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BCS' 'Business Credit Substitute' ERC-20 token contract
//
// Symbol : BCS
// Name : Business Credit Substitute
// Total supply: 68,000,000.000000000000000000
// Decimals : 18
//
// -------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.16;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external view ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-10-08
*/
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; // si... | 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.