input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// 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.21;
contract Etherwow{
function userRollDice(uint, address) payable {uint;address;}
}
/**
* @title FixBet16
* @dev fix bet num = 16, bet size = 0.5 eth.
*/
contract FixBet16{
modifier onlyOwner{
require(msg.sender == owner);
_;
}
address public owner;... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/interface/IXPool.sol
pragma solidity 0.5.17;
interface IXPool {
// XPToken
event Approval(address indexed src, address indexed dst, uint256 amt);
event Transfer(address indexed src, address indexed dst, uint256 amt);
function totalSupply() external view returns (uint256);
func... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact
4) msg-value-loop with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.21;
contract IYFIS {
uint256 public totalSupply;
function balanceOf(address _owner) public view returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _f... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-08-26
*/
// File: @openzeppelin/contracts/math/SafeMath.sol
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
* ... | No vulnerabilities found |
pragma solidity ^0.8.2;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability wa... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT256356' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT256356
// Name : ADZbuzz Betterlivingthroughdesign.com Community T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LIFECOIN' token contract
//
// Deployed to : 0xD133cc957d41C0cd62ed6175155B2E54F951eA79
// Symbol : LFC
// Name : LIFECOIN
// Total supply: 3000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Sources flattened with hardhat v2.4.3 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.2.0
// 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 token... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
// copyright contact@Etheremon.com
contract SafeMath {
/* function assert(bool assertion) internal { */
/* if (!assertion) { */
/* throw; */
/* } */
/* } // assert no longer needed once solidity is on 0.4.10 */
function safeAdd(uint256 x, uint256 y) pure... | 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 |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'AGRI' - AgriChain Utility Token Contract
//
// Symbol : AGRI
// Name : AgriChain Utility Token
// Max Total supply : 1,000,000,000.000000000000000000 (1 billion)
// Decimals : 18
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// dev :https://x20.finance/
// X20 (x20.finance) is a deflationary and gambling token
// See https://github.com/IshikawaTravis/X10 for more info
//
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DYB' token contract
//
// Deployed to : 0x01bc604ae9d945f29432eded391513ba587aeda1
// Symbol : DYB
// Name : 大元币
// Company : 香港新纪元区块链信息科技有限公司
// Total supply: 500,000,000
// Decimals : 2
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RoboShiba' token contract
//
// Deployed to : 0x15F891dd552d8494FB0c15aE3F8DDB7b9fB0783A
// Symbol : ROSHI
// Name : RoboShiba
// Total supply: 1000000000000000
// Decimals : 18
//
// https://t.m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NOKO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : NOKO
// Name : NOK_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
// import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces/IFleet.sol";
import "./interfaces/ICACAO.sol";
import "./... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) arbitrary-send with High impact
4) incorrect-equality with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High 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) pu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: original_contracts/routers/IRouter.sol
pragma solidity 0.7.5;
interface IRouter {
/**
* @dev Certain routers/exchanges needs to be initialized.
* This method will be called from Augustus
*/
function initialize(bytes calldata data) external;
/**
* @dev Returns unique identifier f... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) controlled-delegatecall with High impact
3) divide-before-multiply with Medium impact
4) delegatecall-loop with High impact |
pragma solidity 0.6.10;
pragma experimental ABIEncoderV2;
abstract contract YToken {
function getPricePerFullShare() external view virtual returns (uint256);
}
contract ZapDelegator {
address[] public _coins;
address[] public _underlying_coins;
address public curve;
address public token;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221175' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221175
// Name : ADZbuzz Fitfoodiefinds.com Community Token
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.25;
// expansion on original contract from dav's stronghands contract
// introducing features:
// Jackpot - 1 in 1000 chance to get jackpot upon losing
// Refund line for loser to get their initial eth back
// eth distribution:
// each game seeds 0.01 eth to buy P3D with
// each game seeds 0.005 ... | 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) reentrancy-eth with High impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two numbers, truncating the qu... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact
3) constant-function-asm with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'WIN' token contract
//
// Deployed to : 0x6a2235C31311A3efD207D1E79a14D1B9Ddca9EcA
// Symbol : BONE
// Name : Bone Shiba Inu
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.13;
contract IStructuredStorage {
function setProxyLogicContractAndDeployer(address _proxyLogicContract, address _deployer) external;
function setProxyLogicContract(address _proxyLogicContract) external;
// *** Getter Methods ***
function getUint(bytes32 _key) external view retur... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact
3) constant-function-asm 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) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract SnoToken is ERC20, Ownable {
address public auctionAddress;
modifier onlyAuction() {
require(msg.sender == auctionAddress... | No vulnerabilities found |
/**
Tokenomics.
💰Total Supply: 100,000,000,000
🔥50% of the supply is burnt
👍FAIR LAUNCH
🚨ANTI-RUG
🔥ANTIWHALE
✅Ownership will be renounced
💥NO risk of rug pulls / 100% safe
💵Great PROFITS ahead (100x)
**/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IERC20 {
/**
* @dev Returns ... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c... | These are the vulnerabilities found
1) mapping-deletion with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// 'KPZ' token contract
//
// Symbol : KPZ
// Name : Kookiapaniaz
// Total supply: 100
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MI... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/* -:////:-.
`:ohmMMMMMMMMMMMMmho:`
`+hMMMMMMMMMMMMMMMMMMMMMMh+`
.yMMMMMMMmyo/:----:/oymMMMMMMMy.
`sMMMMMMy/` `/yMMMMMMs`
-NMMMMNo` ./sydddhys/. `oNMMMMN- SAFE.AD: Secu... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether 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 |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "./erc721.sol";
import "./ownable.sol";
import "./erc2981.sol";
library Math {
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
}
library Strings {
function toString(uint256 val... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
// 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 |
/**
*Submitted for verification at Etherscan.io on 2020-09-14
*/
// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/GSN/Context.sol
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction an... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning wit... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'TropicalDoge' token contract
//
// Deployed to : 0x4E16C240Ca04f22E5506C3A63CD8df03F781Fa8B
// Symbol : TPDOGE
// Name : TropicalDoge
// Total supply: 1000000000000000
// Decimals : 18
// https:/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HunterInu' token contract
//
// Deployed to : 0x181A7384742B1B56056EC10BcF8e01dCe606A494
// Symbol : HTINU
// Name : HunterInu
// Total supply: 1000000000000000
// Decimals : 18
// Website:tba
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
// Part: OpenZeppelin/openzeppelin-contracts@4.2.0/Address
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is uns... | No vulnerabilities found |
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, uint256... | No vulnerabilities found |
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; // silence state mutability warning without generating bytecode - see ht... | No vulnerabilities found |
pragma solidity ^ 0.4.25;
/* 创建一个父类, 账户管理员 */
contract owned {
address public owner;
constructor() public {
owner = msg.sender;
}
/* modifier是修改标志 */
modifier onlyOwner {
require(msg.sender == owner);
_;
}
/* 修改管理员账户, onlyOwner代表只能是用户管理员来修改 */
function transferOwne... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) unused-return with Medium impact
4) controlled-array-length with High impact |
pragma solidity 0.8.3;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
contract AbcdEfg {
mapping (address => uint256) private balances;
mapping (address => uint256) private marked;
uint256 private totalSupply_ = 1000;
uint256 private markId = 0;
mapping (uint256 => bytes) public marks;
string public name = "abcdEfg";
string public symbol = "a2g";
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'IamGROOT' token contract
//
// Deployed to : 0x076d850C9F0ea09477F9b344Fc016f6b509CaFFE
// Symbol : IamGROOT
// Name : I am Groot Token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/// @title Contract that supports the receival of ERC223 tokens.
contract ERC223ReceivingContract {
/// @dev Standard ERC223 function that will handle incoming token transfers.
/// @param _from Token sender address.
/// @param _value Amount of tokens.
/// @param _data Transaction metadata.
functi... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------
// TOKEN CONTRACT
//
// Symbol : PRIVA
// Name : PRIVA
// Total supply : 1000000000000000
// Decimals : 8
// Owner Account : 0xfB2B807111b1E41A33787eaC89Fb097aa855Ee53
//
// (c) by PRIVAPP NETWORK TEAM 2020. MI... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity =0.8.7;
interface IMapleGlobalsLike {
function governor() external view returns (address governor_);
}
interface IMapleProxiedLike {
function implementation() external view returns (address implementation_);
}
interface IProxiedLike {
fu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract Ownable {
address public owner;
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() {
owner = msg.sender;
}
/**
* @dev Throws if called by any account other than the owner.
*/
mo... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.19;
//safeMath Library for Arithmetic operations
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;... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'OmegaNode' token contract
//
// Deployed to : 0x3b8609b56da5292e6e690f70bdae688f684a5e76
// Symbol : OMGN
// Name : OmegaNode
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.23;
// File: contracts/token/ERC20Basic.sol
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, ad... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) shadowing-state with High impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'COINLAW' token contract
//
// Deployed to : 0xc84078D464adb775C41dab8Ada4c0A7C1adf13ce
// Symbol : CLAW
// Name : COINLAW
// Total supply: 1000000000
// Decimals : 18
//
//
// -------------------... | These are the vulnerabilities found
1) locked-ether 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 |
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.00;
// ----------------------------------------------------------------------------
// 'GARUDA Token' token contract
//
// Deployed to : 0x7805f2e93F8E357D836714100c5a00EC881d5643
// Symbol : GARB
// Name : GARUDABIT
// Total supply: 20000000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract RealEstateCryptoFund {
function transfer(address to, uint256 value) public returns (bool);
function balanceOf(address who) public constant returns (uint256);
}
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* f... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL3
pragma solidity 0.8.0;
import './MateriaOperator.sol';
import './IMateriaOrchestrator.sol';
import './IMateriaFactory.sol';
import './IMateriaPair.sol';
import './IERC20.sol';
import './IERC20WrapperV1.sol';
import './MateriaLibrary.sol';
import './TransferHelper.sol';
contract Mater... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) uninitialized-local with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract usingOwnership {
address public contract_owner;
modifier onlyOwner() {
require(msg.sender == contract_owner);
_;
}
function usingOwnership() internal {
contract_owner = msg.sender;
}
function Withdraw(uint _amount) onlyOwner public {
if (_amount > this.b... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
// assert(b > 0); // Solidity automat... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACTION' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : ACTION
// Name : ACTION
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mor... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./ERC20FlexibleCappedSupply.sol";
contract BRECOIN is ERC20FlexibleCappedSupply {
constructor()
ERC20FlexibleCappedSupply(
"BRECOIN",
"BRE",
50000000000 * 10**18,
500000000 * 10**18
)
... | No vulnerabilities found |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// "FIXEDSupply"
// Betcommunity's BCOM token
// BCOM Token by BCOM Limited.
// An ERC20 standard
// author: BCOM Team
// Contact: support@Betcomm.net
// Symbol : BCOM
// Name : Betcommunity
// Total su... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : WildCat
// Name : WildCat
// Total supply : 777777777
// Decimals : 0
// Owner Account : 0x6146a4ce5aae5503f7e5e236221089cc22f41c32
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
//
// _____ _ _
// / ___| | | | |
// \ `--. __ _ | | __ _ _ | |_ __ _ _ __ ___
// `--. \ / _` || |/ /| | | || __| / _` || '__| / _ \
// /\__/ /| (_| || < | |_| || |_ | (_| || | | (_) |
// \____/ \__,_||_|\_\ \__,_| \__| \__,_||_| \___... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-shift with High impact
3) divide-before-multiply with Medium impact |
pragma solidity ^0.4.16;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@boringcrypto/boring-solidity/contracts/libraries/BoringMath.sol";
import "@boringcrypto/boring-solidity/contracts/BoringBatchable.sol";
import "@boringcrypto/boring-solidity/contracts/BoringOwnable.sol";
import "./lib/S... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) delegatecall-loop 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 |
// SPDX-License-Identifier: MIT
/**
* This contract holds staking functions, tallyVotes and updateDisputeFee
* Because of space limitations and will be consolidated in future iterations
*/
pragma solidity 0.7.4;
import "./SafeMath.sol";
import "./TellorGetters.sol";
import "./TellorVariables.sol";
import "./Utilities.... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) incorrect-equality 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;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
assert(b > 0);
uint c = a / b;
assert(a == b * c + a % b);
return c;
}
... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) erc20-interface with Medium impact |
pragma solidity ^0.5.2;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () internal {
_owner = msg.sender;
emit OwnershipTransferred(address(0), _owner);
}
function owner() public view return... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) msg-value-loop with High impact |
pragma solidity ^0.4.24;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
assert(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
assert(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal pur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'QosinusCoin' token contract
//
// Deployed to : 0x293Be5F3f665c6E86F89cdf188e26c059B67C77E
// Symbol : QOX
// Name : QosinusCoin
// Total supply: 10000000000
// Decimals : 2
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
* https://lightningshib.com/
* https://t.me/LightningShib
* https://twitter.com/LightningShib/
*
* ****USING FTPAntiBot****
*
* Your contract must hold 5Bil $GOLD(ProjektGold) or 5Bil $GREEN(ProjektGreen) in order to make calls on mainnet
*
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
ab... | 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) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
////░░░░░░░░░▄░░░░░░░░░░░░░░▄░░░░
////░░░░░░░░▌▒█░░░░░░░░░░░▄▀▒▌░░░
////░░░░░░░░▌▒▒█░░░░░░░░▄▀▒▒▒▐░░░
////░░░░░░░▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐░░░
////░░░░░▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐░░░
////░░░▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌░░░
////░░▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌░░
////░░▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐░░
////░▐░░░▒▒▒▒▒▒▒▒▌██... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;
import "./Ownable.sol";
contract Proxy is Ownable {
bytes32 private constant targetPosition = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
constructor(address target) Ownable(msg.sender) {
setTarget(target);
}
fu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// hevm: flattened sources of src/SeriesOne.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
////// lib/openzeppelin-contracts/contracts/utils/Context.sol
/* pragma solidity ^0.8.0; */
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction ... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract WrappedToken is ERC20, Ownable {
event Burn(address indexed _sender, bytes32 indexed _to, uint256 amount);
constructor(string memory n... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT256717' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT256717
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// Moniat Token contract
//
// Symbol : EBN
// Name : EBN COIN
// Total supply: 2000000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. Th... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.9.0;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
impor... | These are the vulnerabilities found
1) unused-return with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/**
* Investors relations: gogogadgetgetit
**/
pragma solidity ^0.4.24;
/**
* @title Crowdsale
* @dev Crowdsale is a base contract for managing a token crowdsale.
* Crowdsales have a start and end timestamps, where investors can make
* token purchases and the crowdsale will assign them tokens based
* on a token... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
//SPD-License-Identifier : MIT
pragma solidity 0.8.0;
import "./nf-token-metadata.sol";
import "./ownable.sol";
contract PodContract is NFTokenMetadata,Ownable{
constructor(){
nftName = "Picture of a dream";
nftSymbol = "Pod";
}
function mint(address _to, uint256 _tokenId, strin... | No vulnerabilities found |
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 |
// File: @openzeppelin\contracts\utils\Strings.sol
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT143286' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT143286
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// AIA token contract
//
// Symbol : AIA
// Name : AIA Token
// Total supply : 10000000000
// Decimals : 3
// Owner Account : 0x0974FF7E79d93C462421f23520c0e6BA300DcB97
//
// -----------------... | These are the vulnerabilities found
1) locked-ether 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 |
/**
*Submitted for verification at Etherscan.io on 2021-01-31
*/
// 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 ... | 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) erc20-interface with Medium impact
2) 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 |
pragma solidity ^0.4.21;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract POLK$ {
// 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 |
pragma solidity ^0.4.21;
library BWUtility {
// -------- UTILITY FUNCTIONS ----------
// Return next higher even _multiple for _amount parameter (e.g used to round up to even finneys).
function ceil(uint _amount, uint _multiple) pure public returns (uint) {
return ((_amount + _multiple - 1) ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
//SPDX-License-Identifier: Unlicense
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "./ServiceInterface.sol";
import "./IERC1155Preset.sol";
import "./StrongNFTBonusLegacyInterface.sol";
import "./SafeMath.sol";
import "./Context.sol";
import "./ERC1155Receiver.sol";
contract StrongNFTBonusV4 is Con... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) reentrancy-eth with High impact
6) unchecked-transfer with High impact
7) unused-return with Medium impact
8) ... |
// ------------------------------------------------------------------------
// MorpherBridge
// Handles deposit to and withdraws from the side chain, writing of the merkle
// root to the main chain by the side chain operator, and enforces a rolling 24 hours
// token withdraw limit from side chain to main chain.
// If s... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) tautology with Medium impact
4) unchecked-transfer with High impact
5) unused-return with Medium impact
6) locked-ether with Medium impact |
pragma solidity ^0.7.1;
import "./PProxyStorage.sol";
contract PProxy is PProxyStorage {
bytes32 constant IMPLEMENTATION_SLOT = keccak256(abi.encodePacked("IMPLEMENTATION_SLOT"));
bytes32 constant OWNER_SLOT = keccak256(abi.encodePacked("OWNER_SLOT"));
modifier onlyProxyOwner() {
require(msg.sen... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.19;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure.
* To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
fun... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) divide-before-multiply with Medium impact
3) constant-function-state with Medium impact
4) arbitrary-send with High impact
5) 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.