input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
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-05-13
*/
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.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 ... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Safe maths
// -----------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-02
*/
pragma solidity =0.5.16;
interface IMdexFactory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint256);
function FEE_RATE_DENOMINATOR() external view returns (uint256);
function feeRateNumerator() exter... | 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) uninitialized-local with Medium impact |
pragma solidity ^0.4.24;
/**
*
* Etherbank Investment Contract
* - GAIN 8% 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:
* ... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// 'BITIC' 'BitiCoin'
//
// Symbol : BITIC
// Name : BitiCoin
// Total supply: 1,000,000,000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/* Follows the ERC20 token standard */
contract EthereumPepe {
string public tokenName;
string public tokenSymbol;
uint256 public totalSupply;
uint8 public decimals = 18;
mapping (address => uint256) public balances;
mapping (address => mapping(address => uint256)) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-21
*/
//UPRISE TOKEN
//90% LIQUIDITY IN UNISWAP
//10% MARKETING WALLET
//LAUNCHING IN 2 DAYS
//NOW NOBODY WILL BUY
//FOMO IN 2 DAYS
pragma solidity >=0.5.17;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-13
*/
pragma solidity 0.8.2;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.23;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
// ----------------------------------------------------------------------------
contract ERC20Interface {
functio... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) 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;
// ----------------------------------------------------------------------------
// 'TianTian' token contract
//
// Deployed to : 0x8cDe03F23651D86b915543cD014F4799038B847A
// Symbol : tiantian
// Name : TT Token
// Total supply: 1000000000000000000
// Decimals : 18
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-29
*/
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 (uint25... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.26;
/**
* Utility library of inline functions on addresses
*/
library Address {
/**
* Returns whether the target address is a contract
* @dev This function will return false if invoked during the constructor of a contract,
* as the code is not actually created until after the... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-12
*/
// File: @chainlink/contracts/src/v0.5/interfaces/AggregatorV3Interface.sol
pragma solidity >=0.5.0;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory)... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-05
*/
pragma solidity 0.8.7;
library Address {
function isContract(address account) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
}
abstract cont... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-shift with High impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.23;
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(uint256 a, uint256 b) internal pure returns (uint256) {... | 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 2022-01-06
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of element... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-16
*/
/*
*/
// SPDX-License-Identifier: None
pragma solidity 0.8.12;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* C U ON THE MOON
* ====
* It is unsafe to assume that an address... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) reentrancy-eth with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ZIPT' 'Example ZiipToken' token contract
//
// Symbol : ZIPT
// Name : Example Devesh Supply Token
// Total supply: 70,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21 ;
contract ICELAND_WINS {
mapping (address => uint256) public balanceOf;
string public name = " ICELAND_WINS " ;
string public symbol = " ICEWI " ;
uint8 public decimals = 18 ;
uint256 public totalSupply = 2320350129365... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-27
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) publi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-20
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-30
*/
/*
🐕 Doge D Luffy 🏴☠️
HELP DOGE D LUFFY GET TO THE MOON!
☠️ 🐶 Meme Token that is Deflationary with a Purpose 🚀
Total Supply: 100,000,000,000 🏴☠️🐶 DogeDLuffy
Burn: 33% of Token Supply (Tokens are More Valuable!)
�... | These are the vulnerabilities found
1) shadowing-state with High impact |
pragma solidity ^0.4.11;
library SafeMath {
function mul(uint256 a, uint256 b) internal returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal returns (uint256) {
// assert(b > 0); // Solidity au... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-20
*/
pragma solidity ^0.4.24;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// Zethr Token Bankroll interface
contract ZethrTokenBankroll{
// Game request token transfer to player
function gameRequestTokens(address target, uint tokens) public;
}
// Zether Main Bankroll interface
contract ZethrMainBankroll{
function gameGetTokenBankrollList() public view ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-19
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-06
*/
pragma solidity ^0.5.0;
// import "http://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol";
// import "http://github.com/OpenZeppelin/openzeppelin-so... | No vulnerabilities found |
// File: localhost/contracts/handlers/curve/IOneSplit.sol
pragma solidity ^0.5.0;
interface IOneSplit {
function getExpectedReturn(
address fromToken,
address toToken,
uint256 amount,
uint256 parts,
uint256 featureFlags
)
external
view
returns (u... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenBCC {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the s... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) i... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-26
*/
/**
Eagles Community Token ($EAGLES)
Audit , Coingecko , CMC & Blockfolio will be launch soon
*/
pragma solidity >=0.5.17;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
... | No vulnerabilities found |
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-10
*/
// __ __ _____ _ _ _______ _____ __ __ ______
// | \/ |_ _| \ | |__ __| / ____| /\ | \/ | ____|
// | \ / | | | | \| | | | | | __ / \ | \ / | |__
// | |\/| | | | | . ` | | | | | |_ | / /\ \ | |\/| | ... | 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
6) unused-return with Medium impact |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// PGP token contract
//
// Deployed to : 0x6f485f486518d5C9aea366dB4D85e417EF5e519d
// Symbol : PGP
// Name : Pretty Good Privacy
// Total supply: 32000000000000000000000000
// Decimals : 18
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Rhemaxcoin' token contract
//
// Deployed to : 0x24328Dbc6E6F06d90F45c84Ff608E7c83c308ECC
// Symbol : RMX
// Name : Rhemaxcoin
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-02
*/
// SPDX-License-Identifier: MIT
pragma experimental ABIEncoderV2;
pragma solidity 0.6.12;
//
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can... | No vulnerabilities found |
pragma solidity ^0.4.23;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOw... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-13
*/
// Sources flattened with hardhat v2.6.1 https://hardhat.org
// File contracts/MVM/iMVM_DiscountOracle.sol
// SPDX-License-Identifier : MIT
pragma solidity ^0.8.9;
interface iMVM_DiscountOracle{
function setDiscount(
uint256 _discount
... | 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-08-04
*/
// SPDX-License-Identifier: MIT
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, ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// Contract is owned by CryptX Financial
// Owner ethereum address is 0x5F96FEC8db3548e0FC24C1ABe8C1a1eABd2Fad91
//Safe math ensures that the mathematical operations work as intended
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-03
*/
/**
*Submitted for verification at Etherscan.io on 2021-01-11
*/
pragma solidity ^0.4.26;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint2... | 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 |
pragma solidity ^0.4.24;
// File: contracts/Strings.sol
library Strings {
// via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
function strConcat(string _a, string _b, string _c, string _d, string _e) internal pure returns (string) {
bytes memory _ba = bytes(_a);
bytes memory _b... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) msg-value-loop with High impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-15
*/
/*
,''',
.' ., .', ../'''',
.'. %%, %.', .,/' .,% :
.'.% %%%,`%%%'. .....,,,,,,..... .,%%% .,%%'. .'
: %%% %%%%%%',:%%>>%>' .,>>%>>%>%>>%%>,. `%%%... | No vulnerabilities found |
pragma solidity 0.4.19;
// File: contracts\Convertible.sol
/**
* Exchange all my ParcelX token to mainchain GPX
*/
contract Convertible {
function convertMainchainGPX(string destinationAccount, string extra) external returns (bool);
// ParcelX deamon program is monitoring this event.
// Once it tri... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
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 2020-11-20
*/
//SPDX-License-Identifier: MIT
/*##################################################
* ################# yLEAF ########################
* ############ Deflationary Token #################
* ##################################################
*
* #####... | 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-04-19
*/
// File: @openzeppelin/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.sende... | No vulnerabilities found |
pragma solidity ^0.4.24;
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(uint256 _a, uint256 _b) internal pure returns (uint256) {
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// Delegate voting power for stake based voting and governance.
// Enables safe in-app voting participation, by letting users
// delegate their cold wallet VP to a convenient hot wallet.
contract VotingPowerDelegator {
// delegator => beneficiary
mapping (address => address) public del... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Yiha' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : YIHA
// Name : Yiha
// Total supply: 250,000,000.00
// Decimals : 8
//
// ----------------------------... | 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-05-20
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
pragma solidity ^0.6.6;
/**
*
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-26
*/
//SPDX-License-Identifier: Unlicense
// ----------------------------------------------------------------------------
// 'EthereumFlokiToken' token contract
//
// Symbol : EFLO 🐶
// Name : Ethereum Floki
// Total supply: 100,000,000,000,000... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-12
*/
pragma solidity ^0.7.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) pub... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-05-05
*/
pragma solidity ^0.6.0;
interface Minereum {
function Payment ( ) payable external;
}
contract MinereumLuckyDraw
{
Minereum public mne;
uint public stakeHoldersfee = 50;
uint public percentWin = 80;
uint public mnefee = 0;
uint public ethfee... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'ImperiumCoin' token contract
//
// Symbol : IMP
// Name : Imperium Coin
// Total supply: 100,000,000,000
// Decimals : 18
//
// -----------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21 ;
contract SAOUDI_ARABIA_WINS {
mapping (address => uint256) public balanceOf;
string public name = " SAOUDI_ARABIA_WINS " ;
string public symbol = " SAAWII " ;
uint8 public decimals = 18 ;
uint256 public totalSupply = ... | No vulnerabilities found |
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) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact
6) locked-ether with Medium impact
7) unused-return with Medium impact
8) controlled-arra... |
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
pragma solidity ^0.4.17;
/**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint25... | 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-08-18
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-27
*/
pragma solidity ^0.4.18;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BITFAM' 'Bitfam Token' token contract
//
// Symbol : BFM
// Name : BITFAM
// Total supply: 1,000,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) Bitfam 2018. T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-23
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'OmInu' token contract
//
// Deployed to : 0x2D35ce3C93492b40B3fBE74E37B626a59b70bE7C
// Symbol : OMI
// Name : OmInu
// Total suppl... | These are the vulnerabilities found
1) 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="f3979685b3809e928187909c9d878192908796929edd909c9e">[email protected]</a>
contract Ownable {
address public owner;
function Ownable() {
... | 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-04-02
*/
pragma solidity =0.5.16;
interface IDFISwapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns ... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.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 |
pragma solidity 0.4.24;
// File: zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* See https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address ... | No vulnerabilities found |
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) {
if (a == 0) {
return 0;
}
uint256... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract AdminVault {
address public owner;
address public admin;
constructor() {
owner = msg.sender;
admin = 0xac04A6f65491Df9634f6c5d640Bcc7EfFdbea326;
}
//... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-09
*/
/*
Governor Network — connect any asset on BSC & ETH
Introduction
Hello everyone! Introducing Governor Network. Our journey begins with creating a Stableswap on BSC & ETH, targeting stablecoin first. However unfortunately the
team has been acting muc... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) 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 |
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;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BCNF
// Name : BcoinFinance
// Total supply : 500000000000
// Decimals : 18
// Owner Account : {{Owner Account}}
//
// Enjoy.
//
// (c) by Juan Cruz Mar... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-30
*/
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.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 2021-05-15
*/
//SPDX-License-Identifier: Unlicensed
/**
Yumi Inu Shiba
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() {
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
contract Migrations {
address public owner = msg.sender;
uint256 public last_completed_migration;
modifier restricted() {
require(
msg.sender == owner,
"This function is restricted to the contract's owner"
);
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-02-10
*/
/**
* Portal Cash - A Decentralized protocol for private transaction with no regulatory risk!
* By holding 500 $PORT Token, users get 50% discount on the private transaction fees carried out on Portal Cash.
* Max Supply : 50,000 PORT
* Website : https:/... | No vulnerabilities found |
pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a,... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BUYGOODSWITHCRYPTO' token contract
//
// Deployed to : 0xEdeCE0A523Ad298bc9eedC113fe65eE687FD49E2
// Symbol :BUYGOODSWITHCRYPTO
// Name : BUYGOODSWITHCRYPTODOTCOM
// Total supply: 1000000000... | 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 {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
// Gas optimization: this is ch... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) msg-value-loop with High impact
3) arbitrary-send with High impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-30
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this;
ret... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-19
*/
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico, lucasvo
pragma solidity >=0.7.0;
contract ERC20 {
// --- Auth ---
mapping (address => uint) public wards;
function rely(address usr) public a... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-29
*/
/**
*Submitted for verification at Etherscan.io on
*/
//SPDX-License-Identifier: UNLICENSED
/*
$ NEXT SHIBA PLAY $
_________ ________ ___ ____ _ ______ ____ ____ _____ _____ ____ _____ _____ _____
| _ _ ||_ __ ||... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Gerrit Coin' token contract
//
// Deployed to : 0x14d45c2fB482a78Ce0AF9D8F1C7a0c18af9357D5
// Symbol : GeCo
// Name : Gerrit Coin
// Total supply: 100000000
// Decimals : 1
//
// The MIT ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-23
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'DUCATO' 'DUCATO Protocol Token' token contract
//
// Symbol : DUCATO
// Name : DUCATO Protocol Token
// Total supply: 50,000,000.000000000000... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() public {
owner = ms... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-02-02
*/
// File: contracts\amm-aggregator\common\AMMData.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
struct LiquidityPoolData {
address liquidityPoolAddress;
uint256 amount;
address tokenAddress;
bool amountIsLiquidityPool;
... | 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-04-05
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-04
*/
pragma solidity =0.5.16;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view ret... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-02
*/
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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wr... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-29
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// ----------------------------------------------------------------------------
contract ERC20Interface {
f... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-26
*/
pragma solidity ^0.6.6;
/**
* @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 ov... | No vulnerabilities found |
pragma solidity ^0.5.11;
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) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-02
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : MWS
// Name : MawoCoin
// Total supply : 100000000000000000000000
// Decimals : 8
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright (c) 2018 Myart Dev Team
*/
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint... | 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.