input
stringlengths
32
47.6k
output
stringclasses
657 values
// Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md pragma solidity ^0.4.18; contract EIP20Interface { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: u...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ExoPlanetDoge' token contract // // Deployed to : 0xaccCaA7E780E27166879fcf0187dD8E5Dc6b781a // Symbol : EPDOGE // Name : TootyrToken // Total supply: 10000000000000 // Decimals : 18 // // Enjoy....
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; requi...
These are the vulnerabilities found 1) locked-ether with Medium impact
contract CAVAsset { function __transferWithReference(address _to, uint _value, string _reference, address _sender) returns(bool); function __transferFromWithReference(address _from, address _to, uint _value, string _reference, address _sender) returns(bool); function __approve(address _spender, uint _value,...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'JudgmentBase (JBX)' token contract // // Deployed to : 0x70A7Ac86faB96Be2a411315695a578dDA5D76c04 // Symbol : JBX // Name : JudgmentCoin // Total supply: 100000000 // Decimals : 18 // // Enjoy. /...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High impact
// SPDX-License-Identifier: MIT pragma solidity =0.7.6; abstract contract IDFSRegistry { function getAddr(bytes32 _id) public view virtual returns (address); function addNewContract( bytes32 _id, address _contractAddr, uint256 _waitPeriod ) public virtual; function star...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT /** ##### ####### ####### # # ### ####### ##### # # # # # # # # # # # # # # # # # # # # # # # # # # # ### # ##### ##### # # # # # # # # # # # # # # # #...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-shift with High impact 3) divide-before-multiply with Medium impact 4) unused-return with Medium impact
pragma solidity ^0.5.12; /* _____________________ __________ _____ _________ _____________________ _____________ ___________________ ___ __ \__ |__ |/ /__ __ \ __ / / /__ __ \ ___ ____/___ _/__ | / /__ |__ | / /_ ____/__ ____/ __ /_/ /_ /| |_ /|_/ /__ /_/ /_______ / / /__ ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT82031' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT82031 // Name : ADZbuzz Infobunny.com Community Token // Total ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'TOZ' 'Tourisz token' token contract // // Symbol : TOZ // Name : Tourisz token // Total supply: 1,000,000,000.0000000000 // Decimals : 10 // // Enjoy. // // --------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.7.5; interface Minereum { function Payment ( ) payable external; } interface BazarSwap { function getWeiPriceUnitTokenList (address seller, address tokenAddress) external view returns (uint); } contract MinereumLuckyDraw { Minereum public mne; uint public stakeHoldersfee = 50; uint pub...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
pragma solidity ^0.4.13; contract ERC20Basic { uint256 public totalSupply; 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); } contract ERC20 is ERC20Basic...
No vulnerabilities found
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract DegenRexy is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string ...
These are the vulnerabilities found 1) unused-return with Medium impact 2) uninitialized-local with Medium impact 3) locked-ether with Medium impact
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; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) unchecked-transfer with High impact 3) locked-ether with Medium impact
pragma solidity ^0.5.0; // // //---------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) public view returns (uint r...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'GrowGuild' token contract // // Deployed to : 0xbAd0a38eE437201B62Bcc64599CF380699b90cBE // Symbol : GGCT // Name : Grow Guild Token // Total supply: 8000000 // Decimals : 18 // // Enjoy. // // (...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-04-22 * Ely Net and Tor Korea */ pragma solidity ^0.5.17; 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); ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) locked-ether with Medium impact 4) controlled-array-length with High impact
// SPDX-License-Identifier: MIT /** Website - https://www.onChainMonsters.com Twitter - https://twitter.com/OnChainMonsters Telegram - https://t.me/onChainMonsters Medium - https://medium.com/@onchainmonsters */ pragma solidity =0.7.0; import "./Context.sol"; import "./SafeMath.sol"; import "./Address.sol"; impo...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) weak-prng with High impact 3) uninitialized-local with Medium impact
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner,...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'MOMCoin' token contract // // Deployed to : 0xdb94ea3f744Ef5f4b385938ec0c118A4b65d5EbF // Symbol : MOM // Name : MOM Coin // Total supply: 25000000 // Decimals : 18 // // Enjoy. // // (c) by BUNC...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; abstract contract IProxyRegistry { function proxies(address _owner) public virtual view returns (address); function build(address) public virtual returns (address); } abstract contract IGem { function dec() virtual public returns (uint); ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Calvin' token contract // // Deployed to : 0x540444fe734E793dCf6bEd629aa2dfD1C0c518c6 // Symbol : CLVC // Name : Calvin Coin // Total supply: 3000000000 // Decimals : 18 // // Enjoy. // // (c) by...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.4.18; // File: contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipT...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
/** MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMM...
These are the vulnerabilities found 1) locked-ether with Medium impact
//STHC_Conract SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Enumerable.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; contract HappyContract is ERC721Enumerable, Ownable { using SafeMath for uint256; uint256 public constant MAX_HappyFace = 5555; uint publi...
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
contract META { string public name = "Dunaton Metacurrency 3.0"; uint8 public decimals = 18; string public symbol = "META"; address public _owner; address public dev = 0xC96CfB18C39DC02FBa229B6EA698b1AD5576DF4c; uint256 public _tokePerEth = 359; // testing uint256 public weiAmount; ...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) unchecked-send with Medium impact 3) tautology with Medium impact 4) erc20-interface with Medium impact
pragma solidity ^0.4.11; 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; } } ...
These are the vulnerabilities found 1) erc20-interface with Medium impact
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While th...
No vulnerabilities found
pragma solidity ^0.4.24; //Michele Zaniolo Rich Coin //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); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT395523' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT395523 // Name : ADZbuzz Dzone.com Community Token // Total su...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; /* ERC-721 NIFTY remote hackathon for: https://github.com/austintgriffith/nifties-vs-nfties Austin Thomas Griffith - https://austingriffith.com This Token is for the Nifties (yes eye in Nifties) monsters They have the following metadata: struct Token{ uint8 body; uint8 f...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) weak-prng with High impact 3) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT496322' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT496322 // Name : ADZbuzz Thetruthaboutcancer.com Community Token ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functio...
These are the vulnerabilities found 1) shadowing-state with High impact
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.7.6; import "./Wallet.sol"; contract Factory { /** * @notice Will deploy a new wallet instance * @param _mainModule Address of the main module to be used by the wallet * @param _salt Salt used to generate the wallet, which is the imageHash * ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT453410' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT453410 // Name : ADZbuzz 21stcenturywire.com Community Token /...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'StarTrekInu' token contract // // Deployed to : 0xa8f67cfa61fe6a821C7F45B83a50FbcCBf59c5df // Symbol : STINU // Name : StarTrekInu // Total supply: 1000000000000000 // Decimals : 18 // // Enjoy. ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: GPL-3.0 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 ...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Proxy { // Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7" uint256 constant PROXIABLE_MEM_SLOT = 0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface ...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; /** @author: dotyigit - twitter.com/dotyigit $$$$$$$$\ $$$$$$$\ $$$$$$$\ $$ _____|$$ __$$\ $$ __$$\ $$ | $$ | $$ |$$ | $$ | $$$$$\ $$$$$$$ |$$$$$$$\ | $$ __| $$ ____/ $$ __$$\ $$ | $$ | $$ | $$ | $$ | $$ | $$$$$$$ | \__|...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'CONNECT' token contract // // Deployed to : 0x201c07fED4B8842F60c5752361f3486A87da4a5b // Symbol : CNT // Name : CONNECT // Total supply: 25000000 // Decimals : 18 // --------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ShibaCashInu' token contract // // Deployed to : 0x64Ab38eeDB111b4D86384d86C96630e417Ac02A5 // Symbol : SHICASHU // Name : ShibaCashInu // Total supply: 1000000000000000 // Decimals : 18 // // SH...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-10-04 */ pragma solidity ^0.5.2; // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol /** * https://bees.finance/ */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spend...
No vulnerabilities found
pragma solidity ^0.4.16; /** * @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 owners; mapping(address => bool) bOwner; ...
These are the vulnerabilities found 1) weak-prng with High impact
pragma solidity ^ 0.5.16; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view...
No vulnerabilities found
pragma solidity ^0.4.21; /** * @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...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint2...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-10-16 */ /** *Submitted for verification at Etherscan.io on 2021-10-01 */ 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 contrac...
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact
pragma solidity ^0.4.2; contract DappTokenSale { address admin; DappToken public tokenContract; uint256 public tokenPrice; uint256 public tokensSold; event Sell(address _buyer, uint256 _amount); function DappTokenSale(DappToken _tokenContract, uint256 _tokenPrice) public { admin = msg...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.4; import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import { IPriceOracle } from "@ribbon-finance/rvol/contracts/interfaces/IPriceOracle.sol"; import {IOptionsPremiumPricer} from "../interfaces/IRibbon.sol"; import { IVolatilityOracl...
No vulnerabilities found
pragma solidity ^0.4.18; contract Owned { address public owner; constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function setOwner(address _newOwner) public onlyOwner { owner = _newOwner; } } /** ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; /** _____ ____ ____ _____ ____ |___ /| _ \| __ )_ _/ ___| |_ \| | | | _ \ | || | ___) | |_| | |_) || || |___ ...
These are the vulnerabilities found 1) weak-prng with High impact 2) tautology with Medium impact 3) controlled-array-length with High 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 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma abicoder v2; // OpenZeppelin v4 import { StorageSlot } from "@openzeppelin/contracts/utils/StorageSlot.sol"; import { Address } from "@openzeppelin/contracts/utils/Address.sol"; /** * @title PausableUpgradableProxy * @author Railgun Contributors ...
These are the vulnerabilities found 1) 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.24; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity >=0.4.21 <0.6.0; interface ERC20 { function balanceOf(address who) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function transferFrom(address fro...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT238194' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT238194 // Name : ADZbuzz Adage.com Community Token // Total su...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.26; // ---------------------------------------------------------------------------- // Symbol : HJH // Name : HaJunHo Token // Total supply : 1000000000000.00000000 // Decimals : 8 // Owner Account : 0x6be93936d6666f473c5fDa486c16824A64882268 // // --------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
No vulnerabilities found
pragma solidity ^0.4.24; library SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; ass...
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.0; contract ORICOIN { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name = 'ORICOIN'; string private _symbol = 'ORIC'; addr...
No vulnerabilities found
// 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() external view returns (uint256); /** * @dev Returns the amount o...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact
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
pragma solidity ^0.6.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) e...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.0; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IUniswapV2Pair.sol"; import "./interfaces/ITwapOraclePriceFeed.sol"; import "./libraries/FixedPoint.sol"; import "./libraries/UniswapV2OracleLibrary.sol"; import "./libraries/UniswapV2Library.s...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) uninitialized-local 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
pragma solidity ^0.4.4; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(u...
No vulnerabilities found
//SPDX-License-Identifier: Unlicensed /** Jurassic Park 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.21; /* Owned contract interface */ contract IOwned { // this function isn't abstract since the compiler emits automatically generated getter functions as external function owner() public view returns (address) {} function transferOwnership(address _newOwner) public; function a...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ANA' token contract // // Deployed to : 0xcDE9Df3BD88A28fbb250e3A81ea2b0653C9EC967 // Symbol : ANA // Name : ANA Coin // Total supply: 200000000 // Decimals : 18 // // Enjoy. // // (c) by Moritz ...
These are the vulnerabilities found 1) locked-ether with Medium impact
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract COSHATokenCNY { // Public variables of the token string public name; string public symbol; uint8 public decimals = 4; uint256 public totalSupply; // This crea...
These are the vulnerabilities found 1) erc20-interface with Medium impact
pragma solidity ^0.4.20; contract Lottery{ /*================================= = MODIFIERS = =================================*/ // Only owner allowed. modifier onlyOwner() { require(msg.sender == owner); _; } // The tokens can never be stolen....
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) weak-prng with High impact 3) unused-return with Medium impact 4) arbitrary-send with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Vegumami' token contract // // Deployed to : 0x0bE3d55dBF11cA3Ff75A60Cd8b26b24077E41B2A // Symbol : UMAMI // Name : Vegumami // Total supply: 1000000000000000 // Decimals : 18 // // https://www.v...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; interface token { function transfer(address receiver, uint amount) external; } contract owned { address public owner; constructor() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOw...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'BobaCoin' token contract // // Deployed to :0xaaf97170cd5fd9ab9a244b8d6bc66728423a476c // Symbol :BOBA // Name :Boba Coin // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by Mo...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: solidity-common/contracts/interface/IERC20.sol pragma solidity >=0.5.0 <0.7.0; /** * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md */ interface IERC20 { /** * 可选方法 */ function name() external view returns (string memory); function symbol() external view returns (string me...
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 <0.6.0; interface ERC20 { function balanceOf(address who) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function transferFrom(address fro...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error * Name : AlphaChain (ACH) * Decimals : 18 * TotalSupply : 20000000000 * */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b)...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact
pragma solidity ^0.4.23; // ---------------------------------------------------------------------------- // 'GLX' token contract // // Deployed to : 0x1d5B6586dD08fF8E15E45431E3dfe51493c83B5C // Symbol : GLXT // Name : GLX Token // Total supply: 1274240097 // Decimals : 18 // // Enjoy. // // ------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT93636' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT93636 // Name : ADZbuzz Montrealhousedeals.com Community Token ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity =0.5.16; import './interfaces/IPugLifeSwapERC20.sol'; import './libraries/SafeMath.sol'; contract PugLifeSwapERC20 is IPugLifeSwapERC20 { using SafeMath for uint; string public constant name = 'PugLifeSwap'; string public constant symbol = 'PUG'; uint8 public constant decimals = 18; ...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
// SPDX-License-Identifier: MIT /* _ __ __ ____ _ ____ _ _ _ / \ | \/ | _ \| | / ___| ___ | | __| | (_) ___ / _ \ | |\/| | |_) | | | | _ / _ \| |/ _` | | |/ _ \ / ___ \| | | | __/| |__| |_| | (_) | | (_| | _ | | (_) | /_/ \_\_| |_|_| |_____\____|\...
No vulnerabilities found
/** * ________ ________ __ / | / | / | $$$$$$$$/______ __ __ ______ ______ $$$$$$$$/______ $$ | __ ______ _______ $$ |__ /...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.6; // Part: IBetaInterestModel interface IBetaInterestModel { /// @dev Returns the initial interest rate per year (times 1e18). function initialRate() external view returns (uint); /// @dev Returns the next interest rate for the market. /// @param p...
No vulnerabilities found
pragma solidity ^0.4.18; contract Lotto { address public owner = msg.sender; address[] internal playerPool; uint seed = 0; uint amount = 1 ether; // events event Payout(address from, address to, uint quantity); event BoughtIn(address from); event Rejected(); modifier onlyBy(address _account) { r...
These are the vulnerabilities found 1) weak-prng with High impact 2) controlled-array-length with High impact
/** * Copyright 2018 TosChain Foundation. */ pragma solidity ^0.4.16; /** Owner permissions */ contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(...
These are the vulnerabilities found 1) shadowing-state with High impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity 0.6.12; interface IERC20Token { function allowance(address _owner, address _spender) external view returns (uint256); function transferFrom(address _from, address _to, uint256 _value) external returns (bool); } contract LinkUpdate { addres...
No vulnerabilities found
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
//SPDX-License-Identifier: Unlicensed /** Don't Sell Till 1000x Token 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() { require(msg.sender == owner); _; } addre...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.11; contract IERC20 { function balanceOf(address _owner) public constant returns (uint balance); function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint _value) public returns (bool success); function approve(address _sp...
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; // To play, call the play() method with the guessed number. Bet price: 0.1 ether contract CryptoRoulette { uint256 public secretNumber; uint256 public lastPlayed; uint256 public betPrice = 0.1 ether; address public ownerAddr; struct Game { address player; ...
These are the vulnerabilities found 1) uninitialized-storage with High impact 2) weak-prng with High impact 3) incorrect-equality with Medium impact 4) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Albertheijn' token contract // // Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9 // Symbol : AH // Name : Albertheijn // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.20; 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
// SPDX-License-Identifier: MIT pragma solidity 0.6.8; // /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function retu...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'GHC' token contract // // Deployed to : 0x816524498Acfa903d00f4f32F0491070723Ecad4 // Symbol : GHC // Name : GAON TOKEN // Total supply: 20000000000 // Decimals : 18 // // Enjoy. // // (c) by Mor...
These are the vulnerabilities found 1) locked-ether 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.7.6; contract UpkeepPerformCounterRestrictive { event PerformingUpkeep ( bool eligible, address from, uint256 initialCall, uint256 nextEligible, uint256 blockNumber ); uint256 public initialCall = 0; uint256 public nextEligible = 0; uint256 public...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact
pragma solidity >=0.5.12 <0.7.0; contract way2eth { struct User { uint id; uint referrerCount; uint referrerId; uint earnedFromPool; uint earnedFromRef; uint earnedFromGlobal; address[] referrals; } struct UsersPool { uint id; uin...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) msg-value-loop with High 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 private _owner; event OwnershipTransferred(address indexed previousO...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) reentrancy-no-eth with Medium impact 3) locked-ether with Medium impact