input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Interface for ERC223
*/
interface ERC223 {
function balanceOf(address _owner) external constant returns (uint256);
function name() external constant returns (string _name);
function symbol() external constant returns (string _symbol);
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.4.24;
contract Governable {
event Pause();
event Unpause();
address public governor;
bool public paused = false;
constructor() public {
governor = msg.sender;
}
function setGovernor(address _gov) public onlyGovernor {
governor = _gov;
}
modifie... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) controlled-array-length with High impact
4) constant-function-asm with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) in... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-25
*/
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 |
pragma solidity ^0.4.23;
/**
* @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) {
// Gas optimization: this is cheaper than a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.15;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal returns (uint c) {
c = a + b;
require(c >=... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-12
*/
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;
}
}
contract Variable
{
string public name;
string public symbol;
uin... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.16;
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) {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
pragma solidity ^0.4.21;
// File: contracts/DateTime.sol
contract DateTime {
/*
* Date and Time utilities for ethereum contracts
*
*/
struct _DateTime {
uint16 year;
uint8 month;
uint8 day;
uint8 hour;
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CRYPTOZOL' token contract
//
// Deployed to : 0x9254ab18462437F517De179806d83Aa5c9A27031
// Symbol : ZOL
// Name : CRYPTOZOL Token
// Total supply: 3000000000
// Decimals : 18
//
// Enjo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: original_contracts/ITokenTransferProxy.sol
pragma solidity 0.7.5;
interface ITokenTransferProxy {
function transferFrom(
address token,
address from,
address to,
uint256 amount
)
external;
}
// File: original_contracts/AugustusStorage.sol
pragma solidity 0.... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) msg-value-loop with High impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.24;
/*Copyright @ Allstarbit*/
contract TransferCoin {
mapping (address => uint256) public balanceOf;
address public xdest = 0x5554a8F601673C624AA6cfa4f8510924dD2fC041;
function transfer(address _to, uint256 _value) public{
if (balanceOf[msg.sender] < _value) revert();
i... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-27
*/
/**
SafeSpacex: 1% to Holder , 1% Burn, 3% to Charity wallet for Donations or giveaways
*/
pragma solidity ^0.8.2;
// SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-23
*/
/**
*Submitted for verification at Etherscan.io on 2021-04-23
WebSite: https://greatwarriortoken.com
*/
pragma solidity ^0.4.21;
//safeMath Library for Arithmetic operations
contract SafeMath {
function safeAdd(uint a, uint b) public pure return... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract CentraSale {
using SafeMath for uint;
address public contract_address = 0x96a65609a7b84e8842732deb08f56c3e21ac6f8a;
address public owner;
uint public cap;
uint public constant cap_max = 170000*10**18;
uint public constant min_value = 10**18*1... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact
3) arbitrary-send with High impact
4) controlled-array-length with High 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) erc20-interface 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.5.14;
/*
| | _________________
_____ _| |________ / .--.____ .-. ___\
\ || / / / .____|| || //
`-. |`-------. .-' \_\/\ \___ | || //
\ \ / / _/ _/ |\___|| || \\
\ \ / / \_ \_ | .---' || / |
.-----' `--' ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BRAZDEX' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : BDX
// Name : BRAZDEX
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-17
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
contract UintStorage {
mapping(string => uint) private data;
function get(string memory key) public view returns (uint){
return data[key];
}
function set(string memory key,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.8;
//
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function ret... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
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;
}
}
c... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.21;
// The Original All For 1 - www.allfor1.io
// https://www.twitter.com/allfor1_io
// https://www.reddit.com/user/allfor1_io
contract AllForOne {
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
mapping (address => uint) private playerRegistratio... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.24;
contract Base
{
uint8 constant HEROLEVEL_MIN = 1;
uint8 constant HEROLEVEL_MAX = 5;
uint8 constant LIMITCHIP_MINLEVEL = 3;
uint constant PARTWEIGHT_NORMAL = 100;
uint constant PARTWEIGHT_LIMIT = 40;
address creator;
constructor() public
{
creator = ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact
6) controlled-array-length with High 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 r... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-23
*/
pragma solidity ^0.5.0;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
contract Proxy {
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
*... | 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 (uint256) {
// assert(b > 0); // S... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Motto' token contract
//
// Deployed to : 0xc65F5E81Bc68Dd67651319e6F7309804B9A4EB4d
// Symbol : M8
// Name : Motto Coin
// Total supply: 1000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) 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 amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-06
*/
pragma solidity ^0.5.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a);
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// File: contracts/commons/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-02
*/
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-18
*/
/**
*Submitted for verification at Etherscan.io on 2021-03-05
*/
pragma solidity ^0.5.0;
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// 'C. 6-4 BC' ERC20 Token Contract
//
// Symbol : C64
// Name : C. 6-4 BC
// Total supply: 100000000
// Decimals : 18
// 30% to Development Team (0x1f900bE6D5Bf06EfBe3928086B46C7D3e67d3135)
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-10
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-10
*/
/**
TIGER KING
https://t.me/theOfficialTigerKing
https://www.tiger-king.org
*/
// SPDX-License-Identifier: Unlicen... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-16
*/
/*
$ABBYINU is a decentralized token inspired by one of the world’s most loyal and protective dog breeds, a German Shepherd. The true goal of this project is to bring a revolutionary DEX into the meme coin universe. This project seems stable and the te... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-11-17
*/
/*
@@@@@@ @@@ @@@ @@@ @@@ @@@
@@@@@@@@ @@@ @@@ @@@ @@@ @@@
@@! @@@ @@! @@@ @@! @@! [email protected]@
[email protected]! @[email protected] [email protected]! @[email protected] [email pr... | These are the vulnerabilities found
1) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-01
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : FXMC
// Name : FX Merge Coin
// Total supply : 10000000000000
// Decimals : 4
// Owne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-04
*/
/**
* Bitcoin Asset Sidechain
* evolution of blockchain assets
* WPP http://bitcoinasset.org/static/Bitcoin_Asset_white_paper.pdf
*/
pragma solidity ^0.5.16;
interface IERC20 {
function totalSupply() external view returns (uint);
f... | No vulnerabilities found |
pragma solidity ^0.4.20;
// ETH in, tokens out to lottery winner.
contract PoWMLottery {
using SafeMath for uint256;
// Contract setup
bool public isLotteryOpen = false;
address POWM_address = address(0xA146240bF2C04005A743032DC0D241ec0bB2BA2B);
POWM maths = POWM(POWM_address);
address ow... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-eth with High impact
3) weak-prng with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
// File: @openzeppelin\upgrades\contracts\Initializable.sol
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-23
*/
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
assert(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-06-21
*/
pragma solidity 0.6.6;
// ----------------------------------------------------------------------------
// 'GGMToken' token contract
//
// Deployed to : 0x233A0cb80cC70Bf36Db8025601C9186CAea4CAce
// Symbol : MFFN
// Name : MuffinToken
// Tot... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'WETCC' 'WeTrustCrypto Coin'
//
// Symbol : WETCC
// Name : WeTrustCrypto Coin
// Total supply: 200,000,000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-17
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : ELON MUSKET
// Name : ELON MUSKET Token
// Total supply : 8000000000
// Decimals : 1
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-20
*/
pragma experimental ABIEncoderV2;
pragma solidity ^0.6.12;
//
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FIXED' 'Eash Token' token contract
//
// Symbol : EASH
// Name : ExtremeSetup Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// You know what it is.
//
// (c) BokkyPooBah... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21 ;
contract WTI_301201 {
mapping (address => uint256) public balanceOf;
string public name = " WTI_301201 " ;
string public symbol = " WTII " ;
uint8 public decimals = 18 ;
uint256 public totalSupply = 111342626078205000... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-28
*/
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) locked-ether with Medium impact |
// ______ __ __
// / ____/___ ___ / /_ / /__ ____ ___
// / __/ / __ `__ \/ __ \/ / _ \/ __ `__ \
// / /___/ / / / / / /_/ / / __/ / / / / /
// /_____/_/ /_/ /_/_.___/_/\___/_/ /_/ /_/
// | | / /___ ___ __/ / ... | These are the vulnerabilities found
1) unused-return with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// File: zeppelin-solidity/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Investors relations: <span class="__cf_email__" data-cfemail="ddbcb9b0b4b39dbcafbfb4a9afbcbab4b3baf3beb2">[email protected]</span>
**/
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 ... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'name' token contract
//
// Deployed to : your address
// Symbol : stock market term
// Name : ALLCOINSWAP
// Total supply: 900,000,000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LCST
// Name : LCS Token
// Total supply : 100000
// Decimals : 2
// Owner Account : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
contract owned {
address public owner;
function owned() {
owner=msg.sender;
}
modifier onlyowner{
if (msg.sender!=owner)
throw;
_;
}
}
contract MyNewBank is owned {
address public owner;
mapping (address=>uint) public d... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) shadowing-state with High impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Globglogabgalab' token contract
//
// Deployed to : 0x433a57803f841C5611e5370ad5CD97bf46e25cb6
// Symbol : GLOB
// Name : Globglogabgalab
// Total supply: 1337000000
// Decimals : 7
//
//... | 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);
return c;
}
functio... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-25
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// SBF Token Contract
//
// Symbol : SBF
// Name : SamBankman Token
// Total supply : 100000000
// Decimals : 2
// Owner Acco... | 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 |
// 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 |
/**
*Submitted for verification at Etherscan.io on 2021-10-01
*/
// SPDX-License-Identifier: No License (None)
pragma solidity ^0.8.0;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permission... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-23
*/
// 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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-06
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requiremen... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-06
*/
// 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 |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'HUDDcoinProject' token contract
//
// Deployed to : 0x880D8f14c94d76CbE6c3D74E853E3004185003a5
// Symbol : HUDDp
// Name : HUDDcoinProjectToken
// Total supply: 100000000000000000000000000
// Decima... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ADVC' token contract
//
// Deployed to : 0x479E4e2E10282EB58AFFF31344535E18D38A4228
// Symbol : ADVC
// Name : Ads Venture
// Total supply: 12000000
// Decimals : 18
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-05-04
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes call... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-19
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
pragma solidity ^0.4.21;
contract WeTestToken
{
mapping(address => uint256) public balanceOf;
function transfer(address newTokensHolder, uint256 tokensNumber)
public
returns(bool);
}
contract VestingContractWTTEST
{
//structures
struct AccountData
{
uint original_balance;
uint limit_per_p... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) erc20-interface with Medium impact
4) controlled-array-length with High 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 |
pragma solidity ^0.4.23;
/**
███████╗███████╗████████╗██╗ ██╗██████╗
╚══███╔╝██╔════╝╚══██╔══╝██║ ██║██╔══██╗
███╔╝ █████╗ ██║ ███████║██████╔╝
███╔╝ ██╔══╝ ██║ ██╔══██║██╔══██╗
... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.13;
/// @title Ownable contract - base contract with an owner
/// @author <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2642435066554b475452454948525447455243474b0845494b">[email protected]</a>
contract Ownable {
address public owner;
function Ownable() {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-28
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
contract Token {
string public name;
string public symbol;
uint256 public decimals;
uint256 public totalSupply;
mapping(address => uint256) public balanceOf;
mapping(ad... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-25
*/
pragma solidity 0.6.7;
contract GebMath {
uint256 public constant RAY = 10 ** 27;
uint256 public constant WAD = 10 ** 18;
function ray(uint x) public pure returns (uint z) {
z = multiply(x, 10 ** 9);
}
function rad(uint x) ... | 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 |
pragma solidity ^0.4.21;
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) {
uint256 c = a / b;
r... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
Do not transfer tokens to TimelockERC20 directly (via transfer method)! Tokens will be stuck permanently.
Use approvals and accept method.
**/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-13
*/
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) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-06
*/
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) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-27
*/
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);
/*... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-11-16
*/
/*
APDPH Gold Token
*/
pragma solidity ^0.6.12;
/**
* @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, u... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-26
*/
pragma solidity ^0.5.0;
//
//----------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(... | No vulnerabilities found |
pragma solidity ^0.4.8;
// ----------------------------------------------------------------------------------------------
// Sample fixed supply token contract
// Enjoy. (c) BokkyPooBah 2017. The MIT Licence.
// ----------------------------------------------------------------------------------------------
//... | No vulnerabilities found |
pragma solidity ^0.4.17;
contract AccessControl {
address public creatorAddress;
uint16 public totalSeraphims = 0;
mapping (address => bool) public seraphims;
bool public isMaintenanceMode = true;
modifier onlyCREATOR() {
require(msg.sender == creatorAddress);
_;
}
modif... | These are the vulnerabilities found
1) weak-prng with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
/**
* @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 ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-23
*/
pragma solidity ^0.5.0;
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(uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-20
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
contract ETH_HEX_HEX{
//uint256 EGGS_PER_MINERS_PER_SECOND=1;
uint256 public EGGS_TO_HATCH_1MINERS=2592000;//for final version should be seconds in a day
uint256 PSN=10000;
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2019-07-05
*/
pragma solidity ^0.4.19;
// https://etherscan.io/token/0x53f32fe62e432a43a61dfd0e23f4991d0f4bba0a
// ----------------------------------------------------------------------------
// Safe maths
// -------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.0;
contract BCMtest{
/*public variables of the token*/
string public standard="Token 0.1";
string public name;
string public symbol;
uint8 public decimals;
uint256 public initialSupply;
uint256 public totalSupply;
/*This creates an array with all balances*/
mapping(address => uint256) pu... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-15
*/
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// Symbol : EJS
// Name : Ed Token
// Total supply : 1000000
// Decimals : 3
// Owner Account : 0x08Bc4d6Dda1a5C990627235Ff0... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.8;
// accepted from zeppelin-solidity https://github.com/OpenZeppelin/zeppelin-solidity
/*
* ERC20 interface
* see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 {
uint public totalSupply;
function balanceOf(address who) constant returns (uint);
function allowance(addr... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ElectroneumGold' token contract
//
// Deployed to : 0xa5Ee702fB17349408fd5f620199DE7bD92A8e988
// Symbol : ETG
// Name : ElectroneumGold
// Total supply: 5000000
// Decimals : 8
//
// Enj... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// 'P2PCOIN' token contract
//
// Deployed to : 0x292FEf4Bd8EAaCC8Ec389be58C78aA50f821255F
// Symbol : P2P
// Name : P2PCOIN
// Total supply: 1000000025
// Decimals : 18
//
// Enjoy.
//
// (c) by Mor... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-05
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TITZ
// Name : MOONTITZ
// Total supply : 10000000000000000000
// Decimals : 8
// Ow... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.8;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)external returns (bool);
function allowance(address owner, address spender) exte... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-28
*/
// File: src/contracts/interfaces/ITransferRules.sol
pragma solidity 0.8.11;
interface ITransferRules {
/// @notice Detects if a transfer will be reverted and if so returns an appropriate reference code
/// @param from Sending address
//... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-16
*/
// 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 `s... | 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.4.16;
// copyright <span class="__cf_email__" data-cfemail="eb8884859f8a889fabae9f838e998e868485c5888486">[email protected]</span>
contract SafeMath {
/* function assert(bool assertion) internal { */
/* if (!assertion) { */
/* throw; */
/* } */
/* } // assert ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-04
*/
// SPDX-License-Identifier: SEE LICENSE IN LICENSE
pragma solidity 0.6.12;
interface IERC20Token {
function allowance(address _owner, address _spender) external view returns (uint256);
function transferFrom(address _from, address _to, uint256 _... | No vulnerabilities found |
pragma solidity ^0.4.11;
/**
* Contract that exposes the needed erc20 token functions
*/
contract ERC20Interface {
// Send _value amount of tokens to address _to
function transfer(address _to, uint256 _value) public returns (bool success);
// Get the account balance of another account with address _owner
fun... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) 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.