input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// File: contracts/interfaces/IUniswapV2Pair.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity >=0.5.0;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name(... | 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-02-19
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LUCK
// Name : Lucky Token
// Total supply : 100000000
// Decimals : 18
// Owner Acco... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-06
*/
/**
All are Welcome and Encouraged to Join #projectpeonardo!
Endulge in Memes, Banter and Gains with some good People!
and we have some experience and from a pretty damn good team ;)
Joing our Telegram - Telegram: https://t.me/ProjectLeonardo
*/
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'YBV' token contract
//
// Deployed to : 0x01bc604ae9d945f29432eded391513ba587aeda1
// Symbol : YBV
// Name : 香港旭泰
// Company : 香港旭泰區塊鏈信息科技有限公司
// Total supply: 500,000,000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-28
*/
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 i... | 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 (uint25... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-26
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BearTrap' token contract
//
// Deployed to : 0x7D7fc11f3d623E883dC621Fe7B2CA3A9e0fE75B3
// Symbol : BRTP
// Name : BearTrap
// Total supply: 1000000
// Decimals : 18
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-03
*/
/**
*Submitted for verification at Etherscan.io on 2018-05-11
*/
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 ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-05
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// File: @openzeppelin/contracts/introspection/IERC165.sol
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can d... | 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-12
*/
pragma solidity 0.8.0;
// SPDX-License-Identifier: Unlicensed
/*
* @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.da... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-14
*/
// SPDX-License-Identifier: AGPL-3.0-or-later // hevm: flattened sources of contracts/FundingLocker.sol
pragma solidity =0.6.11 >=0.6.0 <0.8.0 >=0.6.2 <0.8.0;
////// lib/openzeppelin-contracts/contracts/math/SafeMath.sol
/* pragma solidity >=0.6.0 <0.... | No vulnerabilities found |
pragma solidity 0.4.21;
contract Ownable {
address public owner;
address public newOwner;
event OwnershipTransferred(address indexed _from, address indexed _to);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^ 0.5.16;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
function transfer(address recipient, uint amount) external returns(bool);
function allowance(address owner, address spender) external view... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-11
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
interface IEthemerals {
function changeRewards(uint _tokenId, uint32 offset, bool add, uint8 action) external;
function changeScore(uint _tokenId, uint16 offset, bool add, uint32 amount) exte... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-07
*/
// Sources flattened with hardhat v2.4.3 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) shadowing-state with High impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-04
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.5;
// Ethereum Token callback
interface tokenRecipient {
function receiveApproval( address from, uint256 value, bytes calldata data )
external;
}
// ERC223 callback
interface ContractRec... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PawCoin' token contract
//
// Deployed to : 0x2ea5B77B8ca4598715955ad6eF80888b97d64882
// Symbol : AHLV
// Name : PawCoin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 (uint256... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) erc721-interface with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-10
*/
/**
*Submitted for verification at Etherscan.io on 2020-07-17
*/
pragma solidity ^0.5.0;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns ... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'KNTQ' token contract
//
// Deployed to : 0xBD2F3643e105adD25A3440748771DC856F163A13
// Symbol : KNTQ
// Name : KinetiQ
// Total supply: 2000000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
https://fortisgames.com https://fortisgames.com https://fortisgames.com https://fortisgames.com https://fortisgames.com
FFFFFFFFFFFFFFFFFFFFFF ttt... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-send with Medium impact |
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;
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 c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division ... | These are the vulnerabilities found
1) weak-prng with High impact
2) controlled-array-length with High 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 |
/**
*Submitted for verification at Etherscan.io on 2021-10-31
*/
/*
Ainu Inu, Launched by FairLaunchCalls
FLC Telegram: https://t.me/FairLaunchCalls
Ainu Community Play, Auto-staking & Auto-LP!
Fair Launch: No Dev Tokens.
*/
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-25
*/
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are gen... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ADQT' token contract
//
// Deployed to : 0x294658373ADBDBe836e2E841BB1996ceA9e56Fe3
// Symbol : REPO
// Name : Repo Utility Token
// Total supply: 480 000 000
// Decimals : 18
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// LANA token contract
//
// Deployed to : 0xc0fD6943086051769642563af6c002dB37a9Db23
// Symbol : LANA
// Name : LANA
// Total supply: 7506000000
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz Neto... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-25
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
contract Owned {
address public owner;
address public proposedOwner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-19
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <[email protected]>
contract MultiSigWallet {
/*
* E... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// 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 |
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 balan... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-11-29
*/
pragma solidity ^0.8.10;
// SPDX-License-Identifier: MIT
interface Origins {
function deposit() external payable;
}
contract OriginsDao {
address originsContract;
Origins public _origins;
fallback() payable external {}
receive(... | These are the vulnerabilities found
1) locked-ether with Medium 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) reentrancy-no-eth with Medium impact
3) arbitrary-send with High 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;
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
uint c = a / b;
return c;
}
function sub(uint a, uint b) internal return... | 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-06-30
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.6.12;
contract Token {
mapping(address => uint256) balances;
mapping(address => mapping(address => uint256)) public allowance;
uint256 public totalSupply = 1000000000000 * 10 **18;
string publi... | No vulnerabilities found |
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.19;
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(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-18
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity >=0.6.0 <0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view vir... | 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.18;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
//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 |
pragma solidity ^0.4.16;
/**
* @title ERC827 interface, an extension of ERC20 token standard
* Interface of a ERC827 token, following the ERC20 standard with extra
* methods to transfer value and data and execute calls in transfers and
* approvals.
*/
contract ERC827 {
function approve( address _spender... | No vulnerabilities found |
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 |
/**
*Submitted for verification at Etherscan.io on 2021-10-21
*/
// SPDX-License-Identifier: NOLICENSE
/*
Telegram: https://t.me/Bot_GameOver
*/
pragma solidity ^0.8.6;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view 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-09-16
*/
pragma solidity ^0.8.0;
interface BatchAuctionLike {
struct MarketStatus {
uint128 commitmentsTotal;
uint128 minimumCommitmentAmount;
bool finalized;
bool usePointList;
}
function commitments(address) extern... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-06
*/
/*
▒█▀▀▀ ▒█▀▀▀█ ▒█░▒█ ▒█▄░▒█ ▒█▀▀▄ ▒█▀▀▀█ ▒█▄░▒█ ▀█▀ ▒█▄░▒█ ▀▀█▀▀ ▒█▀▀▀ ▒█▀▀█ ▒█▄░▒█ ▒█▀▀▀ ▀▀█▀▀
▒█▀▀▀ ▒█░░▒█ ▒█░▒█ ▒█▒█▒█ ▒█░▒█ ▒█░░▒█ ▒█▒█▒█ ▒█░ ▒█▒█▒█ ░▒█░░ ▒█▀▀▀ ▒█▄▄▀ ▒█▒█▒█ ▒█▀▀▀ ░▒█░░
▒█░░░ ▒█▄▄▄█ ░▀▄▄▀ ▒█░░▀█ ▒█▄▄▀ ▒█▄▄▄█ ▒█░░▀█ ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-24
*/
/**
*Submitted for verification at Etherscan.io on 2022-03-24
*/
/**
Missed Alchemist? Say hello to...
THE BABY ALCHEMIST
'"^^^^┌┌" ╙╣▓▓▓█▀▄╩▀╟▄█▀█║█╠╠╪╬▌▀╬▓████████████████████
... | These are the vulnerabilities found
1) shadowing-state with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HIPHOP' token contract
//
// Deployed to : 0xcbf0dad842dfed9322639a977d24bcbebfa1559e
// Symbol : HOP
// Name : HIPHOP
// Total supply: 1000000000
// Decimals : 18
//
//
// --------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-04
*/
// SPDX-License-Identifier: MIT
/*
____ ____ __ _______ _________ ____ _____
|_ _| |_ _| / \ |_ __ \ |_ ___ | |_ \|_ _|
\ \ / / / /\ \ | |__) | | |_ \_| | \ | |
\ \ / / ... | No vulnerabilities found |
/** 官方高級token */
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 = n... | These are the vulnerabilities found
1) shadowing-state with High impact
2) erc20-interface with Medium impact |
pragma solidity ^0.4.16;
contract Ethraffle {
struct Contestant {
address addr;
uint raffleId;
}
event RaffleResult(
uint indexed raffleId,
uint winningNumber,
address winningAddress,
address seed1,
address seed2,
uint seed3,
bytes32 ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-29
*/
// Sources flattened with hardhat v2.1.1 https://hardhat.org
// File contracts/Arb.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
interface UniswapLens {
function quoteExactInputSingle(
addr... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact
5) unused-return with Medium impact
6) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet {
uint constant public MAX_OWNER_COUNT = 50;
event Confirmation(address indexed _sender, uint index... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Rico' token contract
//
// Symbol : RICO
// Name : 0 Rico Token
// Total supply: 7200000
// Decimals : 2
//
//
// -------------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
contract owned {
address public owner;
constructor () public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
int... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.11;
pragma solidity ^0.4.11;
interface IERC20 {
function totalSupply() constant returns (uint256 totalSupply);
function balanceOf(address _owner) constant returns (uint256 balance);
function transfer(address _to, uint256 _value) returns (bool success);
function transferFrom(addres... | No vulnerabilities found |
pragma solidity ^0.4.21;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract DOJC {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.19;
/**
* @title Moderated
* @dev restricts execution of 'onlyModerator' modified functions to the contract moderator
* @dev restricts execution of 'ifUnrestricted' modified functions to when unrestricted
* boolean state is true
* @dev allows for the extraction of ethe... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.0;
// WELCOME TO ANTIKORE
// http://www.antikore.com
// http://t.me/antikorefinance
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-02
*/
// Sources flattened with hardhat v2.8.2 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/[email protected]
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
//SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
owner = msg.sender;
... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.8.7;
interface KeeperCompatibleInterface {
function checkUpkeep(bytes calldata checkData) external returns (bool upkeepNeeded, bytes memory performData);
function performUpkeep(bytes calldata performData) external;
}
contract OusdKeeper is KeeperCompatibleInterface {
event ConfigUpdate... | These are the vulnerabilities found
1) weak-prng with High impact
2) unchecked-lowlevel with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-12
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
//
/*
* @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.da... | No vulnerabilities found |
/**
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : bid20
// Name : biden2020
// Total supply : 2020
// Decimals : 18
*/
/**
* https://t.me/biden2020pres
*
*/
pragma solidity ^0.5.0;
interface IERC20 {
function totalSup... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/// @title Role based access control mixin for MUST Platform
/// @author Aler Denisov <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7f1e131a0d51051e120f161313103f18121e1613511c1012">[email protected]</a>>
/// @dev Ignore DRY approach to achieve readability
con... | No vulnerabilities found |
pragma solidity ^0.4.20;
contract Rappo {
/*=================================
= MODIFIERS =
=================================*/
/// @dev Only people with tokens
modifier onlyBagholders {
require(myTokens() > 0);
_;
}
/// @dev Only people with profi... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : CoreT
// Name : CoreTana
// Total supply : 5000000000000000000000
// Decimals : 18
// Owner Account : 0x7C4Cc1B3De9eBD32b9f4FBF7d21F278484939e40
//
// -------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'WEMACOIN' token contract
//
// Deployed to : 0x390435245F2f95f7443eBb045357DA743E9A65a4
// Symbol : WMC
// Name : WEMACOIN
// Total supply: 900000000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* The contract defining the contest, allowing participation and voting.
* Participation is only possible before the participation deadline.
* Voting is only allowed after the participation deadline was met and before the voting deadline expires.
* As soon as voting is over, the contest may be closed, resultig in th... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) controlled-array-length with High impact
4) arbitrary-send with High impact
5) incorrect-equality with Medium impact
6) weak-prng with High impact
7) constant-function-state with Medium imp... |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : VLTY
// Name : Vaulty Coin
// Total supply : 60000000000000000
// Decimals : 6
// Owner Account : 0x4eA312f4Bf2739e6C1a59291569078C06d6C87aD
//
// ------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
interface PlayerBookReceiverInterface {
function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external;
function receivePlayerNameList(uint256 _pID, bytes32 _name) external;
}
contract PlayerBook {
using NameFilter for string;
using SafeMath for... | These are the vulnerabilities found
1) mapping-deletion with Medium impact
2) constant-function-asm with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-24
*/
// proxy.sol - execute actions atomically through the proxy's identity
// Copyright (C) 2017 DappHub, LLC
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// Deploying version: https://github.com/astralship/auction-ethereum/commit/1359e14e0319c6019eb9c7e57348b95c722e3dd6
// Timestamp Converter: 1529279999
// Is equivalent to: 06/17/2018 @ 11:59pm (UTC)
// Sunday midnight, in a week 😎
contract Auction {
string public description;
... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) controlled-array-length with High impact |
pragma solidity 0.6.10;
pragma experimental ABIEncoderV2;
contract YPoolDelegator {
address[] public _coins;
address[] public _underlying_coins;
uint256[] public _balances;
uint256 public A;
uint256 public fee;
uint256 public admin_fee;
uint256 constant max_admin_fee = 5 * 10 ** 9;
add... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DDE' 'DigiDeal Eco-system' token contract
//
// Symbol : DDE
// Name : DigiDeal Eco-system
// Total supply: 1,000,000,000.00000000
// Decimals : 8
//
// Enjoy.
//
// -------------... | These are the vulnerabilities found
1) locked-ether 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) {
return a / b;
}
functio... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-07
*/
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 2020-12-04
*/
/**
*Submitted for verification at Etherscan.io on 2020-09-09
*/
// Partial License: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While thes... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.20;
// ----------------------------------------------------------------------------
// 'TING' 'Simple Ting Token' contract
//
// Symbol : TING
// Name : Ting
// Total supply: 10,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Cons... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract MultiOwnable {
// FIELDS ========================
bool public isLocked;
address public owner1;
address public owner2;
// the ongoing operations.
mapping(bytes32 => PendingState) public m_pending;
// TYPES
// struct for the status of a pending operation.
struct... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
// ----------------------------------------------------------------------------
// 'Nanami Inu' token contract
//
// Deployed to : 0xf9B1637c452F1D7C1aE49956D94A62FDd5d82047
// Symbol : NANA
// Name : Nanami Inu
// Total supply: 100000000000... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-08
*/
pragma solidity ^0.5.0;
//
//
// lovemeow.com
// Loving meowing and meowers since 2012
//
//----------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenO... | No vulnerabilities found |
/**
* 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;
/**
* @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 |
/**
*Submitted for verification at Etherscan.io on 2021-05-28
*/
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;
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.23;
/*
* Zethroll.
*
* Adapted from PHXRoll, written in March 2018 by TechnicalRise:
* https://www.reddit.com/user/TechnicalRise/
*
* Gas golfed by Etherguy
* Audited & commented by Klob
*/
contract ZTHReceivingContract {
/**
* @dev Standard ERC223 function that will handle incoming token ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) arbitrary-send with High 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 |
/**
*Submitted for verification at Etherscan.io on 2022-04-20
*/
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-13
*/
// 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.11;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
// assert(b > 0); // Solidity automat... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
/**
* @dev The Ownable constructor sets the o... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-09
*/
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-06-09
*/
// 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-01
*/
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 |
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) uninitialized-local with Medium impact
2) weak-prng with High impact
3) tautology with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.23;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function trans... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-25
*/
pragma solidity ^0.6.12;
/* SPDX-License-Identifier: UNLICENSED */
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library Sa... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-26
*/
pragma solidity ^0.6.12;
/* SPDX-License-Identifier: UNLICENSED */
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library Sa... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-26
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-01
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.