input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
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) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-15
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.6;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
abstract contract ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function tot... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* @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;
address public newOwner;
address public adminer;
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) tautology with Medium impact
3) controlled-array-length with High impact |
// |▮|▮|▮▮||| Blue Finance |▮|▮|▮▮|||
// 𝔇ℑ𝔄𝔐𝔒𝔑𝔇
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 (uint2... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Futurescoin' token contract
//
// Deployed to : 0xf5c7DF4262EAeaA6655785c43336E262ae81a1E3
// Symbol : FTC
// Name : Futurescoin
// Total supply: 1000000000000000000
// Decimals : 10
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18; // solhint-disable-line
contract ERC20Interface {
function transfer(address to, uint256 tokens) public returns (bool success);
}
contract Halo3D {
function buy(address) public payable returns(uint256);
function transfer(address, uint256) public returns(bool);
function myToke... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) constant-function-asm with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-03
*/
// 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
* usi... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-18
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view vir... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) unchecked-send with Medium impact
3) arbitrary-send with High impact
4) unchecked-lowlevel with Medium impact
5) reentrancy-eth with High impact
6) unused-return 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 |
/**
*Submitted for verification at Etherscan.io on 2020-11-28
*/
/**
*Submitted for verification at Etherscan.io on 2020-11-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) uninitialized-local with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-25
*/
/**
*Submitted for verification at Etherscan.io on 2021-04-21
* Ely Net and Tor Korea
*/
pragma solidity ^0.4.26;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) controlled-array-length with High impact
3) constant-function-asm with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-22
*/
pragma solidity ^0.6.6;
// SPDX-License-Identifier: MIT
/**
* @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 progr... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-02-05
*/
// SPDX-License-Identifier: AGPL-3.0-or-later
// hevm: flattened sources of src/DssSpell.sol
pragma solidity =0.6.11 >=0.6.11 <0.7.0;
////// lib/dss-exec-lib/src/CollateralOpts.sol
/* pragma solidity ^0.6.11; */
struct CollateralOpts {
bytes32 ilk... | These are the vulnerabilities found
1) weak-prng with High impact
2) controlled-delegatecall with High impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-06
*/
//SPDX-License-Identifier: MIT
pragma solidity 0.7.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) unused-return with Medium impact
4) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-07
*/
/*
__ __ ______ _______ __ ______ __ __ ______ __ __ ________ ______ __ __ __ __
| \ | \ / \ | \ | \ / \ | \ | \ / \ | \ | \| \| \| \ | \| \ | \
| $$ | $$| ... | No vulnerabilities found |
pragma solidity ^0.5.8;
// This is a token designed to research Impermanent Loss in an LP. Do not purchase! Token creator will not be liable for any financial damage or loss.//
/**
* @title SafeMaths
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint... | No vulnerabilities found |
// 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 |
/**
*Submitted for verification at Etherscan.io on 2021-06-19
*/
pragma solidity ^0.5.17;
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;
}... | No vulnerabilities found |
pragma solidity ^0.4.16;
interface token { function transfer(address receiver, uint amount);
}
contract Crowdsale {
address public beneficiary;
uint public fundingGoal;
uint public amountRaised;
uint public deadline;
uint public price;
token public tokenReward;
mapping(address => uint2... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) unchecked-send with Medium impact
3) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-01-16
*/
// File: contracts/other/ProxyStorage.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
contract ProxyStorage {
function readBool(bytes32 _key) public view returns(bool) {
return storageRead(_key) == bytes32(uint256(1));
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CTW' token contract
//
// Deployed to : 0x4Fd82b279C699579A58aBbB4A8ad4F97A0EDC422
// Symbol : CTW
// Name : CTWorld Token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Stanthorpe
// https://www.dcom.world
// ERC20 Compliant
// Contract developer: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9efbf3fbecf9f7f0f9fbf3fbecf9fbf0fdfbdef9f3fff7f2b0fdf1f3">[... | No vulnerabilities found |
pragma solidity ^0.4.16;
contract BMToken {
string public name = "BMChain Token";
string public symbol = "BMT";
uint256 public decimals = 18;
uint256 _supply = 0;
mapping (address => uint256) _balances;
mapping (address => mapping (address => uint256)) _approvals;
event Transfer( ad... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-14
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.12;
interface IChainlinkPriceFeedProxy {
function latestAnswer() external view returns (int256);
function latestTimestamp() external view returns (uint256);
}
interface IAaveAssetToken {
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-01
*/
/*
All Crypto Lending
Payship is a major step forward in crypto lending: Deposit any ERC20 token.
Use any ERC20 token as collateral. Earn interest on any deposit.
Borrow any ERC20 token.
Stake PSHP to earn portion of Payship income.
Vote with PS... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) 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 2021-08-26
*/
pragma solidity >=0.8.0 <0.9.0;
//SPDX-License-Identifier: MIT
contract ABCNFT {
string public constant ABCNotation =
"X:1"
"T:This Song Will Never Die"
"L:1/4"
"Q:1/4=165"
"M:4/4"
"I:linebreak $"
"K:Bb"
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-29
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view vir... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) uninitialized-local with Medium impact
3) reentrancy-eth with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-04
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DogeStarter' token contract
//
// Deployed to : 0xa8340C6625fffa9C097a90D04E3ff95F4f57B8E8
// Symbol : DOGST
// Name : DogeStarter
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-02
*/
// ----------------------------------------------------------------------------
// 'Vortex Finance' token contract
//
// Deployed to : 0xEAdf9E0fE885608ED6736f2E8FC21f1E983ba2E0
// Symbol : VEX
// Name : Vortex Finance
// Total supply: 10000... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-03
*/
/**
________ __ __ ________ ______ __ __ ________ _______ ______ __ __ ______
| | \ | | \ / \| \ | | \ | \| | \ | \/ \
\$$$$$$$| $$ | $| $$$$$$$$ | ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-12-09
*/
/**
* YOP - Yield Optimization Platform & Protocol All-in-one Yield Optimization Application
*
* Official Website:
* https://yop.finance
*
* © 2020 YOP All rights reserved.
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.7.4;
/**
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-31
*/
// Sources flattened with hardhat v2.3.3 https://hardhat.org
// File contracts/proxies/Proxy.sol
pragma solidity 0.8.4;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
abstract contract Proxy {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'GEK' token contract
//
// Deployed to : 0xe54e9b14745804C7A5bf05c02Bb29eB1eA4C29fb
// Symbol : GEK
// Name : gek.finance
// Total supply: 300000000000
// Decimals : 8
//
// Enjoy.
//
// ---------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
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;
}
}
interfa... | These are the vulnerabilities found
1) shadowing-state with High impact
2) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-06
*/
/*
FlokiETH | Rewards Based with ETH | ETH Reflections Sent To Wallet Automatically |
FlokiETH is the Junior version of ETH the Grand De-Fi Giant. Automatically 1 hour rewarded ETH to holders
website- https://flokieth.com
Twitter- https://twitt... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-10
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.3;
// ERC20 Interface
interface iERC20 {
function balanceOf(address) external view returns (uint256);
function approve(address, uint) external returns (bool);
function burn(uint) ex... | These are the vulnerabilities found
1) unchecked-lowlevel with Medium impact
2) msg-value-loop with High impact
3) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-20
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : DDM
// Name : DigitalDeutscheMark
// Total supply : 1500000000000
// Decimals : 5
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ECASH' token contract
//
// Deployed to : 0x361d8a4bBC7bb053214956B4076dECE7C064bDF7
// Symbol : ECASH
// Name : ECASH
// Total supply: 500000000
// Decimals : 18
//
//
// ---------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-16
*/
/**
*Submitted for verification at Etherscan.io on 2021-08-31
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-23
*/
pragma solidity ^0.5.17;
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;
}... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DOGE' token contract
//
// Deployed to : 0x2a98c6dcac6d759695b09cdf6b26cf4a13370a57
// Symbol : DOGE
// Name : DOGE Token
// Total supply: 100000000
// Decimals : 18
//
// --------------... | No vulnerabilities found |
pragma solidity ^0.5.17;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b'... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Fructus' token contract
//
// Deployed to : 0x700aA5945B21D753D8bBdebD4e5F5Ae846013ace
// Symbol : FRUCTUS
// Name : Fructus Token
// Total supply: 100000000
// Decimals : 18
// ---------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-15
*/
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
/// @author dom
interface Wagmipet {
function feed() external;
function clean() external;
function play() external;
function sleep() external;
function getHunger() ... | These are the vulnerabilities found
1) write-after-write with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-11
*/
/**
*Submitted for verification at Etherscan.io on 2018-02-25
*/
pragma solidity ^0.4.19;
library SafeMath {
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
2) controlled-array-length with High impact |
pragma solidity ^0.4.15;
/**
* @title MultiSigStub
* @author Ricardo Guilherme Schmidt (Status Research & Development GmbH)
* @dev Contract that delegates calls to a library to build a full MultiSigWallet that is cheap to create.
*/
contract MultiSigStub {
address[] public owners;
address[] public toke... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity^0.4.21;
contract DSAuthority {
function canCall(
address src, address dst, bytes4 sig
) public view returns (bool);
}
contract DSAuthEvents {
event LogSetAuthority (address indexed authority);
event LogSetOwner (address indexed owner);
}
contract DSAuth is DSAuthEvents {
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-28
*/
/**
SPDX-License-Identifier: MIT
████─█──█─█─█─████──███─███────███─█──█─█─█
█──█─██─█─█─█─█──██──█──█───────█──██─█─█─█
████─█─██─█─█─████───█──███─────█──█─██─█─█
█──█─█──█─█─█─█──██──█────█─... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BitcoinSinhalaToken' token contract
//
// Deployed to : 0x02aa9DD336BDE673e2fB1BE4e814E1ae5F9Dba4a
// Symbol : BTSN
// Name : BitcoinSinhalaToken
// Total supply: 100000000
// Decimals : ... | 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 |
/**
*Submitted for verification at Etherscan.io on 2021-09-10
*/
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/interfaces/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.13;
/// @title SafeMath contract - math operations with safety checks
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint a, uint b) internal returns (uint) {
assert(... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-25
*/
// ALCOHOL LOVE CAPITAL
pragma solidity 0.8.10;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-27
*/
/* * * ********************** * * *
*
* * * @TequilaInu (c) 2021
*
* * * ********************** * * *
*/
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-24
*/
/**
*Submitted for verification at Etherscan.io on 2021-02-25
* Ely net and Tor Korea
*/
pragma solidity ^0.4.26;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) controlled-array-length with High impact
3) constant-function-asm with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-03
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ChocolateShiba' token contract
//
// Deployed to : 0x89CFc3182b48A6164d9bF90f73E4A14E6E2A7687
// Symbol : SHOCO
// Name : Chocolate... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract Ownable {
address public contractOwner;
function Ownable() public {
contractOwner = msg.sender;
}
modifier onlyContractOwner() {
require(msg.sender == contractOwner);
_;
}
function transferContractOwnership(address _newOwner) public onlyContractOwner {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) arbitrary-send with High impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-08
*/
// SPDX-License-Identifier: GPL-3.0-or-later
/// CurveLPOracle.sol
// Copyright (C) 2021 Dai Foundation
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as publishe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//
// compiler: solcjs -o ./build/contracts --optimize --abi --bin <this file>
// version: 0.4.19+commit.bbb8e64f.Emscripten.clang
//
pragma solidity ^0.4.19;
contract owned {
address public owner;
function owned() { owner = msg.sender; }
modifier onlyOwner {
if (msg.sender != owner) { revert(); }
_;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
* PizzERIA.Finance (PZRIA) - An ultra-deflationary token made for traders and inflation arbitrators
*
* PZRIA has rules based on turns. It automatically burns, mints, airdrops
*and features a dynamic supply range between 25000 PZRIA and 1 PZRIA
*/
pragma solidity ^0.6.0;
/*
* @dev Provides information ab... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality 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 (uint256) {
// assert(b > 0); // S... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-04
*/
pragma solidity ^0.4.24;
/**
* Hello,
*
* thank you for choosing Asset Backing Crypto Currency.
* Please visit our website for more information.
*
* Copyright Asset Backing Crypto Currency. All Rights Reserved.
*/
// File: openzeppelin-solidit... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// 'GLX' token contract
//
// Deployed to : 0x1d5B6586dD08fF8E15E45431E3dfe51493c83B5C
// Symbol : GLX
// Name : GLX Token
// Total supply: 1274240097
// Decimals : 18
//
// Enjoy.
//
// -----... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-20
*/
pragma solidity ^0.5.0;
// WELCOME TO NOKORE
// https://t.me/NoKore
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, add... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-18
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
pragma solidity ^0.4.18; // solhint-disable-line
contract ERC20Interface {
function transfer(address to, uint256 tokens) public returns (bool success);
}
contract Halo3D {
function buy(address) public payable returns(uint256);
function transfer(address, uint256) public returns(bool);
function myToke... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) constant-function-asm with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-10
*/
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... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
//Copyright (C) 2017-2018 Hashfuture Inc. All rights reserved.
pragma solidity ^0.4.19;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address n... | 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 - <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="483b3c2d2e2926662f2d273a2f2d082b27263b2d263b313b66262d3c">[email protected]</a>>
con... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
// Dependency file: /Users/starfish/code/badger-system/deps/@openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// pragma solidity ^0.6.0;
/**
* @dev Inter... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-01-31
*/
/**
*Submitted for verification at Etherscan.io on 2021-01-28
*/
pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
function tr... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// The GNU General Public License v3
// © Musqogees Tech 2018, Redenom ™
// -------------------- SAFE MATH ----------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// 'ATT' 'ATT COIN' token contract
//
// Symbol : ATT
// Name : ATT COIN
// Total supply: 300000000
// Decimals : 18
//
// (c) ERC20Dev, 2018. | https://erc20dev.com
// --------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'UK' token contract
//
// Deployed to : 0x8cfEb58EDD85343420b891042F41822C862408FA
// Symbol : UK
// Name : UK
// Total supply: 65000000
// Decimals : 18
//
// ----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Kiwi Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : Kiwi
// Name : Kiwi Token
// Total supply: 7 000 000 000 (7 Billion)
// Decimals : 8
//
// ----------------... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'AVTC' token contract
//
// Deployed to : 0x056b7a4842F137a51447f42F23eC3b61d78DBDCC
// Symbol : AVTC
// Name : Aviate Coin
// Total supply: 50000000000000000
// Decimals : 8
//
// ------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract Ownable {
address public owner;
constructor () public {
owner = 0xCfBbef59AC2620271d8C8163a294A04f0b31Ef3f;
}
modifier onlyOwner() {
if (msg.sender != owner) {
revert();
}
_;
}
function transferOwnership(address newOwner) onlyOwner pub... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-12
*/
// File: contracts\gsn\Context.sol
pragma solidity ^0.5.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... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'AUDO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : AUDO
// Name : AUD_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-08
*/
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 (ui... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-30
*/
/*
Introducing Chow Chow, the first monopoly DeFi light game on Ethereum blockchain
Build your own house!
Use ETH and USDT to experience Chow Chow in the high-speed and fun of ETH. You’ve got a smarter and fun mining experience ready to enjoy!
What i... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-16
*/
//SPDX-License-Identifier: Unlicensed
/**
$YUMMY COIN
This is a meme token every meme token buyer needs in their collection.
1 quadrillion total supply.
*/
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-25
*/
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) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.13;
/**
* @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) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Cordbank' token contract
//
// Deployed to : 0x2c517ca8a224fc0aa64b824e935658211f832e14
// Symbol : CBK
// Name : Cordbank
// Total supply: 500,000,000
// Decimals : 18
//
//
// (c) by Co... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
/* Ethart unindexed Factory Contract:
Ethart ARCHITECTURE
-------------------
_________________________________________
V V
Controller --> Registrar <--> Factory Contract1 --> Artwork Contract1
Factory Contract2 Artwork Contract2
... ...
... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) tautology with Medium impact
3) reentrancy-eth with High impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HalalPenny' token contract
//
// Deployed to : 0xa1C1274EB6fcB214a93E714020b2826d66b156A8
// Symbol : HLP
// Name : HalalPenny
// Total supply: 210000000000
// Decimals : 18
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-07
*/
pragma solidity 0.4.24;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-05
*/
pragma solidity ^0.5.17;
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);
... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity 0.4.19;
contract DeusETH {
using SafeMath for uint256;
enum Stages {
Create,
InitForMigrate,
InitForAll,
Start,
Finish
}
// This is the current stage.
Stages public stage;
struct Citizen {
uint8 state; // 1 - living tokens, 0 -... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-01-03
*/
pragma solidity ^0.5.17;
contract Token {
string public name = "Monkey God Token";
string public symbol = "MONKEYGOD";
uint256 public totalSupply = 3000000000 * 10**18;
uint8 public decimals = 18;
event Transfer(
addr... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-29
*/
// SPDX-License-Identifier: MIT
// ERC20 Version of the Optimism Governance Token for Omnichain Bridging
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-08
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GuardiansOfTheDoge' token contract
//
// Deployed to : 0x46A42D3fb3142BABC56B6EFF1cdC11129D9DD064
// Symbol : GUARD
// Name : Guard... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
/*
Copyright 2017, Shaun Shull
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.
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-03-13
*/
pragma solidity ^0.4.25;
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);
eve... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-27
*/
/*
███ ███████████████████████ ██████ █████████████████████
████ ██████ ██ ██ ████ ████ ██ ██ ██
██ ████ ███████ ██ █████████████ ██ ██ ██ ███████
██ ██ ████ ██ ██ ████ ████ ██ ██ ██
██... | These are the vulnerabilities found
1) shadowing-state with High impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-05
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Cheddar Token Contract
//
// Symbol : CHDR
// Name : Cheddar Coin
// Total supply : 150000000000000000000000000000
// Decimals ... | 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.