input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/*
Lightning Floki Inu (LINU) TOKEN
Fan token of legendary actor Lightning Floki Inu⚡️
$LINU⚡️
LINU⚡️| https://t.me/lightflokiinu
*/
pragma solidity ^0.6.12;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : MEVER
// Name : MeVer MetaVerseToken
// Total supply : 10000000000000000
// Decimals : 8
// Owner Account : 0x6a2D8E12afa27C07e084d6F0F2D92aD82d734A00
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract SHUEY is ERC20, Ownable {
/* Token Tax */
uint32 public _taxPercision = 100000;
address[] public _taxRecipients;
uint16 pub... | These are the vulnerabilities found
1) shadowing-state with High 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.8.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
__ __ __ ___ ____ Rolex --> 10M $
\ \_/ \_/ / / _ \ / _ \ Tesla --> 20M $
\ /\ / / __/ / / / / College tuition --> 50M $
\_/ \_/ \___/ /_/ /_/ Dubai --> 100M $
Lambo --> 500M $
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Transfer Chain' token contract
//
// Deployed to : 0x80409d751746129c18dbF29286297E9CF84175Fd
// Symbol : Tchain
// Name : Transfer Chain
// Total supply: 100000000
// Decimals : 18
//
//
// ----... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
LODE Finance — 4th Generation Deflationary Yield Farm
Welcome to LODE Finance — The 4th Generation Deflationary Yield Farm on Ethereum
LODE Finance is a brand new DeFi project designed by an experienced development team with its unique LODEfi Buy-Back Protocol.
Besides the buyback burning mechanism introduced by Go... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
import '@openzeppelin/contracts/proxy/Proxy.sol';
import './VTable.sol';
import './modules/VTableUpdateModule.sol';
/**
* @title VTableProxy
*/
contract VTableProxy is Proxy {
using VTable for VTable.VTableStore;
bytes4 private constant _FALLBACK_SIG... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : VIKING
// Name : Viking Finance
// Total supply : 100000000000000000000000000
// Decimals : 18
// Owner Account : 0x51015467b73bdf5edC383cf6Ec065800b1ee... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Universal Dollar is a fully decentralized DeFi compatible algorithmic stablecoin. U8D is also a governance token for Universal Dollar DAO
*/
pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) 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) {... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
__ _ __ __ __ ______ __ _ ____
/ / (_) /_/ /_/ /__ /_ __/______ __/ /__(_) / _/___ __ __
/ / / / __/ __/ / _ \ / / / ___/ / / / //_/ / / // __ \/ / / /
/ /___/ / /_/ /_/ / __/ / / (__ ) /_/ / ,< / / _/ // / / /... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ProtectionShiba' token contract
//
// Deployed to : 0xbC4b79CF51B7d36bb82a3847ab24FC6e99be0F5a
// Symbol : SHIELD
// Name : ProtectionShiba
// Total supply: 1000000000000000
// Decimals : 18
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.12;
import "../OpenZeppelin/access/AccessControl.sol";
import "./ERC20/ERC20Burnable.sol";
import "./ERC20/ERC20Pausable.sol";
import "../interfaces/IMisoToken.sol";
// ---------------------------------------------------------------------
//
// From the MISO Token Factory
//
// Made for Sushi.com ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: Marketplace_flat.sol
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
... | These are the vulnerabilities found
1) weak-prng with High impact |
// File: contracts/libraries/TransferHelper.sol
pragma solidity >=0.6.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
function safeApprove(
address token,
address to,
uint256 value
) internal {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.7.0;
//SPDX-License-Identifier: UNLICENSED
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address who) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function transfer(address ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
⚔️TELEGRAM - https://t.me/SteemKnights
⚔️TWITTER - https://twitter.com/SteemKnights
⚔️WEBSITE - https://www.steemknights.digital/
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.7.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(addres... | No vulnerabilities found |
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;
return msg.data;
}
}
interface IDEXFactory {
function createP... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT274725' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT274725
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.18;
// File: contracts/ERC20Interface.sol
// https://github.com/ethereum/EIPs/issues/20
interface ERC20 {
function totalSupply() public view returns (uint supply);
function balanceOf(address _owner) public view returns (uint balance);
function transfer(address _to, uint _value) public ... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) write-after-write with Medium impact
3) weak-prng with High impact
4) arbitrary-send with High impact |
pragma solidity ^0.6.6;
// A Decentralized Meme Token that Evolved into a Vibrant Ecosystem.
// SHIB, LEASH, and BONE, come together to create ShibaSwap,the next evolution in DeFi platforms!
/**
_____ __ __ ____ ____ ___ _____ _ __ ___ ____
/ ___/ / / / // _// __ ) / | / ___/| | ... | No vulnerabilities found |
// File: @openzeppelin/contracts/utils/Counters.sol
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
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 elem... | These are the vulnerabilities found
1) unused-return 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;
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'XiaoMuMu' token contract
//
// Deployed to : 0xf3Ed7F68772E33110DbFeBA6F155Dc61DF84d629
// Symbol : XMM
// Name : Xiao MuMu Token
// Total supply: 520
// Decimals : 18
//
// Enjoy.
//
// (c) by M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : STAY
// Name : STAY Token
// Total supply : 10000000000
// Decimals : 2
// Owner Account : 0x81aBD71C75eFAf0cFd67F23884f07E72f6d1eb30
//
// Enjoy.
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
import "./lib/CloneLibrary.sol";
/// @author Conjure Finance Team
/// @title ConjureFactory
/// @notice Factory contract to create new instances of Conjure
contract ConjureFactory {
using CloneLibrary for address;
event ... | These are the vulnerabilities found
1) 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) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract GoCryptobotCoinERC20 {
using SafeMath for uint256;
string public constant name = "GoCryptobotCoin";
string public constant symbol = "GCC";
uint8 public constant decimals = 3;
mapping(address => uint256) balances;
mapping (address => mapping (address => uint25... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.25;
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... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
import "./BoredApeYachtClub.sol";
contract BoredApePixelClub is ERC721, Ownable {
using SafeMath for uint;
BoredApeYachtClub private _boredApeYachtClub;
uint private constant _PRICE = 30000000000000000;
string private _provenanceHash = '';
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) msg-value-loop with High impact
4) unused-return with Medium impact |
pragma solidity ^0.4.24;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
/**... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract Token {
/// total amount of tokens
uint256 public totalSupply;
/// @param _owner The address from which the balance will be retrieved
/// ... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./utils/ReentrancyGuard.sol";
import "./markets/MarketRegistry.sol";
import "./SpecialTransferHelper.sol";
import "../../interfaces/markets/tokens/IERC20.sol";
import "../../interfaces/markets/tokens/... | These are the vulnerabilities found
1) controlled-delegatecall with High impact
2) arbitrary-send with High impact
3) unchecked-lowlevel with Medium impact
4) delegatecall-loop with High impact
5) unchecked-transfer with High impact
6) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
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, ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract ERC20 {
function totalSupply() public view returns (uint256 totalSup);
function balanceOf(address _owner) public view returns (uint256 balance);
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
function allowance(address _owner, addr... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Bitcoin!
//
// Symbol : BTC
// Name : Bitcoin
// Total supply : 21000000
// Decimals : 18
// Owner Account : 0x1ba8dE76286136999Fd18C4b6b671a9FE737e4F7
//
// MIT Licence.
// --------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//CONTRACT PUBLIC ON 25 JUN
//LIQUIDITY ADDED ON 24 JUN
/**
* Overide Token Contract
* Copyright © 2021
*/
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
/*
/*
/*
██████████████████████████████████████████████████████████████████████... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Seele' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : SEELE
// Name : Seele
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
contract FlufMark... | These are the vulnerabilities found
1) tautology with Medium impact |
/*
* (c) 2021 Ever Truth Dev Team
* https://t.me/EverTruthEVT
*/
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.18;
// ----------------------------------------------------------------------------
// 'Bullex' token contract
//
// Deployed to : 0xC8c4e42BE4f933fc4BFBa1B6E51318947c7825e3
// Symbol : BGN
// Name : Bullex
// Total supply: 3000000000000000
// Decimals : 8
//
// Enjoy.
//
// (c) by ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
functio... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract Token{
// token总量,默认会为public变量生成一个getter函数接口,名称为totalSupply().
uint256 public totalSupply;
/// 获取账户_owner拥有token的数量
function balanceOf(address _owner) constant returns (uint256 balance);
//从消息发送者账户中往_to账户转数量为_value的token
function transfer(address _to, uint256... | No vulnerabilities found |
//SPDX-License-Identifier: Unlicense
// ----------------------------------------------------------------------------
// 'EthereumDiceGame' token contract
//
// Symbol : EDICE
// Name : Ethereum Dice Game
// Total supply: 100000000000000
// Decimals : 18
//
// TOTAL SUPPLY 1,000,000,000,000,000
// 50% Bu... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// copied from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.1.0/contracts/token/ERC721/ERC721.sol
// and merged with: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.1.0/contracts/token/ERC721/extensions/ERC721Enumerable.sol
imp... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unused-return with Medium impact
3) arbitrary-send with High impact
4) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicensed
/**
Super Inu Shiba
This is a meme token every meme token buyer needs in their collection.
1 hundred trillion total supply
*/
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwn... | No vulnerabilities found |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | 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.21;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint25... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.5.17;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b'... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : AMT
// Name : ALMIGHTY Token
// Total supply : 10000000000000000
// Decimals : 8
// Owner Account : 0x837fd7894ad3B1FF0D439246F8F7550252B3F199
//
// Enj... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.9 <0.8.0;
pragma abicoder v2;
import "../../ITransferProxy.sol";
import "../../../lazy-mint/LibERC721LazyMint.sol";
import "../../../lazy-mint/IERC721LazyMint.sol";
import "../../OperatorRole.sol";
contract ERC721LazyMintTransferProxy is OperatorRole, ITransferPro... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Ecoin is ERC20("Ecoin chain token", "ECOIN"), Ownable {
constructor() {
_mint(msg.sender, 3800000000 * 1e18);
}
}
// SPDX-Licen... | No vulnerabilities found |
// 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].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, ... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.6;
interface UniswapPairContract {
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
}
interface xETHTokenInterface {
//Public functions
function maxScalingFactor() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.18;
/*
Utilities & Common Modifiers
*/
contract Utils {
/**
constructor
*/
function Utils() public {
}
// verifies that an amount is greater than zero
modifier greaterThanZero(uint256 _amount) {
require(_amount > 0);
_;
}
// validates a... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
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 |
pragma solidity ^0.4.21;
// File: 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 (uint256 c) {
if (a... | No vulnerabilities found |
pragma solidity ^0.4.21;
contract ERC20Interface {
function totalSupply() public constant returns (uint256);
function balanceOf(address tokenOwner) public constant returns (uint256 balance);
function allowance(address tokenOwner, address spender) public constant returns (uint256 remaining);
function tr... | These are the vulnerabilities found
1) controlled-array-length with High impact
2) arbitrary-send with High impact
3) unchecked-lowlevel with Medium impact
4) reentrancy-eth with High impact
5) unused-return with Medium impact
6) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT237790' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT237790
// Name : ADZbuzz Anandtech.com Community Token
// Tota... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: Marketplace_flat.sol
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High 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 |
pragma solidity ^0.8.13;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Move... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.0;
contract MegaProtocolMain {
address private targetAddress;
address private admin;
constructor() public {
targetAddress = 0xF512577913e931926e1332afa2e5F22A7b441ED0;
admin = msg.sender;
}
function setTargetAddress(address _address) public {
require(ms... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PharmaWit' token contract
//
// Deployed to : 0x323278411277ee22Fd9Cd9Dd87Ac619181081012
// Symbol : PHW
// Name : PharmaWit
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HLTC' token contract
//
// Deployed to : 0xaCaD93Eaf7509161Fe61C2173ce143fD469e5Cf8
// Symbol : HLTC
// Name : HeavyLitecoin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
telegram https://t.me/inspiration4eth
*/
// 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. While these are generally available
* via msg.sender and msg.data, they should not be ... | No vulnerabilities found |
pragma solidity 0.4.21;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
in... | No vulnerabilities found |
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : QUBE
// Name : LinQube Coin
// Total supply : 1000000000
// Decimals : 5
// Owner Account : 0x458d7dB50aB2282f9Ff36bbc1eEf903Be6286857
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) 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 |
/********************************
* Welcome to the newest of new *
* Welcome to the world of the *
* u n k n o w n *
* *
* Welcome to *
* FOREVER EVER SWAP *
* *
* $EVERSWAP *
* ... | 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.24;
// ----------------------------------------------------------------------------
// 'PBZ' 'Potbelleez' token contract
//
// Symbol : PBZ
// Name : Potbelleez
// Total supply: 10,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Lt... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
import "./ERC20.sol";
pragma solidity ^0.8.4;
contract Token is ERC20{
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
uint8 private _decimals;
string private _name;... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence.
// ----------------------------------------------------------------------------
// ----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221226' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221226
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium 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.4.18;
// ----------------------------------------------------------------------------
// 'ChowChowInu' token contract
//
// Deployed to : 0xea0B6F272A3Ad5225e33FB14DE49A3d6f2149a51
// Symbol : CINU
// Name : ChowChowInu
// Total supply: 100000000000000000
// Decimals : 18
// https://t... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./libraries/MathUtil.sol";
import "./interfaces/IHeroInfinityNodePool.sol";
contract He... | 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) incorrect-equality with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.11;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155Holder.sol";
import "@openzeppelin/contracts/cryptography/MerkleProof.sol";
import "... | No vulnerabilities found |
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
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* @title PlusCoin Contract
* @dev The main token contract
*/
contract PlusCoin {
address public owner; // Token owner address
mapping (address => uint256) public balances;
mapping (address => mapping (address => uint256)) allowed;
string public standard = 'PlusCoin 2.0'... | No vulnerabilities found |
/**
*
*
/$$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$ /$$ /$$$$$$$$
| $$_____//$$__ $$| $$ | $$ /$$__ $$| $$__ $$ /$$__ $$ /$$__ $$|_ $$_/| $$$ | $$ /$$__ $$ /$$__ $$| $$ | $$_____/
| $$ | $$ \ $$| $$ ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.4.21;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
c = a + b;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address recipient, uint256 amount)... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* This contract is used to publish hashed contribution agreements for disclosures
* already published in the DisclosureManager contract. These agreements require
* multi party sign off which this contract facilitates.
*/
contract DisclosureAgreementTracker {
/**
* Represents a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
interface Game {
event GameStarted(uint betAmount);
event NewPlayerAdded(uint numPlayers, uint prizeAmount);
event GameFinished(address winner);
function () public payable; //Participate in game. Proxy for play method
function getPrizeAmou... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) shadowing-state with High impact
4) uninitialized-local with Medium impact
5) reentrancy-eth with High impact
6) weak-prng with High impact
7) controlled-array-length with High impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "... | No vulnerabilities found |
pragma solidity ^0.4.21;
// 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... | No vulnerabilities found |
pragma solidity ^0.4.18;
contract Random {
uint256 _seed;
function maxRandom() public returns (uint256 randomNumber) {
_seed = uint256(keccak256(
_seed,
block.blockhash(block.number - 1),
block.coinbase,
block.difficulty
));
return _seed;
}
// return a pseudo rando... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Token contract
//
// Symbol : TOK
// Name : Tokenplace
// Total supply : 250000000000000000000000000
// Decimals : 18
//
//
// Thank you for your support!
//
//
// -----------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.6;
contract Owned {
modifier onlyOwner() {
require(msg.sender==owner);
_;
}
address payable owner;
address payable newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
require(_newOwner!=address(0));
newOwner = _n... | No vulnerabilities found |
//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) public onlyOwner {
newOwner = _newOwner;
}
function acce... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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 generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when d... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-12-08
*/
pragma solidity 0.6.12;
// SPDX-License-Identifier: GPL-3.0-only
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual re... | No vulnerabilities found |
pragma solidity ^0.4.18;
/**
* @title Owned contract with safe ownership pass.
*
* Note: all the non constant functions return false instead of throwing in case if state change
* didn't happen yet.
*/
contract Owned {
/**
* Contract owner address
*/
address public contractOwner;
/**
*... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
// 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
);
/**
* @dev Initializes the contract setting the deployer as the i... | No vulnerabilities found |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.