input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2021-02-11
*/
// File: openzeppelin-solidity/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 m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
/**
* @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 pro... | No vulnerabilities found |
pragma solidity ^0.5.0;
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is che... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GBT' token contract
//
// Deployed to : 0x22030462f67e318e812358c1b7ee1a46f737b856
// Symbol : GBT
// Name : Goinbit.com Token
// Total supply: 618000000
// Decimals : 18
//
// Enjoy.
//
... | 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) {
if (a == 0) {
return 0;
}
c ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-31
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : INVEN
// Name : INVEN Token
// Total supply : 100000
// Decimals : 2
// Owner Account... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
*
* Easy Investment 7% Contract
* - GAIN 7% PER 24 HOURS (every 5900 blocks)
* - NO COMMISSION on your investment (every ether stays on contract's balance)
* - NO FEES are collected by the owner, in fact, there is no owner at all (just look at the code)
*
* How to use:
* 1.... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.16;
contract test {
// Get balace of an account.
function balanceOf(address _owner) constant returns (uint256 balance) {
return 34500000000000000000;
}
// Transfer function always returns true.
function transfer(address _to, uint256 _amount) returns (bool success) {
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-18
*/
pragma solidity 0.4.24;
contract ERC20Interface {
function symbol()
public
view
returns (string memory);
function name()
public
view
returns (string memory);
function decimals()
pub... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
/*
*ERC20
*
*/
contract Diamond {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public total =... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity 0.4.24;
// File: openzeppelin-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 ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-29
*/
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 <=... | These are the vulnerabilities found
1) 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) internal pure returns... | 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 |
pragma solidity ^0.4.18;
// File: contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event Ownership... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) controlled-array-length with High 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 2021-02-13
*/
pragma solidity ^0.7.0;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 'GOGOLCOIN' token contract
//
// Deployed to : 0x17e0c9168ce75f8636b6B65982B400b32ef4452b
// Symbol : GOL
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint2... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) arbitrary-send with High impact |
/**
*The Plague Doctor is in.
* t.me/PlagueToken
* plaguetoken.com
*/
/**
*
* *********
* *************
* ***** *****
* *** ***
* *** ***
* ** 0 0 **
* ** **
* *** *** ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-28
*/
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 private ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-06
*/
pragma solidity =0.5.16;
contract ReservoirLike {
function init(uint numTokens, address target) external;
function drip() external;
}
contract Proxy {
function() external payable {
assembly {
let _target := 0x9a2E280aAeB4... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-16
*/
pragma solidity 0.5.2;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
fun... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-01
*/
// hevm: flattened sources of src/DssSpell.sol
pragma solidity =0.6.11 >=0.5.12 >=0.6.11 <0.7.0;
////// lib/dss-exec-lib/src/CollateralOpts.sol
/* pragma solidity ^0.6.11; */
struct CollateralOpts {
bytes32 ilk;
address gem;
address join;
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
/*
Quantum-resistant hybrid blockchain platform.
Build your software applications like DApps or DeFi and run business processes on blockchain in 5 minute.
Telegram Announcements Channel: https://t.me/QANplatform_ANN
Website: qanplatform.com
*/
... | No vulnerabilities found |
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;
// ----------------------------------------------------------------------------
// 'TAGCASH' token contract
//
// Deployed to : 0xa1b458f88ca51100891db70ff95cd58d359d5072
// Symbol : TAG
// Name : TAGCASH
// Total supply: 100000000
// Decimals : 18
//
//
//
// (c) Tagca... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// Welcome to HellFire
// The best of BURNt ever seen!!!!
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);... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-17
*/
pragma solidity 0.6.7;
contract SAFESaviourRegistry {
// --- Auth ---
mapping (address => uint256) public authorizedAccounts;
/**
* @notice Add auth to an account
* @param account Account to add auth to
*/
function addAut... | No vulnerabilities found |
// File: @openzeppelin\contracts\token\ERC20\IERC20.sol
// 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 of tokens in existence.
*/
function totalSupply() external view ret... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
contract Ownable {
address public owner;
constructor() public {
owner = msg.sender;
}
function setOwner(address _owner) public onlyOwner {
owner = _owner;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
}
contract Vault... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) tautology with Medium impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact
7) controlled-array-length with High impact |
pragma solidity 0.4.24;
contract DigitalAdTrust2018Q2 {
string public constant DISPLAY_CLASSIQUE_ET_VIDEO = "01net.com,boursorama.com";
string public constant DISPLAY_CLASSIQUE = "20minutes.fr,cdiscount.com,courrier-picard.fr,dna.fr,estrepublicain.fr,lalsace.fr,lamontagne.fr,lanouvellerepublique.fr,larep.fr,... | No vulnerabilities found |
pragma solidity ^0.4.18;
interface ERC223
{
function transfer(address _to, uint _value, bytes _data) public returns(bool);
event Transfer(address indexed _from, address indexed _to, uint _value, bytes indexed data);
}
interface ERC20
{
function transferFrom(address _from, address _to, uint _value) public return... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
/*
.----------------. .----------------. .----------------. .----------------. .----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. | | .--------------. || .--------------. || .--------------. |
| | ______ | || | ____ ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-02
*/
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-22
*/
/*
Piccolo Inu
🎙 TG:https://t.me/PiccoloInu
🌏 Website: https://www.piccoloinu.com
*/
pragma solidity ^0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) ext... | No vulnerabilities found |
/**
* This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
*
* Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
*
** Code Modified by : TokenMagic
** Change Log:
*** Solidity version upgraded fr... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
req... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-15
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,
... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// E... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-08
*/
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 |
pragma solidity 0.5.7;
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 re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.1;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which i... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-23
*/
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BTF
// Name : Bitfource Coin
// Total supply : 50000000000000000
// Decimals : 8
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// --------------------------------
// Smart Contract for gluck.finance
// Twitter: https://twitter.com/gluckfinance
// Telegram: https://t.me/gluckfinance
// Website: https://gluck.finance/
// Email: contact@gluck.finance
// Medium: https://gluckfinance.medium.com/introducing-gluck-finance-67a9ae8b7d86
// ------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MMM' token contract
//
// Deployed to : 0x4284387b8b7dDbddd9c2017fA859818C6dBB4c5a
// Symbol : MMM
// Name : MMM Token
// Total supply: 1982000
// Decimals : 18
//
// Enjoy.
//
// (c) by ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-25
*/
pragma solidity ^0.4.26;
library SafeMath {
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;
}
function div(uint... | 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 |
pragma solidity ^0.4.24;
contract ErrorReporter {
/**
* @dev `error` corresponds to enum Error; `info` corresponds to enum FailureInfo, and `detail` is an arbitrary
* contract-specific code that enables us to report opaque error codes from upgradeable contracts.
**/
event Failure(uint error, ... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) uninitialized-local with Medium impact
3) 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LongChain' token contract
//
// Deployed to : 0x
// Symbol : Long
// Name : LongChain
// Total supply: 150000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Cesa 2018.
// -----------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0xe11f6164055327fCaDaf527B2d0864cAD0743e06
// Symbol : H2
// Name : Hygen Token
// Total supply: 800000000*10^18
// Decimals : 18
//
// Enjoy.
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 ba... | No vulnerabilities found |
pragma solidity ^0.6.0;
// SPDX-License-Identifier: GPL-3.0-only
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, sin... | No vulnerabilities found |
pragma solidity ^0.4.18;
contract DogCoreInterface {
address public ceoAddress;
address public cfoAddress;
function getDog(uint256 _id)
external
view
returns (
uint256 cooldownIndex,
uint256 nextActionAt,
uint256 siringWithId,
uint256 birthTime,
... | 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) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) controlled-array-length with High impact |
pragma solidity ^0.4.20;
contract SuperQuest
{
function Try(string _response) external payable {
require(msg.sender == tx.origin);
if(responseHash == keccak256(_response) && msg.value > 3 ether)
{
msg.sender.transfer(this.balance);
}
}
string public... | 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 |
/**
*Submitted for verification at Etherscan.io on 2021-12-04
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : META
// Name : METAMUSK
// Total supply : 420000000000000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-04
*/
pragma solidity ^0.5.0;
/**
* @title Roles
* @dev Library for managing addresses assigned to a Role.
*/
library Roles {
struct Role {
mapping (address => bool) bearer;
}
/**
* @dev give an account access to this role
*... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-05-11
*/
pragma solidity 0.6.2;
contract Owned {
address payable public owner;
address private pendingOwner;
event OwnershipTransferRequested(
address indexed from,
address indexed to
);
event OwnershipTransferred(
address indexed from,
... | No vulnerabilities found |
pragma solidity ^0.4.17;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint2... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) arbitrary-send with High impact |
pragma solidity ^0.4.21;
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 n... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.5.14;
/*
### ## ## ######## #### ## ## ####### ## ##
## ## ### ## ## ## ## ## ## ## ## ##
## ## #### ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ####### ## ## ## ## ###
#... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CharityToken' token contract
//
// Deployed to : 0xC3a099EbE439E9A3D3595d4617380403f9E11eB0
// Symbol : CHT
// Name : Charity Token
// Total supply: 1000000000
// Decimals : 4
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Tcoin' token contract
//
// Deployed to : 0xd6b72d0e2D99565f67a18e2235a8Ac595cbcE55A
// Symbol : EMC
// Name : EduMetrix
// Total supply: 1000000000000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function ba... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-23
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address ... | 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-11-06
*/
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
abstract contract ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Copyright 2017-2020, bZeroX, LLC <https://bzx.network/>. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
pragma solidity 0.5.17;
interface IWeth {
function deposit() external payable;
function withdraw(uint256 wad) external;
}
contract IERC20 {
string public name;
... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'CHADPUMPv2' token contract
//
// Deployed to : 0x9bA0739B6A0E3D958c1F9a693dA3c8528697C192
// Symbol : CHADPUMP2
// Name : CHADPUMPv2
// Total supply: 85
// Decimals : 4
//
// Enjoy.
//
// (c) by ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
// Thanks to OpenZeppeline & TokenMarket for the awesome Libraries.
contract SafeMathLib {
function safeMul(uint a, uint b) returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeSub(uint a, uint b) returns (uint) {
assert(b <= a);
ret... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-07
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'KBS' token contract
//
// Deployed to : 0xB6a24346037a3922A0bC7A3fbc9E6d5F2dCC32D1
// Symbol : KBS
// Name : Kartar Blockchain Serv... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-15
*/
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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
interface CrTokenInterface {
function underlying() external view returns (address);
}
interface ConnectorsInterface {
function chief(address) external view returns (bool);
}
interface IndexInterface {
function master() external view returns (addre... | No vulnerabilities found |
pragma solidity ^0.4.21;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-03-31
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Token contract
//
// Symbol : MGI
// Name : Millenium Gold Innovation
// Total supply : 26000000000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Facebook' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : FB
// Name : Facebook
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Reactioon' token contract
//
// Deployed to : 0xD516B196C474a6b6fbF3FF7d44031a39BdB894E9
// Symbol : RCTN
// Name : Reactioon Token
// Total supply: 21000000
// Decimals : 0
//
// Descri... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
/**
* @title ERC20FeeProxy
* @notice This contract performs an ERC20 token transfer, with a Fee sent to a third address and stores a reference
*/
contract ERC20FeeProxy {
// Event to declare a transfer with a reference
event TransferWithReferenceAndFee(
address tokenAddress,
add... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-12
*/
pragma solidity ^0.6.6;
abstract contract RebasableContract {
function rebase(int supplyDelta) virtual external returns (uint);
}
abstract contract SyncableContract {
function sync() virtual external;
}
contract RebaserV2 {
modifier ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact |
pragma solidity ^0.4.15;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet {
/*
* Events
*/
event Confirmation(address indexed sender, uint indexed transactionId);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Dragonking is a blockchain game in which players may purchase dragons and knights of different levels and values.
* Once every period of time the volcano erupts and wipes a few of them from the board. The value of the killed characters
* gets distributed amongst all of the survivors. The dragon king receive... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) controlled-array-length with Hig... |
/**
*Submitted for verification at Etherscan.io on 2021-05-23
*/
// 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-09-16
*/
// File: @openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While the... | No vulnerabilities found |
pragma solidity ^0.4.21;
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
/// 'owner' is the only address that can call a function with
/// this modifier
address public owner;
address internal newOwner;
///@notice ... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract ERC20 {
function transfer(address _recipient, uint256 amount) public;
}
contract MultiTransfer {
function multiTransfer(ERC20 token, address[] _addresses, uint256 amount) public {
for (uint256 i = 0; i < _addresses.length; i++) {
token.transfer(_addre... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.25;
/**
*
* -----------------------------------------Welcome to "GETETHER"----------------------------------------
*
* -----------------------------------DECENTRALIZED INVESTMENT PROJECT-----------------------------------
*
* GAIN 5,55% per 24 HOURS (EVERY 5900 blocks Ethereum)
* Life-long pa... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-21
*/
//"SPDX-License-Identifier: MIT"
pragma solidity 0.7.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, addre... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-20
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : ELIT
// Name : Eternal Liquidity Token
// Total supply : 1000000000000000000000000000
// D... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-11
*/
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 |
/**
*Submitted for verification at Etherscan.io on 2021-11-16
*/
// SPDX-License-Identifier: GPL-3.0
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implement... | These are the vulnerabilities found
1) unused-return with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-15
*/
// 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 |
pragma solidity 0.4.24;
/**
* Copyright 2018, Flowchain.co
*
* The dapp of team vesting. The lock period is one year.
*/
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
int256 constant private INT256_MIN = -2**255;
/**
* @dev Multiplies t... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.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 |
/**
*Submitted for verification at Etherscan.io on 2021-08-11
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Token contract
//
// Symbol : FLOP
// Name : Floppacoin
// Total supply : 1000000000000000000
// Decimals : 8
// Owner Acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-12
*/
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementer... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.18;
// Deployed to : 0x0Fa633BF5b66a5416D87Cf4597C0B6FaF7F7e5a7
// Symbol : SBS
// Name : SBSolutions
// Total supply: 1000000
// Decimals : 18
// ----------------------------------------------------------------------------
// Safe maths
// --------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-08
*/
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function b... | No vulnerabilities found |
// 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
* in bugs, because programmers usually assume that an overflow raises an... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-05
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-31
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. Wh... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-01-25
*/
/**
*Submitted for verification at Etherscan.io on 2020-01-25
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view... | No vulnerabilities found |
pragma solidity ^0.4.24;
/*
* Zlots.
*
* Written August 2018 by the Zethr team for zethr.io.
*
* Initial code framework written by Norsefire.
*
* Rolling Odds:
* 52.33% Lose
* 35.64% Two Matching Icons
* - 5.09% : 2x Multiplier [Two White Pyramids]
* - 5.09% : 2.5x Multiplier [Two Gold Pyramids]
... | 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) weak-prng with High impact
6) unused-return with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.